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
@@ -0,0 +1,235 @@
1
+ =begin
2
+ #Cloudsmith API
3
+
4
+ #The API to the Cloudsmith Service
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudsmith.io
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.26
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CloudsmithApi
16
+ class RepositoryRsaKey
17
+ # If selected this is the active key for this repository.
18
+ attr_accessor :active
19
+
20
+ #
21
+ attr_accessor :created_at
22
+
23
+ # If selected this is the default key for this repository.
24
+ attr_accessor :default
25
+
26
+ # The long identifier used by RSA for this key.
27
+ attr_accessor :fingerprint
28
+
29
+ #
30
+ attr_accessor :fingerprint_short
31
+
32
+ # The public key given to repository users.
33
+ attr_accessor :public_key
34
+
35
+ # Attribute mapping from ruby-style variable name to JSON key.
36
+ def self.attribute_map
37
+ {
38
+ :'active' => :'active',
39
+ :'created_at' => :'created_at',
40
+ :'default' => :'default',
41
+ :'fingerprint' => :'fingerprint',
42
+ :'fingerprint_short' => :'fingerprint_short',
43
+ :'public_key' => :'public_key'
44
+ }
45
+ end
46
+
47
+ # Attribute type mapping.
48
+ def self.swagger_types
49
+ {
50
+ :'active' => :'BOOLEAN',
51
+ :'created_at' => :'String',
52
+ :'default' => :'BOOLEAN',
53
+ :'fingerprint' => :'String',
54
+ :'fingerprint_short' => :'String',
55
+ :'public_key' => :'String'
56
+ }
57
+ end
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ return unless attributes.is_a?(Hash)
63
+
64
+ # convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
66
+
67
+ if attributes.has_key?(:'active')
68
+ self.active = attributes[:'active']
69
+ end
70
+
71
+ if attributes.has_key?(:'created_at')
72
+ self.created_at = attributes[:'created_at']
73
+ end
74
+
75
+ if attributes.has_key?(:'default')
76
+ self.default = attributes[:'default']
77
+ end
78
+
79
+ if attributes.has_key?(:'fingerprint')
80
+ self.fingerprint = attributes[:'fingerprint']
81
+ end
82
+
83
+ if attributes.has_key?(:'fingerprint_short')
84
+ self.fingerprint_short = attributes[:'fingerprint_short']
85
+ end
86
+
87
+ if attributes.has_key?(:'public_key')
88
+ self.public_key = attributes[:'public_key']
89
+ end
90
+ end
91
+
92
+ # Show invalid properties with the reasons. Usually used together with valid?
93
+ # @return Array for valid properties with the reasons
94
+ def list_invalid_properties
95
+ invalid_properties = Array.new
96
+ invalid_properties
97
+ end
98
+
99
+ # Check to see if the all the properties in the model are valid
100
+ # @return true if the model is valid
101
+ def valid?
102
+ true
103
+ end
104
+
105
+ # Checks equality by comparing each attribute.
106
+ # @param [Object] Object to be compared
107
+ def ==(o)
108
+ return true if self.equal?(o)
109
+ self.class == o.class &&
110
+ active == o.active &&
111
+ created_at == o.created_at &&
112
+ default == o.default &&
113
+ fingerprint == o.fingerprint &&
114
+ fingerprint_short == o.fingerprint_short &&
115
+ public_key == o.public_key
116
+ end
117
+
118
+ # @see the `==` method
119
+ # @param [Object] Object to be compared
120
+ def eql?(o)
121
+ self == o
122
+ end
123
+
124
+ # Calculates hash code according to all attributes.
125
+ # @return [Fixnum] Hash code
126
+ def hash
127
+ [active, created_at, default, fingerprint, fingerprint_short, public_key].hash
128
+ end
129
+
130
+ # Builds the object from hash
131
+ # @param [Hash] attributes Model attributes in the form of hash
132
+ # @return [Object] Returns the model itself
133
+ def build_from_hash(attributes)
134
+ return nil unless attributes.is_a?(Hash)
135
+ self.class.swagger_types.each_pair do |key, type|
136
+ if type =~ /\AArray<(.*)>/i
137
+ # check to ensure the input is an array given that the attribute
138
+ # is documented as an array but the input is not
139
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
140
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
141
+ end
142
+ elsif !attributes[self.class.attribute_map[key]].nil?
143
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
144
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
145
+ end
146
+
147
+ self
148
+ end
149
+
150
+ # Deserializes the data based on type
151
+ # @param string type Data type
152
+ # @param string value Value to be deserialized
153
+ # @return [Object] Deserialized data
154
+ def _deserialize(type, value)
155
+ case type.to_sym
156
+ when :DateTime
157
+ DateTime.parse(value)
158
+ when :Date
159
+ Date.parse(value)
160
+ when :String
161
+ value.to_s
162
+ when :Integer
163
+ value.to_i
164
+ when :Float
165
+ value.to_f
166
+ when :BOOLEAN
167
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
168
+ true
169
+ else
170
+ false
171
+ end
172
+ when :Object
173
+ # generic object (usually a Hash), return directly
174
+ value
175
+ when /\AArray<(?<inner_type>.+)>\z/
176
+ inner_type = Regexp.last_match[:inner_type]
177
+ value.map { |v| _deserialize(inner_type, v) }
178
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
179
+ k_type = Regexp.last_match[:k_type]
180
+ v_type = Regexp.last_match[:v_type]
181
+ {}.tap do |hash|
182
+ value.each do |k, v|
183
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
184
+ end
185
+ end
186
+ else # model
187
+ temp_model = CloudsmithApi.const_get(type).new
188
+ temp_model.build_from_hash(value)
189
+ end
190
+ end
191
+
192
+ # Returns the string representation of the object
193
+ # @return [String] String presentation of the object
194
+ def to_s
195
+ to_hash.to_s
196
+ end
197
+
198
+ # to_body is an alias to to_hash (backward compatibility)
199
+ # @return [Hash] Returns the object in the form of hash
200
+ def to_body
201
+ to_hash
202
+ end
203
+
204
+ # Returns the object in the form of hash
205
+ # @return [Hash] Returns the object in the form of hash
206
+ def to_hash
207
+ hash = {}
208
+ self.class.attribute_map.each_pair do |attr, param|
209
+ value = self.send(attr)
210
+ next if value.nil?
211
+ hash[param] = _to_hash(value)
212
+ end
213
+ hash
214
+ end
215
+
216
+ # Outputs non-array value in the form of hash
217
+ # For object, use to_hash. Otherwise, just return the value
218
+ # @param [Object] value Any valid value
219
+ # @return [Hash] Returns the value in the form of hash
220
+ def _to_hash(value)
221
+ if value.is_a?(Array)
222
+ value.compact.map { |v| _to_hash(v) }
223
+ elsif value.is_a?(Hash)
224
+ {}.tap do |hash|
225
+ value.each { |k, v| hash[k] = _to_hash(v) }
226
+ end
227
+ elsif value.respond_to? :to_hash
228
+ value.to_hash
229
+ else
230
+ value
231
+ end
232
+ end
233
+
234
+ end
235
+ end
@@ -131,6 +131,28 @@ module CloudsmithApi
131
131
  #
132
132
  attr_accessor :user_url
133
133
 
134
+ class EnumAttributeValidator
135
+ attr_reader :datatype
136
+ attr_reader :allowable_values
137
+
138
+ def initialize(datatype, allowable_values)
139
+ @allowable_values = allowable_values.map do |value|
140
+ case datatype.to_s
141
+ when /Integer/i
142
+ value.to_i
143
+ when /Float/i
144
+ value.to_f
145
+ else
146
+ value
147
+ end
148
+ end
149
+ end
150
+
151
+ def valid?(value)
152
+ !value || allowable_values.include?(value)
153
+ end
154
+ end
155
+
134
156
  # Attribute mapping from ruby-style variable name to JSON key.
135
157
  def self.attribute_map
136
158
  {
@@ -400,10 +422,34 @@ module CloudsmithApi
400
422
  # Check to see if the all the properties in the model are valid
401
423
  # @return true if the model is valid
402
424
  def valid?
425
+ limit_bandwidth_unit_validator = EnumAttributeValidator.new('String', ['Byte', 'Kilobyte', 'Megabyte', 'Gigabyte', 'Terabyte', 'Petabyte', 'Exabyte', 'Zettabyte', 'Yottabyte'])
426
+ return false unless limit_bandwidth_unit_validator.valid?(@limit_bandwidth_unit)
403
427
  return false if @name.nil?
428
+ scheduled_reset_period_validator = EnumAttributeValidator.new('String', ['Never Reset', 'Daily', 'Weekly', 'Fortnightly', 'Monthly', 'Bi-Monthly', 'Quarterly', 'Every 6 months', 'Annual'])
429
+ return false unless scheduled_reset_period_validator.valid?(@scheduled_reset_period)
404
430
  true
405
431
  end
406
432
 
433
+ # Custom attribute writer method checking allowed values (enum).
434
+ # @param [Object] limit_bandwidth_unit Object to be assigned
435
+ def limit_bandwidth_unit=(limit_bandwidth_unit)
436
+ validator = EnumAttributeValidator.new('String', ['Byte', 'Kilobyte', 'Megabyte', 'Gigabyte', 'Terabyte', 'Petabyte', 'Exabyte', 'Zettabyte', 'Yottabyte'])
437
+ unless validator.valid?(limit_bandwidth_unit)
438
+ fail ArgumentError, 'invalid value for "limit_bandwidth_unit", must be one of #{validator.allowable_values}.'
439
+ end
440
+ @limit_bandwidth_unit = limit_bandwidth_unit
441
+ end
442
+
443
+ # Custom attribute writer method checking allowed values (enum).
444
+ # @param [Object] scheduled_reset_period Object to be assigned
445
+ def scheduled_reset_period=(scheduled_reset_period)
446
+ validator = EnumAttributeValidator.new('String', ['Never Reset', 'Daily', 'Weekly', 'Fortnightly', 'Monthly', 'Bi-Monthly', 'Quarterly', 'Every 6 months', 'Annual'])
447
+ unless validator.valid?(scheduled_reset_period)
448
+ fail ArgumentError, 'invalid value for "scheduled_reset_period", must be one of #{validator.allowable_values}.'
449
+ end
450
+ @scheduled_reset_period = scheduled_reset_period
451
+ end
452
+
407
453
  # Checks equality by comparing each attribute.
408
454
  # @param [Object] Object to be compared
409
455
  def ==(o)
@@ -131,6 +131,28 @@ module CloudsmithApi
131
131
  #
132
132
  attr_accessor :user_url
133
133
 
134
+ class EnumAttributeValidator
135
+ attr_reader :datatype
136
+ attr_reader :allowable_values
137
+
138
+ def initialize(datatype, allowable_values)
139
+ @allowable_values = allowable_values.map do |value|
140
+ case datatype.to_s
141
+ when /Integer/i
142
+ value.to_i
143
+ when /Float/i
144
+ value.to_f
145
+ else
146
+ value
147
+ end
148
+ end
149
+ end
150
+
151
+ def valid?(value)
152
+ !value || allowable_values.include?(value)
153
+ end
154
+ end
155
+
134
156
  # Attribute mapping from ruby-style variable name to JSON key.
135
157
  def self.attribute_map
136
158
  {
@@ -396,9 +418,33 @@ module CloudsmithApi
396
418
  # Check to see if the all the properties in the model are valid
397
419
  # @return true if the model is valid
398
420
  def valid?
421
+ limit_bandwidth_unit_validator = EnumAttributeValidator.new('String', ['Byte', 'Kilobyte', 'Megabyte', 'Gigabyte', 'Terabyte', 'Petabyte', 'Exabyte', 'Zettabyte', 'Yottabyte'])
422
+ return false unless limit_bandwidth_unit_validator.valid?(@limit_bandwidth_unit)
423
+ scheduled_reset_period_validator = EnumAttributeValidator.new('String', ['Never Reset', 'Daily', 'Weekly', 'Fortnightly', 'Monthly', 'Bi-Monthly', 'Quarterly', 'Every 6 months', 'Annual'])
424
+ return false unless scheduled_reset_period_validator.valid?(@scheduled_reset_period)
399
425
  true
400
426
  end
401
427
 
428
+ # Custom attribute writer method checking allowed values (enum).
429
+ # @param [Object] limit_bandwidth_unit Object to be assigned
430
+ def limit_bandwidth_unit=(limit_bandwidth_unit)
431
+ validator = EnumAttributeValidator.new('String', ['Byte', 'Kilobyte', 'Megabyte', 'Gigabyte', 'Terabyte', 'Petabyte', 'Exabyte', 'Zettabyte', 'Yottabyte'])
432
+ unless validator.valid?(limit_bandwidth_unit)
433
+ fail ArgumentError, 'invalid value for "limit_bandwidth_unit", must be one of #{validator.allowable_values}.'
434
+ end
435
+ @limit_bandwidth_unit = limit_bandwidth_unit
436
+ end
437
+
438
+ # Custom attribute writer method checking allowed values (enum).
439
+ # @param [Object] scheduled_reset_period Object to be assigned
440
+ def scheduled_reset_period=(scheduled_reset_period)
441
+ validator = EnumAttributeValidator.new('String', ['Never Reset', 'Daily', 'Weekly', 'Fortnightly', 'Monthly', 'Bi-Monthly', 'Quarterly', 'Every 6 months', 'Annual'])
442
+ unless validator.valid?(scheduled_reset_period)
443
+ fail ArgumentError, 'invalid value for "scheduled_reset_period", must be one of #{validator.allowable_values}.'
444
+ end
445
+ @scheduled_reset_period = scheduled_reset_period
446
+ end
447
+
402
448
  # Checks equality by comparing each attribute.
403
449
  # @param [Object] Object to be compared
404
450
  def ==(o)
@@ -110,6 +110,12 @@ module CloudsmithApi
110
110
  #
111
111
  attr_accessor :num_files
112
112
 
113
+ #
114
+ attr_accessor :origin_repository
115
+
116
+ #
117
+ attr_accessor :origin_repository_url
118
+
113
119
  # The type of package contents.
114
120
  attr_accessor :package_type
115
121
 
@@ -215,6 +221,28 @@ module CloudsmithApi
215
221
  #
216
222
  attr_accessor :vulnerability_scan_results_url
217
223
 
224
+ class EnumAttributeValidator
225
+ attr_reader :datatype
226
+ attr_reader :allowable_values
227
+
228
+ def initialize(datatype, allowable_values)
229
+ @allowable_values = allowable_values.map do |value|
230
+ case datatype.to_s
231
+ when /Integer/i
232
+ value.to_i
233
+ when /Float/i
234
+ value.to_f
235
+ else
236
+ value
237
+ end
238
+ end
239
+ end
240
+
241
+ def valid?(value)
242
+ !value || allowable_values.include?(value)
243
+ end
244
+ end
245
+
218
246
  # Attribute mapping from ruby-style variable name to JSON key.
219
247
  def self.attribute_map
220
248
  {
@@ -250,6 +278,8 @@ module CloudsmithApi
250
278
  :'namespace' => :'namespace',
251
279
  :'namespace_url' => :'namespace_url',
252
280
  :'num_files' => :'num_files',
281
+ :'origin_repository' => :'origin_repository',
282
+ :'origin_repository_url' => :'origin_repository_url',
253
283
  :'package_type' => :'package_type',
254
284
  :'provider' => :'provider',
255
285
  :'release' => :'release',
@@ -323,6 +353,8 @@ module CloudsmithApi
323
353
  :'namespace' => :'String',
324
354
  :'namespace_url' => :'String',
325
355
  :'num_files' => :'Integer',
356
+ :'origin_repository' => :'String',
357
+ :'origin_repository_url' => :'String',
326
358
  :'package_type' => :'Integer',
327
359
  :'provider' => :'String',
328
360
  :'release' => :'String',
@@ -501,6 +533,14 @@ module CloudsmithApi
501
533
  self.num_files = attributes[:'num_files']
502
534
  end
503
535
 
536
+ if attributes.has_key?(:'origin_repository')
537
+ self.origin_repository = attributes[:'origin_repository']
538
+ end
539
+
540
+ if attributes.has_key?(:'origin_repository_url')
541
+ self.origin_repository_url = attributes[:'origin_repository_url']
542
+ end
543
+
504
544
  if attributes.has_key?(:'package_type')
505
545
  self.package_type = attributes[:'package_type']
506
546
  end
@@ -666,10 +706,22 @@ module CloudsmithApi
666
706
  def valid?
667
707
  return false if @name.nil?
668
708
  return false if @provider.nil?
709
+ 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'])
710
+ return false unless security_scan_status_validator.valid?(@security_scan_status)
669
711
  return false if @version.nil?
670
712
  true
671
713
  end
672
714
 
715
+ # Custom attribute writer method checking allowed values (enum).
716
+ # @param [Object] security_scan_status Object to be assigned
717
+ def security_scan_status=(security_scan_status)
718
+ 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'])
719
+ unless validator.valid?(security_scan_status)
720
+ fail ArgumentError, 'invalid value for "security_scan_status", must be one of #{validator.allowable_values}.'
721
+ end
722
+ @security_scan_status = security_scan_status
723
+ end
724
+
673
725
  # Checks equality by comparing each attribute.
674
726
  # @param [Object] Object to be compared
675
727
  def ==(o)
@@ -707,6 +759,8 @@ module CloudsmithApi
707
759
  namespace == o.namespace &&
708
760
  namespace_url == o.namespace_url &&
709
761
  num_files == o.num_files &&
762
+ origin_repository == o.origin_repository &&
763
+ origin_repository_url == o.origin_repository_url &&
710
764
  package_type == o.package_type &&
711
765
  provider == o.provider &&
712
766
  release == o.release &&
@@ -753,7 +807,7 @@ module CloudsmithApi
753
807
  # Calculates hash code according to all attributes.
754
808
  # @return [Fixnum] Hash code
755
809
  def hash
756
- [architectures, 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, 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, provider, 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
810
+ [architectures, 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, 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, provider, 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
757
811
  end
758
812
 
759
813
  # Builds the object from hash
@@ -38,6 +38,28 @@ module CloudsmithApi
38
38
  #
39
39
  attr_accessor :scan_id
40
40
 
41
+ class EnumAttributeValidator
42
+ attr_reader :datatype
43
+ attr_reader :allowable_values
44
+
45
+ def initialize(datatype, allowable_values)
46
+ @allowable_values = allowable_values.map do |value|
47
+ case datatype.to_s
48
+ when /Integer/i
49
+ value.to_i
50
+ when /Float/i
51
+ value.to_f
52
+ else
53
+ value
54
+ end
55
+ end
56
+ end
57
+
58
+ def valid?(value)
59
+ !value || allowable_values.include?(value)
60
+ end
61
+ end
62
+
41
63
  # Attribute mapping from ruby-style variable name to JSON key.
42
64
  def self.attribute_map
43
65
  {
@@ -134,12 +156,24 @@ module CloudsmithApi
134
156
  # @return true if the model is valid
135
157
  def valid?
136
158
  return false if @identifier.nil?
159
+ max_severity_validator = EnumAttributeValidator.new('String', ['Unknown', 'Low', 'Medium', 'High', 'Critical'])
160
+ return false unless max_severity_validator.valid?(@max_severity)
137
161
  return false if @package.nil?
138
162
  return false if @scan.nil?
139
163
  return false if @scan_id.nil?
140
164
  true
141
165
  end
142
166
 
167
+ # Custom attribute writer method checking allowed values (enum).
168
+ # @param [Object] max_severity Object to be assigned
169
+ def max_severity=(max_severity)
170
+ validator = EnumAttributeValidator.new('String', ['Unknown', 'Low', 'Medium', 'High', 'Critical'])
171
+ unless validator.valid?(max_severity)
172
+ fail ArgumentError, 'invalid value for "max_severity", must be one of #{validator.allowable_values}.'
173
+ end
174
+ @max_severity = max_severity
175
+ end
176
+
143
177
  # Checks equality by comparing each attribute.
144
178
  # @param [Object] Object to be compared
145
179
  def ==(o)
@@ -35,6 +35,28 @@ module CloudsmithApi
35
35
  #
36
36
  attr_accessor :scan_id
37
37
 
38
+ class EnumAttributeValidator
39
+ attr_reader :datatype
40
+ attr_reader :allowable_values
41
+
42
+ def initialize(datatype, allowable_values)
43
+ @allowable_values = allowable_values.map do |value|
44
+ case datatype.to_s
45
+ when /Integer/i
46
+ value.to_i
47
+ when /Float/i
48
+ value.to_f
49
+ else
50
+ value
51
+ end
52
+ end
53
+ end
54
+
55
+ def valid?(value)
56
+ !value || allowable_values.include?(value)
57
+ end
58
+ end
59
+
38
60
  # Attribute mapping from ruby-style variable name to JSON key.
39
61
  def self.attribute_map
40
62
  {
@@ -121,11 +143,23 @@ module CloudsmithApi
121
143
  # @return true if the model is valid
122
144
  def valid?
123
145
  return false if @identifier.nil?
146
+ max_severity_validator = EnumAttributeValidator.new('String', ['Unknown', 'Low', 'Medium', 'High', 'Critical'])
147
+ return false unless max_severity_validator.valid?(@max_severity)
124
148
  return false if @package.nil?
125
149
  return false if @scan_id.nil?
126
150
  true
127
151
  end
128
152
 
153
+ # Custom attribute writer method checking allowed values (enum).
154
+ # @param [Object] max_severity Object to be assigned
155
+ def max_severity=(max_severity)
156
+ validator = EnumAttributeValidator.new('String', ['Unknown', 'Low', 'Medium', 'High', 'Critical'])
157
+ unless validator.valid?(max_severity)
158
+ fail ArgumentError, 'invalid value for "max_severity", must be one of #{validator.allowable_values}.'
159
+ end
160
+ @max_severity = max_severity
161
+ end
162
+
129
163
  # Checks equality by comparing each attribute.
130
164
  # @param [Object] Object to be compared
131
165
  def ==(o)
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.26
11
11
  =end
12
12
 
13
13
  module CloudsmithApi
14
- VERSION = '1.61.3'
14
+ VERSION = '1.142.3'
15
15
  end
@@ -34,8 +34,21 @@ require 'cloudsmith-api/models/format'
34
34
  require 'cloudsmith-api/models/formats_distributions'
35
35
  require 'cloudsmith-api/models/maven_package_upload'
36
36
  require 'cloudsmith-api/models/namespace'
37
+ require 'cloudsmith-api/models/namespace_audit_log'
37
38
  require 'cloudsmith-api/models/organization'
39
+ require 'cloudsmith-api/models/organization_group_sync'
40
+ require 'cloudsmith-api/models/organization_invite'
38
41
  require 'cloudsmith-api/models/organization_membership'
42
+ require 'cloudsmith-api/models/organization_team'
43
+ require 'cloudsmith-api/models/organization_team_members'
44
+ require 'cloudsmith-api/models/organization_team_members_members'
45
+ require 'cloudsmith-api/models/orgs_invites_create'
46
+ require 'cloudsmith-api/models/orgs_invites_extend'
47
+ require 'cloudsmith-api/models/orgs_samlgroupsync_create'
48
+ require 'cloudsmith-api/models/orgs_teams_create'
49
+ require 'cloudsmith-api/models/orgs_teams_members_create'
50
+ require 'cloudsmith-api/models/orgs_teams_members_update'
51
+ require 'cloudsmith-api/models/orgs_teams_partial_update'
39
52
  require 'cloudsmith-api/models/package'
40
53
  require 'cloudsmith-api/models/package_copy'
41
54
  require 'cloudsmith-api/models/package_dependencies'
@@ -102,10 +115,19 @@ require 'cloudsmith-api/models/quota_history'
102
115
  require 'cloudsmith-api/models/quota_history_history'
103
116
  require 'cloudsmith-api/models/raw_package_upload'
104
117
  require 'cloudsmith-api/models/repos_create'
118
+ require 'cloudsmith-api/models/repos_gpg_create'
105
119
  require 'cloudsmith-api/models/repos_gpg_keys'
106
120
  require 'cloudsmith-api/models/repos_partial_update'
121
+ require 'cloudsmith-api/models/repos_privileges_partial_update'
122
+ require 'cloudsmith-api/models/repos_privileges_update'
123
+ require 'cloudsmith-api/models/repos_rsa_create'
107
124
  require 'cloudsmith-api/models/repository'
125
+ require 'cloudsmith-api/models/repository_audit_log'
108
126
  require 'cloudsmith-api/models/repository_create'
127
+ require 'cloudsmith-api/models/repository_gpg_key'
128
+ require 'cloudsmith-api/models/repository_privilege_input'
129
+ require 'cloudsmith-api/models/repository_privilege_input_privileges'
130
+ require 'cloudsmith-api/models/repository_rsa_key'
109
131
  require 'cloudsmith-api/models/repository_token'
110
132
  require 'cloudsmith-api/models/repository_token_refresh'
111
133
  require 'cloudsmith-api/models/repository_token_sync'
@@ -127,6 +149,7 @@ require 'cloudsmith-api/models/webhooks_partial_update'
127
149
  require 'cloudsmith-api/models/webhooksownerrepo_templates'
128
150
 
129
151
  # APIs
152
+ require 'cloudsmith-api/api/audit_log_api'
130
153
  require 'cloudsmith-api/api/badges_api'
131
154
  require 'cloudsmith-api/api/distros_api'
132
155
  require 'cloudsmith-api/api/entitlements_api'