Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dropbox_api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = '>= 2.3'

spec.add_dependency 'faraday', '< 3.0'
spec.add_dependency 'oauth2', '~> 1.1'
spec.add_dependency 'oauth2', '~> 2.0'
end
2 changes: 2 additions & 0 deletions lib/dropbox_api/metadata/search_match_type_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

module DropboxApi::Metadata
class SearchMatchTypeV2 < DropboxApi::Metadata::Tag
# both_filename_and_content is undocumented, but it's returned by the API.
VALID_VALUES = %i[
filename
file_content
filename_and_content
both_filename_and_content
image_content
].freeze

Expand Down