cloudsmith-api 1.61.3 → 1.142.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (394) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +62 -31
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +2 -0
  6. data/docs/AuditLogApi.md +137 -0
  7. data/docs/ConanPackageUpload.md +2 -0
  8. data/docs/FilesApi.md +13 -6
  9. data/docs/MavenPackageUpload.md +2 -0
  10. data/docs/NamespaceAuditLog.md +23 -0
  11. data/docs/OrganizationGroupSync.md +12 -0
  12. data/docs/OrganizationInvite.md +16 -0
  13. data/docs/OrganizationTeam.md +12 -0
  14. data/docs/OrganizationTeamMembers.md +8 -0
  15. data/docs/OrganizationTeamMembersMembers.md +9 -0
  16. data/docs/OrgsApi.md +958 -8
  17. data/docs/OrgsInvitesCreate.md +12 -0
  18. data/docs/OrgsInvitesExtend.md +11 -0
  19. data/docs/OrgsSamlgroupsyncCreate.md +12 -0
  20. data/docs/OrgsTeamsCreate.md +11 -0
  21. data/docs/OrgsTeamsMembersCreate.md +8 -0
  22. data/docs/OrgsTeamsMembersUpdate.md +8 -0
  23. data/docs/OrgsTeamsPartialUpdate.md +11 -0
  24. data/docs/Package.md +2 -0
  25. data/docs/PackageCopy.md +2 -0
  26. data/docs/PackageMove.md +2 -0
  27. data/docs/RawPackageUpload.md +2 -0
  28. data/docs/ReposApi.md +542 -0
  29. data/docs/ReposCreate.md +31 -1
  30. data/docs/ReposGpgCreate.md +9 -0
  31. data/docs/ReposPartialUpdate.md +30 -0
  32. data/docs/ReposPrivilegesPartialUpdate.md +8 -0
  33. data/docs/ReposPrivilegesUpdate.md +8 -0
  34. data/docs/ReposRsaCreate.md +9 -0
  35. data/docs/Repository.md +30 -0
  36. data/docs/RepositoryAuditLog.md +20 -0
  37. data/docs/RepositoryCreate.md +31 -1
  38. data/docs/RepositoryGpgKey.md +14 -0
  39. data/docs/RepositoryPrivilegeInput.md +8 -0
  40. data/docs/RepositoryPrivilegeInputPrivileges.md +10 -0
  41. data/docs/RepositoryRsaKey.md +13 -0
  42. data/docs/VagrantPackageUpload.md +2 -0
  43. data/lib/cloudsmith-api/api/audit_log_api.rb +147 -0
  44. data/lib/cloudsmith-api/api/files_api.rb +17 -7
  45. data/lib/cloudsmith-api/api/orgs_api.rb +910 -10
  46. data/lib/cloudsmith-api/api/repos_api.rb +524 -0
  47. data/lib/cloudsmith-api/models/alpine_package_upload.rb +55 -1
  48. data/lib/cloudsmith-api/models/conan_package_upload.rb +55 -1
  49. data/lib/cloudsmith-api/models/entitlements_create.rb +46 -0
  50. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +46 -0
  51. data/lib/cloudsmith-api/models/entitlements_refresh.rb +46 -0
  52. data/lib/cloudsmith-api/models/files_abort.rb +34 -0
  53. data/lib/cloudsmith-api/models/files_complete.rb +34 -0
  54. data/lib/cloudsmith-api/models/files_create.rb +34 -0
  55. data/lib/cloudsmith-api/models/files_validate.rb +34 -0
  56. data/lib/cloudsmith-api/models/maven_package_upload.rb +55 -1
  57. data/lib/cloudsmith-api/models/namespace_audit_log.rb +395 -0
  58. data/lib/cloudsmith-api/models/organization_group_sync.rb +240 -0
  59. data/lib/cloudsmith-api/models/organization_invite.rb +299 -0
  60. data/lib/cloudsmith-api/models/organization_membership.rb +46 -0
  61. data/lib/cloudsmith-api/models/organization_team.rb +264 -0
  62. data/lib/cloudsmith-api/models/organization_team_members.rb +192 -0
  63. data/lib/cloudsmith-api/models/organization_team_members_members.rb +195 -0
  64. data/lib/cloudsmith-api/models/orgs_invites_create.rb +259 -0
  65. data/lib/cloudsmith-api/models/orgs_invites_extend.rb +249 -0
  66. data/lib/cloudsmith-api/models/orgs_samlgroupsync_create.rb +245 -0
  67. data/lib/cloudsmith-api/models/orgs_teams_create.rb +254 -0
  68. data/lib/cloudsmith-api/models/orgs_teams_members_create.rb +192 -0
  69. data/lib/cloudsmith-api/models/orgs_teams_members_update.rb +192 -0
  70. data/lib/cloudsmith-api/models/orgs_teams_partial_update.rb +249 -0
  71. data/lib/cloudsmith-api/models/package.rb +55 -1
  72. data/lib/cloudsmith-api/models/package_copy.rb +55 -1
  73. data/lib/cloudsmith-api/models/package_move.rb +55 -1
  74. data/lib/cloudsmith-api/models/packages_tag.rb +34 -0
  75. data/lib/cloudsmith-api/models/raw_package_upload.rb +55 -1
  76. data/lib/cloudsmith-api/models/repos_create.rb +437 -5
  77. data/lib/cloudsmith-api/models/repos_gpg_create.rb +200 -0
  78. data/lib/cloudsmith-api/models/repos_partial_update.rb +448 -4
  79. data/lib/cloudsmith-api/models/repos_privileges_partial_update.rb +187 -0
  80. data/lib/cloudsmith-api/models/repos_privileges_update.rb +192 -0
  81. data/lib/cloudsmith-api/models/repos_rsa_create.rb +200 -0
  82. data/lib/cloudsmith-api/models/repository.rb +448 -4
  83. data/lib/cloudsmith-api/models/repository_audit_log.rb +355 -0
  84. data/lib/cloudsmith-api/models/repository_create.rb +437 -5
  85. data/lib/cloudsmith-api/models/repository_gpg_key.rb +250 -0
  86. data/lib/cloudsmith-api/models/repository_privilege_input.rb +192 -0
  87. data/lib/cloudsmith-api/models/repository_privilege_input_privileges.rb +205 -0
  88. data/lib/cloudsmith-api/models/repository_rsa_key.rb +235 -0
  89. data/lib/cloudsmith-api/models/repository_token.rb +46 -0
  90. data/lib/cloudsmith-api/models/repository_token_refresh.rb +46 -0
  91. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +55 -1
  92. data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +34 -0
  93. data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +34 -0
  94. data/lib/cloudsmith-api/version.rb +1 -1
  95. data/lib/cloudsmith-api.rb +23 -0
  96. data/spec/api/audit_log_api_spec.rb +66 -0
  97. data/spec/api/files_api_spec.rb +4 -2
  98. data/spec/api/orgs_api_spec.rb +218 -3
  99. data/spec/api/repos_api_spec.rb +123 -0
  100. data/spec/models/alpine_package_upload_spec.rb +16 -0
  101. data/spec/models/conan_package_upload_spec.rb +16 -0
  102. data/spec/models/entitlements_create_spec.rb +8 -0
  103. data/spec/models/entitlements_partial_update_spec.rb +8 -0
  104. data/spec/models/entitlements_refresh_spec.rb +8 -0
  105. data/spec/models/files_abort_spec.rb +4 -0
  106. data/spec/models/files_complete_spec.rb +4 -0
  107. data/spec/models/files_create_spec.rb +4 -0
  108. data/spec/models/files_validate_spec.rb +4 -0
  109. data/spec/models/maven_package_upload_spec.rb +16 -0
  110. data/spec/models/namespace_audit_log_spec.rb +131 -0
  111. data/spec/models/organization_group_sync_spec.rb +65 -0
  112. data/spec/models/organization_invite_spec.rb +93 -0
  113. data/spec/models/organization_membership_spec.rb +8 -0
  114. data/spec/models/organization_team_members_members_spec.rb +47 -0
  115. data/spec/models/organization_team_members_spec.rb +41 -0
  116. data/spec/models/organization_team_spec.rb +69 -0
  117. data/spec/models/orgs_invites_create_spec.rb +69 -0
  118. data/spec/models/orgs_invites_extend_spec.rb +63 -0
  119. data/spec/models/orgs_samlgroupsync_create_spec.rb +65 -0
  120. data/spec/models/orgs_teams_create_spec.rb +63 -0
  121. data/spec/models/orgs_teams_members_create_spec.rb +41 -0
  122. data/spec/models/orgs_teams_members_update_spec.rb +41 -0
  123. data/spec/models/orgs_teams_partial_update_spec.rb +63 -0
  124. data/spec/models/package_copy_spec.rb +16 -0
  125. data/spec/models/package_move_spec.rb +16 -0
  126. data/spec/models/package_spec.rb +16 -0
  127. data/spec/models/packages_tag_spec.rb +4 -0
  128. data/spec/models/raw_package_upload_spec.rb +16 -0
  129. data/spec/models/repos_create_spec.rb +216 -0
  130. data/spec/models/repos_gpg_create_spec.rb +47 -0
  131. data/spec/models/repos_partial_update_spec.rb +220 -0
  132. data/spec/models/repos_privileges_partial_update_spec.rb +41 -0
  133. data/spec/models/repos_privileges_update_spec.rb +41 -0
  134. data/spec/models/repos_rsa_create_spec.rb +47 -0
  135. data/spec/models/repository_audit_log_spec.rb +113 -0
  136. data/spec/models/repository_create_spec.rb +216 -0
  137. data/spec/models/repository_gpg_key_spec.rb +77 -0
  138. data/spec/models/repository_privilege_input_privileges_spec.rb +53 -0
  139. data/spec/models/repository_privilege_input_spec.rb +41 -0
  140. data/spec/models/repository_rsa_key_spec.rb +71 -0
  141. data/spec/models/repository_spec.rb +220 -0
  142. data/spec/models/repository_token_refresh_spec.rb +8 -0
  143. data/spec/models/repository_token_spec.rb +8 -0
  144. data/spec/models/vagrant_package_upload_spec.rb +16 -0
  145. data/spec/models/vulnerability_scan_results_list_spec.rb +4 -0
  146. data/spec/models/vulnerability_scan_results_spec.rb +4 -0
  147. data/vendor/bundle/ruby/2.6.0/bin/htmldiff +3 -3
  148. data/vendor/bundle/ruby/2.6.0/bin/ldiff +3 -3
  149. data/vendor/bundle/ruby/2.6.0/bin/multigem +3 -3
  150. data/vendor/bundle/ruby/2.6.0/bin/multiruby +3 -3
  151. data/vendor/bundle/ruby/2.6.0/bin/rake +2 -0
  152. data/vendor/bundle/ruby/2.6.0/bin/rspec +2 -0
  153. data/vendor/bundle/ruby/2.6.0/bin/unit_diff +3 -3
  154. data/vendor/bundle/ruby/2.6.0/bin/zentest +3 -3
  155. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.1.gem +0 -0
  156. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.0.gem +0 -0
  157. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.1.gem +0 -0
  158. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.1.gem +0 -0
  159. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +4 -4
  160. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/ffi_c.so +0 -0
  161. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +5 -5
  162. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/mkmf.log +9 -9
  163. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/gem_make.out +4 -4
  164. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/generator.so +0 -0
  165. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/parser.so +0 -0
  166. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/mkmf.log +7 -7
  167. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/CHANGELOG.md +16 -0
  168. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Gemfile +4 -2
  169. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/LICENSE.txt +0 -0
  170. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/README.md +0 -0
  171. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Rakefile +0 -0
  172. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/data/unicode.data +0 -0
  173. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/native.rb +0 -1
  174. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/pure.rb +0 -1
  175. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna.rb +0 -1
  176. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/template.rb +3 -4
  177. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/uri.rb +57 -53
  178. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/version.rb +1 -2
  179. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable.rb +0 -0
  180. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/idna_spec.rb +0 -1
  181. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/net_http_compat_spec.rb +0 -1
  182. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/security_spec.rb +0 -1
  183. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/template_spec.rb +9 -1
  184. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/uri_spec.rb +81 -1
  185. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/spec_helper.rb +0 -0
  186. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/clobber.rake +0 -0
  187. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/gem.rake +5 -2
  188. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/git.rake +0 -0
  189. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/metrics.rake +0 -0
  190. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/profile.rake +0 -0
  191. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/rspec.rake +0 -0
  192. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/yard.rake +0 -0
  193. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
  194. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
  195. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
  196. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
  197. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
  198. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
  199. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
  200. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
  201. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
  202. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
  203. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +3 -3
  204. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
  205. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
  206. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
  207. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
  208. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
  209. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
  210. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
  211. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
  212. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
  213. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
  214. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
  215. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
  216. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
  217. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
  218. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
  219. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/Makefile +3 -3
  220. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +3 -3
  221. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.o +0 -0
  222. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
  223. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +3 -3
  224. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.o +0 -0
  225. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
  226. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
  227. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
  228. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/FUNDING.yml +0 -0
  229. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/dependabot.yml +0 -0
  230. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/.github/workflows/psl-update.yml +38 -0
  231. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/release.yml +4 -2
  232. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/tests.yml +8 -7
  233. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.gitignore +0 -0
  234. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop.yml +1 -0
  235. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop_opinionated.yml +0 -28
  236. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.yardopts +0 -0
  237. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/2.0-Upgrade.md +0 -0
  238. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/CHANGELOG.md +9 -0
  239. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Gemfile +1 -1
  240. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/LICENSE.txt +0 -0
  241. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/README.md +1 -1
  242. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Rakefile +3 -3
  243. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/SECURITY.md +0 -0
  244. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/bin/console +0 -0
  245. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/data/list.txt +52 -21
  246. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/domain.rb +0 -0
  247. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/errors.rb +0 -0
  248. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/list.rb +1 -1
  249. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/rule.rb +5 -5
  250. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/version.rb +1 -1
  251. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix.rb +1 -1
  252. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/public_suffix.gemspec +1 -1
  253. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/.empty +0 -0
  254. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/acceptance_test.rb +4 -4
  255. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find.rb +0 -0
  256. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find_all.rb +0 -0
  257. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_names.rb +0 -0
  258. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select.rb +0 -0
  259. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select_incremental.rb +0 -0
  260. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_valid.rb +0 -0
  261. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/domain_profiler.rb +0 -0
  262. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler.rb +0 -0
  263. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler_jp.rb +0 -0
  264. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/initialization_profiler.rb +0 -0
  265. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/list_profsize.rb +0 -0
  266. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/object_binsize.rb +0 -0
  267. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/psl_test.rb +1 -1
  268. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/test_helper.rb +0 -0
  269. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/tests.txt +0 -0
  270. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/domain_test.rb +3 -3
  271. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/errors_test.rb +0 -0
  272. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/list_test.rb +1 -1
  273. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/public_suffix_test.rb +0 -0
  274. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/rule_test.rb +15 -15
  275. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.document +0 -0
  276. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.yardopts +0 -0
  277. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/Changelog.md +11 -1
  278. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/LICENSE.md +0 -0
  279. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/README.md +0 -0
  280. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  281. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/configuration.rb +0 -0
  282. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/expectation_target.rb +0 -0
  283. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/fail_with.rb +0 -0
  284. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/failure_aggregator.rb +0 -0
  285. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/handler.rb +0 -0
  286. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/minitest_integration.rb +0 -0
  287. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/syntax.rb +0 -0
  288. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/version.rb +1 -1
  289. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations.rb +0 -0
  290. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/aliased_matcher.rb +0 -0
  291. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/all.rb +0 -0
  292. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  293. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be.rb +0 -0
  294. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  295. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  296. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  297. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  298. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/change.rb +0 -0
  299. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/compound.rb +0 -0
  300. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/contain_exactly.rb +10 -2
  301. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/count_expectation.rb +1 -1
  302. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/cover.rb +0 -0
  303. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eq.rb +0 -0
  304. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eql.rb +0 -0
  305. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/equal.rb +0 -0
  306. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/exist.rb +1 -1
  307. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/has.rb +0 -0
  308. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  309. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/include.rb +0 -0
  310. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/match.rb +0 -0
  311. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/operators.rb +0 -0
  312. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/output.rb +0 -0
  313. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/raise_error.rb +6 -6
  314. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  315. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  316. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  317. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/throw_symbol.rb +4 -4
  318. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/yield.rb +0 -0
  319. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in.rb +0 -0
  320. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/composable.rb +0 -0
  321. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/dsl.rb +2 -2
  322. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/english_phrasing.rb +0 -0
  323. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  324. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/fail_matchers.rb +0 -0
  325. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  326. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  327. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  328. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers.rb +3 -3
  329. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/Changelog.md +8 -1
  330. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/LICENSE.md +0 -0
  331. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/README.md +0 -0
  332. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/caller_filter.rb +2 -2
  333. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/comparable_version.rb +1 -1
  334. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/differ.rb +4 -4
  335. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/directory_maker.rb +0 -0
  336. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/encoded_string.rb +3 -3
  337. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  338. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/hunk_generator.rb +0 -0
  339. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/matcher_definition.rb +0 -0
  340. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/method_signature_verifier.rb +2 -2
  341. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/mutex.rb +1 -1
  342. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/object_formatter.rb +0 -0
  343. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
  344. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
  345. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/ruby_features.rb +3 -0
  346. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/location.rb +0 -0
  347. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/node.rb +0 -0
  348. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/token.rb +0 -0
  349. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source.rb +0 -0
  350. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  351. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  352. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
  353. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/in_sub_process.rb +1 -1
  354. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  355. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/shell_out.rb +0 -0
  356. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/stderr_splitter.rb +1 -1
  357. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
  358. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  359. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  360. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec.rb +0 -0
  361. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/version.rb +1 -1
  362. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/warnings.rb +0 -0
  363. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/with_keywords_when_needed.rb +1 -1
  364. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support.rb +0 -0
  365. data/vendor/bundle/ruby/2.6.0/specifications/ZenTest-4.12.1.gemspec +6 -9
  366. data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.0.gemspec → addressable-2.8.1.gemspec} +12 -14
  367. data/vendor/bundle/ruby/2.6.0/specifications/autotest-4.4.6.gemspec +8 -13
  368. data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.19.gemspec +8 -13
  369. data/vendor/bundle/ruby/2.6.0/specifications/autotest-growl-0.2.16.gemspec +7 -11
  370. data/vendor/bundle/ruby/2.6.0/specifications/autotest-rails-pure-4.1.2.gemspec +2 -2
  371. data/vendor/bundle/ruby/2.6.0/specifications/crack-0.4.5.gemspec +5 -7
  372. data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.5.0.gemspec +12 -21
  373. data/vendor/bundle/ruby/2.6.0/specifications/ethon-0.15.0.gemspec +5 -7
  374. data/vendor/bundle/ruby/2.6.0/specifications/ffi-1.15.5.gemspec +8 -13
  375. data/vendor/bundle/ruby/2.6.0/specifications/hashdiff-1.0.1.gemspec +9 -15
  376. data/vendor/bundle/ruby/2.6.0/specifications/json-2.6.2.gemspec +0 -0
  377. data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.7.gemspec → public_suffix-5.0.0.gemspec} +7 -7
  378. data/vendor/bundle/ruby/2.6.0/specifications/rake-12.3.3.gemspec +9 -15
  379. data/vendor/bundle/ruby/2.6.0/specifications/rexml-3.2.5.gemspec +7 -11
  380. data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.11.0.gemspec +7 -11
  381. data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.11.0.gemspec +13 -23
  382. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.11.0.gemspec → rspec-expectations-3.11.1.gemspec} +15 -22
  383. data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.11.1.gemspec +10 -17
  384. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.11.0.gemspec → rspec-support-3.11.1.gemspec} +11 -14
  385. data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.2.gemspec +7 -11
  386. data/vendor/bundle/ruby/2.6.0/specifications/typhoeus-1.4.0.gemspec +5 -7
  387. data/vendor/bundle/ruby/2.6.0/specifications/vcr-3.0.3.gemspec +26 -49
  388. data/vendor/bundle/ruby/2.6.0/specifications/webmock-1.24.6.gemspec +19 -35
  389. metadata +284 -192
  390. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.0.gem +0 -0
  391. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.7.gem +0 -0
  392. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.0.gem +0 -0
  393. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.0.gem +0 -0
  394. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/addressable.gemspec +0 -37
@@ -116,6 +116,12 @@ module CloudsmithApi
116
116
  #
117
117
  attr_accessor :num_files
118
118
 
119
+ #
120
+ attr_accessor :origin_repository
121
+
122
+ #
123
+ attr_accessor :origin_repository_url
124
+
119
125
  # The type of package contents.
120
126
  attr_accessor :package_type
121
127
 
@@ -218,6 +224,28 @@ module CloudsmithApi
218
224
  #
219
225
  attr_accessor :vulnerability_scan_results_url
220
226
 
227
+ class EnumAttributeValidator
228
+ attr_reader :datatype
229
+ attr_reader :allowable_values
230
+
231
+ def initialize(datatype, allowable_values)
232
+ @allowable_values = allowable_values.map do |value|
233
+ case datatype.to_s
234
+ when /Integer/i
235
+ value.to_i
236
+ when /Float/i
237
+ value.to_f
238
+ else
239
+ value
240
+ end
241
+ end
242
+ end
243
+
244
+ def valid?(value)
245
+ !value || allowable_values.include?(value)
246
+ end
247
+ end
248
+
221
249
  # Attribute mapping from ruby-style variable name to JSON key.
222
250
  def self.attribute_map
223
251
  {
@@ -255,6 +283,8 @@ module CloudsmithApi
255
283
  :'namespace' => :'namespace',
256
284
  :'namespace_url' => :'namespace_url',
257
285
  :'num_files' => :'num_files',
286
+ :'origin_repository' => :'origin_repository',
287
+ :'origin_repository_url' => :'origin_repository_url',
258
288
  :'package_type' => :'package_type',
259
289
  :'release' => :'release',
260
290
  :'repository' => :'repository',
@@ -329,6 +359,8 @@ module CloudsmithApi
329
359
  :'namespace' => :'String',
330
360
  :'namespace_url' => :'String',
331
361
  :'num_files' => :'Integer',
362
+ :'origin_repository' => :'String',
363
+ :'origin_repository_url' => :'String',
332
364
  :'package_type' => :'Integer',
333
365
  :'release' => :'String',
334
366
  :'repository' => :'String',
@@ -514,6 +546,14 @@ module CloudsmithApi
514
546
  self.num_files = attributes[:'num_files']
515
547
  end
516
548
 
549
+ if attributes.has_key?(:'origin_repository')
550
+ self.origin_repository = attributes[:'origin_repository']
551
+ end
552
+
553
+ if attributes.has_key?(:'origin_repository_url')
554
+ self.origin_repository_url = attributes[:'origin_repository_url']
555
+ end
556
+
517
557
  if attributes.has_key?(:'package_type')
518
558
  self.package_type = attributes[:'package_type']
519
559
  end
@@ -661,9 +701,21 @@ module CloudsmithApi
661
701
  # Check to see if the all the properties in the model are valid
662
702
  # @return true if the model is valid
663
703
  def valid?
704
+ security_scan_status_validator = EnumAttributeValidator.new('String', ['Awaiting Security Scan', 'Security Scanning in Progress', 'Scan Detected Vulnerabilities', 'Scan Detected No Vulnerabilities', 'Security Scanning Disabled', 'Security Scanning Failed', 'Security Scanning Skipped', 'Security Scanning Not Supported'])
705
+ return false unless security_scan_status_validator.valid?(@security_scan_status)
664
706
  true
665
707
  end
666
708
 
709
+ # Custom attribute writer method checking allowed values (enum).
710
+ # @param [Object] security_scan_status Object to be assigned
711
+ def security_scan_status=(security_scan_status)
712
+ validator = EnumAttributeValidator.new('String', ['Awaiting Security Scan', 'Security Scanning in Progress', 'Scan Detected Vulnerabilities', 'Scan Detected No Vulnerabilities', 'Security Scanning Disabled', 'Security Scanning Failed', 'Security Scanning Skipped', 'Security Scanning Not Supported'])
713
+ unless validator.valid?(security_scan_status)
714
+ fail ArgumentError, 'invalid value for "security_scan_status", must be one of #{validator.allowable_values}.'
715
+ end
716
+ @security_scan_status = security_scan_status
717
+ end
718
+
667
719
  # Checks equality by comparing each attribute.
668
720
  # @param [Object] Object to be compared
669
721
  def ==(o)
@@ -703,6 +755,8 @@ module CloudsmithApi
703
755
  namespace == o.namespace &&
704
756
  namespace_url == o.namespace_url &&
705
757
  num_files == o.num_files &&
758
+ origin_repository == o.origin_repository &&
759
+ origin_repository_url == o.origin_repository_url &&
706
760
  package_type == o.package_type &&
707
761
  release == o.release &&
708
762
  repository == o.repository &&
@@ -748,7 +802,7 @@ module CloudsmithApi
748
802
  # Calculates hash code according to all attributes.
749
803
  # @return [Fixnum] Hash code
750
804
  def hash
751
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, conan_channel, conan_prefix, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
805
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, conan_channel, conan_prefix, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
752
806
  end
753
807
 
754
808
  # Builds the object from hash
@@ -59,6 +59,28 @@ module CloudsmithApi
59
59
  # None
60
60
  attr_accessor :token
61
61
 
62
+ class EnumAttributeValidator
63
+ attr_reader :datatype
64
+ attr_reader :allowable_values
65
+
66
+ def initialize(datatype, allowable_values)
67
+ @allowable_values = allowable_values.map do |value|
68
+ case datatype.to_s
69
+ when /Integer/i
70
+ value.to_i
71
+ when /Float/i
72
+ value.to_f
73
+ else
74
+ value
75
+ end
76
+ end
77
+ end
78
+
79
+ def valid?(value)
80
+ !value || allowable_values.include?(value)
81
+ end
82
+ end
83
+
62
84
  # Attribute mapping from ruby-style variable name to JSON key.
63
85
  def self.attribute_map
64
86
  {
@@ -184,10 +206,34 @@ module CloudsmithApi
184
206
  # Check to see if the all the properties in the model are valid
185
207
  # @return true if the model is valid
186
208
  def valid?
209
+ limit_bandwidth_unit_validator = EnumAttributeValidator.new('String', ['Byte', 'Kilobyte', 'Megabyte', 'Gigabyte', 'Terabyte', 'Petabyte', 'Exabyte', 'Zettabyte', 'Yottabyte'])
210
+ return false unless limit_bandwidth_unit_validator.valid?(@limit_bandwidth_unit)
187
211
  return false if @name.nil?
212
+ scheduled_reset_period_validator = EnumAttributeValidator.new('String', ['Never Reset', 'Daily', 'Weekly', 'Fortnightly', 'Monthly', 'Bi-Monthly', 'Quarterly', 'Every 6 months', 'Annual'])
213
+ return false unless scheduled_reset_period_validator.valid?(@scheduled_reset_period)
188
214
  true
189
215
  end
190
216
 
217
+ # Custom attribute writer method checking allowed values (enum).
218
+ # @param [Object] limit_bandwidth_unit Object to be assigned
219
+ def limit_bandwidth_unit=(limit_bandwidth_unit)
220
+ validator = EnumAttributeValidator.new('String', ['Byte', 'Kilobyte', 'Megabyte', 'Gigabyte', 'Terabyte', 'Petabyte', 'Exabyte', 'Zettabyte', 'Yottabyte'])
221
+ unless validator.valid?(limit_bandwidth_unit)
222
+ fail ArgumentError, 'invalid value for "limit_bandwidth_unit", must be one of #{validator.allowable_values}.'
223
+ end
224
+ @limit_bandwidth_unit = limit_bandwidth_unit
225
+ end
226
+
227
+ # Custom attribute writer method checking allowed values (enum).
228
+ # @param [Object] scheduled_reset_period Object to be assigned
229
+ def scheduled_reset_period=(scheduled_reset_period)
230
+ validator = EnumAttributeValidator.new('String', ['Never Reset', 'Daily', 'Weekly', 'Fortnightly', 'Monthly', 'Bi-Monthly', 'Quarterly', 'Every 6 months', 'Annual'])
231
+ unless validator.valid?(scheduled_reset_period)
232
+ fail ArgumentError, 'invalid value for "scheduled_reset_period", must be one of #{validator.allowable_values}.'
233
+ end
234
+ @scheduled_reset_period = scheduled_reset_period
235
+ end
236
+
191
237
  # Checks equality by comparing each attribute.
192
238
  # @param [Object] Object to be compared
193
239
  def ==(o)
@@ -59,6 +59,28 @@ module CloudsmithApi
59
59
  # None
60
60
  attr_accessor :token
61
61
 
62
+ class EnumAttributeValidator
63
+ attr_reader :datatype
64
+ attr_reader :allowable_values
65
+
66
+ def initialize(datatype, allowable_values)
67
+ @allowable_values = allowable_values.map do |value|
68
+ case datatype.to_s
69
+ when /Integer/i
70
+ value.to_i
71
+ when /Float/i
72
+ value.to_f
73
+ else
74
+ value
75
+ end
76
+ end
77
+ end
78
+
79
+ def valid?(value)
80
+ !value || allowable_values.include?(value)
81
+ end
82
+ end
83
+
62
84
  # Attribute mapping from ruby-style variable name to JSON key.
63
85
  def self.attribute_map
64
86
  {
@@ -180,9 +202,33 @@ module CloudsmithApi
180
202
  # Check to see if the all the properties in the model are valid
181
203
  # @return true if the model is valid
182
204
  def valid?
205
+ limit_bandwidth_unit_validator = EnumAttributeValidator.new('String', ['Byte', 'Kilobyte', 'Megabyte', 'Gigabyte', 'Terabyte', 'Petabyte', 'Exabyte', 'Zettabyte', 'Yottabyte'])
206
+ return false unless limit_bandwidth_unit_validator.valid?(@limit_bandwidth_unit)
207
+ scheduled_reset_period_validator = EnumAttributeValidator.new('String', ['Never Reset', 'Daily', 'Weekly', 'Fortnightly', 'Monthly', 'Bi-Monthly', 'Quarterly', 'Every 6 months', 'Annual'])
208
+ return false unless scheduled_reset_period_validator.valid?(@scheduled_reset_period)
183
209
  true
184
210
  end
185
211
 
212
+ # Custom attribute writer method checking allowed values (enum).
213
+ # @param [Object] limit_bandwidth_unit Object to be assigned
214
+ def limit_bandwidth_unit=(limit_bandwidth_unit)
215
+ validator = EnumAttributeValidator.new('String', ['Byte', 'Kilobyte', 'Megabyte', 'Gigabyte', 'Terabyte', 'Petabyte', 'Exabyte', 'Zettabyte', 'Yottabyte'])
216
+ unless validator.valid?(limit_bandwidth_unit)
217
+ fail ArgumentError, 'invalid value for "limit_bandwidth_unit", must be one of #{validator.allowable_values}.'
218
+ end
219
+ @limit_bandwidth_unit = limit_bandwidth_unit
220
+ end
221
+
222
+ # Custom attribute writer method checking allowed values (enum).
223
+ # @param [Object] scheduled_reset_period Object to be assigned
224
+ def scheduled_reset_period=(scheduled_reset_period)
225
+ validator = EnumAttributeValidator.new('String', ['Never Reset', 'Daily', 'Weekly', 'Fortnightly', 'Monthly', 'Bi-Monthly', 'Quarterly', 'Every 6 months', 'Annual'])
226
+ unless validator.valid?(scheduled_reset_period)
227
+ fail ArgumentError, 'invalid value for "scheduled_reset_period", must be one of #{validator.allowable_values}.'
228
+ end
229
+ @scheduled_reset_period = scheduled_reset_period
230
+ end
231
+
186
232
  # Checks equality by comparing each attribute.
187
233
  # @param [Object] Object to be compared
188
234
  def ==(o)
@@ -56,6 +56,28 @@ module CloudsmithApi
56
56
  # None
57
57
  attr_accessor :token
58
58
 
59
+ class EnumAttributeValidator
60
+ attr_reader :datatype
61
+ attr_reader :allowable_values
62
+
63
+ def initialize(datatype, allowable_values)
64
+ @allowable_values = allowable_values.map do |value|
65
+ case datatype.to_s
66
+ when /Integer/i
67
+ value.to_i
68
+ when /Float/i
69
+ value.to_f
70
+ else
71
+ value
72
+ end
73
+ end
74
+ end
75
+
76
+ def valid?(value)
77
+ !value || allowable_values.include?(value)
78
+ end
79
+ end
80
+
59
81
  # Attribute mapping from ruby-style variable name to JSON key.
60
82
  def self.attribute_map
61
83
  {
@@ -171,9 +193,33 @@ module CloudsmithApi
171
193
  # Check to see if the all the properties in the model are valid
172
194
  # @return true if the model is valid
173
195
  def valid?
196
+ limit_bandwidth_unit_validator = EnumAttributeValidator.new('String', ['Byte', 'Kilobyte', 'Megabyte', 'Gigabyte', 'Terabyte', 'Petabyte', 'Exabyte', 'Zettabyte', 'Yottabyte'])
197
+ return false unless limit_bandwidth_unit_validator.valid?(@limit_bandwidth_unit)
198
+ scheduled_reset_period_validator = EnumAttributeValidator.new('String', ['Never Reset', 'Daily', 'Weekly', 'Fortnightly', 'Monthly', 'Bi-Monthly', 'Quarterly', 'Every 6 months', 'Annual'])
199
+ return false unless scheduled_reset_period_validator.valid?(@scheduled_reset_period)
174
200
  true
175
201
  end
176
202
 
203
+ # Custom attribute writer method checking allowed values (enum).
204
+ # @param [Object] limit_bandwidth_unit Object to be assigned
205
+ def limit_bandwidth_unit=(limit_bandwidth_unit)
206
+ validator = EnumAttributeValidator.new('String', ['Byte', 'Kilobyte', 'Megabyte', 'Gigabyte', 'Terabyte', 'Petabyte', 'Exabyte', 'Zettabyte', 'Yottabyte'])
207
+ unless validator.valid?(limit_bandwidth_unit)
208
+ fail ArgumentError, 'invalid value for "limit_bandwidth_unit", must be one of #{validator.allowable_values}.'
209
+ end
210
+ @limit_bandwidth_unit = limit_bandwidth_unit
211
+ end
212
+
213
+ # Custom attribute writer method checking allowed values (enum).
214
+ # @param [Object] scheduled_reset_period Object to be assigned
215
+ def scheduled_reset_period=(scheduled_reset_period)
216
+ validator = EnumAttributeValidator.new('String', ['Never Reset', 'Daily', 'Weekly', 'Fortnightly', 'Monthly', 'Bi-Monthly', 'Quarterly', 'Every 6 months', 'Annual'])
217
+ unless validator.valid?(scheduled_reset_period)
218
+ fail ArgumentError, 'invalid value for "scheduled_reset_period", must be one of #{validator.allowable_values}.'
219
+ end
220
+ @scheduled_reset_period = scheduled_reset_period
221
+ end
222
+
177
223
  # Checks equality by comparing each attribute.
178
224
  # @param [Object] Object to be compared
179
225
  def ==(o)
@@ -26,6 +26,28 @@ module CloudsmithApi
26
26
  # SHA256 checksum for a PUT-based package file upload.
27
27
  attr_accessor :sha256_checksum
28
28
 
29
+ class EnumAttributeValidator
30
+ attr_reader :datatype
31
+ attr_reader :allowable_values
32
+
33
+ def initialize(datatype, allowable_values)
34
+ @allowable_values = allowable_values.map do |value|
35
+ case datatype.to_s
36
+ when /Integer/i
37
+ value.to_i
38
+ when /Float/i
39
+ value.to_f
40
+ else
41
+ value
42
+ end
43
+ end
44
+ end
45
+
46
+ def valid?(value)
47
+ !value || allowable_values.include?(value)
48
+ end
49
+ end
50
+
29
51
  # Attribute mapping from ruby-style variable name to JSON key.
30
52
  def self.attribute_map
31
53
  {
@@ -86,9 +108,21 @@ module CloudsmithApi
86
108
  # @return true if the model is valid
87
109
  def valid?
88
110
  return false if @filename.nil?
111
+ method_validator = EnumAttributeValidator.new('String', ['put_parts', 'put', 'post', 'presigned', 'unsigned_put'])
112
+ return false unless method_validator.valid?(@method)
89
113
  true
90
114
  end
91
115
 
116
+ # Custom attribute writer method checking allowed values (enum).
117
+ # @param [Object] method Object to be assigned
118
+ def method=(method)
119
+ validator = EnumAttributeValidator.new('String', ['put_parts', 'put', 'post', 'presigned', 'unsigned_put'])
120
+ unless validator.valid?(method)
121
+ fail ArgumentError, 'invalid value for "method", must be one of #{validator.allowable_values}.'
122
+ end
123
+ @method = method
124
+ end
125
+
92
126
  # Checks equality by comparing each attribute.
93
127
  # @param [Object] Object to be compared
94
128
  def ==(o)
@@ -26,6 +26,28 @@ module CloudsmithApi
26
26
  # SHA256 checksum for a PUT-based package file upload.
27
27
  attr_accessor :sha256_checksum
28
28
 
29
+ class EnumAttributeValidator
30
+ attr_reader :datatype
31
+ attr_reader :allowable_values
32
+
33
+ def initialize(datatype, allowable_values)
34
+ @allowable_values = allowable_values.map do |value|
35
+ case datatype.to_s
36
+ when /Integer/i
37
+ value.to_i
38
+ when /Float/i
39
+ value.to_f
40
+ else
41
+ value
42
+ end
43
+ end
44
+ end
45
+
46
+ def valid?(value)
47
+ !value || allowable_values.include?(value)
48
+ end
49
+ end
50
+
29
51
  # Attribute mapping from ruby-style variable name to JSON key.
30
52
  def self.attribute_map
31
53
  {
@@ -86,9 +108,21 @@ module CloudsmithApi
86
108
  # @return true if the model is valid
87
109
  def valid?
88
110
  return false if @filename.nil?
111
+ method_validator = EnumAttributeValidator.new('String', ['put_parts', 'put', 'post', 'presigned', 'unsigned_put'])
112
+ return false unless method_validator.valid?(@method)
89
113
  true
90
114
  end
91
115
 
116
+ # Custom attribute writer method checking allowed values (enum).
117
+ # @param [Object] method Object to be assigned
118
+ def method=(method)
119
+ validator = EnumAttributeValidator.new('String', ['put_parts', 'put', 'post', 'presigned', 'unsigned_put'])
120
+ unless validator.valid?(method)
121
+ fail ArgumentError, 'invalid value for "method", must be one of #{validator.allowable_values}.'
122
+ end
123
+ @method = method
124
+ end
125
+
92
126
  # Checks equality by comparing each attribute.
93
127
  # @param [Object] Object to be compared
94
128
  def ==(o)
@@ -26,6 +26,28 @@ module CloudsmithApi
26
26
  # SHA256 checksum for a PUT-based package file upload.
27
27
  attr_accessor :sha256_checksum
28
28
 
29
+ class EnumAttributeValidator
30
+ attr_reader :datatype
31
+ attr_reader :allowable_values
32
+
33
+ def initialize(datatype, allowable_values)
34
+ @allowable_values = allowable_values.map do |value|
35
+ case datatype.to_s
36
+ when /Integer/i
37
+ value.to_i
38
+ when /Float/i
39
+ value.to_f
40
+ else
41
+ value
42
+ end
43
+ end
44
+ end
45
+
46
+ def valid?(value)
47
+ !value || allowable_values.include?(value)
48
+ end
49
+ end
50
+
29
51
  # Attribute mapping from ruby-style variable name to JSON key.
30
52
  def self.attribute_map
31
53
  {
@@ -86,9 +108,21 @@ module CloudsmithApi
86
108
  # @return true if the model is valid
87
109
  def valid?
88
110
  return false if @filename.nil?
111
+ method_validator = EnumAttributeValidator.new('String', ['put_parts', 'put', 'post', 'presigned', 'unsigned_put'])
112
+ return false unless method_validator.valid?(@method)
89
113
  true
90
114
  end
91
115
 
116
+ # Custom attribute writer method checking allowed values (enum).
117
+ # @param [Object] method Object to be assigned
118
+ def method=(method)
119
+ validator = EnumAttributeValidator.new('String', ['put_parts', 'put', 'post', 'presigned', 'unsigned_put'])
120
+ unless validator.valid?(method)
121
+ fail ArgumentError, 'invalid value for "method", must be one of #{validator.allowable_values}.'
122
+ end
123
+ @method = method
124
+ end
125
+
92
126
  # Checks equality by comparing each attribute.
93
127
  # @param [Object] Object to be compared
94
128
  def ==(o)
@@ -26,6 +26,28 @@ module CloudsmithApi
26
26
  # SHA256 checksum for a PUT-based package file upload.
27
27
  attr_accessor :sha256_checksum
28
28
 
29
+ class EnumAttributeValidator
30
+ attr_reader :datatype
31
+ attr_reader :allowable_values
32
+
33
+ def initialize(datatype, allowable_values)
34
+ @allowable_values = allowable_values.map do |value|
35
+ case datatype.to_s
36
+ when /Integer/i
37
+ value.to_i
38
+ when /Float/i
39
+ value.to_f
40
+ else
41
+ value
42
+ end
43
+ end
44
+ end
45
+
46
+ def valid?(value)
47
+ !value || allowable_values.include?(value)
48
+ end
49
+ end
50
+
29
51
  # Attribute mapping from ruby-style variable name to JSON key.
30
52
  def self.attribute_map
31
53
  {
@@ -86,9 +108,21 @@ module CloudsmithApi
86
108
  # @return true if the model is valid
87
109
  def valid?
88
110
  return false if @filename.nil?
111
+ method_validator = EnumAttributeValidator.new('String', ['put_parts', 'put', 'post', 'presigned', 'unsigned_put'])
112
+ return false unless method_validator.valid?(@method)
89
113
  true
90
114
  end
91
115
 
116
+ # Custom attribute writer method checking allowed values (enum).
117
+ # @param [Object] method Object to be assigned
118
+ def method=(method)
119
+ validator = EnumAttributeValidator.new('String', ['put_parts', 'put', 'post', 'presigned', 'unsigned_put'])
120
+ unless validator.valid?(method)
121
+ fail ArgumentError, 'invalid value for "method", must be one of #{validator.allowable_values}.'
122
+ end
123
+ @method = method
124
+ end
125
+
92
126
  # Checks equality by comparing each attribute.
93
127
  # @param [Object] Object to be compared
94
128
  def ==(o)
@@ -116,6 +116,12 @@ module CloudsmithApi
116
116
  #
117
117
  attr_accessor :num_files
118
118
 
119
+ #
120
+ attr_accessor :origin_repository
121
+
122
+ #
123
+ attr_accessor :origin_repository_url
124
+
119
125
  # The type of package contents.
120
126
  attr_accessor :package_type
121
127
 
@@ -221,6 +227,28 @@ module CloudsmithApi
221
227
  #
222
228
  attr_accessor :vulnerability_scan_results_url
223
229
 
230
+ class EnumAttributeValidator
231
+ attr_reader :datatype
232
+ attr_reader :allowable_values
233
+
234
+ def initialize(datatype, allowable_values)
235
+ @allowable_values = allowable_values.map do |value|
236
+ case datatype.to_s
237
+ when /Integer/i
238
+ value.to_i
239
+ when /Float/i
240
+ value.to_f
241
+ else
242
+ value
243
+ end
244
+ end
245
+ end
246
+
247
+ def valid?(value)
248
+ !value || allowable_values.include?(value)
249
+ end
250
+ end
251
+
224
252
  # Attribute mapping from ruby-style variable name to JSON key.
225
253
  def self.attribute_map
226
254
  {
@@ -258,6 +286,8 @@ module CloudsmithApi
258
286
  :'namespace' => :'namespace',
259
287
  :'namespace_url' => :'namespace_url',
260
288
  :'num_files' => :'num_files',
289
+ :'origin_repository' => :'origin_repository',
290
+ :'origin_repository_url' => :'origin_repository_url',
261
291
  :'package_type' => :'package_type',
262
292
  :'packaging' => :'packaging',
263
293
  :'release' => :'release',
@@ -333,6 +363,8 @@ module CloudsmithApi
333
363
  :'namespace' => :'String',
334
364
  :'namespace_url' => :'String',
335
365
  :'num_files' => :'Integer',
366
+ :'origin_repository' => :'String',
367
+ :'origin_repository_url' => :'String',
336
368
  :'package_type' => :'Integer',
337
369
  :'packaging' => :'String',
338
370
  :'release' => :'String',
@@ -519,6 +551,14 @@ module CloudsmithApi
519
551
  self.num_files = attributes[:'num_files']
520
552
  end
521
553
 
554
+ if attributes.has_key?(:'origin_repository')
555
+ self.origin_repository = attributes[:'origin_repository']
556
+ end
557
+
558
+ if attributes.has_key?(:'origin_repository_url')
559
+ self.origin_repository_url = attributes[:'origin_repository_url']
560
+ end
561
+
522
562
  if attributes.has_key?(:'package_type')
523
563
  self.package_type = attributes[:'package_type']
524
564
  end
@@ -670,9 +710,21 @@ module CloudsmithApi
670
710
  # Check to see if the all the properties in the model are valid
671
711
  # @return true if the model is valid
672
712
  def valid?
713
+ security_scan_status_validator = EnumAttributeValidator.new('String', ['Awaiting Security Scan', 'Security Scanning in Progress', 'Scan Detected Vulnerabilities', 'Scan Detected No Vulnerabilities', 'Security Scanning Disabled', 'Security Scanning Failed', 'Security Scanning Skipped', 'Security Scanning Not Supported'])
714
+ return false unless security_scan_status_validator.valid?(@security_scan_status)
673
715
  true
674
716
  end
675
717
 
718
+ # Custom attribute writer method checking allowed values (enum).
719
+ # @param [Object] security_scan_status Object to be assigned
720
+ def security_scan_status=(security_scan_status)
721
+ validator = EnumAttributeValidator.new('String', ['Awaiting Security Scan', 'Security Scanning in Progress', 'Scan Detected Vulnerabilities', 'Scan Detected No Vulnerabilities', 'Security Scanning Disabled', 'Security Scanning Failed', 'Security Scanning Skipped', 'Security Scanning Not Supported'])
722
+ unless validator.valid?(security_scan_status)
723
+ fail ArgumentError, 'invalid value for "security_scan_status", must be one of #{validator.allowable_values}.'
724
+ end
725
+ @security_scan_status = security_scan_status
726
+ end
727
+
676
728
  # Checks equality by comparing each attribute.
677
729
  # @param [Object] Object to be compared
678
730
  def ==(o)
@@ -712,6 +764,8 @@ module CloudsmithApi
712
764
  namespace == o.namespace &&
713
765
  namespace_url == o.namespace_url &&
714
766
  num_files == o.num_files &&
767
+ origin_repository == o.origin_repository &&
768
+ origin_repository_url == o.origin_repository_url &&
715
769
  package_type == o.package_type &&
716
770
  packaging == o.packaging &&
717
771
  release == o.release &&
@@ -758,7 +812,7 @@ module CloudsmithApi
758
812
  # Calculates hash code according to all attributes.
759
813
  # @return [Fixnum] Hash code
760
814
  def hash
761
- [architectures, artifact_id, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, group_id, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, packaging, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
815
+ [architectures, artifact_id, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, group_id, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, packaging, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
762
816
  end
763
817
 
764
818
  # Builds the object from hash