dropbox_api 0.1.14 → 0.1.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (494) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -1
  3. data/.rubocop.yml +15 -0
  4. data/.travis.yml +1 -2
  5. data/.yardopts +1 -0
  6. data/Gemfile +6 -1
  7. data/README.md +7 -2
  8. data/Rakefile +4 -3
  9. data/TODO.md +16 -6
  10. data/api_coverage.md +8 -8
  11. data/bin/console +4 -3
  12. data/docs/DropboxApi.html +135 -0
  13. data/docs/DropboxApi/Authenticator.html +217 -0
  14. data/docs/DropboxApi/ChunkedUploader.html +411 -0
  15. data/docs/DropboxApi/Client.html +10106 -0
  16. data/docs/DropboxApi/ConnectionBuilder.html +326 -0
  17. data/docs/DropboxApi/Endpoints.html +119 -0
  18. data/docs/DropboxApi/Endpoints/Auth.html +115 -0
  19. data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +265 -0
  20. data/docs/DropboxApi/Endpoints/Base.html +197 -0
  21. data/docs/DropboxApi/Endpoints/ContentDownload.html +383 -0
  22. data/docs/DropboxApi/Endpoints/ContentUpload.html +351 -0
  23. data/docs/DropboxApi/Endpoints/Files.html +117 -0
  24. data/docs/DropboxApi/Endpoints/Files/Copy.html +323 -0
  25. data/docs/DropboxApi/Endpoints/Files/CopyBatch.html +359 -0
  26. data/docs/DropboxApi/Endpoints/Files/CopyBatchCheck.html +305 -0
  27. data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +304 -0
  28. data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +320 -0
  29. data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +307 -0
  30. data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +305 -0
  31. data/docs/DropboxApi/Endpoints/Files/CreateFolderBatch.html +377 -0
  32. data/docs/DropboxApi/Endpoints/Files/CreateFolderBatchCheck.html +308 -0
  33. data/docs/DropboxApi/Endpoints/Files/Delete.html +341 -0
  34. data/docs/DropboxApi/Endpoints/Files/DeleteBatch.html +305 -0
  35. data/docs/DropboxApi/Endpoints/Files/DeleteBatchCheck.html +307 -0
  36. data/docs/DropboxApi/Endpoints/Files/Download.html +284 -0
  37. data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +376 -0
  38. data/docs/DropboxApi/Endpoints/Files/GetPreview.html +286 -0
  39. data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +286 -0
  40. data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +388 -0
  41. data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +431 -0
  42. data/docs/DropboxApi/Endpoints/Files/ListFolder.html +402 -0
  43. data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +298 -0
  44. data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +371 -0
  45. data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +360 -0
  46. data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +338 -0
  47. data/docs/DropboxApi/Endpoints/Files/Move.html +364 -0
  48. data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +337 -0
  49. data/docs/DropboxApi/Endpoints/Files/Restore.html +305 -0
  50. data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +324 -0
  51. data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +306 -0
  52. data/docs/DropboxApi/Endpoints/Files/Search.html +399 -0
  53. data/docs/DropboxApi/Endpoints/Files/Upload.html +439 -0
  54. data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +377 -0
  55. data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +328 -0
  56. data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +350 -0
  57. data/docs/DropboxApi/Endpoints/Rpc.html +353 -0
  58. data/docs/DropboxApi/Endpoints/RpcContent.html +236 -0
  59. data/docs/DropboxApi/Endpoints/RpcNotify.html +240 -0
  60. data/docs/DropboxApi/Endpoints/Sharing.html +117 -0
  61. data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +415 -0
  62. data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +400 -0
  63. data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +413 -0
  64. data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +344 -0
  65. data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +421 -0
  66. data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +400 -0
  67. data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +345 -0
  68. data/docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html +293 -0
  69. data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +428 -0
  70. data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +290 -0
  71. data/docs/DropboxApi/Endpoints/Users.html +117 -0
  72. data/docs/DropboxApi/Endpoints/Users/GetAccount.html +301 -0
  73. data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +303 -0
  74. data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +282 -0
  75. data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +282 -0
  76. data/docs/DropboxApi/Errors.html +117 -0
  77. data/docs/DropboxApi/Errors/AddFileMemberError.html +164 -0
  78. data/docs/DropboxApi/Errors/AddFolderMemberError.html +170 -0
  79. data/docs/DropboxApi/Errors/AddMemberSelectorError.html +165 -0
  80. data/docs/DropboxApi/Errors/AlreadySharedError.html +213 -0
  81. data/docs/DropboxApi/Errors/BadPathError.html +143 -0
  82. data/docs/DropboxApi/Errors/BasicError.html +356 -0
  83. data/docs/DropboxApi/Errors/CantCopySharedFolderError.html +143 -0
  84. data/docs/DropboxApi/Errors/CantMoveFolderIntoItselfError.html +143 -0
  85. data/docs/DropboxApi/Errors/CantNestSharedFolderError.html +143 -0
  86. data/docs/DropboxApi/Errors/CantShareOutsideTeamError.html +143 -0
  87. data/docs/DropboxApi/Errors/ContainsSharedFolderError.html +143 -0
  88. data/docs/DropboxApi/Errors/ConversionError.html +143 -0
  89. data/docs/DropboxApi/Errors/CreateFileRequestError.html +160 -0
  90. data/docs/DropboxApi/Errors/CreateFolderBatchError.html +161 -0
  91. data/docs/DropboxApi/Errors/CreateFolderError.html +161 -0
  92. data/docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html +165 -0
  93. data/docs/DropboxApi/Errors/CursorClosedError.html +143 -0
  94. data/docs/DropboxApi/Errors/CursorNotClosedError.html +143 -0
  95. data/docs/DropboxApi/Errors/DeleteError.html +163 -0
  96. data/docs/DropboxApi/Errors/DisallowedNameError.html +143 -0
  97. data/docs/DropboxApi/Errors/DisallowedSharedLinkPolicyError.html +143 -0
  98. data/docs/DropboxApi/Errors/DownloadError.html +161 -0
  99. data/docs/DropboxApi/Errors/DownloadFailedError.html +143 -0
  100. data/docs/DropboxApi/Errors/EmailUnverifiedError.html +143 -0
  101. data/docs/DropboxApi/Errors/FileAncestorConflictError.html +143 -0
  102. data/docs/DropboxApi/Errors/FileConflictError.html +143 -0
  103. data/docs/DropboxApi/Errors/FileMemberActionError.html +164 -0
  104. data/docs/DropboxApi/Errors/FolderConflictError.html +143 -0
  105. data/docs/DropboxApi/Errors/GetAccountError.html +161 -0
  106. data/docs/DropboxApi/Errors/GetCopyReferenceError.html +161 -0
  107. data/docs/DropboxApi/Errors/GetMetadataError.html +161 -0
  108. data/docs/DropboxApi/Errors/GroupDeletedError.html +143 -0
  109. data/docs/DropboxApi/Errors/GroupNotOnTeamError.html +143 -0
  110. data/docs/DropboxApi/Errors/HttpError.html +124 -0
  111. data/docs/DropboxApi/Errors/InProgressError.html +143 -0
  112. data/docs/DropboxApi/Errors/InsideAppFolderError.html +143 -0
  113. data/docs/DropboxApi/Errors/InsideOsxPackageError.html +143 -0
  114. data/docs/DropboxApi/Errors/InsidePublicFolderError.html +143 -0
  115. data/docs/DropboxApi/Errors/InsideSharedFolderError.html +143 -0
  116. data/docs/DropboxApi/Errors/InsufficientPlanError.html +143 -0
  117. data/docs/DropboxApi/Errors/InsufficientSpaceError.html +143 -0
  118. data/docs/DropboxApi/Errors/InternalError.html +143 -0
  119. data/docs/DropboxApi/Errors/InvalidCommentError.html +143 -0
  120. data/docs/DropboxApi/Errors/InvalidCopyReferenceError.html +143 -0
  121. data/docs/DropboxApi/Errors/InvalidCursorError.html +143 -0
  122. data/docs/DropboxApi/Errors/InvalidDropboxIdError.html +143 -0
  123. data/docs/DropboxApi/Errors/InvalidEmailError.html +143 -0
  124. data/docs/DropboxApi/Errors/InvalidFileError.html +143 -0
  125. data/docs/DropboxApi/Errors/InvalidIdError.html +143 -0
  126. data/docs/DropboxApi/Errors/InvalidMemberError.html +143 -0
  127. data/docs/DropboxApi/Errors/InvalidPathError.html +143 -0
  128. data/docs/DropboxApi/Errors/InvalidRevisionError.html +143 -0
  129. data/docs/DropboxApi/Errors/InvalidSettingsError.html +143 -0
  130. data/docs/DropboxApi/Errors/InvalidUrlError.html +143 -0
  131. data/docs/DropboxApi/Errors/IsAppFolderError.html +143 -0
  132. data/docs/DropboxApi/Errors/IsFileError.html +143 -0
  133. data/docs/DropboxApi/Errors/IsFolderError.html +143 -0
  134. data/docs/DropboxApi/Errors/IsOsxPackageError.html +143 -0
  135. data/docs/DropboxApi/Errors/IsPublicFolderError.html +143 -0
  136. data/docs/DropboxApi/Errors/ListFolderContinueError.html +162 -0
  137. data/docs/DropboxApi/Errors/ListFolderError.html +161 -0
  138. data/docs/DropboxApi/Errors/ListFolderLongpollError.html +161 -0
  139. data/docs/DropboxApi/Errors/ListRevisionsError.html +161 -0
  140. data/docs/DropboxApi/Errors/ListSharedLinksError.html +162 -0
  141. data/docs/DropboxApi/Errors/LookupError.html +165 -0
  142. data/docs/DropboxApi/Errors/MalformedPathError.html +143 -0
  143. data/docs/DropboxApi/Errors/NoAccountError.html +143 -0
  144. data/docs/DropboxApi/Errors/NoPermissionError.html +143 -0
  145. data/docs/DropboxApi/Errors/NoWritePermissionError.html +143 -0
  146. data/docs/DropboxApi/Errors/NotAMemberError.html +143 -0
  147. data/docs/DropboxApi/Errors/NotFileError.html +143 -0
  148. data/docs/DropboxApi/Errors/NotFolderError.html +143 -0
  149. data/docs/DropboxApi/Errors/NotFoundError.html +143 -0
  150. data/docs/DropboxApi/Errors/PollError.html +162 -0
  151. data/docs/DropboxApi/Errors/PreviewError.html +164 -0
  152. data/docs/DropboxApi/Errors/RateLimitError.html +143 -0
  153. data/docs/DropboxApi/Errors/RelocationBatchEntryError.html +163 -0
  154. data/docs/DropboxApi/Errors/RelocationError.html +167 -0
  155. data/docs/DropboxApi/Errors/RestoreError.html +163 -0
  156. data/docs/DropboxApi/Errors/RestrictedContentError.html +143 -0
  157. data/docs/DropboxApi/Errors/RevokeSharedLinkError.html +164 -0
  158. data/docs/DropboxApi/Errors/SaveCopyReferenceError.html +165 -0
  159. data/docs/DropboxApi/Errors/SaveUrlError.html +164 -0
  160. data/docs/DropboxApi/Errors/SearchError.html +161 -0
  161. data/docs/DropboxApi/Errors/SettingsError.html +162 -0
  162. data/docs/DropboxApi/Errors/ShareFolderError.html +165 -0
  163. data/docs/DropboxApi/Errors/SharePathError.html +171 -0
  164. data/docs/DropboxApi/Errors/SharedFolderAccessError.html +164 -0
  165. data/docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html +143 -0
  166. data/docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html +143 -0
  167. data/docs/DropboxApi/Errors/SharedLinkError.html +163 -0
  168. data/docs/DropboxApi/Errors/SharedLinkMalformedError.html +143 -0
  169. data/docs/DropboxApi/Errors/SharedLinkNotFoundError.html +143 -0
  170. data/docs/DropboxApi/Errors/SharingFileAccessError.html +165 -0
  171. data/docs/DropboxApi/Errors/SharingUserError.html +161 -0
  172. data/docs/DropboxApi/Errors/TeamFolderError.html +143 -0
  173. data/docs/DropboxApi/Errors/TeamPolicyDisallowsMemberPolicyError.html +143 -0
  174. data/docs/DropboxApi/Errors/ThumbnailBatchError.html +161 -0
  175. data/docs/DropboxApi/Errors/ThumbnailError.html +164 -0
  176. data/docs/DropboxApi/Errors/TooManyFilesError.html +143 -0
  177. data/docs/DropboxApi/Errors/TooManyMembersError.html +143 -0
  178. data/docs/DropboxApi/Errors/TooManyPendingInvitesError.html +143 -0
  179. data/docs/DropboxApi/Errors/TooManyRequestsError.html +321 -0
  180. data/docs/DropboxApi/Errors/TooManySharedFolderTargetsError.html +143 -0
  181. data/docs/DropboxApi/Errors/TooManyWriteOperationsError.html +167 -0
  182. data/docs/DropboxApi/Errors/UnmountedError.html +143 -0
  183. data/docs/DropboxApi/Errors/UnshareFileError.html +162 -0
  184. data/docs/DropboxApi/Errors/UnsupportedContentError.html +143 -0
  185. data/docs/DropboxApi/Errors/UnsupportedExtensionError.html +143 -0
  186. data/docs/DropboxApi/Errors/UnsupportedImageError.html +143 -0
  187. data/docs/DropboxApi/Errors/UnsupportedLinkTypeError.html +143 -0
  188. data/docs/DropboxApi/Errors/UnverifiedDropboxId.html +143 -0
  189. data/docs/DropboxApi/Errors/UploadError.html +161 -0
  190. data/docs/DropboxApi/Errors/UploadSessionFinishError.html +163 -0
  191. data/docs/DropboxApi/Errors/UploadSessionLookupError.html +164 -0
  192. data/docs/DropboxApi/Errors/UploadSessionOffsetError.html +220 -0
  193. data/docs/DropboxApi/Errors/UploadWriteFailedError.html +161 -0
  194. data/docs/DropboxApi/Errors/WriteConflictError.html +163 -0
  195. data/docs/DropboxApi/Errors/WriteError.html +165 -0
  196. data/docs/DropboxApi/Metadata.html +117 -0
  197. data/docs/DropboxApi/Metadata/AccessLevel.html +259 -0
  198. data/docs/DropboxApi/Metadata/AddFileMemberResult.html +164 -0
  199. data/docs/DropboxApi/Metadata/AddMember.html +246 -0
  200. data/docs/DropboxApi/Metadata/Base.html +545 -0
  201. data/docs/DropboxApi/Metadata/BasicAccount.html +167 -0
  202. data/docs/DropboxApi/Metadata/CommitInfo.html +232 -0
  203. data/docs/DropboxApi/Metadata/Deleted.html +158 -0
  204. data/docs/DropboxApi/Metadata/Dimensions.html +140 -0
  205. data/docs/DropboxApi/Metadata/Field.html +358 -0
  206. data/docs/DropboxApi/Metadata/File.html +238 -0
  207. data/docs/DropboxApi/Metadata/FileLinkMetadata.html +180 -0
  208. data/docs/DropboxApi/Metadata/FileMemberAction.html +230 -0
  209. data/docs/DropboxApi/Metadata/FileRequest.html +167 -0
  210. data/docs/DropboxApi/Metadata/Folder.html +228 -0
  211. data/docs/DropboxApi/Metadata/FolderLinkMetadata.html +140 -0
  212. data/docs/DropboxApi/Metadata/FolderSharingInfo.html +156 -0
  213. data/docs/DropboxApi/Metadata/LinkPermissions.html +161 -0
  214. data/docs/DropboxApi/Metadata/Location.html +140 -0
  215. data/docs/DropboxApi/Metadata/MediaInfo.html +245 -0
  216. data/docs/DropboxApi/Metadata/MediaMetadata.html +237 -0
  217. data/docs/DropboxApi/Metadata/Member.html +313 -0
  218. data/docs/DropboxApi/Metadata/MemberAction.html +274 -0
  219. data/docs/DropboxApi/Metadata/MemberActionList.html +221 -0
  220. data/docs/DropboxApi/Metadata/MemberPermission.html +163 -0
  221. data/docs/DropboxApi/Metadata/MemberPermissionList.html +237 -0
  222. data/docs/DropboxApi/Metadata/Name.html +158 -0
  223. data/docs/DropboxApi/Metadata/ParentFolderAccessInfo.html +140 -0
  224. data/docs/DropboxApi/Metadata/PhotoMetadata.html +164 -0
  225. data/docs/DropboxApi/Metadata/Resource.html +207 -0
  226. data/docs/DropboxApi/Metadata/SharedFolder.html +165 -0
  227. data/docs/DropboxApi/Metadata/SharedFolderPolicy.html +156 -0
  228. data/docs/DropboxApi/Metadata/SharedLink.html +375 -0
  229. data/docs/DropboxApi/Metadata/SharedLinkMetadata.html +204 -0
  230. data/docs/DropboxApi/Metadata/SpaceAllocation.html +156 -0
  231. data/docs/DropboxApi/Metadata/SpaceUsage.html +159 -0
  232. data/docs/DropboxApi/Metadata/Tag.html +293 -0
  233. data/docs/DropboxApi/Metadata/Team.html +140 -0
  234. data/docs/DropboxApi/Metadata/TeamMemberInfo.html +160 -0
  235. data/docs/DropboxApi/Metadata/ThumbnailBatchResultData.html +140 -0
  236. data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +221 -0
  237. data/docs/DropboxApi/Metadata/UploadSessionCursor.html +226 -0
  238. data/docs/DropboxApi/Metadata/VideoMetadata.html +165 -0
  239. data/docs/DropboxApi/Metadata/WriteMode.html +439 -0
  240. data/docs/DropboxApi/MiddleWare.html +117 -0
  241. data/docs/DropboxApi/MiddleWare/DecodeResult.html +273 -0
  242. data/docs/DropboxApi/MiddleWare/Stack.html +452 -0
  243. data/docs/DropboxApi/OptionsValidator.html +234 -0
  244. data/docs/DropboxApi/ResultBuilder.html +570 -0
  245. data/docs/DropboxApi/Results.html +119 -0
  246. data/docs/DropboxApi/Results/AddFileMemberResultList.html +227 -0
  247. data/docs/DropboxApi/Results/Base.html +206 -0
  248. data/docs/DropboxApi/Results/BasicAccountBatch.html +205 -0
  249. data/docs/DropboxApi/Results/CopyBatchResult.html +224 -0
  250. data/docs/DropboxApi/Results/CreateFolderBatchResult.html +241 -0
  251. data/docs/DropboxApi/Results/CreateFolderBatchResultEntry.html +234 -0
  252. data/docs/DropboxApi/Results/DeleteBatchResult.html +241 -0
  253. data/docs/DropboxApi/Results/DeleteBatchResultEntry.html +226 -0
  254. data/docs/DropboxApi/Results/GetCopyReferenceResult.html +351 -0
  255. data/docs/DropboxApi/Results/GetTemporaryLinkResult.html +263 -0
  256. data/docs/DropboxApi/Results/GetThumbnailBatchResult.html +214 -0
  257. data/docs/DropboxApi/Results/ListFolderGetLatestCursorResult.html +210 -0
  258. data/docs/DropboxApi/Results/ListFolderLongpollResult.html +287 -0
  259. data/docs/DropboxApi/Results/ListFolderResult.html +368 -0
  260. data/docs/DropboxApi/Results/ListRevisionsResult.html +300 -0
  261. data/docs/DropboxApi/Results/ListSharedLinksResult.html +368 -0
  262. data/docs/DropboxApi/Results/RelocationBatchResult.html +241 -0
  263. data/docs/DropboxApi/Results/RelocationBatchResultEntry.html +226 -0
  264. data/docs/DropboxApi/Results/SaveCopyReferenceResult.html +221 -0
  265. data/docs/DropboxApi/Results/SaveUrlJobStatus.html +230 -0
  266. data/docs/DropboxApi/Results/SaveUrlResult.html +227 -0
  267. data/docs/DropboxApi/Results/Search.html +115 -0
  268. data/docs/DropboxApi/Results/Search/Match.html +314 -0
  269. data/docs/DropboxApi/Results/SearchResult.html +368 -0
  270. data/docs/DropboxApi/Results/ShareFolderLaunch.html +205 -0
  271. data/docs/DropboxApi/Results/SharedFileMembers.html +369 -0
  272. data/docs/DropboxApi/Results/SharedFolderMembers.html +369 -0
  273. data/docs/DropboxApi/Results/UploadSessionStart.html +210 -0
  274. data/docs/DropboxApi/Results/VoidResult.html +140 -0
  275. data/docs/DropboxScaffoldBuilder.html +1172 -0
  276. data/docs/_index.html +2110 -0
  277. data/docs/class_list.html +51 -0
  278. data/docs/css/common.css +4 -0
  279. data/docs/css/full_list.css +58 -0
  280. data/docs/css/style.css +496 -0
  281. data/docs/file.README.html +257 -0
  282. data/docs/file.api_coverage.html +595 -0
  283. data/docs/file.rails_setup.html +152 -0
  284. data/docs/file_list.html +66 -0
  285. data/docs/frames.html +17 -0
  286. data/docs/index.html +257 -0
  287. data/docs/js/app.js +303 -0
  288. data/docs/js/full_list.js +216 -0
  289. data/docs/js/jquery.js +4 -0
  290. data/docs/method_list.html +1955 -0
  291. data/docs/top-level-namespace.html +112 -0
  292. data/dropbox_api.gemspec +15 -16
  293. data/lib/dropbox_api.rb +30 -3
  294. data/lib/dropbox_api/authenticator.rb +3 -2
  295. data/lib/dropbox_api/chunked_uploader.rb +2 -0
  296. data/lib/dropbox_api/client.rb +2 -1
  297. data/lib/dropbox_api/connection_builder.rb +1 -0
  298. data/lib/dropbox_api/endpoints/auth/token_revoke.rb +2 -1
  299. data/lib/dropbox_api/endpoints/base.rb +7 -4
  300. data/lib/dropbox_api/endpoints/content_download.rb +4 -6
  301. data/lib/dropbox_api/endpoints/content_upload.rb +2 -1
  302. data/lib/dropbox_api/endpoints/file_requests/create_file_request.rb +2 -1
  303. data/lib/dropbox_api/endpoints/files/copy.rb +4 -3
  304. data/lib/dropbox_api/endpoints/files/copy_batch.rb +36 -0
  305. data/lib/dropbox_api/endpoints/files/copy_batch_check.rb +21 -0
  306. data/lib/dropbox_api/endpoints/files/copy_reference_get.rb +3 -2
  307. data/lib/dropbox_api/endpoints/files/copy_reference_save.rb +4 -3
  308. data/lib/dropbox_api/endpoints/files/create_folder.rb +3 -2
  309. data/lib/dropbox_api/endpoints/files/create_folder_batch.rb +41 -0
  310. data/lib/dropbox_api/endpoints/files/create_folder_batch_check.rb +22 -0
  311. data/lib/dropbox_api/endpoints/files/delete.rb +3 -2
  312. data/lib/dropbox_api/endpoints/files/delete_batch.rb +23 -0
  313. data/lib/dropbox_api/endpoints/files/delete_batch_check.rb +21 -0
  314. data/lib/dropbox_api/endpoints/files/download.rb +3 -2
  315. data/lib/dropbox_api/endpoints/files/get_metadata.rb +3 -2
  316. data/lib/dropbox_api/endpoints/files/get_preview.rb +3 -2
  317. data/lib/dropbox_api/endpoints/files/get_temporary_link.rb +3 -2
  318. data/lib/dropbox_api/endpoints/files/get_thumbnail.rb +3 -2
  319. data/lib/dropbox_api/endpoints/files/get_thumbnail_batch.rb +4 -3
  320. data/lib/dropbox_api/endpoints/files/list_folder.rb +11 -4
  321. data/lib/dropbox_api/endpoints/files/list_folder_continue.rb +3 -2
  322. data/lib/dropbox_api/endpoints/files/list_folder_get_latest_cursor.rb +2 -1
  323. data/lib/dropbox_api/endpoints/files/list_folder_longpoll.rb +3 -2
  324. data/lib/dropbox_api/endpoints/files/list_revisions.rb +3 -2
  325. data/lib/dropbox_api/endpoints/files/move.rb +4 -3
  326. data/lib/dropbox_api/endpoints/files/permanently_delete.rb +3 -2
  327. data/lib/dropbox_api/endpoints/files/restore.rb +4 -3
  328. data/lib/dropbox_api/endpoints/files/save_url.rb +4 -3
  329. data/lib/dropbox_api/endpoints/files/save_url_check_job_status.rb +3 -2
  330. data/lib/dropbox_api/endpoints/files/search.rb +16 -27
  331. data/lib/dropbox_api/endpoints/files/upload.rb +3 -2
  332. data/lib/dropbox_api/endpoints/files/upload_session_append_v2.rb +3 -2
  333. data/lib/dropbox_api/endpoints/files/upload_session_finish.rb +4 -3
  334. data/lib/dropbox_api/endpoints/files/upload_session_start.rb +4 -3
  335. data/lib/dropbox_api/endpoints/rpc.rb +2 -1
  336. data/lib/dropbox_api/endpoints/rpc_content.rb +2 -1
  337. data/lib/dropbox_api/endpoints/rpc_notify.rb +2 -1
  338. data/lib/dropbox_api/endpoints/sharing/add_file_member.rb +4 -3
  339. data/lib/dropbox_api/endpoints/sharing/add_folder_member.rb +4 -3
  340. data/lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb +29 -4
  341. data/lib/dropbox_api/endpoints/sharing/get_shared_link_metadata.rb +3 -2
  342. data/lib/dropbox_api/endpoints/sharing/list_file_members.rb +4 -3
  343. data/lib/dropbox_api/endpoints/sharing/list_folder_members.rb +4 -3
  344. data/lib/dropbox_api/endpoints/sharing/list_shared_links.rb +2 -1
  345. data/lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb +24 -0
  346. data/lib/dropbox_api/endpoints/sharing/share_folder.rb +3 -2
  347. data/lib/dropbox_api/endpoints/sharing/unshare_file.rb +3 -2
  348. data/lib/dropbox_api/endpoints/users/get_account.rb +3 -2
  349. data/lib/dropbox_api/endpoints/users/get_account_batch.rb +3 -2
  350. data/lib/dropbox_api/endpoints/users/get_current_account.rb +2 -1
  351. data/lib/dropbox_api/endpoints/users/get_space_usage.rb +2 -1
  352. data/lib/dropbox_api/endpoints/virtual/upload_by_chunks.rb +1 -0
  353. data/lib/dropbox_api/errors/add_file_member_error.rb +5 -4
  354. data/lib/dropbox_api/errors/add_folder_member_error.rb +11 -10
  355. data/lib/dropbox_api/errors/add_member_selector_error.rb +6 -5
  356. data/lib/dropbox_api/errors/already_shared_error.rb +1 -0
  357. data/lib/dropbox_api/errors/basic_error.rb +3 -1
  358. data/lib/dropbox_api/errors/create_file_request_error.rb +1 -0
  359. data/lib/dropbox_api/errors/create_folder_batch_error.rb +8 -0
  360. data/lib/dropbox_api/errors/create_folder_error.rb +2 -1
  361. data/lib/dropbox_api/errors/create_shared_link_with_settings_error.rb +6 -5
  362. data/lib/dropbox_api/errors/delete_error.rb +5 -3
  363. data/lib/dropbox_api/errors/download_error.rb +2 -1
  364. data/lib/dropbox_api/errors/file_member_action_error.rb +5 -4
  365. data/lib/dropbox_api/errors/get_account_error.rb +2 -1
  366. data/lib/dropbox_api/errors/get_copy_reference_error.rb +2 -1
  367. data/lib/dropbox_api/errors/get_metadata_error.rb +2 -1
  368. data/lib/dropbox_api/errors/http_error.rb +1 -0
  369. data/lib/dropbox_api/errors/list_folder_continue_error.rb +3 -2
  370. data/lib/dropbox_api/errors/list_folder_error.rb +2 -1
  371. data/lib/dropbox_api/errors/list_folder_longpoll_error.rb +2 -1
  372. data/lib/dropbox_api/errors/list_revisions_error.rb +2 -1
  373. data/lib/dropbox_api/errors/list_shared_links_error.rb +3 -2
  374. data/lib/dropbox_api/errors/lookup_error.rb +6 -5
  375. data/lib/dropbox_api/errors/poll_error.rb +3 -2
  376. data/lib/dropbox_api/errors/preview_error.rb +5 -4
  377. data/lib/dropbox_api/errors/relocation_batch_entry_error.rb +10 -0
  378. data/lib/dropbox_api/errors/relocation_error.rb +8 -7
  379. data/lib/dropbox_api/errors/restore_error.rb +4 -3
  380. data/lib/dropbox_api/errors/revoke_shared_link_error.rb +11 -0
  381. data/lib/dropbox_api/errors/save_copy_reference_error.rb +6 -5
  382. data/lib/dropbox_api/errors/save_url_error.rb +5 -4
  383. data/lib/dropbox_api/errors/search_error.rb +2 -1
  384. data/lib/dropbox_api/errors/settings_error.rb +3 -2
  385. data/lib/dropbox_api/errors/share_folder_error.rb +6 -5
  386. data/lib/dropbox_api/errors/share_path_error.rb +12 -11
  387. data/lib/dropbox_api/errors/shared_folder_access_error.rb +5 -4
  388. data/lib/dropbox_api/errors/shared_link_error.rb +4 -3
  389. data/lib/dropbox_api/errors/sharing_file_access_error.rb +6 -5
  390. data/lib/dropbox_api/errors/sharing_user_error.rb +2 -1
  391. data/lib/dropbox_api/errors/thumbnail_batch_error.rb +2 -1
  392. data/lib/dropbox_api/errors/thumbnail_error.rb +5 -4
  393. data/lib/dropbox_api/errors/too_many_requests_error.rb +3 -2
  394. data/lib/dropbox_api/errors/unshare_file_error.rb +3 -2
  395. data/lib/dropbox_api/errors/upload_error.rb +2 -1
  396. data/lib/dropbox_api/errors/upload_session_finish_error.rb +4 -3
  397. data/lib/dropbox_api/errors/upload_session_lookup_error.rb +5 -4
  398. data/lib/dropbox_api/errors/upload_session_offset_error.rb +1 -0
  399. data/lib/dropbox_api/errors/upload_write_failed_error.rb +2 -1
  400. data/lib/dropbox_api/errors/write_conflict_error.rb +4 -3
  401. data/lib/dropbox_api/errors/write_error.rb +6 -5
  402. data/lib/dropbox_api/metadata/access_level.rb +1 -0
  403. data/lib/dropbox_api/metadata/add_file_member_result.rb +1 -0
  404. data/lib/dropbox_api/metadata/add_member.rb +3 -2
  405. data/lib/dropbox_api/metadata/base.rb +2 -1
  406. data/lib/dropbox_api/metadata/basic_account.rb +1 -0
  407. data/lib/dropbox_api/metadata/commit_info.rb +2 -1
  408. data/lib/dropbox_api/metadata/deleted.rb +1 -0
  409. data/lib/dropbox_api/metadata/dimensions.rb +1 -0
  410. data/lib/dropbox_api/metadata/field.rb +7 -4
  411. data/lib/dropbox_api/metadata/file.rb +4 -3
  412. data/lib/dropbox_api/metadata/file_categories_list.rb +9 -0
  413. data/lib/dropbox_api/metadata/file_category.rb +22 -0
  414. data/lib/dropbox_api/metadata/file_extensions_list.rb +13 -0
  415. data/lib/dropbox_api/metadata/file_link_metadata.rb +1 -0
  416. data/lib/dropbox_api/metadata/file_member_action.rb +2 -1
  417. data/lib/dropbox_api/metadata/file_request.rb +1 -0
  418. data/lib/dropbox_api/metadata/file_status.rb +14 -0
  419. data/lib/dropbox_api/metadata/folder.rb +2 -1
  420. data/lib/dropbox_api/metadata/folder_link_metadata.rb +1 -0
  421. data/lib/dropbox_api/metadata/folder_sharing_info.rb +1 -0
  422. data/lib/dropbox_api/metadata/link_permissions.rb +1 -0
  423. data/lib/dropbox_api/metadata/location.rb +1 -0
  424. data/lib/dropbox_api/metadata/media_info.rb +1 -0
  425. data/lib/dropbox_api/metadata/media_metadata.rb +1 -0
  426. data/lib/dropbox_api/metadata/member.rb +6 -5
  427. data/lib/dropbox_api/metadata/member_action.rb +1 -0
  428. data/lib/dropbox_api/metadata/member_action_list.rb +1 -0
  429. data/lib/dropbox_api/metadata/member_permission.rb +1 -0
  430. data/lib/dropbox_api/metadata/member_permission_list.rb +1 -0
  431. data/lib/dropbox_api/metadata/metadata_v2.rb +7 -0
  432. data/lib/dropbox_api/metadata/name.rb +1 -0
  433. data/lib/dropbox_api/metadata/parent_folder_access_info.rb +1 -0
  434. data/lib/dropbox_api/metadata/photo_metadata.rb +1 -0
  435. data/lib/dropbox_api/metadata/resource.rb +2 -1
  436. data/lib/dropbox_api/metadata/search_match_field_options.rb +9 -0
  437. data/lib/dropbox_api/metadata/search_match_type_v2.rb +16 -0
  438. data/lib/dropbox_api/metadata/search_match_v2.rb +18 -0
  439. data/lib/dropbox_api/metadata/search_options.rb +33 -0
  440. data/lib/dropbox_api/metadata/search_order_by.rb +14 -0
  441. data/lib/dropbox_api/metadata/shared_folder.rb +1 -0
  442. data/lib/dropbox_api/metadata/shared_folder_policy.rb +1 -0
  443. data/lib/dropbox_api/metadata/shared_link.rb +3 -2
  444. data/lib/dropbox_api/metadata/shared_link_metadata.rb +2 -1
  445. data/lib/dropbox_api/metadata/space_allocation.rb +1 -0
  446. data/lib/dropbox_api/metadata/space_usage.rb +1 -0
  447. data/lib/dropbox_api/metadata/tag.rb +2 -1
  448. data/lib/dropbox_api/metadata/team.rb +1 -0
  449. data/lib/dropbox_api/metadata/team_member_info.rb +1 -0
  450. data/lib/dropbox_api/metadata/thumbnail_batch_result_data.rb +1 -0
  451. data/lib/dropbox_api/metadata/thumbnail_batch_result_entry.rb +3 -2
  452. data/lib/dropbox_api/metadata/upload_session_cursor.rb +1 -0
  453. data/lib/dropbox_api/metadata/video_metadata.rb +1 -0
  454. data/lib/dropbox_api/metadata/write_mode.rb +6 -5
  455. data/lib/dropbox_api/middleware/decode_result.rb +3 -2
  456. data/lib/dropbox_api/middleware/stack.rb +1 -0
  457. data/lib/dropbox_api/options_validator.rb +1 -0
  458. data/lib/dropbox_api/result_builder.rb +3 -2
  459. data/lib/dropbox_api/results/add_file_member_result_list.rb +1 -0
  460. data/lib/dropbox_api/results/base.rb +1 -0
  461. data/lib/dropbox_api/results/basic_account_batch.rb +1 -0
  462. data/lib/dropbox_api/results/copy_batch_result.rb +15 -0
  463. data/lib/dropbox_api/results/create_folder_batch_result.rb +21 -0
  464. data/lib/dropbox_api/results/create_folder_batch_result_entry.rb +20 -0
  465. data/lib/dropbox_api/results/delete_batch_result.rb +21 -0
  466. data/lib/dropbox_api/results/delete_batch_result_entry.rb +16 -0
  467. data/lib/dropbox_api/results/get_copy_reference_result.rb +4 -3
  468. data/lib/dropbox_api/results/get_temporary_link_result.rb +3 -2
  469. data/lib/dropbox_api/results/get_thumbnail_batch_result.rb +2 -1
  470. data/lib/dropbox_api/results/list_folder_get_latest_cursor_result.rb +2 -1
  471. data/lib/dropbox_api/results/list_folder_longpoll_result.rb +3 -2
  472. data/lib/dropbox_api/results/list_folder_result.rb +4 -3
  473. data/lib/dropbox_api/results/list_revisions_result.rb +3 -2
  474. data/lib/dropbox_api/results/list_shared_links_result.rb +4 -3
  475. data/lib/dropbox_api/results/relocation_batch_result.rb +21 -0
  476. data/lib/dropbox_api/results/relocation_batch_result_entry.rb +16 -0
  477. data/lib/dropbox_api/results/save_copy_reference_result.rb +2 -1
  478. data/lib/dropbox_api/results/save_url_job_status.rb +7 -6
  479. data/lib/dropbox_api/results/save_url_result.rb +2 -1
  480. data/lib/dropbox_api/results/search/match.rb +3 -2
  481. data/lib/dropbox_api/results/search_v2_result.rb +24 -0
  482. data/lib/dropbox_api/results/share_folder_launch.rb +4 -3
  483. data/lib/dropbox_api/results/shared_file_members.rb +5 -4
  484. data/lib/dropbox_api/results/shared_folder_members.rb +5 -4
  485. data/lib/dropbox_api/results/upload_session_start.rb +2 -1
  486. data/lib/dropbox_api/results/void_result.rb +1 -0
  487. data/lib/dropbox_api/version.rb +2 -1
  488. data/yardoc/endpoint_handler.rb +2 -1
  489. data/yardoc/helpers/html_helper.rb +2 -1
  490. data/yardoc/rspec.rb +3 -2
  491. data/yardoc/templates/default/method_details/setup.rb +1 -0
  492. metadata +330 -36
  493. data/CHANGES.md +0 -7
  494. data/lib/dropbox_api/results/search_result.rb +0 -22
@@ -1,8 +1,9 @@
1
+ # frozen_string_literal: true
1
2
  module DropboxApi::Results
2
3
  class ListSharedLinksResult < DropboxApi::Results::Base
3
4
  # Shared links applicable to the path argument.
4
5
  def links
5
- @entries ||= @data["links"].map do |entry|
6
+ @entries ||= @data['links'].map do |entry|
6
7
  DropboxApi::Metadata::SharedLinkMetadata.new entry
7
8
  end
8
9
  end
@@ -10,13 +11,13 @@ module DropboxApi::Results
10
11
  # Pass the cursor into `list_folder_continue` to see what's changed in the
11
12
  # folder since your previous query.
12
13
  def cursor
13
- @data["cursor"]
14
+ @data['cursor']
14
15
  end
15
16
 
16
17
  # If true, then there are more entries available. Pass the cursor to
17
18
  # `list_folder_continue` to retrieve the rest.
18
19
  def has_more?
19
- @data["has_more"].to_s == "true"
20
+ @data['has_more'].to_s == 'true'
20
21
  end
21
22
  end
22
23
  end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+ module DropboxApi::Results
3
+ # Result returned by {Client#copy_batch} or {Client#move_batch} that may
4
+ # either launch an asynchronous job or complete synchronously.
5
+ #
6
+ # The value will be either `:in_progress` or a list of job statuses.
7
+ class RelocationBatchResult < DropboxApi::Results::Base
8
+ def self.new(result_data)
9
+ case result_data['.tag']
10
+ when 'in_progress'
11
+ :in_progress
12
+ when 'complete'
13
+ result_data['entries'].map do |entry|
14
+ DropboxApi::Results::RelocationBatchResultEntry.new(entry)
15
+ end
16
+ else
17
+ raise NotImplementedError, "Unknown result type: #{result_data['.tag']}"
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+ module DropboxApi::Results
3
+ class RelocationBatchResultEntry < DropboxApi::Results::Base
4
+ def self.new(result_data)
5
+ case result_data['.tag']
6
+ when 'success'
7
+ DropboxApi::Metadata::Resource.new result_data['success']
8
+ when 'failure'
9
+ DropboxApi::Errors::RelocationBatchEntryError
10
+ .build('File or folder operation failed', result_data['failure'])
11
+ else
12
+ raise NotImplementedError, "Unknown result type: #{result_data['.tag']}"
13
+ end
14
+ end
15
+ end
16
+ end
@@ -1,8 +1,9 @@
1
+ # frozen_string_literal: true
1
2
  module DropboxApi::Results
2
3
  class SaveCopyReferenceResult < DropboxApi::Results::Base
3
4
  # The saved file or folder in the user's Dropbox.
4
5
  def resource
5
- @resource ||= DropboxApi::Metadata::Resource.new @data["metadata"]
6
+ @resource ||= DropboxApi::Metadata::Resource.new @data['metadata']
6
7
  end
7
8
  end
8
9
  end
@@ -1,14 +1,15 @@
1
+ # frozen_string_literal: true
1
2
  module DropboxApi::Results
2
3
  class SaveUrlJobStatus < DropboxApi::Results::Base
3
4
  def self.new(result_data)
4
- case result_data[".tag"]
5
- when "in_progress"
5
+ case result_data['.tag']
6
+ when 'in_progress'
6
7
  :in_progress
7
- when "complete"
8
+ when 'complete'
8
9
  DropboxApi::Metadata::File.new result_data
9
- when "failed"
10
- DropboxApi::Errors::SaveUrlError.build("Async job failed",
11
- result_data["failed"])
10
+ when 'failed'
11
+ DropboxApi::Errors::SaveUrlError.build('Async job failed',
12
+ result_data['failed'])
12
13
  else
13
14
  raise NotImplementedError, "Unknown result type: #{result_data[".tag"]}"
14
15
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module DropboxApi::Results
2
3
  class SaveUrlResult < DropboxApi::Results::Base
3
4
  # Example with an async job:
@@ -8,7 +9,7 @@ module DropboxApi::Results
8
9
  #
9
10
  # I couldn't manage to get anything other than an async job.
10
11
  def async_job_id
11
- @data["async_job_id"]
12
+ @data['async_job_id']
12
13
  end
13
14
  end
14
15
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module DropboxApi::Results::Search
2
3
  class Match
3
4
  def initialize(data)
@@ -5,11 +6,11 @@ module DropboxApi::Results::Search
5
6
  end
6
7
 
7
8
  def match_type
8
- @data["match_type"]
9
+ @data['match_type']
9
10
  end
10
11
 
11
12
  def resource
12
- @resource ||= DropboxApi::Metadata::Resource.new @data["metadata"]
13
+ @resource ||= DropboxApi::Metadata::Resource.new @data['metadata']
13
14
  end
14
15
  end
15
16
  end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+ module DropboxApi::Results
3
+ class SearchV2Result < DropboxApi::Results::Base
4
+ # A list (possibly empty) of matches for the query.
5
+ def matches
6
+ @matches ||= @data['matches'].map do |match|
7
+ DropboxApi::Metadata::SearchMatchV2.new match
8
+ end
9
+ end
10
+
11
+ # Used for paging. If true, indicates there is another page of results
12
+ # available that can be fetched by calling search again.
13
+ def has_more?
14
+ @data['more'].to_s == 'true'
15
+ end
16
+
17
+ # Pass the cursor into #search_continue to fetch the next page of results
18
+ # (not yet implemented).
19
+ # This field is optional.
20
+ def cursor
21
+ @data['cursor']
22
+ end
23
+ end
24
+ end
@@ -1,10 +1,11 @@
1
+ # frozen_string_literal: true
1
2
  module DropboxApi::Results
2
3
  class ShareFolderLaunch
3
4
  def self.new(result_data)
4
- case result_data[".tag"]
5
- when "complete"
5
+ case result_data['.tag']
6
+ when 'complete'
6
7
  DropboxApi::Metadata::SharedFolder.new result_data
7
- when "async_job_id"
8
+ when 'async_job_id'
8
9
  result_data
9
10
  else
10
11
  raise ArgumentError, "Unable to infer resource type for `#{tag}`"
@@ -1,19 +1,20 @@
1
+ # frozen_string_literal: true
1
2
  module DropboxApi::Results
2
3
  class SharedFileMembers < DropboxApi::Results::Base
3
4
  def users
4
- @data["users"]
5
+ @data['users']
5
6
  end
6
7
 
7
8
  def groups
8
- @data["groups"]
9
+ @data['groups']
9
10
  end
10
11
 
11
12
  def invitees
12
- @data["invitees"]
13
+ @data['invitees']
13
14
  end
14
15
 
15
16
  def cursor
16
- @data["cursor"]
17
+ @data['cursor']
17
18
  end
18
19
  end
19
20
  end
@@ -1,19 +1,20 @@
1
+ # frozen_string_literal: true
1
2
  module DropboxApi::Results
2
3
  class SharedFolderMembers < DropboxApi::Results::Base
3
4
  def users
4
- @data["users"]
5
+ @data['users']
5
6
  end
6
7
 
7
8
  def groups
8
- @data["groups"]
9
+ @data['groups']
9
10
  end
10
11
 
11
12
  def invitees
12
- @data["invitees"]
13
+ @data['invitees']
13
14
  end
14
15
 
15
16
  def cursor
16
- @data["cursor"]
17
+ @data['cursor']
17
18
  end
18
19
  end
19
20
  end
@@ -1,7 +1,8 @@
1
+ # frozen_string_literal: true
1
2
  module DropboxApi::Results
2
3
  class UploadSessionStart < DropboxApi::Results::Base
3
4
  def session_id
4
- @data["session_id"]
5
+ @data['session_id']
5
6
  end
6
7
  end
7
8
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module DropboxApi::Results
2
3
  class VoidResult < DropboxApi::Results::Base
3
4
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module DropboxApi
2
- VERSION = '0.1.14'.freeze
3
+ VERSION = '0.1.19'
3
4
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module YARD
2
3
  class EndpointHandler < Handlers::Ruby::MethodHandler
3
4
  handles method_call(:add_endpoint)
@@ -8,7 +9,7 @@ module YARD
8
9
  CodeObjects::MethodObject.new(namespace, name) do |m|
9
10
  m.parameters = parameters
10
11
  end,
11
- CodeObjects::MethodObject.new(P("DropboxApi::Client"), name) do |m|
12
+ CodeObjects::MethodObject.new(P('DropboxApi::Client'), name) do |m|
12
13
  m.parameters = parameters
13
14
  m.group = namespace.namespace.name.downcase
14
15
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module YARD
2
3
  module Templates::Helpers
3
4
  module HtmlHelper
@@ -15,7 +16,7 @@ module YARD
15
16
  def untab(str, tab_size = 2)
16
17
  tab_space = 2
17
18
 
18
- str.gsub("\t", " " * tab_space)
19
+ str.gsub("\t", ' ' * tab_space)
19
20
  end
20
21
  end
21
22
  end
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,9 +8,9 @@ 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] == "#" ? "" : "::") + src
11
+ objname += (src[0] == '#' ? '' : '::') + src
11
12
  end
12
- obj = {:spec => owner ? (owner[:spec] || "") : ""}
13
+ obj = {spec: owner ? (owner[:spec] || '') : ''}
13
14
  obj[:spec] += objname
14
15
  parse_block(statement.last.last, owner: obj)
15
16
  rescue YARD::Handlers::NamespaceMissingError
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  def init
2
3
  super
3
4
  sections.last.place(:specs).before(:source)
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.14
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: 2018-11-12 00:00:00.000000000 Z
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: '10.0'
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: '10.0'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -81,46 +81,34 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: oauth2
84
+ name: faraday
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '1.1'
90
- - - "<="
87
+ - - "~>"
91
88
  - !ruby/object:Gem::Version
92
- version: '1.4'
89
+ version: '1.0'
93
90
  type: :runtime
94
91
  prerelease: false
95
92
  version_requirements: !ruby/object:Gem::Requirement
96
93
  requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- version: '1.1'
100
- - - "<="
94
+ - - "~>"
101
95
  - !ruby/object:Gem::Version
102
- version: '1.4'
96
+ version: '1.0'
103
97
  - !ruby/object:Gem::Dependency
104
- name: faraday
98
+ name: oauth2
105
99
  requirement: !ruby/object:Gem::Requirement
106
100
  requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '0.8'
110
- - - "<="
101
+ - - "~>"
111
102
  - !ruby/object:Gem::Version
112
- version: 0.15.2
103
+ version: '1.1'
113
104
  type: :runtime
114
105
  prerelease: false
115
106
  version_requirements: !ruby/object:Gem::Requirement
116
107
  requirements:
117
- - - ">="
118
- - !ruby/object:Gem::Version
119
- version: '0.8'
120
- - - "<="
108
+ - - "~>"
121
109
  - !ruby/object:Gem::Version
122
- version: 0.15.2
123
- description:
110
+ version: '1.1'
111
+ description:
124
112
  email:
125
113
  - jburmac@gmail.com
126
114
  executables: []
@@ -129,9 +117,9 @@ extra_rdoc_files: []
129
117
  files:
130
118
  - ".gitignore"
131
119
  - ".rspec"
120
+ - ".rubocop.yml"
132
121
  - ".travis.yml"
133
122
  - ".yardopts"
134
- - CHANGES.md
135
123
  - Gemfile
136
124
  - LICENSE
137
125
  - README.md
@@ -141,6 +129,286 @@ files:
141
129
  - api_coverage.md
142
130
  - bin/console
143
131
  - bin/setup
132
+ - docs/DropboxApi.html
133
+ - docs/DropboxApi/Authenticator.html
134
+ - docs/DropboxApi/ChunkedUploader.html
135
+ - docs/DropboxApi/Client.html
136
+ - docs/DropboxApi/ConnectionBuilder.html
137
+ - docs/DropboxApi/Endpoints.html
138
+ - docs/DropboxApi/Endpoints/Auth.html
139
+ - docs/DropboxApi/Endpoints/Auth/TokenRevoke.html
140
+ - docs/DropboxApi/Endpoints/Base.html
141
+ - docs/DropboxApi/Endpoints/ContentDownload.html
142
+ - docs/DropboxApi/Endpoints/ContentUpload.html
143
+ - docs/DropboxApi/Endpoints/Files.html
144
+ - docs/DropboxApi/Endpoints/Files/Copy.html
145
+ - docs/DropboxApi/Endpoints/Files/CopyBatch.html
146
+ - docs/DropboxApi/Endpoints/Files/CopyBatchCheck.html
147
+ - docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html
148
+ - docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html
149
+ - docs/DropboxApi/Endpoints/Files/CreateFileRequest.html
150
+ - docs/DropboxApi/Endpoints/Files/CreateFolder.html
151
+ - docs/DropboxApi/Endpoints/Files/CreateFolderBatch.html
152
+ - docs/DropboxApi/Endpoints/Files/CreateFolderBatchCheck.html
153
+ - docs/DropboxApi/Endpoints/Files/Delete.html
154
+ - docs/DropboxApi/Endpoints/Files/DeleteBatch.html
155
+ - docs/DropboxApi/Endpoints/Files/DeleteBatchCheck.html
156
+ - docs/DropboxApi/Endpoints/Files/Download.html
157
+ - docs/DropboxApi/Endpoints/Files/GetMetadata.html
158
+ - docs/DropboxApi/Endpoints/Files/GetPreview.html
159
+ - docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html
160
+ - docs/DropboxApi/Endpoints/Files/GetThumbnail.html
161
+ - docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html
162
+ - docs/DropboxApi/Endpoints/Files/ListFolder.html
163
+ - docs/DropboxApi/Endpoints/Files/ListFolderContinue.html
164
+ - docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html
165
+ - docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html
166
+ - docs/DropboxApi/Endpoints/Files/ListRevisions.html
167
+ - docs/DropboxApi/Endpoints/Files/Move.html
168
+ - docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html
169
+ - docs/DropboxApi/Endpoints/Files/Restore.html
170
+ - docs/DropboxApi/Endpoints/Files/SaveUrl.html
171
+ - docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html
172
+ - docs/DropboxApi/Endpoints/Files/Search.html
173
+ - docs/DropboxApi/Endpoints/Files/Upload.html
174
+ - docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html
175
+ - docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html
176
+ - docs/DropboxApi/Endpoints/Files/UploadSessionStart.html
177
+ - docs/DropboxApi/Endpoints/Rpc.html
178
+ - docs/DropboxApi/Endpoints/RpcContent.html
179
+ - docs/DropboxApi/Endpoints/RpcNotify.html
180
+ - docs/DropboxApi/Endpoints/Sharing.html
181
+ - docs/DropboxApi/Endpoints/Sharing/AddFileMember.html
182
+ - docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html
183
+ - docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html
184
+ - docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html
185
+ - docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html
186
+ - docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html
187
+ - docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html
188
+ - docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html
189
+ - docs/DropboxApi/Endpoints/Sharing/ShareFolder.html
190
+ - docs/DropboxApi/Endpoints/Sharing/UnshareFile.html
191
+ - docs/DropboxApi/Endpoints/Users.html
192
+ - docs/DropboxApi/Endpoints/Users/GetAccount.html
193
+ - docs/DropboxApi/Endpoints/Users/GetAccountBatch.html
194
+ - docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html
195
+ - docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html
196
+ - docs/DropboxApi/Errors.html
197
+ - docs/DropboxApi/Errors/AddFileMemberError.html
198
+ - docs/DropboxApi/Errors/AddFolderMemberError.html
199
+ - docs/DropboxApi/Errors/AddMemberSelectorError.html
200
+ - docs/DropboxApi/Errors/AlreadySharedError.html
201
+ - docs/DropboxApi/Errors/BadPathError.html
202
+ - docs/DropboxApi/Errors/BasicError.html
203
+ - docs/DropboxApi/Errors/CantCopySharedFolderError.html
204
+ - docs/DropboxApi/Errors/CantMoveFolderIntoItselfError.html
205
+ - docs/DropboxApi/Errors/CantNestSharedFolderError.html
206
+ - docs/DropboxApi/Errors/CantShareOutsideTeamError.html
207
+ - docs/DropboxApi/Errors/ContainsSharedFolderError.html
208
+ - docs/DropboxApi/Errors/ConversionError.html
209
+ - docs/DropboxApi/Errors/CreateFileRequestError.html
210
+ - docs/DropboxApi/Errors/CreateFolderBatchError.html
211
+ - docs/DropboxApi/Errors/CreateFolderError.html
212
+ - docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html
213
+ - docs/DropboxApi/Errors/CursorClosedError.html
214
+ - docs/DropboxApi/Errors/CursorNotClosedError.html
215
+ - docs/DropboxApi/Errors/DeleteError.html
216
+ - docs/DropboxApi/Errors/DisallowedNameError.html
217
+ - docs/DropboxApi/Errors/DisallowedSharedLinkPolicyError.html
218
+ - docs/DropboxApi/Errors/DownloadError.html
219
+ - docs/DropboxApi/Errors/DownloadFailedError.html
220
+ - docs/DropboxApi/Errors/EmailUnverifiedError.html
221
+ - docs/DropboxApi/Errors/FileAncestorConflictError.html
222
+ - docs/DropboxApi/Errors/FileConflictError.html
223
+ - docs/DropboxApi/Errors/FileMemberActionError.html
224
+ - docs/DropboxApi/Errors/FolderConflictError.html
225
+ - docs/DropboxApi/Errors/GetAccountError.html
226
+ - docs/DropboxApi/Errors/GetCopyReferenceError.html
227
+ - docs/DropboxApi/Errors/GetMetadataError.html
228
+ - docs/DropboxApi/Errors/GroupDeletedError.html
229
+ - docs/DropboxApi/Errors/GroupNotOnTeamError.html
230
+ - docs/DropboxApi/Errors/HttpError.html
231
+ - docs/DropboxApi/Errors/InProgressError.html
232
+ - docs/DropboxApi/Errors/InsideAppFolderError.html
233
+ - docs/DropboxApi/Errors/InsideOsxPackageError.html
234
+ - docs/DropboxApi/Errors/InsidePublicFolderError.html
235
+ - docs/DropboxApi/Errors/InsideSharedFolderError.html
236
+ - docs/DropboxApi/Errors/InsufficientPlanError.html
237
+ - docs/DropboxApi/Errors/InsufficientSpaceError.html
238
+ - docs/DropboxApi/Errors/InternalError.html
239
+ - docs/DropboxApi/Errors/InvalidCommentError.html
240
+ - docs/DropboxApi/Errors/InvalidCopyReferenceError.html
241
+ - docs/DropboxApi/Errors/InvalidCursorError.html
242
+ - docs/DropboxApi/Errors/InvalidDropboxIdError.html
243
+ - docs/DropboxApi/Errors/InvalidEmailError.html
244
+ - docs/DropboxApi/Errors/InvalidFileError.html
245
+ - docs/DropboxApi/Errors/InvalidIdError.html
246
+ - docs/DropboxApi/Errors/InvalidMemberError.html
247
+ - docs/DropboxApi/Errors/InvalidPathError.html
248
+ - docs/DropboxApi/Errors/InvalidRevisionError.html
249
+ - docs/DropboxApi/Errors/InvalidSettingsError.html
250
+ - docs/DropboxApi/Errors/InvalidUrlError.html
251
+ - docs/DropboxApi/Errors/IsAppFolderError.html
252
+ - docs/DropboxApi/Errors/IsFileError.html
253
+ - docs/DropboxApi/Errors/IsFolderError.html
254
+ - docs/DropboxApi/Errors/IsOsxPackageError.html
255
+ - docs/DropboxApi/Errors/IsPublicFolderError.html
256
+ - docs/DropboxApi/Errors/ListFolderContinueError.html
257
+ - docs/DropboxApi/Errors/ListFolderError.html
258
+ - docs/DropboxApi/Errors/ListFolderLongpollError.html
259
+ - docs/DropboxApi/Errors/ListRevisionsError.html
260
+ - docs/DropboxApi/Errors/ListSharedLinksError.html
261
+ - docs/DropboxApi/Errors/LookupError.html
262
+ - docs/DropboxApi/Errors/MalformedPathError.html
263
+ - docs/DropboxApi/Errors/NoAccountError.html
264
+ - docs/DropboxApi/Errors/NoPermissionError.html
265
+ - docs/DropboxApi/Errors/NoWritePermissionError.html
266
+ - docs/DropboxApi/Errors/NotAMemberError.html
267
+ - docs/DropboxApi/Errors/NotFileError.html
268
+ - docs/DropboxApi/Errors/NotFolderError.html
269
+ - docs/DropboxApi/Errors/NotFoundError.html
270
+ - docs/DropboxApi/Errors/PollError.html
271
+ - docs/DropboxApi/Errors/PreviewError.html
272
+ - docs/DropboxApi/Errors/RateLimitError.html
273
+ - docs/DropboxApi/Errors/RelocationBatchEntryError.html
274
+ - docs/DropboxApi/Errors/RelocationError.html
275
+ - docs/DropboxApi/Errors/RestoreError.html
276
+ - docs/DropboxApi/Errors/RestrictedContentError.html
277
+ - docs/DropboxApi/Errors/RevokeSharedLinkError.html
278
+ - docs/DropboxApi/Errors/SaveCopyReferenceError.html
279
+ - docs/DropboxApi/Errors/SaveUrlError.html
280
+ - docs/DropboxApi/Errors/SearchError.html
281
+ - docs/DropboxApi/Errors/SettingsError.html
282
+ - docs/DropboxApi/Errors/ShareFolderError.html
283
+ - docs/DropboxApi/Errors/SharePathError.html
284
+ - docs/DropboxApi/Errors/SharedFolderAccessError.html
285
+ - docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html
286
+ - docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html
287
+ - docs/DropboxApi/Errors/SharedLinkError.html
288
+ - docs/DropboxApi/Errors/SharedLinkMalformedError.html
289
+ - docs/DropboxApi/Errors/SharedLinkNotFoundError.html
290
+ - docs/DropboxApi/Errors/SharingFileAccessError.html
291
+ - docs/DropboxApi/Errors/SharingUserError.html
292
+ - docs/DropboxApi/Errors/TeamFolderError.html
293
+ - docs/DropboxApi/Errors/TeamPolicyDisallowsMemberPolicyError.html
294
+ - docs/DropboxApi/Errors/ThumbnailBatchError.html
295
+ - docs/DropboxApi/Errors/ThumbnailError.html
296
+ - docs/DropboxApi/Errors/TooManyFilesError.html
297
+ - docs/DropboxApi/Errors/TooManyMembersError.html
298
+ - docs/DropboxApi/Errors/TooManyPendingInvitesError.html
299
+ - docs/DropboxApi/Errors/TooManyRequestsError.html
300
+ - docs/DropboxApi/Errors/TooManySharedFolderTargetsError.html
301
+ - docs/DropboxApi/Errors/TooManyWriteOperationsError.html
302
+ - docs/DropboxApi/Errors/UnmountedError.html
303
+ - docs/DropboxApi/Errors/UnshareFileError.html
304
+ - docs/DropboxApi/Errors/UnsupportedContentError.html
305
+ - docs/DropboxApi/Errors/UnsupportedExtensionError.html
306
+ - docs/DropboxApi/Errors/UnsupportedImageError.html
307
+ - docs/DropboxApi/Errors/UnsupportedLinkTypeError.html
308
+ - docs/DropboxApi/Errors/UnverifiedDropboxId.html
309
+ - docs/DropboxApi/Errors/UploadError.html
310
+ - docs/DropboxApi/Errors/UploadSessionFinishError.html
311
+ - docs/DropboxApi/Errors/UploadSessionLookupError.html
312
+ - docs/DropboxApi/Errors/UploadSessionOffsetError.html
313
+ - docs/DropboxApi/Errors/UploadWriteFailedError.html
314
+ - docs/DropboxApi/Errors/WriteConflictError.html
315
+ - docs/DropboxApi/Errors/WriteError.html
316
+ - docs/DropboxApi/Metadata.html
317
+ - docs/DropboxApi/Metadata/AccessLevel.html
318
+ - docs/DropboxApi/Metadata/AddFileMemberResult.html
319
+ - docs/DropboxApi/Metadata/AddMember.html
320
+ - docs/DropboxApi/Metadata/Base.html
321
+ - docs/DropboxApi/Metadata/BasicAccount.html
322
+ - docs/DropboxApi/Metadata/CommitInfo.html
323
+ - docs/DropboxApi/Metadata/Deleted.html
324
+ - docs/DropboxApi/Metadata/Dimensions.html
325
+ - docs/DropboxApi/Metadata/Field.html
326
+ - docs/DropboxApi/Metadata/File.html
327
+ - docs/DropboxApi/Metadata/FileLinkMetadata.html
328
+ - docs/DropboxApi/Metadata/FileMemberAction.html
329
+ - docs/DropboxApi/Metadata/FileRequest.html
330
+ - docs/DropboxApi/Metadata/Folder.html
331
+ - docs/DropboxApi/Metadata/FolderLinkMetadata.html
332
+ - docs/DropboxApi/Metadata/FolderSharingInfo.html
333
+ - docs/DropboxApi/Metadata/LinkPermissions.html
334
+ - docs/DropboxApi/Metadata/Location.html
335
+ - docs/DropboxApi/Metadata/MediaInfo.html
336
+ - docs/DropboxApi/Metadata/MediaMetadata.html
337
+ - docs/DropboxApi/Metadata/Member.html
338
+ - docs/DropboxApi/Metadata/MemberAction.html
339
+ - docs/DropboxApi/Metadata/MemberActionList.html
340
+ - docs/DropboxApi/Metadata/MemberPermission.html
341
+ - docs/DropboxApi/Metadata/MemberPermissionList.html
342
+ - docs/DropboxApi/Metadata/Name.html
343
+ - docs/DropboxApi/Metadata/ParentFolderAccessInfo.html
344
+ - docs/DropboxApi/Metadata/PhotoMetadata.html
345
+ - docs/DropboxApi/Metadata/Resource.html
346
+ - docs/DropboxApi/Metadata/SharedFolder.html
347
+ - docs/DropboxApi/Metadata/SharedFolderPolicy.html
348
+ - docs/DropboxApi/Metadata/SharedLink.html
349
+ - docs/DropboxApi/Metadata/SharedLinkMetadata.html
350
+ - docs/DropboxApi/Metadata/SpaceAllocation.html
351
+ - docs/DropboxApi/Metadata/SpaceUsage.html
352
+ - docs/DropboxApi/Metadata/Tag.html
353
+ - docs/DropboxApi/Metadata/Team.html
354
+ - docs/DropboxApi/Metadata/TeamMemberInfo.html
355
+ - docs/DropboxApi/Metadata/ThumbnailBatchResultData.html
356
+ - docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html
357
+ - docs/DropboxApi/Metadata/UploadSessionCursor.html
358
+ - docs/DropboxApi/Metadata/VideoMetadata.html
359
+ - docs/DropboxApi/Metadata/WriteMode.html
360
+ - docs/DropboxApi/MiddleWare.html
361
+ - docs/DropboxApi/MiddleWare/DecodeResult.html
362
+ - docs/DropboxApi/MiddleWare/Stack.html
363
+ - docs/DropboxApi/OptionsValidator.html
364
+ - docs/DropboxApi/ResultBuilder.html
365
+ - docs/DropboxApi/Results.html
366
+ - docs/DropboxApi/Results/AddFileMemberResultList.html
367
+ - docs/DropboxApi/Results/Base.html
368
+ - docs/DropboxApi/Results/BasicAccountBatch.html
369
+ - docs/DropboxApi/Results/CopyBatchResult.html
370
+ - docs/DropboxApi/Results/CreateFolderBatchResult.html
371
+ - docs/DropboxApi/Results/CreateFolderBatchResultEntry.html
372
+ - docs/DropboxApi/Results/DeleteBatchResult.html
373
+ - docs/DropboxApi/Results/DeleteBatchResultEntry.html
374
+ - docs/DropboxApi/Results/GetCopyReferenceResult.html
375
+ - docs/DropboxApi/Results/GetTemporaryLinkResult.html
376
+ - docs/DropboxApi/Results/GetThumbnailBatchResult.html
377
+ - docs/DropboxApi/Results/ListFolderGetLatestCursorResult.html
378
+ - docs/DropboxApi/Results/ListFolderLongpollResult.html
379
+ - docs/DropboxApi/Results/ListFolderResult.html
380
+ - docs/DropboxApi/Results/ListRevisionsResult.html
381
+ - docs/DropboxApi/Results/ListSharedLinksResult.html
382
+ - docs/DropboxApi/Results/RelocationBatchResult.html
383
+ - docs/DropboxApi/Results/RelocationBatchResultEntry.html
384
+ - docs/DropboxApi/Results/SaveCopyReferenceResult.html
385
+ - docs/DropboxApi/Results/SaveUrlJobStatus.html
386
+ - docs/DropboxApi/Results/SaveUrlResult.html
387
+ - docs/DropboxApi/Results/Search.html
388
+ - docs/DropboxApi/Results/Search/Match.html
389
+ - docs/DropboxApi/Results/SearchResult.html
390
+ - docs/DropboxApi/Results/ShareFolderLaunch.html
391
+ - docs/DropboxApi/Results/SharedFileMembers.html
392
+ - docs/DropboxApi/Results/SharedFolderMembers.html
393
+ - docs/DropboxApi/Results/UploadSessionStart.html
394
+ - docs/DropboxApi/Results/VoidResult.html
395
+ - docs/DropboxScaffoldBuilder.html
396
+ - docs/_index.html
397
+ - docs/class_list.html
398
+ - docs/css/common.css
399
+ - docs/css/full_list.css
400
+ - docs/css/style.css
401
+ - docs/file.README.html
402
+ - docs/file.api_coverage.html
403
+ - docs/file.rails_setup.html
404
+ - docs/file_list.html
405
+ - docs/frames.html
406
+ - docs/index.html
407
+ - docs/js/app.js
408
+ - docs/js/full_list.js
409
+ - docs/js/jquery.js
410
+ - docs/method_list.html
411
+ - docs/top-level-namespace.html
144
412
  - dropbox_api.gemspec
145
413
  - lib/dropbox_api.rb
146
414
  - lib/dropbox_api/authenticator.rb
@@ -153,10 +421,16 @@ files:
153
421
  - lib/dropbox_api/endpoints/content_upload.rb
154
422
  - lib/dropbox_api/endpoints/file_requests/create_file_request.rb
155
423
  - lib/dropbox_api/endpoints/files/copy.rb
424
+ - lib/dropbox_api/endpoints/files/copy_batch.rb
425
+ - lib/dropbox_api/endpoints/files/copy_batch_check.rb
156
426
  - lib/dropbox_api/endpoints/files/copy_reference_get.rb
157
427
  - lib/dropbox_api/endpoints/files/copy_reference_save.rb
158
428
  - lib/dropbox_api/endpoints/files/create_folder.rb
429
+ - lib/dropbox_api/endpoints/files/create_folder_batch.rb
430
+ - lib/dropbox_api/endpoints/files/create_folder_batch_check.rb
159
431
  - lib/dropbox_api/endpoints/files/delete.rb
432
+ - lib/dropbox_api/endpoints/files/delete_batch.rb
433
+ - lib/dropbox_api/endpoints/files/delete_batch_check.rb
160
434
  - lib/dropbox_api/endpoints/files/download.rb
161
435
  - lib/dropbox_api/endpoints/files/get_metadata.rb
162
436
  - lib/dropbox_api/endpoints/files/get_preview.rb
@@ -188,6 +462,7 @@ files:
188
462
  - lib/dropbox_api/endpoints/sharing/list_file_members.rb
189
463
  - lib/dropbox_api/endpoints/sharing/list_folder_members.rb
190
464
  - lib/dropbox_api/endpoints/sharing/list_shared_links.rb
465
+ - lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb
191
466
  - lib/dropbox_api/endpoints/sharing/share_folder.rb
192
467
  - lib/dropbox_api/endpoints/sharing/unshare_file.rb
193
468
  - lib/dropbox_api/endpoints/users/get_account.rb
@@ -201,6 +476,7 @@ files:
201
476
  - lib/dropbox_api/errors/already_shared_error.rb
202
477
  - lib/dropbox_api/errors/basic_error.rb
203
478
  - lib/dropbox_api/errors/create_file_request_error.rb
479
+ - lib/dropbox_api/errors/create_folder_batch_error.rb
204
480
  - lib/dropbox_api/errors/create_folder_error.rb
205
481
  - lib/dropbox_api/errors/create_shared_link_with_settings_error.rb
206
482
  - lib/dropbox_api/errors/delete_error.rb
@@ -218,8 +494,10 @@ files:
218
494
  - lib/dropbox_api/errors/lookup_error.rb
219
495
  - lib/dropbox_api/errors/poll_error.rb
220
496
  - lib/dropbox_api/errors/preview_error.rb
497
+ - lib/dropbox_api/errors/relocation_batch_entry_error.rb
221
498
  - lib/dropbox_api/errors/relocation_error.rb
222
499
  - lib/dropbox_api/errors/restore_error.rb
500
+ - lib/dropbox_api/errors/revoke_shared_link_error.rb
223
501
  - lib/dropbox_api/errors/save_copy_reference_error.rb
224
502
  - lib/dropbox_api/errors/save_url_error.rb
225
503
  - lib/dropbox_api/errors/search_error.rb
@@ -251,9 +529,13 @@ files:
251
529
  - lib/dropbox_api/metadata/dimensions.rb
252
530
  - lib/dropbox_api/metadata/field.rb
253
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
254
535
  - lib/dropbox_api/metadata/file_link_metadata.rb
255
536
  - lib/dropbox_api/metadata/file_member_action.rb
256
537
  - lib/dropbox_api/metadata/file_request.rb
538
+ - lib/dropbox_api/metadata/file_status.rb
257
539
  - lib/dropbox_api/metadata/folder.rb
258
540
  - lib/dropbox_api/metadata/folder_link_metadata.rb
259
541
  - lib/dropbox_api/metadata/folder_sharing_info.rb
@@ -266,10 +548,16 @@ files:
266
548
  - lib/dropbox_api/metadata/member_action_list.rb
267
549
  - lib/dropbox_api/metadata/member_permission.rb
268
550
  - lib/dropbox_api/metadata/member_permission_list.rb
551
+ - lib/dropbox_api/metadata/metadata_v2.rb
269
552
  - lib/dropbox_api/metadata/name.rb
270
553
  - lib/dropbox_api/metadata/parent_folder_access_info.rb
271
554
  - lib/dropbox_api/metadata/photo_metadata.rb
272
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
273
561
  - lib/dropbox_api/metadata/shared_folder.rb
274
562
  - lib/dropbox_api/metadata/shared_folder_policy.rb
275
563
  - lib/dropbox_api/metadata/shared_link.rb
@@ -291,6 +579,11 @@ files:
291
579
  - lib/dropbox_api/results/add_file_member_result_list.rb
292
580
  - lib/dropbox_api/results/base.rb
293
581
  - lib/dropbox_api/results/basic_account_batch.rb
582
+ - lib/dropbox_api/results/copy_batch_result.rb
583
+ - lib/dropbox_api/results/create_folder_batch_result.rb
584
+ - lib/dropbox_api/results/create_folder_batch_result_entry.rb
585
+ - lib/dropbox_api/results/delete_batch_result.rb
586
+ - lib/dropbox_api/results/delete_batch_result_entry.rb
294
587
  - lib/dropbox_api/results/get_copy_reference_result.rb
295
588
  - lib/dropbox_api/results/get_temporary_link_result.rb
296
589
  - lib/dropbox_api/results/get_thumbnail_batch_result.rb
@@ -299,11 +592,13 @@ files:
299
592
  - lib/dropbox_api/results/list_folder_result.rb
300
593
  - lib/dropbox_api/results/list_revisions_result.rb
301
594
  - lib/dropbox_api/results/list_shared_links_result.rb
595
+ - lib/dropbox_api/results/relocation_batch_result.rb
596
+ - lib/dropbox_api/results/relocation_batch_result_entry.rb
302
597
  - lib/dropbox_api/results/save_copy_reference_result.rb
303
598
  - lib/dropbox_api/results/save_url_job_status.rb
304
599
  - lib/dropbox_api/results/save_url_result.rb
305
600
  - lib/dropbox_api/results/search/match.rb
306
- - lib/dropbox_api/results/search_result.rb
601
+ - lib/dropbox_api/results/search_v2_result.rb
307
602
  - lib/dropbox_api/results/share_folder_launch.rb
308
603
  - lib/dropbox_api/results/shared_file_members.rb
309
604
  - lib/dropbox_api/results/shared_folder_members.rb
@@ -323,7 +618,7 @@ homepage: https://github.com/Jesus/dropbox_api
323
618
  licenses:
324
619
  - MIT
325
620
  metadata: {}
326
- post_install_message:
621
+ post_install_message:
327
622
  rdoc_options: []
328
623
  require_paths:
329
624
  - lib
@@ -338,9 +633,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
338
633
  - !ruby/object:Gem::Version
339
634
  version: '0'
340
635
  requirements: []
341
- rubyforge_project:
342
- rubygems_version: 2.6.11
343
- signing_key:
636
+ rubygems_version: 3.0.9
637
+ signing_key:
344
638
  specification_version: 4
345
639
  summary: Library for communicating with Dropbox API v2
346
640
  test_files: []