dropbox_api 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +9 -8
- data/.travis.yml +0 -2
- data/Gemfile +4 -3
- data/README.md +7 -2
- data/Rakefile +4 -3
- data/api_coverage.md +1 -1
- data/bin/console +4 -3
- data/dropbox_api.gemspec +15 -14
- data/lib/dropbox_api.rb +12 -2
- data/lib/dropbox_api/authenticator.rb +3 -2
- data/lib/dropbox_api/chunked_uploader.rb +2 -1
- data/lib/dropbox_api/client.rb +2 -1
- data/lib/dropbox_api/connection_builder.rb +1 -0
- data/lib/dropbox_api/endpoints/auth/token_revoke.rb +2 -1
- data/lib/dropbox_api/endpoints/base.rb +4 -3
- data/lib/dropbox_api/endpoints/content_download.rb +4 -6
- data/lib/dropbox_api/endpoints/content_upload.rb +2 -1
- data/lib/dropbox_api/endpoints/file_requests/create_file_request.rb +4 -3
- data/lib/dropbox_api/endpoints/files/copy.rb +4 -3
- data/lib/dropbox_api/endpoints/files/copy_batch.rb +3 -2
- data/lib/dropbox_api/endpoints/files/copy_batch_check.rb +3 -2
- data/lib/dropbox_api/endpoints/files/copy_reference_get.rb +3 -2
- data/lib/dropbox_api/endpoints/files/copy_reference_save.rb +4 -3
- data/lib/dropbox_api/endpoints/files/create_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/files/create_folder_batch.rb +3 -2
- data/lib/dropbox_api/endpoints/files/create_folder_batch_check.rb +3 -2
- data/lib/dropbox_api/endpoints/files/delete.rb +3 -2
- data/lib/dropbox_api/endpoints/files/delete_batch.rb +3 -2
- data/lib/dropbox_api/endpoints/files/delete_batch_check.rb +3 -2
- data/lib/dropbox_api/endpoints/files/download.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_metadata.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_preview.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_temporary_link.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_thumbnail.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_thumbnail_batch.rb +4 -3
- data/lib/dropbox_api/endpoints/files/list_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_folder_continue.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_folder_get_latest_cursor.rb +2 -1
- data/lib/dropbox_api/endpoints/files/list_folder_longpoll.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_revisions.rb +3 -2
- data/lib/dropbox_api/endpoints/files/move.rb +4 -3
- data/lib/dropbox_api/endpoints/files/permanently_delete.rb +3 -2
- data/lib/dropbox_api/endpoints/files/restore.rb +4 -3
- data/lib/dropbox_api/endpoints/files/save_url.rb +4 -3
- data/lib/dropbox_api/endpoints/files/save_url_check_job_status.rb +3 -2
- data/lib/dropbox_api/endpoints/files/search.rb +16 -27
- data/lib/dropbox_api/endpoints/files/upload.rb +2 -1
- data/lib/dropbox_api/endpoints/files/upload_session_append_v2.rb +3 -2
- data/lib/dropbox_api/endpoints/files/upload_session_finish.rb +4 -3
- data/lib/dropbox_api/endpoints/files/upload_session_start.rb +4 -3
- data/lib/dropbox_api/endpoints/rpc.rb +2 -1
- data/lib/dropbox_api/endpoints/rpc_content.rb +2 -1
- data/lib/dropbox_api/endpoints/rpc_notify.rb +2 -1
- data/lib/dropbox_api/endpoints/sharing/add_file_member.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/add_folder_member.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/get_shared_link_metadata.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/list_file_members.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/list_folder_members.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/list_shared_links.rb +2 -1
- data/lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/share_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/unshare_file.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_account.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_account_batch.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_current_account.rb +2 -1
- data/lib/dropbox_api/endpoints/users/get_space_usage.rb +2 -1
- data/lib/dropbox_api/endpoints/virtual/upload_by_chunks.rb +1 -0
- data/lib/dropbox_api/errors/add_file_member_error.rb +5 -4
- data/lib/dropbox_api/errors/add_folder_member_error.rb +11 -10
- data/lib/dropbox_api/errors/add_member_selector_error.rb +6 -5
- data/lib/dropbox_api/errors/already_shared_error.rb +1 -0
- data/lib/dropbox_api/errors/basic_error.rb +2 -1
- data/lib/dropbox_api/errors/create_file_request_error.rb +1 -0
- data/lib/dropbox_api/errors/create_folder_batch_error.rb +2 -1
- data/lib/dropbox_api/errors/create_folder_error.rb +2 -1
- data/lib/dropbox_api/errors/create_shared_link_with_settings_error.rb +6 -5
- data/lib/dropbox_api/errors/delete_error.rb +4 -3
- data/lib/dropbox_api/errors/download_error.rb +2 -1
- data/lib/dropbox_api/errors/file_member_action_error.rb +5 -4
- data/lib/dropbox_api/errors/get_account_error.rb +2 -1
- data/lib/dropbox_api/errors/get_copy_reference_error.rb +2 -1
- data/lib/dropbox_api/errors/get_metadata_error.rb +2 -1
- data/lib/dropbox_api/errors/http_error.rb +1 -0
- data/lib/dropbox_api/errors/list_folder_continue_error.rb +3 -2
- data/lib/dropbox_api/errors/list_folder_error.rb +2 -1
- data/lib/dropbox_api/errors/list_folder_longpoll_error.rb +2 -1
- data/lib/dropbox_api/errors/list_revisions_error.rb +2 -1
- data/lib/dropbox_api/errors/list_shared_links_error.rb +3 -2
- data/lib/dropbox_api/errors/lookup_error.rb +6 -5
- data/lib/dropbox_api/errors/poll_error.rb +3 -2
- data/lib/dropbox_api/errors/preview_error.rb +5 -4
- data/lib/dropbox_api/errors/relocation_batch_entry_error.rb +4 -3
- data/lib/dropbox_api/errors/relocation_error.rb +8 -7
- data/lib/dropbox_api/errors/restore_error.rb +4 -3
- data/lib/dropbox_api/errors/revoke_shared_link_error.rb +5 -4
- data/lib/dropbox_api/errors/save_copy_reference_error.rb +6 -5
- data/lib/dropbox_api/errors/save_url_error.rb +5 -4
- data/lib/dropbox_api/errors/search_error.rb +2 -1
- data/lib/dropbox_api/errors/settings_error.rb +3 -2
- data/lib/dropbox_api/errors/share_folder_error.rb +6 -5
- data/lib/dropbox_api/errors/share_path_error.rb +12 -11
- data/lib/dropbox_api/errors/shared_folder_access_error.rb +5 -4
- data/lib/dropbox_api/errors/shared_link_error.rb +4 -3
- data/lib/dropbox_api/errors/sharing_file_access_error.rb +6 -5
- data/lib/dropbox_api/errors/sharing_user_error.rb +2 -1
- data/lib/dropbox_api/errors/thumbnail_batch_error.rb +2 -1
- data/lib/dropbox_api/errors/thumbnail_error.rb +5 -4
- data/lib/dropbox_api/errors/too_many_requests_error.rb +3 -2
- data/lib/dropbox_api/errors/unshare_file_error.rb +3 -2
- data/lib/dropbox_api/errors/upload_error.rb +2 -1
- data/lib/dropbox_api/errors/upload_session_finish_error.rb +4 -3
- data/lib/dropbox_api/errors/upload_session_lookup_error.rb +5 -4
- data/lib/dropbox_api/errors/upload_session_offset_error.rb +1 -0
- data/lib/dropbox_api/errors/upload_write_failed_error.rb +2 -1
- data/lib/dropbox_api/errors/write_conflict_error.rb +4 -3
- data/lib/dropbox_api/errors/write_error.rb +6 -5
- data/lib/dropbox_api/metadata/access_level.rb +1 -0
- data/lib/dropbox_api/metadata/add_file_member_result.rb +1 -0
- data/lib/dropbox_api/metadata/add_member.rb +3 -2
- data/lib/dropbox_api/metadata/base.rb +2 -1
- data/lib/dropbox_api/metadata/basic_account.rb +1 -0
- data/lib/dropbox_api/metadata/commit_info.rb +2 -1
- data/lib/dropbox_api/metadata/deleted.rb +1 -0
- data/lib/dropbox_api/metadata/dimensions.rb +1 -0
- data/lib/dropbox_api/metadata/field.rb +7 -4
- data/lib/dropbox_api/metadata/file.rb +2 -1
- data/lib/dropbox_api/metadata/file_categories_list.rb +9 -0
- data/lib/dropbox_api/metadata/file_category.rb +22 -0
- data/lib/dropbox_api/metadata/file_extensions_list.rb +13 -0
- data/lib/dropbox_api/metadata/file_link_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/file_member_action.rb +2 -1
- data/lib/dropbox_api/metadata/file_request.rb +1 -0
- data/lib/dropbox_api/metadata/file_status.rb +14 -0
- data/lib/dropbox_api/metadata/folder.rb +2 -1
- data/lib/dropbox_api/metadata/folder_link_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/folder_sharing_info.rb +1 -0
- data/lib/dropbox_api/metadata/link_permissions.rb +1 -0
- data/lib/dropbox_api/metadata/location.rb +1 -0
- data/lib/dropbox_api/metadata/media_info.rb +1 -0
- data/lib/dropbox_api/metadata/media_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/member.rb +6 -5
- data/lib/dropbox_api/metadata/member_action.rb +1 -0
- data/lib/dropbox_api/metadata/member_action_list.rb +1 -0
- data/lib/dropbox_api/metadata/member_permission.rb +1 -0
- data/lib/dropbox_api/metadata/member_permission_list.rb +1 -0
- data/lib/dropbox_api/metadata/metadata_v2.rb +7 -0
- data/lib/dropbox_api/metadata/name.rb +1 -0
- data/lib/dropbox_api/metadata/parent_folder_access_info.rb +1 -0
- data/lib/dropbox_api/metadata/photo_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/resource.rb +2 -1
- data/lib/dropbox_api/metadata/search_match_field_options.rb +9 -0
- data/lib/dropbox_api/metadata/search_match_type_v2.rb +16 -0
- data/lib/dropbox_api/metadata/search_match_v2.rb +18 -0
- data/lib/dropbox_api/metadata/search_options.rb +33 -0
- data/lib/dropbox_api/metadata/search_order_by.rb +14 -0
- data/lib/dropbox_api/metadata/shared_folder.rb +1 -0
- data/lib/dropbox_api/metadata/shared_folder_policy.rb +1 -0
- data/lib/dropbox_api/metadata/shared_link.rb +3 -2
- data/lib/dropbox_api/metadata/shared_link_metadata.rb +2 -1
- data/lib/dropbox_api/metadata/space_allocation.rb +1 -0
- data/lib/dropbox_api/metadata/space_usage.rb +1 -0
- data/lib/dropbox_api/metadata/tag.rb +2 -1
- data/lib/dropbox_api/metadata/team.rb +1 -0
- data/lib/dropbox_api/metadata/team_member_info.rb +1 -0
- data/lib/dropbox_api/metadata/thumbnail_batch_result_data.rb +1 -0
- data/lib/dropbox_api/metadata/thumbnail_batch_result_entry.rb +3 -2
- data/lib/dropbox_api/metadata/upload_session_cursor.rb +1 -0
- data/lib/dropbox_api/metadata/video_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/write_mode.rb +6 -5
- data/lib/dropbox_api/middleware/decode_result.rb +3 -2
- data/lib/dropbox_api/middleware/stack.rb +1 -0
- data/lib/dropbox_api/options_validator.rb +1 -0
- data/lib/dropbox_api/result_builder.rb +3 -2
- data/lib/dropbox_api/results/add_file_member_result_list.rb +1 -0
- data/lib/dropbox_api/results/base.rb +1 -0
- data/lib/dropbox_api/results/basic_account_batch.rb +1 -0
- data/lib/dropbox_api/results/copy_batch_result.rb +2 -1
- data/lib/dropbox_api/results/create_folder_batch_result.rb +5 -4
- data/lib/dropbox_api/results/create_folder_batch_result_entry.rb +1 -0
- data/lib/dropbox_api/results/delete_batch_result.rb +5 -4
- data/lib/dropbox_api/results/delete_batch_result_entry.rb +1 -0
- data/lib/dropbox_api/results/get_copy_reference_result.rb +4 -3
- data/lib/dropbox_api/results/get_temporary_link_result.rb +3 -2
- data/lib/dropbox_api/results/get_thumbnail_batch_result.rb +2 -1
- data/lib/dropbox_api/results/list_folder_get_latest_cursor_result.rb +2 -1
- data/lib/dropbox_api/results/list_folder_longpoll_result.rb +3 -2
- data/lib/dropbox_api/results/list_folder_result.rb +4 -3
- data/lib/dropbox_api/results/list_revisions_result.rb +3 -2
- data/lib/dropbox_api/results/list_shared_links_result.rb +4 -3
- data/lib/dropbox_api/results/relocation_batch_result.rb +5 -4
- data/lib/dropbox_api/results/relocation_batch_result_entry.rb +1 -0
- data/lib/dropbox_api/results/save_copy_reference_result.rb +2 -1
- data/lib/dropbox_api/results/save_url_job_status.rb +7 -6
- data/lib/dropbox_api/results/save_url_result.rb +2 -1
- data/lib/dropbox_api/results/search/match.rb +3 -2
- data/lib/dropbox_api/results/search_v2_result.rb +24 -0
- data/lib/dropbox_api/results/share_folder_launch.rb +4 -3
- data/lib/dropbox_api/results/shared_file_members.rb +5 -4
- data/lib/dropbox_api/results/shared_folder_members.rb +5 -4
- data/lib/dropbox_api/results/upload_session_start.rb +2 -1
- data/lib/dropbox_api/results/void_result.rb +1 -0
- data/lib/dropbox_api/version.rb +2 -1
- data/yardoc/endpoint_handler.rb +2 -1
- data/yardoc/helpers/html_helper.rb +2 -1
- data/yardoc/rspec.rb +8 -7
- data/yardoc/templates/default/method_details/setup.rb +1 -0
- metadata +24 -16
- data/.rubocop_todo.yml +0 -442
- data/CHANGES.md +0 -7
- data/lib/dropbox_api/results/search_result.rb +0 -22
data/yardoc/rspec.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
YARD::Templates::Engine.register_template_path File.expand_path("#{__FILE__}/../templates")
|
2
3
|
|
3
4
|
class RSpecDescribeHandler < YARD::Handlers::Ruby::Base
|
@@ -7,11 +8,11 @@ class RSpecDescribeHandler < YARD::Handlers::Ruby::Base
|
|
7
8
|
objname = statement.parameters.first.jump(:string_content).source
|
8
9
|
if statement.parameters[1]
|
9
10
|
src = statement.parameters[1].jump(:string_content).source
|
10
|
-
objname += (src[0] ==
|
11
|
+
objname += (src[0] == '#' ? '' : '::') + src
|
11
12
|
end
|
12
|
-
obj = {:
|
13
|
+
obj = {spec: owner ? (owner[:spec] || '') : ''}
|
13
14
|
obj[:spec] += objname
|
14
|
-
parse_block(statement.last.last, :
|
15
|
+
parse_block(statement.last.last, owner: obj)
|
15
16
|
rescue YARD::Handlers::NamespaceMissingError
|
16
17
|
end
|
17
18
|
end
|
@@ -26,10 +27,10 @@ class RSpecItHandler < YARD::Handlers::Ruby::Base
|
|
26
27
|
|
27
28
|
obj[:specifications] ||= []
|
28
29
|
obj[:specifications] << {
|
29
|
-
:
|
30
|
-
:
|
31
|
-
:
|
32
|
-
:
|
30
|
+
name: statement.parameters.first.jump(:string_content).source,
|
31
|
+
file: statement.file,
|
32
|
+
line: statement.line,
|
33
|
+
source: statement.last.last.source
|
33
34
|
}
|
34
35
|
end
|
35
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dropbox_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesús Burgos
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,14 +84,14 @@ dependencies:
|
|
84
84
|
name: faraday
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '1.0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '1.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '1.1'
|
111
|
-
description:
|
111
|
+
description:
|
112
112
|
email:
|
113
113
|
- jburmac@gmail.com
|
114
114
|
executables: []
|
@@ -118,10 +118,8 @@ files:
|
|
118
118
|
- ".gitignore"
|
119
119
|
- ".rspec"
|
120
120
|
- ".rubocop.yml"
|
121
|
-
- ".rubocop_todo.yml"
|
122
121
|
- ".travis.yml"
|
123
122
|
- ".yardopts"
|
124
|
-
- CHANGES.md
|
125
123
|
- Gemfile
|
126
124
|
- LICENSE
|
127
125
|
- README.md
|
@@ -531,9 +529,13 @@ files:
|
|
531
529
|
- lib/dropbox_api/metadata/dimensions.rb
|
532
530
|
- lib/dropbox_api/metadata/field.rb
|
533
531
|
- lib/dropbox_api/metadata/file.rb
|
532
|
+
- lib/dropbox_api/metadata/file_categories_list.rb
|
533
|
+
- lib/dropbox_api/metadata/file_category.rb
|
534
|
+
- lib/dropbox_api/metadata/file_extensions_list.rb
|
534
535
|
- lib/dropbox_api/metadata/file_link_metadata.rb
|
535
536
|
- lib/dropbox_api/metadata/file_member_action.rb
|
536
537
|
- lib/dropbox_api/metadata/file_request.rb
|
538
|
+
- lib/dropbox_api/metadata/file_status.rb
|
537
539
|
- lib/dropbox_api/metadata/folder.rb
|
538
540
|
- lib/dropbox_api/metadata/folder_link_metadata.rb
|
539
541
|
- lib/dropbox_api/metadata/folder_sharing_info.rb
|
@@ -546,10 +548,16 @@ files:
|
|
546
548
|
- lib/dropbox_api/metadata/member_action_list.rb
|
547
549
|
- lib/dropbox_api/metadata/member_permission.rb
|
548
550
|
- lib/dropbox_api/metadata/member_permission_list.rb
|
551
|
+
- lib/dropbox_api/metadata/metadata_v2.rb
|
549
552
|
- lib/dropbox_api/metadata/name.rb
|
550
553
|
- lib/dropbox_api/metadata/parent_folder_access_info.rb
|
551
554
|
- lib/dropbox_api/metadata/photo_metadata.rb
|
552
555
|
- lib/dropbox_api/metadata/resource.rb
|
556
|
+
- lib/dropbox_api/metadata/search_match_field_options.rb
|
557
|
+
- lib/dropbox_api/metadata/search_match_type_v2.rb
|
558
|
+
- lib/dropbox_api/metadata/search_match_v2.rb
|
559
|
+
- lib/dropbox_api/metadata/search_options.rb
|
560
|
+
- lib/dropbox_api/metadata/search_order_by.rb
|
553
561
|
- lib/dropbox_api/metadata/shared_folder.rb
|
554
562
|
- lib/dropbox_api/metadata/shared_folder_policy.rb
|
555
563
|
- lib/dropbox_api/metadata/shared_link.rb
|
@@ -590,7 +598,7 @@ files:
|
|
590
598
|
- lib/dropbox_api/results/save_url_job_status.rb
|
591
599
|
- lib/dropbox_api/results/save_url_result.rb
|
592
600
|
- lib/dropbox_api/results/search/match.rb
|
593
|
-
- lib/dropbox_api/results/
|
601
|
+
- lib/dropbox_api/results/search_v2_result.rb
|
594
602
|
- lib/dropbox_api/results/share_folder_launch.rb
|
595
603
|
- lib/dropbox_api/results/shared_file_members.rb
|
596
604
|
- lib/dropbox_api/results/shared_folder_members.rb
|
@@ -610,7 +618,7 @@ homepage: https://github.com/Jesus/dropbox_api
|
|
610
618
|
licenses:
|
611
619
|
- MIT
|
612
620
|
metadata: {}
|
613
|
-
post_install_message:
|
621
|
+
post_install_message:
|
614
622
|
rdoc_options: []
|
615
623
|
require_paths:
|
616
624
|
- lib
|
@@ -625,8 +633,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
625
633
|
- !ruby/object:Gem::Version
|
626
634
|
version: '0'
|
627
635
|
requirements: []
|
628
|
-
rubygems_version: 3.0.
|
629
|
-
signing_key:
|
636
|
+
rubygems_version: 3.0.9
|
637
|
+
signing_key:
|
630
638
|
specification_version: 4
|
631
639
|
summary: Library for communicating with Dropbox API v2
|
632
640
|
test_files: []
|
data/.rubocop_todo.yml
DELETED
@@ -1,442 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2019-03-25 19:43:51 +0100 using RuboCop version 0.66.0.
|
4
|
-
# The point is for the user to remove these configuration records
|
5
|
-
# one by one as the offenses are removed from the code base.
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
8
|
-
|
9
|
-
# Offense count: 3
|
10
|
-
# Cop supports --auto-correct.
|
11
|
-
# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
|
12
|
-
# SupportedStyles: case, end
|
13
|
-
Layout/CaseIndentation:
|
14
|
-
Exclude:
|
15
|
-
- 'lib/dropbox_api/metadata/member.rb'
|
16
|
-
|
17
|
-
# Offense count: 2
|
18
|
-
# Cop supports --auto-correct.
|
19
|
-
Layout/EmptyLineAfterGuardClause:
|
20
|
-
Exclude:
|
21
|
-
- 'lib/dropbox_api/metadata/field.rb'
|
22
|
-
- 'yardoc/rspec.rb'
|
23
|
-
|
24
|
-
# Offense count: 2
|
25
|
-
# Cop supports --auto-correct.
|
26
|
-
Layout/EmptyLineAfterMagicComment:
|
27
|
-
Exclude:
|
28
|
-
- 'dropbox_api.gemspec'
|
29
|
-
- 'spec/endpoints/files/upload_session_append_v2_spec.rb'
|
30
|
-
|
31
|
-
# Offense count: 2
|
32
|
-
# Cop supports --auto-correct.
|
33
|
-
Layout/EmptyLinesAroundArguments:
|
34
|
-
Exclude:
|
35
|
-
- 'spec/endpoints/files/upload_spec.rb'
|
36
|
-
- 'spec/endpoints/sharing/add_folder_member_spec.rb'
|
37
|
-
|
38
|
-
# Offense count: 3
|
39
|
-
# Cop supports --auto-correct.
|
40
|
-
# Configuration parameters: EnforcedStyle.
|
41
|
-
# SupportedStyles: empty_lines, no_empty_lines
|
42
|
-
Layout/EmptyLinesAroundBlockBody:
|
43
|
-
Exclude:
|
44
|
-
- 'spec/endpoints/files/upload_spec.rb'
|
45
|
-
- 'spec/endpoints/sharing/add_folder_member_spec.rb'
|
46
|
-
- 'spec/metadata/file_spec.rb'
|
47
|
-
|
48
|
-
# Offense count: 1
|
49
|
-
# Cop supports --auto-correct.
|
50
|
-
# Configuration parameters: EnforcedStyle.
|
51
|
-
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
52
|
-
Layout/EmptyLinesAroundClassBody:
|
53
|
-
Exclude:
|
54
|
-
- 'lib/dropbox_api/endpoints/files/get_thumbnail_batch.rb'
|
55
|
-
|
56
|
-
# Offense count: 1
|
57
|
-
# Cop supports --auto-correct.
|
58
|
-
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
|
59
|
-
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
60
|
-
Layout/EndAlignment:
|
61
|
-
Exclude:
|
62
|
-
- 'lib/dropbox_api/metadata/member.rb'
|
63
|
-
|
64
|
-
# Offense count: 36
|
65
|
-
# Cop supports --auto-correct.
|
66
|
-
# Configuration parameters: IndentationWidth.
|
67
|
-
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
68
|
-
Layout/IndentArray:
|
69
|
-
EnforcedStyle: consistent
|
70
|
-
|
71
|
-
# Offense count: 1
|
72
|
-
# Cop supports --auto-correct.
|
73
|
-
# Configuration parameters: IndentationWidth.
|
74
|
-
Layout/IndentAssignment:
|
75
|
-
Exclude:
|
76
|
-
- 'spec/support/vcr.rb'
|
77
|
-
|
78
|
-
# Offense count: 96
|
79
|
-
# Cop supports --auto-correct.
|
80
|
-
# Configuration parameters: IndentationWidth.
|
81
|
-
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
82
|
-
Layout/IndentHash:
|
83
|
-
EnforcedStyle: consistent
|
84
|
-
|
85
|
-
# Offense count: 2
|
86
|
-
# Cop supports --auto-correct.
|
87
|
-
Layout/LeadingCommentSpace:
|
88
|
-
Exclude:
|
89
|
-
- 'spec/endpoints/auth/token_revoke_spec.rb'
|
90
|
-
- 'spec/endpoints/files/upload_session_append_v2_spec.rb'
|
91
|
-
|
92
|
-
# Offense count: 6
|
93
|
-
# Cop supports --auto-correct.
|
94
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
95
|
-
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
96
|
-
Layout/MultilineMethodCallIndentation:
|
97
|
-
Exclude:
|
98
|
-
- 'spec/endpoints/sharing/get_shared_link_metadata_spec.rb'
|
99
|
-
|
100
|
-
# Offense count: 2
|
101
|
-
# Cop supports --auto-correct.
|
102
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
103
|
-
# SupportedStyles: space, no_space
|
104
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
105
|
-
Layout/SpaceInsideBlockBraces:
|
106
|
-
Exclude:
|
107
|
-
- 'yardoc/endpoint_handler.rb'
|
108
|
-
|
109
|
-
# Offense count: 22
|
110
|
-
# Cop supports --auto-correct.
|
111
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
112
|
-
# SupportedStyles: space, no_space, compact
|
113
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
114
|
-
Layout/SpaceInsideHashLiteralBraces:
|
115
|
-
Exclude:
|
116
|
-
- 'lib/dropbox_api/endpoints/files/download.rb'
|
117
|
-
- 'lib/dropbox_api/endpoints/files/get_preview.rb'
|
118
|
-
- 'lib/dropbox_api/endpoints/files/get_temporary_link.rb'
|
119
|
-
- 'lib/dropbox_api/metadata/shared_link.rb'
|
120
|
-
- 'spec/metadata/shared_link_spec.rb'
|
121
|
-
- 'spec/metadata/write_mode_spec.rb'
|
122
|
-
- 'yardoc/rspec.rb'
|
123
|
-
|
124
|
-
# Offense count: 7
|
125
|
-
# Cop supports --auto-correct.
|
126
|
-
# Configuration parameters: EnforcedStyle.
|
127
|
-
# SupportedStyles: final_newline, final_blank_line
|
128
|
-
Layout/TrailingBlankLines:
|
129
|
-
Exclude:
|
130
|
-
- 'lib/dropbox_api/endpoints/files/copy_batch_check.rb'
|
131
|
-
- 'lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb'
|
132
|
-
- 'lib/dropbox_api/errors/relocation_batch_entry_error.rb'
|
133
|
-
- 'lib/dropbox_api/errors/revoke_shared_link_error.rb'
|
134
|
-
- 'lib/dropbox_api/results/copy_batch_check_result.rb'
|
135
|
-
- 'lib/dropbox_api/results/copy_batch_result.rb'
|
136
|
-
- 'spec/endpoints/files/copy_batch_check_spec.rb'
|
137
|
-
|
138
|
-
# Offense count: 9
|
139
|
-
# Cop supports --auto-correct.
|
140
|
-
# Configuration parameters: AllowInHeredoc.
|
141
|
-
Layout/TrailingWhitespace:
|
142
|
-
Exclude:
|
143
|
-
- 'lib/dropbox_api/endpoints/files/copy_batch_check.rb'
|
144
|
-
- 'lib/dropbox_api/endpoints/files/list_folder.rb'
|
145
|
-
- 'lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb'
|
146
|
-
- 'lib/dropbox_api/metadata/media_metadata.rb'
|
147
|
-
- 'lib/dropbox_api/metadata/member_permission.rb'
|
148
|
-
|
149
|
-
# Offense count: 1
|
150
|
-
Lint/AmbiguousBlockAssociation:
|
151
|
-
Exclude:
|
152
|
-
- 'spec/endpoints/files/upload_spec.rb'
|
153
|
-
|
154
|
-
# Offense count: 3
|
155
|
-
Lint/AmbiguousOperator:
|
156
|
-
Exclude:
|
157
|
-
- 'spec/endpoints/sharing/list_shared_links_spec.rb'
|
158
|
-
|
159
|
-
# Offense count: 1
|
160
|
-
Lint/HandleExceptions:
|
161
|
-
Exclude:
|
162
|
-
- 'yardoc/rspec.rb'
|
163
|
-
|
164
|
-
# Offense count: 2
|
165
|
-
# Cop supports --auto-correct.
|
166
|
-
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
167
|
-
Lint/UnusedBlockArgument:
|
168
|
-
Exclude:
|
169
|
-
- 'lib/dropbox_api/metadata/base.rb'
|
170
|
-
- 'spec/support/rake_tasks.rb'
|
171
|
-
|
172
|
-
# Offense count: 1
|
173
|
-
# Cop supports --auto-correct.
|
174
|
-
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
175
|
-
Lint/UnusedMethodArgument:
|
176
|
-
Exclude:
|
177
|
-
- 'yardoc/helpers/html_helper.rb'
|
178
|
-
|
179
|
-
# Offense count: 13
|
180
|
-
Lint/UselessAssignment:
|
181
|
-
Exclude:
|
182
|
-
- 'spec/endpoints/auth/token_revoke_spec.rb'
|
183
|
-
- 'spec/endpoints/files/download_spec.rb'
|
184
|
-
- 'spec/endpoints/files/restore_spec.rb'
|
185
|
-
- 'spec/endpoints/files/save_url_spec.rb'
|
186
|
-
- 'spec/endpoints/sharing/add_folder_member_spec.rb'
|
187
|
-
- 'spec/endpoints/sharing/revoke_shared_link_spec.rb'
|
188
|
-
- 'spec/endpoints/sharing/unshare_file_spec.rb'
|
189
|
-
- 'spec/metadata/shared_link_spec.rb'
|
190
|
-
- 'spec/support/vcr.rb'
|
191
|
-
|
192
|
-
# Offense count: 5
|
193
|
-
Metrics/AbcSize:
|
194
|
-
Max: 45
|
195
|
-
|
196
|
-
# Offense count: 24
|
197
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
198
|
-
# ExcludedMethods: refine
|
199
|
-
Metrics/BlockLength:
|
200
|
-
Max: 130
|
201
|
-
|
202
|
-
# Offense count: 2
|
203
|
-
Metrics/CyclomaticComplexity:
|
204
|
-
Max: 10
|
205
|
-
|
206
|
-
# Offense count: 8
|
207
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
208
|
-
Metrics/MethodLength:
|
209
|
-
Max: 25
|
210
|
-
|
211
|
-
# Offense count: 2
|
212
|
-
Metrics/PerceivedComplexity:
|
213
|
-
Max: 10
|
214
|
-
|
215
|
-
# Offense count: 1
|
216
|
-
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
|
217
|
-
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
|
218
|
-
Naming/MemoizedInstanceVariableName:
|
219
|
-
Exclude:
|
220
|
-
- 'lib/dropbox_api/results/list_shared_links_result.rb'
|
221
|
-
|
222
|
-
# Offense count: 5
|
223
|
-
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
|
224
|
-
# NamePrefix: is_, has_, have_
|
225
|
-
# NamePrefixBlacklist: is_, has_, have_
|
226
|
-
# NameWhitelist: is_a?
|
227
|
-
# MethodDefinitionMacros: define_method, define_singleton_method
|
228
|
-
Naming/PredicateName:
|
229
|
-
Exclude:
|
230
|
-
- 'spec/**/*'
|
231
|
-
- 'lib/dropbox_api/result_builder.rb'
|
232
|
-
- 'lib/dropbox_api/results/list_folder_result.rb'
|
233
|
-
- 'lib/dropbox_api/results/list_revisions_result.rb'
|
234
|
-
- 'lib/dropbox_api/results/list_shared_links_result.rb'
|
235
|
-
- 'lib/dropbox_api/results/search_result.rb'
|
236
|
-
|
237
|
-
# Offense count: 1
|
238
|
-
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
239
|
-
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
240
|
-
Naming/UncommunicativeMethodParamName:
|
241
|
-
Exclude:
|
242
|
-
- 'lib/dropbox_api/metadata/upload_session_cursor.rb'
|
243
|
-
|
244
|
-
# Offense count: 2
|
245
|
-
# Cop supports --auto-correct.
|
246
|
-
# Configuration parameters: AutoCorrect.
|
247
|
-
Performance/TimesMap:
|
248
|
-
Exclude:
|
249
|
-
- 'spec/endpoints/files/upload_spec.rb'
|
250
|
-
|
251
|
-
# Offense count: 53
|
252
|
-
# Cop supports --auto-correct.
|
253
|
-
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners.
|
254
|
-
# SupportedStyles: line_count_based, semantic, braces_for_chaining
|
255
|
-
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
256
|
-
# FunctionalMethods: let, let!, subject, watch
|
257
|
-
# IgnoredMethods: lambda, proc, it
|
258
|
-
Style/BlockDelimiters:
|
259
|
-
Enabled: false
|
260
|
-
|
261
|
-
# Offense count: 58
|
262
|
-
# Cop supports --auto-correct.
|
263
|
-
# Configuration parameters: EnforcedStyle.
|
264
|
-
# SupportedStyles: braces, no_braces, context_dependent
|
265
|
-
Style/BracesAroundHashParameters:
|
266
|
-
Enabled: false
|
267
|
-
|
268
|
-
# Offense count: 1
|
269
|
-
Style/CaseEquality:
|
270
|
-
Exclude:
|
271
|
-
- 'lib/dropbox_api/results/copy_batch_check_result.rb'
|
272
|
-
|
273
|
-
# Offense count: 1
|
274
|
-
# Cop supports --auto-correct.
|
275
|
-
# Configuration parameters: Keywords.
|
276
|
-
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
|
277
|
-
Style/CommentAnnotation:
|
278
|
-
Exclude:
|
279
|
-
- 'lib/dropbox_api/endpoints/content_download.rb'
|
280
|
-
|
281
|
-
# Offense count: 1
|
282
|
-
# Cop supports --auto-correct.
|
283
|
-
# Configuration parameters: EnforcedStyle.
|
284
|
-
# SupportedStyles: compact, expanded
|
285
|
-
Style/EmptyMethod:
|
286
|
-
Exclude:
|
287
|
-
- 'lib/dropbox_api/metadata/shared_link.rb'
|
288
|
-
|
289
|
-
# Offense count: 2
|
290
|
-
# Cop supports --auto-correct.
|
291
|
-
Style/Encoding:
|
292
|
-
Exclude:
|
293
|
-
- 'dropbox_api.gemspec'
|
294
|
-
- 'spec/endpoints/files/upload_session_append_v2_spec.rb'
|
295
|
-
|
296
|
-
# Offense count: 5
|
297
|
-
# Cop supports --auto-correct.
|
298
|
-
Style/ExpandPathArguments:
|
299
|
-
Exclude:
|
300
|
-
- 'Rakefile'
|
301
|
-
- 'dropbox_api.gemspec'
|
302
|
-
- 'spec/spec_helper.rb'
|
303
|
-
- 'spec/support/dropbox_scaffold_builder.rb'
|
304
|
-
- 'spec/support/rake_tasks.rb'
|
305
|
-
|
306
|
-
# Offense count: 3
|
307
|
-
# Configuration parameters: MinBodyLength.
|
308
|
-
Style/GuardClause:
|
309
|
-
Exclude:
|
310
|
-
- 'lib/dropbox_api/endpoints/base.rb'
|
311
|
-
- 'lib/dropbox_api/metadata/tag.rb'
|
312
|
-
- 'lib/dropbox_api/metadata/write_mode.rb'
|
313
|
-
|
314
|
-
# Offense count: 8
|
315
|
-
# Cop supports --auto-correct.
|
316
|
-
Style/IfUnlessModifier:
|
317
|
-
Exclude:
|
318
|
-
- 'lib/dropbox_api/metadata/shared_link.rb'
|
319
|
-
- 'lib/dropbox_api/metadata/write_mode.rb'
|
320
|
-
- 'lib/dropbox_api/options_validator.rb'
|
321
|
-
- 'yardoc/endpoint_handler.rb'
|
322
|
-
|
323
|
-
# Offense count: 1
|
324
|
-
# Cop supports --auto-correct.
|
325
|
-
# Configuration parameters: InverseMethods, InverseBlocks.
|
326
|
-
Style/InverseMethods:
|
327
|
-
Exclude:
|
328
|
-
- 'lib/dropbox_api/metadata/base.rb'
|
329
|
-
|
330
|
-
# Offense count: 1
|
331
|
-
Style/MultilineBlockChain:
|
332
|
-
Exclude:
|
333
|
-
- 'lib/dropbox_api/metadata/base.rb'
|
334
|
-
|
335
|
-
# Offense count: 8
|
336
|
-
# Cop supports --auto-correct.
|
337
|
-
# Configuration parameters: EnforcedStyle.
|
338
|
-
# SupportedStyles: literals, strict
|
339
|
-
Style/MutableConstant:
|
340
|
-
Exclude:
|
341
|
-
- 'lib/dropbox_api/errors/too_many_requests_error.rb'
|
342
|
-
- 'lib/dropbox_api/errors/write_conflict_error.rb'
|
343
|
-
- 'lib/dropbox_api/errors/write_error.rb'
|
344
|
-
- 'lib/dropbox_api/metadata/access_level.rb'
|
345
|
-
- 'lib/dropbox_api/metadata/member_action.rb'
|
346
|
-
- 'lib/dropbox_api/metadata/shared_link.rb'
|
347
|
-
- 'lib/dropbox_api/metadata/write_mode.rb'
|
348
|
-
- 'spec/support/dropbox_scaffold_builder.rb'
|
349
|
-
|
350
|
-
# Offense count: 4
|
351
|
-
# Cop supports --auto-correct.
|
352
|
-
# Configuration parameters: Whitelist.
|
353
|
-
# Whitelist: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with
|
354
|
-
Style/NestedParenthesizedCalls:
|
355
|
-
Exclude:
|
356
|
-
- 'spec/endpoints/content_upload_spec.rb'
|
357
|
-
- 'spec/endpoints/sharing/list_shared_links_spec.rb'
|
358
|
-
|
359
|
-
# Offense count: 10
|
360
|
-
# Cop supports --auto-correct.
|
361
|
-
# Configuration parameters: Strict.
|
362
|
-
Style/NumericLiterals:
|
363
|
-
MinDigits: 11
|
364
|
-
|
365
|
-
# Offense count: 1
|
366
|
-
# Cop supports --auto-correct.
|
367
|
-
Style/ParallelAssignment:
|
368
|
-
Exclude:
|
369
|
-
- 'lib/dropbox_api/middleware/stack.rb'
|
370
|
-
|
371
|
-
# Offense count: 7
|
372
|
-
# Cop supports --auto-correct.
|
373
|
-
# Configuration parameters: PreferredDelimiters.
|
374
|
-
Style/PercentLiteralDelimiters:
|
375
|
-
Exclude:
|
376
|
-
- 'spec/endpoints/sharing/add_file_member_spec.rb'
|
377
|
-
- 'spec/endpoints/sharing/list_shared_links_spec.rb'
|
378
|
-
- 'spec/endpoints/users/get_account_batch_spec.rb'
|
379
|
-
- 'spec/metadata/file_spec.rb'
|
380
|
-
- 'spec/metadata/member_action_list_spec.rb'
|
381
|
-
|
382
|
-
# Offense count: 3
|
383
|
-
# Cop supports --auto-correct.
|
384
|
-
# Configuration parameters: AllowMultipleReturnValues.
|
385
|
-
Style/RedundantReturn:
|
386
|
-
Exclude:
|
387
|
-
- 'lib/dropbox_api/endpoints/content_download.rb'
|
388
|
-
- 'lib/dropbox_api/endpoints/content_upload.rb'
|
389
|
-
- 'lib/dropbox_api/endpoints/rpc.rb'
|
390
|
-
|
391
|
-
# Offense count: 887
|
392
|
-
# Cop supports --auto-correct.
|
393
|
-
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
394
|
-
# SupportedStyles: single_quotes, double_quotes
|
395
|
-
Style/StringLiterals:
|
396
|
-
Enabled: false
|
397
|
-
|
398
|
-
# Offense count: 6
|
399
|
-
# Cop supports --auto-correct.
|
400
|
-
# Configuration parameters: EnforcedStyle.
|
401
|
-
# SupportedStyles: single_quotes, double_quotes
|
402
|
-
Style/StringLiteralsInInterpolation:
|
403
|
-
Exclude:
|
404
|
-
- 'lib/dropbox_api/metadata/thumbnail_batch_result_entry.rb'
|
405
|
-
- 'lib/dropbox_api/metadata/write_mode.rb'
|
406
|
-
- 'lib/dropbox_api/results/copy_batch_check_result.rb'
|
407
|
-
- 'lib/dropbox_api/results/save_url_job_status.rb'
|
408
|
-
|
409
|
-
# Offense count: 24
|
410
|
-
# Cop supports --auto-correct.
|
411
|
-
# Configuration parameters: MinSize.
|
412
|
-
# SupportedStyles: percent, brackets
|
413
|
-
Style/SymbolArray:
|
414
|
-
EnforcedStyle: brackets
|
415
|
-
|
416
|
-
# Offense count: 1
|
417
|
-
# Cop supports --auto-correct.
|
418
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
419
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
420
|
-
Style/TrailingCommaInHashLiteral:
|
421
|
-
Exclude:
|
422
|
-
- 'lib/dropbox_api/errors/share_path_error.rb'
|
423
|
-
|
424
|
-
# Offense count: 1
|
425
|
-
# Cop supports --auto-correct.
|
426
|
-
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
|
427
|
-
# Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
|
428
|
-
Style/TrivialAccessors:
|
429
|
-
Exclude:
|
430
|
-
- 'lib/dropbox_api/middleware/stack.rb'
|
431
|
-
|
432
|
-
# Offense count: 1
|
433
|
-
# Cop supports --auto-correct.
|
434
|
-
Style/UnneededInterpolation:
|
435
|
-
Exclude:
|
436
|
-
- 'lib/dropbox_api/results/copy_batch_check_result.rb'
|
437
|
-
|
438
|
-
# Offense count: 147
|
439
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
440
|
-
# URISchemes: http, https
|
441
|
-
Metrics/LineLength:
|
442
|
-
Max: 190
|