dropbox_api 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.rubocop.yml +14 -0
- data/.rubocop_todo.yml +442 -0
- data/Gemfile +5 -1
- data/TODO.md +16 -7
- data/api_coverage.md +7 -7
- data/docs/DropboxApi.html +4 -4
- data/docs/DropboxApi/Authenticator.html +3 -3
- data/docs/DropboxApi/ChunkedUploader.html +3 -3
- data/docs/DropboxApi/Client.html +212 -26
- data/docs/DropboxApi/ConnectionBuilder.html +3 -3
- data/docs/DropboxApi/Endpoints.html +3 -3
- data/docs/DropboxApi/Endpoints/Auth.html +3 -3
- data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +3 -3
- data/docs/DropboxApi/Endpoints/Base.html +3 -3
- data/docs/DropboxApi/Endpoints/ContentDownload.html +3 -3
- data/docs/DropboxApi/Endpoints/ContentUpload.html +3 -3
- data/docs/DropboxApi/Endpoints/Files.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Copy.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Delete.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Download.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/GetPreview.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/ListFolder.html +30 -11
- data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Move.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Restore.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Search.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Upload.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +3 -3
- data/docs/DropboxApi/Endpoints/Rpc.html +4 -4
- data/docs/DropboxApi/Endpoints/RpcContent.html +3 -3
- data/docs/DropboxApi/Endpoints/RpcNotify.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing.html +5 -5
- data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +103 -12
- data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html +293 -0
- data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +3 -3
- data/docs/DropboxApi/Endpoints/Users.html +3 -3
- data/docs/DropboxApi/Endpoints/Users/GetAccount.html +3 -3
- data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +3 -3
- data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +3 -3
- data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +3 -3
- data/docs/DropboxApi/Errors.html +5 -5
- data/docs/DropboxApi/Errors/AddFileMemberError.html +3 -3
- data/docs/DropboxApi/Errors/AddFolderMemberError.html +3 -3
- data/docs/DropboxApi/Errors/AddMemberSelectorError.html +3 -3
- data/docs/DropboxApi/Errors/AlreadySharedError.html +3 -3
- data/docs/DropboxApi/Errors/BadPathError.html +3 -3
- data/docs/DropboxApi/Errors/BasicError.html +4 -4
- data/docs/DropboxApi/Errors/CantCopySharedFolderError.html +3 -3
- data/docs/DropboxApi/Errors/CantMoveFolderIntoItselfError.html +3 -3
- data/docs/DropboxApi/Errors/CantNestSharedFolderError.html +3 -3
- data/docs/DropboxApi/Errors/CantShareOutsideTeamError.html +3 -3
- data/docs/DropboxApi/Errors/ContainsSharedFolderError.html +3 -3
- data/docs/DropboxApi/Errors/ConversionError.html +3 -3
- data/docs/DropboxApi/Errors/CreateFileRequestError.html +3 -3
- data/docs/DropboxApi/Errors/CreateFolderError.html +3 -3
- data/docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html +3 -3
- data/docs/DropboxApi/Errors/CursorClosedError.html +3 -3
- data/docs/DropboxApi/Errors/CursorNotClosedError.html +3 -3
- data/docs/DropboxApi/Errors/DeleteError.html +3 -3
- data/docs/DropboxApi/Errors/DisallowedNameError.html +3 -3
- data/docs/DropboxApi/Errors/DisallowedSharedLinkPolicyError.html +3 -3
- data/docs/DropboxApi/Errors/DownloadError.html +3 -3
- data/docs/DropboxApi/Errors/DownloadFailedError.html +3 -3
- data/docs/DropboxApi/Errors/EmailUnverifiedError.html +3 -3
- data/docs/DropboxApi/Errors/FileAncestorConflictError.html +3 -3
- data/docs/DropboxApi/Errors/FileConflictError.html +3 -3
- data/docs/DropboxApi/Errors/FileMemberActionError.html +3 -3
- data/docs/DropboxApi/Errors/FolderConflictError.html +3 -3
- data/docs/DropboxApi/Errors/GetAccountError.html +3 -3
- data/docs/DropboxApi/Errors/GetCopyReferenceError.html +3 -3
- data/docs/DropboxApi/Errors/GetMetadataError.html +3 -3
- data/docs/DropboxApi/Errors/GroupDeletedError.html +3 -3
- data/docs/DropboxApi/Errors/GroupNotOnTeamError.html +3 -3
- data/docs/DropboxApi/Errors/HttpError.html +3 -3
- data/docs/DropboxApi/Errors/InProgressError.html +3 -3
- data/docs/DropboxApi/Errors/InsideAppFolderError.html +3 -3
- data/docs/DropboxApi/Errors/InsideOsxPackageError.html +3 -3
- data/docs/DropboxApi/Errors/InsidePublicFolderError.html +3 -3
- data/docs/DropboxApi/Errors/InsideSharedFolderError.html +3 -3
- data/docs/DropboxApi/Errors/InsufficientPlanError.html +3 -3
- data/docs/DropboxApi/Errors/InsufficientSpaceError.html +3 -3
- data/docs/DropboxApi/Errors/InternalError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidCommentError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidCopyReferenceError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidCursorError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidDropboxIdError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidEmailError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidFileError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidIdError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidMemberError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidPathError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidRevisionError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidSettingsError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidUrlError.html +3 -3
- data/docs/DropboxApi/Errors/IsAppFolderError.html +3 -3
- data/docs/DropboxApi/Errors/IsFileError.html +3 -3
- data/docs/DropboxApi/Errors/IsFolderError.html +3 -3
- data/docs/DropboxApi/Errors/IsOsxPackageError.html +3 -3
- data/docs/DropboxApi/Errors/IsPublicFolderError.html +3 -3
- data/docs/DropboxApi/Errors/ListFolderContinueError.html +3 -3
- data/docs/DropboxApi/Errors/ListFolderError.html +3 -3
- data/docs/DropboxApi/Errors/ListFolderLongpollError.html +3 -3
- data/docs/DropboxApi/Errors/ListRevisionsError.html +3 -3
- data/docs/DropboxApi/Errors/ListSharedLinksError.html +3 -3
- data/docs/DropboxApi/Errors/LookupError.html +3 -3
- data/docs/DropboxApi/Errors/MalformedPathError.html +3 -3
- data/docs/DropboxApi/Errors/NoAccountError.html +3 -3
- data/docs/DropboxApi/Errors/NoPermissionError.html +3 -3
- data/docs/DropboxApi/Errors/NoWritePermissionError.html +3 -3
- data/docs/DropboxApi/Errors/NotAMemberError.html +3 -3
- data/docs/DropboxApi/Errors/NotFileError.html +3 -3
- data/docs/DropboxApi/Errors/NotFolderError.html +3 -3
- data/docs/DropboxApi/Errors/NotFoundError.html +3 -3
- data/docs/DropboxApi/Errors/PollError.html +3 -3
- data/docs/DropboxApi/Errors/PreviewError.html +3 -3
- data/docs/DropboxApi/Errors/RateLimitError.html +3 -3
- data/docs/DropboxApi/Errors/RelocationError.html +3 -3
- data/docs/DropboxApi/Errors/RestoreError.html +3 -3
- data/docs/DropboxApi/Errors/RestrictedContentError.html +3 -3
- data/docs/DropboxApi/Errors/RevokeSharedLinkError.html +164 -0
- data/docs/DropboxApi/Errors/SaveCopyReferenceError.html +3 -3
- data/docs/DropboxApi/Errors/SaveUrlError.html +3 -3
- data/docs/DropboxApi/Errors/SearchError.html +3 -3
- data/docs/DropboxApi/Errors/SettingsError.html +3 -3
- data/docs/DropboxApi/Errors/ShareFolderError.html +3 -3
- data/docs/DropboxApi/Errors/SharePathError.html +3 -3
- data/docs/DropboxApi/Errors/SharedFolderAccessError.html +3 -3
- data/docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html +3 -3
- data/docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html +3 -3
- data/docs/DropboxApi/Errors/SharedLinkError.html +3 -3
- data/docs/DropboxApi/Errors/SharedLinkMalformedError.html +143 -0
- data/docs/DropboxApi/Errors/SharedLinkNotFoundError.html +3 -3
- data/docs/DropboxApi/Errors/SharingFileAccessError.html +3 -3
- data/docs/DropboxApi/Errors/SharingUserError.html +3 -3
- data/docs/DropboxApi/Errors/TeamFolderError.html +3 -3
- data/docs/DropboxApi/Errors/TeamPolicyDisallowsMemberPolicyError.html +3 -3
- data/docs/DropboxApi/Errors/ThumbnailBatchError.html +3 -3
- data/docs/DropboxApi/Errors/ThumbnailError.html +3 -3
- data/docs/DropboxApi/Errors/TooManyFilesError.html +3 -3
- data/docs/DropboxApi/Errors/TooManyMembersError.html +3 -3
- data/docs/DropboxApi/Errors/TooManyPendingInvitesError.html +3 -3
- data/docs/DropboxApi/Errors/TooManyRequestsError.html +3 -3
- data/docs/DropboxApi/Errors/TooManySharedFolderTargetsError.html +3 -3
- data/docs/DropboxApi/Errors/TooManyWriteOperationsError.html +3 -3
- data/docs/DropboxApi/Errors/UnmountedError.html +3 -3
- data/docs/DropboxApi/Errors/UnshareFileError.html +3 -3
- data/docs/DropboxApi/Errors/UnsupportedContentError.html +3 -3
- data/docs/DropboxApi/Errors/UnsupportedExtensionError.html +3 -3
- data/docs/DropboxApi/Errors/UnsupportedImageError.html +3 -3
- data/docs/DropboxApi/Errors/UnsupportedLinkTypeError.html +3 -3
- data/docs/DropboxApi/Errors/UnverifiedDropboxId.html +3 -3
- data/docs/DropboxApi/Errors/UploadError.html +3 -3
- data/docs/DropboxApi/Errors/UploadSessionFinishError.html +3 -3
- data/docs/DropboxApi/Errors/UploadSessionLookupError.html +3 -3
- data/docs/DropboxApi/Errors/UploadSessionOffsetError.html +3 -3
- data/docs/DropboxApi/Errors/UploadWriteFailedError.html +3 -3
- data/docs/DropboxApi/Errors/WriteConflictError.html +3 -3
- data/docs/DropboxApi/Errors/WriteError.html +3 -3
- data/docs/DropboxApi/Metadata.html +3 -3
- data/docs/DropboxApi/Metadata/AccessLevel.html +3 -3
- data/docs/DropboxApi/Metadata/AddFileMemberResult.html +3 -3
- data/docs/DropboxApi/Metadata/AddMember.html +3 -3
- data/docs/DropboxApi/Metadata/Base.html +3 -3
- data/docs/DropboxApi/Metadata/BasicAccount.html +3 -3
- data/docs/DropboxApi/Metadata/CommitInfo.html +3 -3
- data/docs/DropboxApi/Metadata/Deleted.html +3 -3
- data/docs/DropboxApi/Metadata/Dimensions.html +3 -3
- data/docs/DropboxApi/Metadata/Field.html +3 -3
- data/docs/DropboxApi/Metadata/File.html +3 -3
- data/docs/DropboxApi/Metadata/FileLinkMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/FileMemberAction.html +3 -3
- data/docs/DropboxApi/Metadata/FileRequest.html +3 -3
- data/docs/DropboxApi/Metadata/Folder.html +3 -3
- data/docs/DropboxApi/Metadata/FolderLinkMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/FolderSharingInfo.html +3 -3
- data/docs/DropboxApi/Metadata/LinkPermissions.html +3 -3
- data/docs/DropboxApi/Metadata/Location.html +3 -3
- data/docs/DropboxApi/Metadata/MediaInfo.html +3 -3
- data/docs/DropboxApi/Metadata/MediaMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/Member.html +3 -3
- data/docs/DropboxApi/Metadata/MemberAction.html +3 -3
- data/docs/DropboxApi/Metadata/MemberActionList.html +3 -3
- data/docs/DropboxApi/Metadata/MemberPermission.html +3 -3
- data/docs/DropboxApi/Metadata/MemberPermissionList.html +3 -3
- data/docs/DropboxApi/Metadata/Name.html +3 -3
- data/docs/DropboxApi/Metadata/ParentFolderAccessInfo.html +3 -3
- data/docs/DropboxApi/Metadata/PhotoMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/Resource.html +3 -3
- data/docs/DropboxApi/Metadata/SharedFolder.html +3 -3
- data/docs/DropboxApi/Metadata/SharedFolderPolicy.html +3 -3
- data/docs/DropboxApi/Metadata/SharedLink.html +3 -3
- data/docs/DropboxApi/Metadata/SharedLinkMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/SpaceAllocation.html +3 -3
- data/docs/DropboxApi/Metadata/SpaceUsage.html +3 -3
- data/docs/DropboxApi/Metadata/Tag.html +3 -3
- data/docs/DropboxApi/Metadata/Team.html +3 -3
- data/docs/DropboxApi/Metadata/TeamMemberInfo.html +3 -3
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultData.html +3 -3
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +3 -3
- data/docs/DropboxApi/Metadata/UploadSessionCursor.html +3 -3
- data/docs/DropboxApi/Metadata/VideoMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/WriteMode.html +3 -3
- data/docs/DropboxApi/MiddleWare.html +3 -3
- data/docs/DropboxApi/MiddleWare/DecodeResult.html +3 -3
- data/docs/DropboxApi/MiddleWare/Stack.html +3 -3
- data/docs/DropboxApi/OptionsValidator.html +4 -4
- data/docs/DropboxApi/ResultBuilder.html +3 -3
- data/docs/DropboxApi/Results.html +3 -3
- data/docs/DropboxApi/Results/AddFileMemberResultList.html +3 -3
- data/docs/DropboxApi/Results/Base.html +3 -3
- data/docs/DropboxApi/Results/BasicAccountBatch.html +3 -3
- data/docs/DropboxApi/Results/GetCopyReferenceResult.html +3 -3
- data/docs/DropboxApi/Results/GetTemporaryLinkResult.html +3 -3
- data/docs/DropboxApi/Results/GetThumbnailBatchResult.html +3 -3
- data/docs/DropboxApi/Results/ListFolderGetLatestCursorResult.html +3 -3
- data/docs/DropboxApi/Results/ListFolderLongpollResult.html +3 -3
- data/docs/DropboxApi/Results/ListFolderResult.html +3 -3
- data/docs/DropboxApi/Results/ListRevisionsResult.html +3 -3
- data/docs/DropboxApi/Results/ListSharedLinksResult.html +3 -3
- data/docs/DropboxApi/Results/SaveCopyReferenceResult.html +3 -3
- data/docs/DropboxApi/Results/SaveUrlJobStatus.html +3 -3
- data/docs/DropboxApi/Results/SaveUrlResult.html +3 -3
- data/docs/DropboxApi/Results/Search.html +3 -3
- data/docs/DropboxApi/Results/Search/Match.html +3 -3
- data/docs/DropboxApi/Results/SearchResult.html +3 -3
- data/docs/DropboxApi/Results/ShareFolderLaunch.html +3 -3
- data/docs/DropboxApi/Results/SharedFileMembers.html +3 -3
- data/docs/DropboxApi/Results/SharedFolderMembers.html +3 -3
- data/docs/DropboxApi/Results/UploadSessionStart.html +3 -3
- data/docs/DropboxApi/Results/VoidResult.html +3 -3
- data/docs/DropboxScaffoldBuilder.html +3 -3
- data/docs/_index.html +29 -8
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +3 -3
- data/docs/file.api_coverage.html +3 -3
- data/docs/file.rails_setup.html +3 -3
- data/docs/frames.html +1 -1
- data/docs/index.html +3 -3
- data/docs/method_list.html +230 -214
- data/docs/top-level-namespace.html +3 -3
- data/dropbox_api.gemspec +1 -3
- data/lib/dropbox_api.rb +16 -1
- data/lib/dropbox_api/endpoints/base.rb +3 -1
- data/lib/dropbox_api/endpoints/file_requests/create_file_request.rb +2 -2
- data/lib/dropbox_api/endpoints/files/copy_batch.rb +35 -0
- data/lib/dropbox_api/endpoints/files/copy_batch_check.rb +20 -0
- data/lib/dropbox_api/endpoints/files/create_folder_batch.rb +40 -0
- data/lib/dropbox_api/endpoints/files/create_folder_batch_check.rb +21 -0
- data/lib/dropbox_api/endpoints/files/delete_batch.rb +22 -0
- data/lib/dropbox_api/endpoints/files/delete_batch_check.rb +20 -0
- data/lib/dropbox_api/endpoints/files/upload.rb +1 -1
- data/lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb +1 -1
- data/lib/dropbox_api/errors/create_folder_batch_error.rb +7 -0
- data/lib/dropbox_api/errors/delete_error.rb +3 -2
- data/lib/dropbox_api/errors/relocation_batch_entry_error.rb +9 -0
- data/lib/dropbox_api/results/copy_batch_result.rb +14 -0
- data/lib/dropbox_api/results/create_folder_batch_result.rb +20 -0
- data/lib/dropbox_api/results/create_folder_batch_result_entry.rb +19 -0
- data/lib/dropbox_api/results/delete_batch_result.rb +20 -0
- data/lib/dropbox_api/results/delete_batch_result_entry.rb +15 -0
- data/lib/dropbox_api/results/relocation_batch_result.rb +20 -0
- data/lib/dropbox_api/results/relocation_batch_result_entry.rb +15 -0
- data/lib/dropbox_api/version.rb +1 -1
- data/yardoc/rspec.rb +5 -5
- metadata +37 -18
@@ -0,0 +1,15 @@
|
|
1
|
+
module DropboxApi::Results
|
2
|
+
class RelocationBatchResultEntry < DropboxApi::Results::Base
|
3
|
+
def self.new(result_data)
|
4
|
+
case result_data['.tag']
|
5
|
+
when 'success'
|
6
|
+
DropboxApi::Metadata::Resource.new result_data['success']
|
7
|
+
when 'failure'
|
8
|
+
DropboxApi::Errors::RelocationBatchEntryError
|
9
|
+
.build('File or folder operation failed', result_data['failure'])
|
10
|
+
else
|
11
|
+
raise NotImplementedError, "Unknown result type: #{result_data['.tag']}"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/dropbox_api/version.rb
CHANGED
data/yardoc/rspec.rb
CHANGED
@@ -11,7 +11,7 @@ class RSpecDescribeHandler < YARD::Handlers::Ruby::Base
|
|
11
11
|
end
|
12
12
|
obj = {:spec => owner ? (owner[:spec] || "") : ""}
|
13
13
|
obj[:spec] += objname
|
14
|
-
parse_block(statement.last.last, owner
|
14
|
+
parse_block(statement.last.last, :owner => obj)
|
15
15
|
rescue YARD::Handlers::NamespaceMissingError
|
16
16
|
end
|
17
17
|
end
|
@@ -26,10 +26,10 @@ class RSpecItHandler < YARD::Handlers::Ruby::Base
|
|
26
26
|
|
27
27
|
obj[:specifications] ||= []
|
28
28
|
obj[:specifications] << {
|
29
|
-
name
|
30
|
-
file
|
31
|
-
line
|
32
|
-
source
|
29
|
+
:name => statement.parameters.first.jump(:string_content).source,
|
30
|
+
:file => statement.file,
|
31
|
+
:line => statement.line,
|
32
|
+
:source => statement.last.last.source
|
33
33
|
}
|
34
34
|
end
|
35
35
|
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.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesús Burgos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: oauth2
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.1'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.1'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: faraday
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,6 +100,20 @@ dependencies:
|
|
114
100
|
- - "<="
|
115
101
|
- !ruby/object:Gem::Version
|
116
102
|
version: 0.15.4
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: oauth2
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.1'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '1.1'
|
117
117
|
description:
|
118
118
|
email:
|
119
119
|
- jburmac@gmail.com
|
@@ -123,6 +123,8 @@ extra_rdoc_files: []
|
|
123
123
|
files:
|
124
124
|
- ".gitignore"
|
125
125
|
- ".rspec"
|
126
|
+
- ".rubocop.yml"
|
127
|
+
- ".rubocop_todo.yml"
|
126
128
|
- ".travis.yml"
|
127
129
|
- ".yardopts"
|
128
130
|
- CHANGES.md
|
@@ -185,6 +187,7 @@ files:
|
|
185
187
|
- docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html
|
186
188
|
- docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html
|
187
189
|
- docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html
|
190
|
+
- docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html
|
188
191
|
- docs/DropboxApi/Endpoints/Sharing/ShareFolder.html
|
189
192
|
- docs/DropboxApi/Endpoints/Sharing/UnshareFile.html
|
190
193
|
- docs/DropboxApi/Endpoints/Users.html
|
@@ -271,6 +274,7 @@ files:
|
|
271
274
|
- docs/DropboxApi/Errors/RelocationError.html
|
272
275
|
- docs/DropboxApi/Errors/RestoreError.html
|
273
276
|
- docs/DropboxApi/Errors/RestrictedContentError.html
|
277
|
+
- docs/DropboxApi/Errors/RevokeSharedLinkError.html
|
274
278
|
- docs/DropboxApi/Errors/SaveCopyReferenceError.html
|
275
279
|
- docs/DropboxApi/Errors/SaveUrlError.html
|
276
280
|
- docs/DropboxApi/Errors/SearchError.html
|
@@ -281,6 +285,7 @@ files:
|
|
281
285
|
- docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html
|
282
286
|
- docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html
|
283
287
|
- docs/DropboxApi/Errors/SharedLinkError.html
|
288
|
+
- docs/DropboxApi/Errors/SharedLinkMalformedError.html
|
284
289
|
- docs/DropboxApi/Errors/SharedLinkNotFoundError.html
|
285
290
|
- docs/DropboxApi/Errors/SharingFileAccessError.html
|
286
291
|
- docs/DropboxApi/Errors/SharingUserError.html
|
@@ -409,10 +414,16 @@ files:
|
|
409
414
|
- lib/dropbox_api/endpoints/content_upload.rb
|
410
415
|
- lib/dropbox_api/endpoints/file_requests/create_file_request.rb
|
411
416
|
- lib/dropbox_api/endpoints/files/copy.rb
|
417
|
+
- lib/dropbox_api/endpoints/files/copy_batch.rb
|
418
|
+
- lib/dropbox_api/endpoints/files/copy_batch_check.rb
|
412
419
|
- lib/dropbox_api/endpoints/files/copy_reference_get.rb
|
413
420
|
- lib/dropbox_api/endpoints/files/copy_reference_save.rb
|
414
421
|
- lib/dropbox_api/endpoints/files/create_folder.rb
|
422
|
+
- lib/dropbox_api/endpoints/files/create_folder_batch.rb
|
423
|
+
- lib/dropbox_api/endpoints/files/create_folder_batch_check.rb
|
415
424
|
- lib/dropbox_api/endpoints/files/delete.rb
|
425
|
+
- lib/dropbox_api/endpoints/files/delete_batch.rb
|
426
|
+
- lib/dropbox_api/endpoints/files/delete_batch_check.rb
|
416
427
|
- lib/dropbox_api/endpoints/files/download.rb
|
417
428
|
- lib/dropbox_api/endpoints/files/get_metadata.rb
|
418
429
|
- lib/dropbox_api/endpoints/files/get_preview.rb
|
@@ -458,6 +469,7 @@ files:
|
|
458
469
|
- lib/dropbox_api/errors/already_shared_error.rb
|
459
470
|
- lib/dropbox_api/errors/basic_error.rb
|
460
471
|
- lib/dropbox_api/errors/create_file_request_error.rb
|
472
|
+
- lib/dropbox_api/errors/create_folder_batch_error.rb
|
461
473
|
- lib/dropbox_api/errors/create_folder_error.rb
|
462
474
|
- lib/dropbox_api/errors/create_shared_link_with_settings_error.rb
|
463
475
|
- lib/dropbox_api/errors/delete_error.rb
|
@@ -475,6 +487,7 @@ files:
|
|
475
487
|
- lib/dropbox_api/errors/lookup_error.rb
|
476
488
|
- lib/dropbox_api/errors/poll_error.rb
|
477
489
|
- lib/dropbox_api/errors/preview_error.rb
|
490
|
+
- lib/dropbox_api/errors/relocation_batch_entry_error.rb
|
478
491
|
- lib/dropbox_api/errors/relocation_error.rb
|
479
492
|
- lib/dropbox_api/errors/restore_error.rb
|
480
493
|
- lib/dropbox_api/errors/revoke_shared_link_error.rb
|
@@ -549,6 +562,11 @@ files:
|
|
549
562
|
- lib/dropbox_api/results/add_file_member_result_list.rb
|
550
563
|
- lib/dropbox_api/results/base.rb
|
551
564
|
- lib/dropbox_api/results/basic_account_batch.rb
|
565
|
+
- lib/dropbox_api/results/copy_batch_result.rb
|
566
|
+
- lib/dropbox_api/results/create_folder_batch_result.rb
|
567
|
+
- lib/dropbox_api/results/create_folder_batch_result_entry.rb
|
568
|
+
- lib/dropbox_api/results/delete_batch_result.rb
|
569
|
+
- lib/dropbox_api/results/delete_batch_result_entry.rb
|
552
570
|
- lib/dropbox_api/results/get_copy_reference_result.rb
|
553
571
|
- lib/dropbox_api/results/get_temporary_link_result.rb
|
554
572
|
- lib/dropbox_api/results/get_thumbnail_batch_result.rb
|
@@ -557,6 +575,8 @@ files:
|
|
557
575
|
- lib/dropbox_api/results/list_folder_result.rb
|
558
576
|
- lib/dropbox_api/results/list_revisions_result.rb
|
559
577
|
- lib/dropbox_api/results/list_shared_links_result.rb
|
578
|
+
- lib/dropbox_api/results/relocation_batch_result.rb
|
579
|
+
- lib/dropbox_api/results/relocation_batch_result_entry.rb
|
560
580
|
- lib/dropbox_api/results/save_copy_reference_result.rb
|
561
581
|
- lib/dropbox_api/results/save_url_job_status.rb
|
562
582
|
- lib/dropbox_api/results/save_url_result.rb
|
@@ -596,8 +616,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
596
616
|
- !ruby/object:Gem::Version
|
597
617
|
version: '0'
|
598
618
|
requirements: []
|
599
|
-
|
600
|
-
rubygems_version: 2.6.11
|
619
|
+
rubygems_version: 3.0.3
|
601
620
|
signing_key:
|
602
621
|
specification_version: 4
|
603
622
|
summary: Library for communicating with Dropbox API v2
|