cloudsmith-api 1.42.3 → 1.61.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +7 -4
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +2 -0
  6. data/docs/ConanPackageUpload.md +2 -0
  7. data/docs/MavenPackageUpload.md +2 -0
  8. data/docs/Package.md +2 -0
  9. data/docs/PackageCopy.md +2 -0
  10. data/docs/PackageMove.md +2 -0
  11. data/docs/PackageStatus.md +2 -0
  12. data/docs/PackagesApi.md +65 -0
  13. data/docs/PackagesQuarantine.md +8 -0
  14. data/docs/RawPackageUpload.md +2 -0
  15. data/docs/ReposApi.md +2 -2
  16. data/docs/ReposCreate.md +1 -1
  17. data/docs/RepositoryCreate.md +31 -0
  18. data/docs/VagrantPackageUpload.md +2 -0
  19. data/lib/cloudsmith-api/api/packages_api.rb +66 -0
  20. data/lib/cloudsmith-api/api/repos_api.rb +3 -3
  21. data/lib/cloudsmith-api/models/alpine_package_upload.rb +21 -1
  22. data/lib/cloudsmith-api/models/conan_package_upload.rb +21 -1
  23. data/lib/cloudsmith-api/models/maven_package_upload.rb +21 -1
  24. data/lib/cloudsmith-api/models/package.rb +21 -1
  25. data/lib/cloudsmith-api/models/package_copy.rb +21 -1
  26. data/lib/cloudsmith-api/models/package_move.rb +21 -1
  27. data/lib/cloudsmith-api/models/package_status.rb +21 -1
  28. data/lib/cloudsmith-api/models/packages_quarantine.rb +185 -0
  29. data/lib/cloudsmith-api/models/raw_package_upload.rb +21 -1
  30. data/lib/cloudsmith-api/models/repos_create.rb +1 -1
  31. data/lib/cloudsmith-api/models/repository_create.rb +422 -0
  32. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +21 -1
  33. data/lib/cloudsmith-api/version.rb +1 -1
  34. data/lib/cloudsmith-api.rb +2 -0
  35. data/spec/api/packages_api_spec.rb +15 -0
  36. data/spec/api/repos_api_spec.rb +1 -1
  37. data/spec/models/alpine_package_upload_spec.rb +12 -0
  38. data/spec/models/conan_package_upload_spec.rb +12 -0
  39. data/spec/models/maven_package_upload_spec.rb +12 -0
  40. data/spec/models/package_copy_spec.rb +12 -0
  41. data/spec/models/package_move_spec.rb +12 -0
  42. data/spec/models/package_spec.rb +12 -0
  43. data/spec/models/package_status_spec.rb +12 -0
  44. data/spec/models/packages_quarantine_spec.rb +41 -0
  45. data/spec/models/raw_package_upload_spec.rb +12 -0
  46. data/spec/models/repository_create_spec.rb +179 -0
  47. data/spec/models/vagrant_package_upload_spec.rb +12 -0
  48. data/vendor/bundle/ruby/2.6.0/cache/json-2.6.2.gem +0 -0
  49. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.7.gem +0 -0
  50. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.11.1.gem +0 -0
  51. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +1 -1
  52. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
  53. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.6.1 → json-2.6.2}/gem.build_complete +0 -0
  54. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.6.1 → json-2.6.2}/gem_make.out +5 -5
  55. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/generator.so +0 -0
  56. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/parser.so +0 -0
  57. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.6.1 → json-2.6.2}/mkmf.log +2 -2
  58. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  59. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/CHANGES.md +0 -0
  60. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/LICENSE +0 -0
  61. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/README.md +0 -0
  62. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/VERSION +1 -0
  63. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/Makefile +2 -2
  64. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/fbuffer/fbuffer.h +0 -0
  65. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  66. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/Makefile +2 -2
  67. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/depend +0 -0
  68. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/extconf.rb +0 -0
  69. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/generator.c +0 -0
  70. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/generator.h +0 -0
  71. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/generator.o +0 -0
  72. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
  73. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  74. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/Makefile +2 -2
  75. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/depend +0 -0
  76. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/extconf.rb +0 -0
  77. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.c +9 -0
  78. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.h +0 -0
  79. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.o +0 -0
  80. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.rl +9 -0
  81. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
  82. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/extconf.rb +0 -0
  83. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/json.gemspec +0 -0
  84. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/bigdecimal.rb +0 -0
  85. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/complex.rb +0 -0
  86. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/core.rb +0 -0
  87. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/date.rb +0 -0
  88. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/date_time.rb +0 -0
  89. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/exception.rb +0 -0
  90. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/ostruct.rb +0 -0
  91. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/range.rb +0 -0
  92. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/rational.rb +0 -0
  93. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/regexp.rb +0 -0
  94. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/set.rb +0 -0
  95. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/struct.rb +0 -0
  96. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/symbol.rb +0 -0
  97. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/time.rb +0 -0
  98. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/common.rb +0 -0
  99. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
  100. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
  101. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/ext.rb +0 -0
  102. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/generic_object.rb +0 -0
  103. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure/generator.rb +0 -0
  104. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure/parser.rb +0 -0
  105. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure.rb +0 -0
  106. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/version.rb +1 -1
  107. data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json.rb +0 -0
  108. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.github/FUNDING.yml +0 -0
  109. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/dependabot.yml +8 -0
  110. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/workflows/release.yml +16 -0
  111. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/workflows/tests.yml +28 -0
  112. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.gitignore +0 -0
  113. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.rubocop.yml +0 -0
  114. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.rubocop_opinionated.yml +6 -0
  115. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.yardopts +0 -0
  116. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/2.0-Upgrade.md +0 -0
  117. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/CHANGELOG.md +11 -0
  118. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/Gemfile +0 -1
  119. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/LICENSE.txt +1 -1
  120. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/README.md +12 -2
  121. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/Rakefile +1 -0
  122. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/SECURITY.md +0 -0
  123. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/bin/console +0 -0
  124. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/data/list.txt +1033 -378
  125. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/domain.rb +1 -1
  126. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/errors.rb +1 -1
  127. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/list.rb +3 -3
  128. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/rule.rb +11 -11
  129. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/version.rb +5 -3
  130. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix.rb +11 -13
  131. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/public_suffix.gemspec +0 -0
  132. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/.empty +0 -0
  133. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/acceptance_test.rb +0 -0
  134. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_find.rb +0 -0
  135. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_find_all.rb +0 -0
  136. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_names.rb +0 -0
  137. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_select.rb +0 -0
  138. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_select_incremental.rb +0 -0
  139. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_valid.rb +0 -0
  140. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/domain_profiler.rb +0 -0
  141. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/find_profiler.rb +0 -0
  142. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/find_profiler_jp.rb +0 -0
  143. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/initialization_profiler.rb +0 -0
  144. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/list_profsize.rb +0 -0
  145. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/object_binsize.rb +0 -0
  146. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/psl_test.rb +0 -0
  147. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/test_helper.rb +0 -8
  148. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/tests.txt +0 -0
  149. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/domain_test.rb +0 -0
  150. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/errors_test.rb +0 -0
  151. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/list_test.rb +0 -0
  152. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/public_suffix_test.rb +0 -0
  153. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/rule_test.rb +0 -0
  154. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.document +0 -0
  155. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.yardopts +0 -0
  156. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/Changelog.md +10 -1
  157. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/LICENSE.md +0 -0
  158. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/README.md +0 -0
  159. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  160. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  161. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  162. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  163. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  164. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  165. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  166. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  167. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  168. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance.rb +0 -0
  169. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_list_matcher.rb +2 -1
  170. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_matchers.rb +0 -0
  171. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/configuration.rb +0 -0
  172. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/error_generator.rb +0 -0
  173. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/example_methods.rb +0 -0
  174. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  175. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/marshal_extension.rb +0 -0
  176. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  177. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  178. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive.rb +1 -1
  179. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  180. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  181. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_chain.rb +0 -0
  182. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_expectation.rb +13 -3
  183. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_double.rb +3 -0
  184. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_reference.rb +0 -0
  185. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/minitest_integration.rb +0 -0
  186. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/mutate_const.rb +0 -0
  187. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/object_reference.rb +0 -0
  188. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/order_group.rb +0 -0
  189. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/proxy.rb +6 -0
  190. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/space.rb +0 -0
  191. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/standalone.rb +0 -0
  192. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/syntax.rb +0 -0
  193. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/targets.rb +0 -0
  194. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/test_double.rb +0 -0
  195. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_double.rb +0 -0
  196. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  197. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  198. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/version.rb +1 -1
  199. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks.rb +0 -0
  200. data/vendor/bundle/ruby/2.6.0/specifications/{json-2.6.1.gemspec → json-2.6.2.gemspec} +0 -0
  201. data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.6.gemspec → public_suffix-4.0.7.gemspec} +4 -4
  202. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.11.0.gemspec → rspec-mocks-3.11.1.gemspec} +5 -5
  203. metadata +163 -156
  204. data/docs/StorageregionsApi.md +0 -112
  205. data/vendor/bundle/ruby/2.6.0/cache/json-2.6.1.gem +0 -0
  206. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.6.gem +0 -0
  207. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.11.0.gem +0 -0
  208. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/json/ext/generator.so +0 -0
  209. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/json/ext/parser.so +0 -0
  210. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/VERSION +0 -1
  211. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/generator/generator.so +0 -0
  212. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/parser/parser.so +0 -0
  213. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/lib/json/ext/generator.so +0 -0
  214. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/lib/json/ext/parser.so +0 -0
  215. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/.github/workflows/tests.yml +0 -36
  216. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/.travis.yml +0 -23
  217. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/codecov.yml +0 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f84ca6034e0f02317929c746c5a5bc1519536bae220658eef2ca6489fbf5d2fb
4
- data.tar.gz: 729547013070dd11538054a0dafb9a4bc9bd66d7d73a2c534109ae26060a8e71
3
+ metadata.gz: 3791a9f63b2add1beb49089e7141d2731e90fd91f2de2af3fdd3227d4778e7b5
4
+ data.tar.gz: a024c8366d22871a13a038385e5afe3a22124249457a717639f47f2f1a47d7ad
5
5
  SHA512:
6
- metadata.gz: 468d44ac528eeaaa03523f690b2801a539f8594453711914f67dab5f181582ef503b7217ae0e0f21b4da3e92ef7070c3f1ae5431a9e94593b83807e0d8fea6b0
7
- data.tar.gz: a35b03752c11a19695b9930c2360a92906cc04762ccc130a52cb47f11176334422dd78d6000d0d12dcb9e090f7a551544cfdbfc6b713393146d4a13ade8c142b
6
+ metadata.gz: c26f67fcd7bcf7bb8dd64748e69c87e7ae87fd63a5ca93fa62f713addf02896577e5b9ca36250b29bd5fb6ff1c8829357748ad86ae219a2980935726179f4d92
7
+ data.tar.gz: 0f37ec70127f070e20b3f90114941a89feaa85579ff37aa34a1ec9b35d465259965baef188a827d702ee50d956c015b83253a79025b3576dadb47fe53a43ce91
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudsmith-api (1.42.3)
4
+ cloudsmith-api (1.61.3)
5
5
  addressable (~> 2.3, >= 2.3.0)
6
6
  json (~> 2.1, >= 2.1.0)
7
7
  typhoeus (~> 1.0, >= 1.0.1)
@@ -25,8 +25,8 @@ GEM
25
25
  ffi (>= 1.15.0)
26
26
  ffi (1.15.5)
27
27
  hashdiff (1.0.1)
28
- json (2.6.1)
29
- public_suffix (4.0.6)
28
+ json (2.6.2)
29
+ public_suffix (4.0.7)
30
30
  rake (12.3.3)
31
31
  rexml (3.2.5)
32
32
  rspec (3.11.0)
@@ -38,7 +38,7 @@ GEM
38
38
  rspec-expectations (3.11.0)
39
39
  diff-lcs (>= 1.2.0, < 2.0)
40
40
  rspec-support (~> 3.11.0)
41
- rspec-mocks (3.11.0)
41
+ rspec-mocks (3.11.1)
42
42
  diff-lcs (>= 1.2.0, < 2.0)
43
43
  rspec-support (~> 3.11.0)
44
44
  rspec-support (3.11.0)
@@ -67,4 +67,4 @@ DEPENDENCIES
67
67
  webmock (~> 1.24, >= 1.24.3)
68
68
 
69
69
  BUNDLED WITH
70
- 2.3.9
70
+ 2.3.13
data/README.md CHANGED
@@ -7,7 +7,7 @@ The API to the Cloudsmith Service
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 1.42.3
10
+ - Package version: 1.61.3
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
13
13
 
@@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./cloudsmith-api-1.42.3.gem
27
+ gem install ./cloudsmith-api-1.61.3.gem
28
28
  ```
29
- (for development, run `gem install --dev ./cloudsmith-api-1.42.3.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./cloudsmith-api-1.61.3.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'cloudsmith-api', '~> 1.42.3'
35
+ gem 'cloudsmith-api', '~> 1.61.3'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -142,6 +142,7 @@ Class | Method | HTTP request | Description
142
142
  *CloudsmithApi::PackagesApi* | [**packages_dependencies**](docs/PackagesApi.md#packages_dependencies) | **GET** /packages/{owner}/{repo}/{identifier}/dependencies/ | Get the direct (non-transitive) dependencies list for a package.
143
143
  *CloudsmithApi::PackagesApi* | [**packages_list**](docs/PackagesApi.md#packages_list) | **GET** /packages/{owner}/{repo}/ | Get a list of all packages associated with repository.
144
144
  *CloudsmithApi::PackagesApi* | [**packages_move**](docs/PackagesApi.md#packages_move) | **POST** /packages/{owner}/{repo}/{identifier}/move/ | Move a package to another repository.
145
+ *CloudsmithApi::PackagesApi* | [**packages_quarantine**](docs/PackagesApi.md#packages_quarantine) | **POST** /packages/{owner}/{repo}/{identifier}/quarantine/ | Quarantine or restore a package.
145
146
  *CloudsmithApi::PackagesApi* | [**packages_read**](docs/PackagesApi.md#packages_read) | **GET** /packages/{owner}/{repo}/{identifier}/ | Get a specific package in a repository.
146
147
  *CloudsmithApi::PackagesApi* | [**packages_resync**](docs/PackagesApi.md#packages_resync) | **POST** /packages/{owner}/{repo}/{identifier}/resync/ | Schedule a package for resynchronisation.
147
148
  *CloudsmithApi::PackagesApi* | [**packages_scan**](docs/PackagesApi.md#packages_scan) | **POST** /packages/{owner}/{repo}/{identifier}/scan/ | Schedule a package for scanning.
@@ -253,6 +254,7 @@ Class | Method | HTTP request | Description
253
254
  - [CloudsmithApi::PackageUsageMetrics](docs/PackageUsageMetrics.md)
254
255
  - [CloudsmithApi::PackagesCopy](docs/PackagesCopy.md)
255
256
  - [CloudsmithApi::PackagesMove](docs/PackagesMove.md)
257
+ - [CloudsmithApi::PackagesQuarantine](docs/PackagesQuarantine.md)
256
258
  - [CloudsmithApi::PackagesTag](docs/PackagesTag.md)
257
259
  - [CloudsmithApi::PackagesUploadAlpine](docs/PackagesUploadAlpine.md)
258
260
  - [CloudsmithApi::PackagesUploadCargo](docs/PackagesUploadCargo.md)
@@ -310,6 +312,7 @@ Class | Method | HTTP request | Description
310
312
  - [CloudsmithApi::ReposGpgKeys](docs/ReposGpgKeys.md)
311
313
  - [CloudsmithApi::ReposPartialUpdate](docs/ReposPartialUpdate.md)
312
314
  - [CloudsmithApi::Repository](docs/Repository.md)
315
+ - [CloudsmithApi::RepositoryCreate](docs/RepositoryCreate.md)
313
316
  - [CloudsmithApi::RepositoryToken](docs/RepositoryToken.md)
314
317
  - [CloudsmithApi::RepositoryTokenRefresh](docs/RepositoryTokenRefresh.md)
315
318
  - [CloudsmithApi::RepositoryTokenSync](docs/RepositoryTokenSync.md)
data/build.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "gemName": "cloudsmith-api",
9
9
  "gemRequiredRubyVersion": ">= 1.9",
10
10
  "gemSummary": "Cloudsmith API",
11
- "gemVersion": "1.42.3",
11
+ "gemVersion": "1.61.3",
12
12
  "hideGenerationTimestamp": true,
13
13
  "moduleName": "CloudsmithApi",
14
14
  "sortParamsByRequiredFlag": true
@@ -23,6 +23,8 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_downloadable** | **BOOLEAN** | | [optional]
27
+ **is_quarantined** | **BOOLEAN** | | [optional]
26
28
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
27
29
  **is_sync_completed** | **BOOLEAN** | | [optional]
28
30
  **is_sync_failed** | **BOOLEAN** | | [optional]
@@ -25,6 +25,8 @@ Name | Type | Description | Notes
25
25
  **format_url** | **String** | | [optional]
26
26
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
27
27
  **indexed** | **BOOLEAN** | | [optional]
28
+ **is_downloadable** | **BOOLEAN** | | [optional]
29
+ **is_quarantined** | **BOOLEAN** | | [optional]
28
30
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
31
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
32
  **is_sync_failed** | **BOOLEAN** | | [optional]
@@ -25,6 +25,8 @@ Name | Type | Description | Notes
25
25
  **group_id** | **String** | Artifact&#39;s group ID. | [optional]
26
26
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
27
27
  **indexed** | **BOOLEAN** | | [optional]
28
+ **is_downloadable** | **BOOLEAN** | | [optional]
29
+ **is_quarantined** | **BOOLEAN** | | [optional]
28
30
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
29
31
  **is_sync_completed** | **BOOLEAN** | | [optional]
30
32
  **is_sync_failed** | **BOOLEAN** | | [optional]
data/docs/Package.md CHANGED
@@ -23,6 +23,8 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_downloadable** | **BOOLEAN** | | [optional]
27
+ **is_quarantined** | **BOOLEAN** | | [optional]
26
28
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
27
29
  **is_sync_completed** | **BOOLEAN** | | [optional]
28
30
  **is_sync_failed** | **BOOLEAN** | | [optional]
data/docs/PackageCopy.md CHANGED
@@ -23,6 +23,8 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_downloadable** | **BOOLEAN** | | [optional]
27
+ **is_quarantined** | **BOOLEAN** | | [optional]
26
28
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
27
29
  **is_sync_completed** | **BOOLEAN** | | [optional]
28
30
  **is_sync_failed** | **BOOLEAN** | | [optional]
data/docs/PackageMove.md CHANGED
@@ -23,6 +23,8 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_downloadable** | **BOOLEAN** | | [optional]
27
+ **is_quarantined** | **BOOLEAN** | | [optional]
26
28
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
27
29
  **is_sync_completed** | **BOOLEAN** | | [optional]
28
30
  **is_sync_failed** | **BOOLEAN** | | [optional]
@@ -3,6 +3,8 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **is_downloadable** | **BOOLEAN** | | [optional]
7
+ **is_quarantined** | **BOOLEAN** | | [optional]
6
8
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
7
9
  **is_sync_completed** | **BOOLEAN** | | [optional]
8
10
  **is_sync_failed** | **BOOLEAN** | | [optional]
data/docs/PackagesApi.md CHANGED
@@ -9,6 +9,7 @@ Method | HTTP request | Description
9
9
  [**packages_dependencies**](PackagesApi.md#packages_dependencies) | **GET** /packages/{owner}/{repo}/{identifier}/dependencies/ | Get the direct (non-transitive) dependencies list for a package.
10
10
  [**packages_list**](PackagesApi.md#packages_list) | **GET** /packages/{owner}/{repo}/ | Get a list of all packages associated with repository.
11
11
  [**packages_move**](PackagesApi.md#packages_move) | **POST** /packages/{owner}/{repo}/{identifier}/move/ | Move a package to another repository.
12
+ [**packages_quarantine**](PackagesApi.md#packages_quarantine) | **POST** /packages/{owner}/{repo}/{identifier}/quarantine/ | Quarantine or restore a package.
12
13
  [**packages_read**](PackagesApi.md#packages_read) | **GET** /packages/{owner}/{repo}/{identifier}/ | Get a specific package in a repository.
13
14
  [**packages_resync**](PackagesApi.md#packages_resync) | **POST** /packages/{owner}/{repo}/{identifier}/resync/ | Schedule a package for resynchronisation.
14
15
  [**packages_scan**](PackagesApi.md#packages_scan) | **POST** /packages/{owner}/{repo}/{identifier}/scan/ | Schedule a package for scanning.
@@ -376,6 +377,70 @@ Name | Type | Description | Notes
376
377
 
377
378
 
378
379
 
380
+ # **packages_quarantine**
381
+ > Package packages_quarantine(owner, repo, identifier, opts)
382
+
383
+ Quarantine or restore a package.
384
+
385
+ Quarantine or restore a package.
386
+
387
+ ### Example
388
+ ```ruby
389
+ # load the gem
390
+ require 'cloudsmith-api'
391
+ # setup authorization
392
+ CloudsmithApi.configure do |config|
393
+ # Configure API key authorization: apikey
394
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
395
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
396
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
397
+ end
398
+
399
+ api_instance = CloudsmithApi::PackagesApi.new
400
+
401
+ owner = 'owner_example' # String |
402
+
403
+ repo = 'repo_example' # String |
404
+
405
+ identifier = 'identifier_example' # String |
406
+
407
+ opts = {
408
+ data: CloudsmithApi::PackagesQuarantine.new # PackagesQuarantine |
409
+ }
410
+
411
+ begin
412
+ #Quarantine or restore a package.
413
+ result = api_instance.packages_quarantine(owner, repo, identifier, opts)
414
+ p result
415
+ rescue CloudsmithApi::ApiError => e
416
+ puts "Exception when calling PackagesApi->packages_quarantine: #{e}"
417
+ end
418
+ ```
419
+
420
+ ### Parameters
421
+
422
+ Name | Type | Description | Notes
423
+ ------------- | ------------- | ------------- | -------------
424
+ **owner** | **String**| |
425
+ **repo** | **String**| |
426
+ **identifier** | **String**| |
427
+ **data** | [**PackagesQuarantine**](PackagesQuarantine.md)| | [optional]
428
+
429
+ ### Return type
430
+
431
+ [**Package**](Package.md)
432
+
433
+ ### Authorization
434
+
435
+ [apikey](../README.md#apikey)
436
+
437
+ ### HTTP request headers
438
+
439
+ - **Content-Type**: application/json
440
+ - **Accept**: Not defined
441
+
442
+
443
+
379
444
  # **packages_read**
380
445
  > Package packages_read(owner, repo, identifier)
381
446
 
@@ -0,0 +1,8 @@
1
+ # CloudsmithApi::PackagesQuarantine
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **restore** | **BOOLEAN** | If true, the package be restored from quarantine. | [optional]
7
+
8
+
@@ -23,6 +23,8 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_downloadable** | **BOOLEAN** | | [optional]
27
+ **is_quarantined** | **BOOLEAN** | | [optional]
26
28
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
27
29
  **is_sync_completed** | **BOOLEAN** | | [optional]
28
30
  **is_sync_failed** | **BOOLEAN** | | [optional]
data/docs/ReposApi.md CHANGED
@@ -70,7 +70,7 @@ Name | Type | Description | Notes
70
70
 
71
71
 
72
72
  # **repos_create**
73
- > Repository repos_create(owner, opts)
73
+ > RepositoryCreate repos_create(owner, opts)
74
74
 
75
75
  Create a new repository in a given namespace.
76
76
 
@@ -114,7 +114,7 @@ Name | Type | Description | Notes
114
114
 
115
115
  ### Return type
116
116
 
117
- [**Repository**](Repository.md)
117
+ [**RepositoryCreate**](RepositoryCreate.md)
118
118
 
119
119
  ### Authorization
120
120
 
data/docs/ReposCreate.md CHANGED
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  **description** | **String** | A description of the repository&#39;s purpose/contents. | [optional]
7
7
  **index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional]
8
8
  **name** | **String** | A descriptive name for the repository. |
9
- **repository_type_str** | **String** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. | [optional]
9
+ **repository_type_str** | **String** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. | [optional]
10
10
  **slug** | **String** | The slug identifies the repository in URIs. | [optional]
11
11
  **storage_region** | **String** | The Cloudsmith region in which package files are stored. | [optional]
12
12
 
@@ -0,0 +1,31 @@
1
+ # CloudsmithApi::RepositoryCreate
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **cdn_url** | **String** | Base URL from which packages and other artifacts are downloaded. | [optional]
7
+ **created_at** | **String** | | [optional]
8
+ **deleted_at** | **String** | | [optional]
9
+ **description** | **String** | A description of the repository&#39;s purpose/contents. | [optional]
10
+ **gpg_keys** | [**Array&lt;ReposGpgKeys&gt;**](ReposGpgKeys.md) | | [optional]
11
+ **index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional]
12
+ **is_open_source** | **BOOLEAN** | | [optional]
13
+ **is_private** | **BOOLEAN** | | [optional]
14
+ **is_public** | **BOOLEAN** | | [optional]
15
+ **name** | **String** | A descriptive name for the repository. |
16
+ **namespace** | **String** | Namespace to which this repository belongs. | [optional]
17
+ **namespace_url** | **String** | API endpoint where data about this namespace can be retrieved. | [optional]
18
+ **num_downloads** | **Integer** | The number of downloads for packages in the repository. | [optional]
19
+ **package_count** | **Integer** | The number of packages in the repository. | [optional]
20
+ **package_group_count** | **Integer** | The number of groups in the repository. | [optional]
21
+ **repository_type** | **Integer** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time. | [optional]
22
+ **repository_type_str** | **String** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. | [optional]
23
+ **self_html_url** | **String** | Website URL for this repository. | [optional]
24
+ **self_url** | **String** | API endpoint where data about this repository can be retrieved. | [optional]
25
+ **size** | **Integer** | The calculated size of the repository. | [optional]
26
+ **size_str** | **String** | The calculated size of the repository (human readable). | [optional]
27
+ **slug** | **String** | The slug identifies the repository in URIs. | [optional]
28
+ **slug_perm** | **String** | The slug_perm immutably identifies the repository. It will never change once a repository has been created. | [optional]
29
+ **storage_region** | **String** | The Cloudsmith region in which package files are stored. | [optional]
30
+
31
+
@@ -23,6 +23,8 @@ Name | Type | Description | Notes
23
23
  **format_url** | **String** | | [optional]
24
24
  **identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
25
25
  **indexed** | **BOOLEAN** | | [optional]
26
+ **is_downloadable** | **BOOLEAN** | | [optional]
27
+ **is_quarantined** | **BOOLEAN** | | [optional]
26
28
  **is_sync_awaiting** | **BOOLEAN** | | [optional]
27
29
  **is_sync_completed** | **BOOLEAN** | | [optional]
28
30
  **is_sync_failed** | **BOOLEAN** | | [optional]
@@ -342,6 +342,72 @@ module CloudsmithApi
342
342
  end
343
343
  return data, status_code, headers
344
344
  end
345
+ # Quarantine or restore a package.
346
+ # Quarantine or restore a package.
347
+ # @param owner
348
+ # @param repo
349
+ # @param identifier
350
+ # @param [Hash] opts the optional parameters
351
+ # @option opts [PackagesQuarantine] :data
352
+ # @return [Package]
353
+ def packages_quarantine(owner, repo, identifier, opts = {})
354
+ data, _status_code, _headers = packages_quarantine_with_http_info(owner, repo, identifier, opts)
355
+ data
356
+ end
357
+
358
+ # Quarantine or restore a package.
359
+ # Quarantine or restore a package.
360
+ # @param owner
361
+ # @param repo
362
+ # @param identifier
363
+ # @param [Hash] opts the optional parameters
364
+ # @option opts [PackagesQuarantine] :data
365
+ # @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers
366
+ def packages_quarantine_with_http_info(owner, repo, identifier, opts = {})
367
+ if @api_client.config.debugging
368
+ @api_client.config.logger.debug 'Calling API: PackagesApi.packages_quarantine ...'
369
+ end
370
+ # verify the required parameter 'owner' is set
371
+ if @api_client.config.client_side_validation && owner.nil?
372
+ fail ArgumentError, "Missing the required parameter 'owner' when calling PackagesApi.packages_quarantine"
373
+ end
374
+ # verify the required parameter 'repo' is set
375
+ if @api_client.config.client_side_validation && repo.nil?
376
+ fail ArgumentError, "Missing the required parameter 'repo' when calling PackagesApi.packages_quarantine"
377
+ end
378
+ # verify the required parameter 'identifier' is set
379
+ if @api_client.config.client_side_validation && identifier.nil?
380
+ fail ArgumentError, "Missing the required parameter 'identifier' when calling PackagesApi.packages_quarantine"
381
+ end
382
+ # resource path
383
+ local_var_path = '/packages/{owner}/{repo}/{identifier}/quarantine/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
384
+
385
+ # query parameters
386
+ query_params = {}
387
+
388
+ # header parameters
389
+ header_params = {}
390
+ # HTTP header 'Content-Type'
391
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
392
+
393
+ # form parameters
394
+ form_params = {}
395
+
396
+ # http body (model)
397
+ post_body = @api_client.object_to_http_body(opts[:'data'])
398
+ auth_names = ['apikey']
399
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
400
+ :header_params => header_params,
401
+ :query_params => query_params,
402
+ :form_params => form_params,
403
+ :body => post_body,
404
+ :auth_names => auth_names,
405
+ :return_type => 'Package')
406
+ if @api_client.config.debugging
407
+ @api_client.config.logger.debug "API called: PackagesApi#packages_quarantine\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
408
+ end
409
+ return data, status_code, headers
410
+ end
345
411
  # Get a specific package in a repository.
346
412
  # Get a specific package in a repository.
347
413
  # @param owner
@@ -74,7 +74,7 @@ module CloudsmithApi
74
74
  # @param owner
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @option opts [ReposCreate] :data
77
- # @return [Repository]
77
+ # @return [RepositoryCreate]
78
78
  def repos_create(owner, opts = {})
79
79
  data, _status_code, _headers = repos_create_with_http_info(owner, opts)
80
80
  data
@@ -85,7 +85,7 @@ module CloudsmithApi
85
85
  # @param owner
86
86
  # @param [Hash] opts the optional parameters
87
87
  # @option opts [ReposCreate] :data
88
- # @return [Array<(Repository, Fixnum, Hash)>] Repository data, response status code and response headers
88
+ # @return [Array<(RepositoryCreate, Fixnum, Hash)>] RepositoryCreate data, response status code and response headers
89
89
  def repos_create_with_http_info(owner, opts = {})
90
90
  if @api_client.config.debugging
91
91
  @api_client.config.logger.debug 'Calling API: ReposApi.repos_create ...'
@@ -117,7 +117,7 @@ module CloudsmithApi
117
117
  :form_params => form_params,
118
118
  :body => post_body,
119
119
  :auth_names => auth_names,
120
- :return_type => 'Repository')
120
+ :return_type => 'RepositoryCreate')
121
121
  if @api_client.config.debugging
122
122
  @api_client.config.logger.debug "API called: ReposApi#repos_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
123
123
  end
@@ -74,6 +74,12 @@ module CloudsmithApi
74
74
  #
75
75
  attr_accessor :indexed
76
76
 
77
+ #
78
+ attr_accessor :is_downloadable
79
+
80
+ #
81
+ attr_accessor :is_quarantined
82
+
77
83
  #
78
84
  attr_accessor :is_sync_awaiting
79
85
 
@@ -229,6 +235,8 @@ module CloudsmithApi
229
235
  :'format_url' => :'format_url',
230
236
  :'identifier_perm' => :'identifier_perm',
231
237
  :'indexed' => :'indexed',
238
+ :'is_downloadable' => :'is_downloadable',
239
+ :'is_quarantined' => :'is_quarantined',
232
240
  :'is_sync_awaiting' => :'is_sync_awaiting',
233
241
  :'is_sync_completed' => :'is_sync_completed',
234
242
  :'is_sync_failed' => :'is_sync_failed',
@@ -299,6 +307,8 @@ module CloudsmithApi
299
307
  :'format_url' => :'String',
300
308
  :'identifier_perm' => :'String',
301
309
  :'indexed' => :'BOOLEAN',
310
+ :'is_downloadable' => :'BOOLEAN',
311
+ :'is_quarantined' => :'BOOLEAN',
302
312
  :'is_sync_awaiting' => :'BOOLEAN',
303
313
  :'is_sync_completed' => :'BOOLEAN',
304
314
  :'is_sync_failed' => :'BOOLEAN',
@@ -438,6 +448,14 @@ module CloudsmithApi
438
448
  self.indexed = attributes[:'indexed']
439
449
  end
440
450
 
451
+ if attributes.has_key?(:'is_downloadable')
452
+ self.is_downloadable = attributes[:'is_downloadable']
453
+ end
454
+
455
+ if attributes.has_key?(:'is_quarantined')
456
+ self.is_quarantined = attributes[:'is_quarantined']
457
+ end
458
+
441
459
  if attributes.has_key?(:'is_sync_awaiting')
442
460
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
443
461
  end
@@ -653,6 +671,8 @@ module CloudsmithApi
653
671
  format_url == o.format_url &&
654
672
  identifier_perm == o.identifier_perm &&
655
673
  indexed == o.indexed &&
674
+ is_downloadable == o.is_downloadable &&
675
+ is_quarantined == o.is_quarantined &&
656
676
  is_sync_awaiting == o.is_sync_awaiting &&
657
677
  is_sync_completed == o.is_sync_completed &&
658
678
  is_sync_failed == o.is_sync_failed &&
@@ -708,7 +728,7 @@ module CloudsmithApi
708
728
  # Calculates hash code according to all attributes.
709
729
  # @return [Fixnum] Hash code
710
730
  def hash
711
- [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_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
731
+ [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, 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
712
732
  end
713
733
 
714
734
  # Builds the object from hash
@@ -80,6 +80,12 @@ module CloudsmithApi
80
80
  #
81
81
  attr_accessor :indexed
82
82
 
83
+ #
84
+ attr_accessor :is_downloadable
85
+
86
+ #
87
+ attr_accessor :is_quarantined
88
+
83
89
  #
84
90
  attr_accessor :is_sync_awaiting
85
91
 
@@ -237,6 +243,8 @@ module CloudsmithApi
237
243
  :'format_url' => :'format_url',
238
244
  :'identifier_perm' => :'identifier_perm',
239
245
  :'indexed' => :'indexed',
246
+ :'is_downloadable' => :'is_downloadable',
247
+ :'is_quarantined' => :'is_quarantined',
240
248
  :'is_sync_awaiting' => :'is_sync_awaiting',
241
249
  :'is_sync_completed' => :'is_sync_completed',
242
250
  :'is_sync_failed' => :'is_sync_failed',
@@ -309,6 +317,8 @@ module CloudsmithApi
309
317
  :'format_url' => :'String',
310
318
  :'identifier_perm' => :'String',
311
319
  :'indexed' => :'BOOLEAN',
320
+ :'is_downloadable' => :'BOOLEAN',
321
+ :'is_quarantined' => :'BOOLEAN',
312
322
  :'is_sync_awaiting' => :'BOOLEAN',
313
323
  :'is_sync_completed' => :'BOOLEAN',
314
324
  :'is_sync_failed' => :'BOOLEAN',
@@ -456,6 +466,14 @@ module CloudsmithApi
456
466
  self.indexed = attributes[:'indexed']
457
467
  end
458
468
 
469
+ if attributes.has_key?(:'is_downloadable')
470
+ self.is_downloadable = attributes[:'is_downloadable']
471
+ end
472
+
473
+ if attributes.has_key?(:'is_quarantined')
474
+ self.is_quarantined = attributes[:'is_quarantined']
475
+ end
476
+
459
477
  if attributes.has_key?(:'is_sync_awaiting')
460
478
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
461
479
  end
@@ -673,6 +691,8 @@ module CloudsmithApi
673
691
  format_url == o.format_url &&
674
692
  identifier_perm == o.identifier_perm &&
675
693
  indexed == o.indexed &&
694
+ is_downloadable == o.is_downloadable &&
695
+ is_quarantined == o.is_quarantined &&
676
696
  is_sync_awaiting == o.is_sync_awaiting &&
677
697
  is_sync_completed == o.is_sync_completed &&
678
698
  is_sync_failed == o.is_sync_failed &&
@@ -728,7 +748,7 @@ module CloudsmithApi
728
748
  # Calculates hash code according to all attributes.
729
749
  # @return [Fixnum] Hash code
730
750
  def hash
731
- [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_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
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
732
752
  end
733
753
 
734
754
  # Builds the object from hash
@@ -80,6 +80,12 @@ module CloudsmithApi
80
80
  #
81
81
  attr_accessor :indexed
82
82
 
83
+ #
84
+ attr_accessor :is_downloadable
85
+
86
+ #
87
+ attr_accessor :is_quarantined
88
+
83
89
  #
84
90
  attr_accessor :is_sync_awaiting
85
91
 
@@ -240,6 +246,8 @@ module CloudsmithApi
240
246
  :'group_id' => :'group_id',
241
247
  :'identifier_perm' => :'identifier_perm',
242
248
  :'indexed' => :'indexed',
249
+ :'is_downloadable' => :'is_downloadable',
250
+ :'is_quarantined' => :'is_quarantined',
243
251
  :'is_sync_awaiting' => :'is_sync_awaiting',
244
252
  :'is_sync_completed' => :'is_sync_completed',
245
253
  :'is_sync_failed' => :'is_sync_failed',
@@ -313,6 +321,8 @@ module CloudsmithApi
313
321
  :'group_id' => :'String',
314
322
  :'identifier_perm' => :'String',
315
323
  :'indexed' => :'BOOLEAN',
324
+ :'is_downloadable' => :'BOOLEAN',
325
+ :'is_quarantined' => :'BOOLEAN',
316
326
  :'is_sync_awaiting' => :'BOOLEAN',
317
327
  :'is_sync_completed' => :'BOOLEAN',
318
328
  :'is_sync_failed' => :'BOOLEAN',
@@ -461,6 +471,14 @@ module CloudsmithApi
461
471
  self.indexed = attributes[:'indexed']
462
472
  end
463
473
 
474
+ if attributes.has_key?(:'is_downloadable')
475
+ self.is_downloadable = attributes[:'is_downloadable']
476
+ end
477
+
478
+ if attributes.has_key?(:'is_quarantined')
479
+ self.is_quarantined = attributes[:'is_quarantined']
480
+ end
481
+
464
482
  if attributes.has_key?(:'is_sync_awaiting')
465
483
  self.is_sync_awaiting = attributes[:'is_sync_awaiting']
466
484
  end
@@ -682,6 +700,8 @@ module CloudsmithApi
682
700
  group_id == o.group_id &&
683
701
  identifier_perm == o.identifier_perm &&
684
702
  indexed == o.indexed &&
703
+ is_downloadable == o.is_downloadable &&
704
+ is_quarantined == o.is_quarantined &&
685
705
  is_sync_awaiting == o.is_sync_awaiting &&
686
706
  is_sync_completed == o.is_sync_completed &&
687
707
  is_sync_failed == o.is_sync_failed &&
@@ -738,7 +758,7 @@ module CloudsmithApi
738
758
  # Calculates hash code according to all attributes.
739
759
  # @return [Fixnum] Hash code
740
760
  def hash
741
- [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_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
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
742
762
  end
743
763
 
744
764
  # Builds the object from hash