cloudsmith-api 0.51.34 → 0.52.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (395) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +14 -5
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +63 -0
  6. data/docs/ConanPackageUpload.md +1 -0
  7. data/docs/EntitlementsCreate.md +1 -1
  8. data/docs/EntitlementsPartialUpdate.md +1 -1
  9. data/docs/EntitlementsRefresh.md +1 -1
  10. data/docs/MavenPackageUpload.md +1 -0
  11. data/docs/Package.md +2 -0
  12. data/docs/PackageCopy.md +2 -0
  13. data/docs/PackageMove.md +2 -0
  14. data/docs/PackagesApi.md +238 -39
  15. data/docs/PackagesCopy.md +1 -1
  16. data/docs/PackagesMove.md +0 -1
  17. data/docs/PackagesTag.md +10 -0
  18. data/docs/PackagesUploadAlpine.md +1 -0
  19. data/docs/PackagesUploadCargo.md +1 -0
  20. data/docs/PackagesUploadCocoapods.md +1 -0
  21. data/docs/PackagesUploadComposer.md +1 -0
  22. data/docs/PackagesUploadConan.md +3 -0
  23. data/docs/PackagesUploadCran.md +1 -0
  24. data/docs/PackagesUploadDart.md +1 -0
  25. data/docs/PackagesUploadDeb.md +3 -0
  26. data/docs/PackagesUploadDocker.md +1 -0
  27. data/docs/PackagesUploadGo.md +1 -0
  28. data/docs/PackagesUploadHelm.md +1 -0
  29. data/docs/PackagesUploadLuarocks.md +1 -0
  30. data/docs/PackagesUploadMaven.md +1 -0
  31. data/docs/PackagesUploadNpm.md +1 -0
  32. data/docs/PackagesUploadNuget.md +1 -0
  33. data/docs/PackagesUploadPython.md +1 -0
  34. data/docs/PackagesUploadRaw.md +1 -0
  35. data/docs/PackagesUploadRpm.md +1 -0
  36. data/docs/PackagesUploadRuby.md +1 -0
  37. data/docs/{PackagesResync.md → PackagesUploadTerraform.md} +3 -1
  38. data/docs/PackagesUploadVagrant.md +1 -0
  39. data/docs/PackagesValidateuploadAlpine.md +1 -0
  40. data/docs/PackagesValidateuploadCargo.md +1 -0
  41. data/docs/PackagesValidateuploadCocoapods.md +1 -0
  42. data/docs/PackagesValidateuploadComposer.md +1 -0
  43. data/docs/PackagesValidateuploadConan.md +3 -0
  44. data/docs/PackagesValidateuploadCran.md +1 -0
  45. data/docs/PackagesValidateuploadDart.md +1 -0
  46. data/docs/PackagesValidateuploadDeb.md +3 -0
  47. data/docs/PackagesValidateuploadDocker.md +1 -0
  48. data/docs/PackagesValidateuploadGo.md +1 -0
  49. data/docs/PackagesValidateuploadHelm.md +1 -0
  50. data/docs/PackagesValidateuploadLuarocks.md +1 -0
  51. data/docs/PackagesValidateuploadMaven.md +1 -0
  52. data/docs/PackagesValidateuploadNpm.md +1 -0
  53. data/docs/PackagesValidateuploadNuget.md +1 -0
  54. data/docs/PackagesValidateuploadPython.md +1 -0
  55. data/docs/PackagesValidateuploadRaw.md +1 -0
  56. data/docs/PackagesValidateuploadRpm.md +1 -0
  57. data/docs/PackagesValidateuploadRuby.md +1 -0
  58. data/docs/PackagesValidateuploadTerraform.md +10 -0
  59. data/docs/PackagesValidateuploadVagrant.md +1 -0
  60. data/docs/RawPackageUpload.md +1 -0
  61. data/docs/ReposCreate.md +4 -7
  62. data/docs/ReposPartialUpdate.md +3 -7
  63. data/docs/Repository.md +11 -10
  64. data/docs/RepositoryToken.md +3 -3
  65. data/docs/RepositoryTokenRefresh.md +3 -3
  66. data/docs/RepositoryTokenSyncTokens.md +3 -3
  67. data/docs/RepositoryWebhook.md +1 -0
  68. data/docs/StorageRegion.md +9 -0
  69. data/docs/StorageregionsApi.md +122 -0
  70. data/docs/VagrantPackageUpload.md +1 -0
  71. data/docs/WebhooksCreate.md +1 -0
  72. data/docs/WebhooksPartialUpdate.md +1 -0
  73. data/lib/cloudsmith-api.rb +6 -1
  74. data/lib/cloudsmith-api/api/packages_api.rb +237 -53
  75. data/lib/cloudsmith-api/api/storageregions_api.rb +119 -0
  76. data/lib/cloudsmith-api/models/alpine_package_upload.rb +743 -0
  77. data/lib/cloudsmith-api/models/conan_package_upload.rb +11 -1
  78. data/lib/cloudsmith-api/models/entitlements_create.rb +1 -1
  79. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +1 -1
  80. data/lib/cloudsmith-api/models/entitlements_refresh.rb +1 -1
  81. data/lib/cloudsmith-api/models/maven_package_upload.rb +11 -1
  82. data/lib/cloudsmith-api/models/package.rb +21 -1
  83. data/lib/cloudsmith-api/models/package_copy.rb +21 -1
  84. data/lib/cloudsmith-api/models/package_move.rb +21 -1
  85. data/lib/cloudsmith-api/models/packages_copy.rb +1 -1
  86. data/lib/cloudsmith-api/models/packages_move.rb +4 -14
  87. data/lib/cloudsmith-api/models/packages_tag.rb +211 -0
  88. data/lib/cloudsmith-api/models/packages_upload_alpine.rb +14 -4
  89. data/lib/cloudsmith-api/models/packages_upload_cargo.rb +14 -4
  90. data/lib/cloudsmith-api/models/packages_upload_cocoapods.rb +14 -4
  91. data/lib/cloudsmith-api/models/packages_upload_composer.rb +14 -4
  92. data/lib/cloudsmith-api/models/packages_upload_conan.rb +34 -4
  93. data/lib/cloudsmith-api/models/packages_upload_cran.rb +14 -4
  94. data/lib/cloudsmith-api/models/packages_upload_dart.rb +14 -4
  95. data/lib/cloudsmith-api/models/packages_upload_deb.rb +34 -4
  96. data/lib/cloudsmith-api/models/packages_upload_docker.rb +14 -4
  97. data/lib/cloudsmith-api/models/packages_upload_go.rb +14 -4
  98. data/lib/cloudsmith-api/models/packages_upload_helm.rb +14 -4
  99. data/lib/cloudsmith-api/models/packages_upload_luarocks.rb +14 -4
  100. data/lib/cloudsmith-api/models/packages_upload_maven.rb +11 -1
  101. data/lib/cloudsmith-api/models/packages_upload_npm.rb +14 -4
  102. data/lib/cloudsmith-api/models/packages_upload_nuget.rb +14 -4
  103. data/lib/cloudsmith-api/models/packages_upload_python.rb +14 -4
  104. data/lib/cloudsmith-api/models/packages_upload_raw.rb +11 -1
  105. data/lib/cloudsmith-api/models/packages_upload_rpm.rb +14 -4
  106. data/lib/cloudsmith-api/models/packages_upload_ruby.rb +14 -4
  107. data/lib/cloudsmith-api/models/packages_upload_terraform.rb +214 -0
  108. data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +11 -1
  109. data/lib/cloudsmith-api/models/packages_validateupload_alpine.rb +14 -4
  110. data/lib/cloudsmith-api/models/packages_validateupload_cargo.rb +14 -4
  111. data/lib/cloudsmith-api/models/packages_validateupload_cocoapods.rb +14 -4
  112. data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +14 -4
  113. data/lib/cloudsmith-api/models/packages_validateupload_conan.rb +34 -4
  114. data/lib/cloudsmith-api/models/packages_validateupload_cran.rb +14 -4
  115. data/lib/cloudsmith-api/models/packages_validateupload_dart.rb +14 -4
  116. data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +34 -4
  117. data/lib/cloudsmith-api/models/packages_validateupload_docker.rb +14 -4
  118. data/lib/cloudsmith-api/models/packages_validateupload_go.rb +14 -4
  119. data/lib/cloudsmith-api/models/packages_validateupload_helm.rb +14 -4
  120. data/lib/cloudsmith-api/models/packages_validateupload_luarocks.rb +14 -4
  121. data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +11 -1
  122. data/lib/cloudsmith-api/models/packages_validateupload_npm.rb +14 -4
  123. data/lib/cloudsmith-api/models/packages_validateupload_nuget.rb +14 -4
  124. data/lib/cloudsmith-api/models/packages_validateupload_python.rb +14 -4
  125. data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +11 -1
  126. data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +14 -4
  127. data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +14 -4
  128. data/lib/cloudsmith-api/models/packages_validateupload_terraform.rb +214 -0
  129. data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +11 -1
  130. data/lib/cloudsmith-api/models/raw_package_upload.rb +11 -1
  131. data/lib/cloudsmith-api/models/repos_create.rb +17 -57
  132. data/lib/cloudsmith-api/models/repos_partial_update.rb +4 -44
  133. data/lib/cloudsmith-api/models/repository.rb +24 -24
  134. data/lib/cloudsmith-api/models/repository_token.rb +3 -3
  135. data/lib/cloudsmith-api/models/repository_token_refresh.rb +3 -3
  136. data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +3 -3
  137. data/lib/cloudsmith-api/models/repository_webhook.rb +11 -1
  138. data/lib/cloudsmith-api/models/{packages_resync.rb → storage_region.rb} +29 -9
  139. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +11 -1
  140. data/lib/cloudsmith-api/models/webhooks_create.rb +11 -1
  141. data/lib/cloudsmith-api/models/webhooks_partial_update.rb +11 -1
  142. data/lib/cloudsmith-api/version.rb +1 -1
  143. data/spec/api/packages_api_spec.rb +59 -17
  144. data/spec/api/storageregions_api_spec.rb +58 -0
  145. data/spec/models/alpine_package_upload_spec.rb +372 -0
  146. data/spec/models/conan_package_upload_spec.rb +6 -0
  147. data/spec/models/maven_package_upload_spec.rb +6 -0
  148. data/spec/models/package_copy_spec.rb +12 -0
  149. data/spec/models/package_move_spec.rb +12 -0
  150. data/spec/models/package_spec.rb +12 -0
  151. data/spec/models/packages_move_spec.rb +0 -6
  152. data/spec/models/packages_tag_spec.rb +54 -0
  153. data/spec/models/packages_upload_alpine_spec.rb +6 -0
  154. data/spec/models/packages_upload_cargo_spec.rb +6 -0
  155. data/spec/models/packages_upload_cocoapods_spec.rb +6 -0
  156. data/spec/models/packages_upload_composer_spec.rb +6 -0
  157. data/spec/models/packages_upload_conan_spec.rb +18 -0
  158. data/spec/models/packages_upload_cran_spec.rb +6 -0
  159. data/spec/models/packages_upload_dart_spec.rb +6 -0
  160. data/spec/models/packages_upload_deb_spec.rb +18 -0
  161. data/spec/models/packages_upload_docker_spec.rb +6 -0
  162. data/spec/models/packages_upload_go_spec.rb +6 -0
  163. data/spec/models/packages_upload_helm_spec.rb +6 -0
  164. data/spec/models/packages_upload_luarocks_spec.rb +6 -0
  165. data/spec/models/packages_upload_maven_spec.rb +6 -0
  166. data/spec/models/packages_upload_npm_spec.rb +6 -0
  167. data/spec/models/packages_upload_nuget_spec.rb +6 -0
  168. data/spec/models/packages_upload_python_spec.rb +6 -0
  169. data/spec/models/packages_upload_raw_spec.rb +6 -0
  170. data/spec/models/packages_upload_rpm_spec.rb +6 -0
  171. data/spec/models/packages_upload_ruby_spec.rb +6 -0
  172. data/spec/models/packages_upload_terraform_spec.rb +54 -0
  173. data/spec/models/packages_upload_vagrant_spec.rb +6 -0
  174. data/spec/models/packages_validateupload_alpine_spec.rb +6 -0
  175. data/spec/models/packages_validateupload_cargo_spec.rb +6 -0
  176. data/spec/models/packages_validateupload_cocoapods_spec.rb +6 -0
  177. data/spec/models/packages_validateupload_composer_spec.rb +6 -0
  178. data/spec/models/packages_validateupload_conan_spec.rb +18 -0
  179. data/spec/models/packages_validateupload_cran_spec.rb +6 -0
  180. data/spec/models/packages_validateupload_dart_spec.rb +6 -0
  181. data/spec/models/packages_validateupload_deb_spec.rb +18 -0
  182. data/spec/models/packages_validateupload_docker_spec.rb +6 -0
  183. data/spec/models/packages_validateupload_go_spec.rb +6 -0
  184. data/spec/models/packages_validateupload_helm_spec.rb +6 -0
  185. data/spec/models/packages_validateupload_luarocks_spec.rb +6 -0
  186. data/spec/models/packages_validateupload_maven_spec.rb +6 -0
  187. data/spec/models/packages_validateupload_npm_spec.rb +6 -0
  188. data/spec/models/packages_validateupload_nuget_spec.rb +6 -0
  189. data/spec/models/packages_validateupload_python_spec.rb +6 -0
  190. data/spec/models/packages_validateupload_raw_spec.rb +6 -0
  191. data/spec/models/packages_validateupload_rpm_spec.rb +6 -0
  192. data/spec/models/packages_validateupload_ruby_spec.rb +6 -0
  193. data/spec/models/packages_validateupload_terraform_spec.rb +54 -0
  194. data/spec/models/packages_validateupload_vagrant_spec.rb +6 -0
  195. data/spec/models/raw_package_upload_spec.rb +6 -0
  196. data/spec/models/repos_create_spec.rb +3 -21
  197. data/spec/models/repos_partial_update_spec.rb +0 -24
  198. data/spec/models/repository_spec.rb +6 -0
  199. data/spec/models/repository_webhook_spec.rb +6 -0
  200. data/spec/models/{packages_resync_spec.rb → storage_region_spec.rb} +13 -7
  201. data/spec/models/vagrant_package_upload_spec.rb +6 -0
  202. data/spec/models/webhooks_create_spec.rb +6 -0
  203. data/spec/models/webhooks_partial_update_spec.rb +6 -0
  204. data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.4.4.gem +0 -0
  205. data/vendor/bundle/ruby/2.6.0/cache/json-2.3.1.gem +0 -0
  206. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
  207. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
  208. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem.build_complete +0 -0
  209. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem_make.out +5 -5
  210. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/generator.so +0 -0
  211. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/parser.so +0 -0
  212. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/mkmf.log +0 -0
  213. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/.rspec +0 -0
  214. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Code-of-Conduct.md +0 -0
  215. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
  216. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/History.md +319 -0
  217. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/License.md +0 -0
  218. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Manifest.txt +8 -0
  219. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/README.rdoc +10 -10
  220. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Rakefile +39 -22
  221. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
  222. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/htmldiff +7 -4
  223. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/ldiff +4 -1
  224. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/COPYING.txt +0 -0
  225. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/artistic.txt +0 -0
  226. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
  227. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs.rb +184 -170
  228. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/array.rb +1 -1
  229. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
  230. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/block.rb +1 -1
  231. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/callbacks.rb +15 -12
  232. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/change.rb +30 -37
  233. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/htmldiff.rb +17 -16
  234. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/hunk.rb +156 -74
  235. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/internals.rb +36 -39
  236. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/ldiff.rb +46 -42
  237. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/string.rb +1 -1
  238. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/change_spec.rb +31 -7
  239. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3/spec/ldiff_spec.rb → diff-lcs-1.4.4/spec/diff_spec.rb} +15 -11
  240. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
  241. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
  242. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds1.csv +0 -0
  243. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds2.csv +0 -0
  244. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
  245. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
  246. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
  247. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
  248. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
  249. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
  250. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
  251. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/lcs_spec.rb +10 -10
  252. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
  253. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/patch_spec.rb +93 -99
  254. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
  255. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/spec_helper.rb +118 -64
  256. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
  257. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/traverse_sequences_spec.rb +28 -28
  258. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
  259. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.gitignore +0 -0
  260. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.travis.yml +2 -0
  261. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/CHANGES.md +33 -0
  262. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Gemfile +0 -0
  263. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README-json-jruby.md +0 -0
  264. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README.md +16 -0
  265. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Rakefile +8 -87
  266. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/VERSION +1 -0
  267. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/diagrams/.keep +0 -0
  268. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/fbuffer/fbuffer.h +0 -0
  269. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  270. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/depend +0 -0
  271. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/extconf.rb +0 -0
  272. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.c +71 -1
  273. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.h +0 -0
  274. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/generator/generator.so +0 -0
  275. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  276. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/depend +0 -0
  277. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/extconf.rb +0 -0
  278. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.c +71 -70
  279. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.h +0 -0
  280. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.rl +1 -0
  281. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/parser/parser.so +0 -0
  282. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/extconf.rb +0 -0
  283. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/install.rb +0 -0
  284. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ByteListTranscoder.java +0 -0
  285. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Generator.java +0 -0
  286. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorMethods.java +0 -0
  287. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorService.java +0 -0
  288. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorState.java +0 -0
  289. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/OptionsReader.java +0 -0
  290. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.java +0 -0
  291. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.rl +0 -0
  292. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ParserService.java +0 -0
  293. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/RuntimeInfo.java +0 -0
  294. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringDecoder.java +0 -0
  295. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringEncoder.java +0 -0
  296. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Utils.java +0 -0
  297. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json-java.gemspec +3 -3
  298. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/json.gemspec +139 -0
  299. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json_pure.gemspec +8 -13
  300. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json.rb +412 -0
  301. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/bigdecimal.rb +0 -0
  302. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/complex.rb +0 -0
  303. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/core.rb +0 -0
  304. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date.rb +0 -0
  305. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date_time.rb +0 -0
  306. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/exception.rb +0 -0
  307. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/ostruct.rb +0 -0
  308. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/range.rb +0 -0
  309. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/rational.rb +0 -0
  310. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/regexp.rb +0 -0
  311. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/set.rb +0 -0
  312. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/struct.rb +0 -0
  313. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/symbol.rb +0 -0
  314. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/time.rb +0 -0
  315. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/common.rb +691 -0
  316. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext.rb +0 -0
  317. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext/.keep +0 -0
  318. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/generator.so +0 -0
  319. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/parser.so +0 -0
  320. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/generic_object.rb +0 -0
  321. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure.rb +0 -0
  322. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/generator.rb +1 -1
  323. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/parser.rb +2 -2
  324. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/version.rb +1 -1
  325. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/references/rfc7159.txt +0 -0
  326. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail10.json +0 -0
  327. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail11.json +0 -0
  328. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail12.json +0 -0
  329. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail13.json +0 -0
  330. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail14.json +0 -0
  331. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail18.json +0 -0
  332. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail19.json +0 -0
  333. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail2.json +0 -0
  334. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail20.json +0 -0
  335. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail21.json +0 -0
  336. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail22.json +0 -0
  337. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail23.json +0 -0
  338. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail24.json +0 -0
  339. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail25.json +0 -0
  340. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail27.json +0 -0
  341. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail28.json +0 -0
  342. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail3.json +0 -0
  343. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail4.json +0 -0
  344. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail5.json +0 -0
  345. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail6.json +0 -0
  346. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail7.json +0 -0
  347. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail8.json +0 -0
  348. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail9.json +0 -0
  349. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/obsolete_fail1.json +0 -0
  350. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass1.json +0 -0
  351. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass15.json +0 -0
  352. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass16.json +0 -0
  353. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass17.json +0 -0
  354. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass2.json +0 -0
  355. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass26.json +0 -0
  356. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass3.json +0 -0
  357. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_addition_test.rb +0 -0
  358. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_common_interface_test.rb +0 -0
  359. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_encoding_test.rb +0 -0
  360. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_ext_parser_test.rb +0 -0
  361. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_fixtures_test.rb +6 -1
  362. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generator_test.rb +0 -0
  363. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generic_object_test.rb +0 -0
  364. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_parser_test.rb +0 -0
  365. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_string_matching_test.rb +0 -0
  366. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/test_helper.rb +0 -0
  367. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/diff.sh +0 -0
  368. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/fuzz.rb +0 -0
  369. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/server.rb +0 -0
  370. data/vendor/bundle/ruby/2.6.0/specifications/{diff-lcs-1.3.gemspec → diff-lcs-1.4.4.gemspec} +11 -13
  371. data/vendor/bundle/ruby/2.6.0/specifications/{json-2.3.0.gemspec → json-2.3.1.gemspec} +0 -0
  372. data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
  373. metadata +276 -249
  374. data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.3.gem +0 -0
  375. data/vendor/bundle/ruby/2.6.0/cache/json-2.3.0.gem +0 -0
  376. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/generator.so +0 -0
  377. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/parser.so +0 -0
  378. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/Contributing.md +0 -83
  379. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/History.md +0 -220
  380. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
  381. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
  382. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
  383. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
  384. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
  385. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
  386. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
  387. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/LICENSE +0 -56
  388. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/VERSION +0 -1
  389. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/generator/generator.so +0 -0
  390. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/parser/parser.so +0 -0
  391. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/json.gemspec +0 -0
  392. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json.rb +0 -63
  393. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/common.rb +0 -456
  394. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/generator.so +0 -0
  395. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/parser.so +0 -0
@@ -51,6 +51,9 @@ module CloudsmithApi
51
51
  #
52
52
  attr_accessor :num_sent
53
53
 
54
+ # The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire.
55
+ attr_accessor :package_query
56
+
54
57
  # The format of the payloads for webhook requests.
55
58
  attr_accessor :request_body_format
56
59
 
@@ -109,6 +112,7 @@ module CloudsmithApi
109
112
  :'last_response_status' => :'last_response_status',
110
113
  :'last_response_status_str' => :'last_response_status_str',
111
114
  :'num_sent' => :'num_sent',
115
+ :'package_query' => :'package_query',
112
116
  :'request_body_format' => :'request_body_format',
113
117
  :'request_body_format_str' => :'request_body_format_str',
114
118
  :'request_body_template_format' => :'request_body_template_format',
@@ -141,6 +145,7 @@ module CloudsmithApi
141
145
  :'last_response_status' => :'Integer',
142
146
  :'last_response_status_str' => :'String',
143
147
  :'num_sent' => :'Integer',
148
+ :'package_query' => :'String',
144
149
  :'request_body_format' => :'String',
145
150
  :'request_body_format_str' => :'String',
146
151
  :'request_body_template_format' => :'String',
@@ -216,6 +221,10 @@ module CloudsmithApi
216
221
  self.num_sent = attributes[:'num_sent']
217
222
  end
218
223
 
224
+ if attributes.has_key?(:'package_query')
225
+ self.package_query = attributes[:'package_query']
226
+ end
227
+
219
228
  if attributes.has_key?(:'request_body_format')
220
229
  self.request_body_format = attributes[:'request_body_format']
221
230
  end
@@ -321,6 +330,7 @@ module CloudsmithApi
321
330
  last_response_status == o.last_response_status &&
322
331
  last_response_status_str == o.last_response_status_str &&
323
332
  num_sent == o.num_sent &&
333
+ package_query == o.package_query &&
324
334
  request_body_format == o.request_body_format &&
325
335
  request_body_format_str == o.request_body_format_str &&
326
336
  request_body_template_format == o.request_body_template_format &&
@@ -346,7 +356,7 @@ module CloudsmithApi
346
356
  # Calculates hash code according to all attributes.
347
357
  # @return [Fixnum] Hash code
348
358
  def hash
349
- [created_at, created_by, created_by_url, disable_reason, disable_reason_str, events, identifier, is_active, is_last_response_bad, last_response_status, last_response_status_str, num_sent, request_body_format, request_body_format_str, request_body_template_format, request_body_template_format_str, request_content_type, secret_header, self_url, slug_perm, target_url, templates, updated_at, updated_by, updated_by_url, verify_ssl].hash
359
+ [created_at, created_by, created_by_url, disable_reason, disable_reason_str, events, identifier, is_active, is_last_response_bad, last_response_status, last_response_status_str, num_sent, package_query, request_body_format, request_body_format_str, request_body_template_format, request_body_template_format_str, request_content_type, secret_header, self_url, slug_perm, target_url, templates, updated_at, updated_by, updated_by_url, verify_ssl].hash
350
360
  end
351
361
 
352
362
  # Builds the object from hash
@@ -14,22 +14,27 @@ require 'date'
14
14
 
15
15
  module CloudsmithApi
16
16
 
17
- class PackagesResync
18
- # If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.
19
- attr_accessor :republish
17
+ class StorageRegion
18
+ # Name of the storage region
19
+ attr_accessor :label
20
+
21
+ # Slug for the storage region
22
+ attr_accessor :slug
20
23
 
21
24
 
22
25
  # Attribute mapping from ruby-style variable name to JSON key.
23
26
  def self.attribute_map
24
27
  {
25
- :'republish' => :'republish'
28
+ :'label' => :'label',
29
+ :'slug' => :'slug'
26
30
  }
27
31
  end
28
32
 
29
33
  # Attribute type mapping.
30
34
  def self.swagger_types
31
35
  {
32
- :'republish' => :'BOOLEAN'
36
+ :'label' => :'String',
37
+ :'slug' => :'String'
33
38
  }
34
39
  end
35
40
 
@@ -41,8 +46,12 @@ module CloudsmithApi
41
46
  # convert string to symbol for hash key
42
47
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
43
48
 
44
- if attributes.has_key?(:'republish')
45
- self.republish = attributes[:'republish']
49
+ if attributes.has_key?(:'label')
50
+ self.label = attributes[:'label']
51
+ end
52
+
53
+ if attributes.has_key?(:'slug')
54
+ self.slug = attributes[:'slug']
46
55
  end
47
56
 
48
57
  end
@@ -51,12 +60,22 @@ module CloudsmithApi
51
60
  # @return Array for valid properies with the reasons
52
61
  def list_invalid_properties
53
62
  invalid_properties = Array.new
63
+ if @label.nil?
64
+ invalid_properties.push("invalid value for 'label', label cannot be nil.")
65
+ end
66
+
67
+ if @slug.nil?
68
+ invalid_properties.push("invalid value for 'slug', slug cannot be nil.")
69
+ end
70
+
54
71
  return invalid_properties
55
72
  end
56
73
 
57
74
  # Check to see if the all the properties in the model are valid
58
75
  # @return true if the model is valid
59
76
  def valid?
77
+ return false if @label.nil?
78
+ return false if @slug.nil?
60
79
  return true
61
80
  end
62
81
 
@@ -65,7 +84,8 @@ module CloudsmithApi
65
84
  def ==(o)
66
85
  return true if self.equal?(o)
67
86
  self.class == o.class &&
68
- republish == o.republish
87
+ label == o.label &&
88
+ slug == o.slug
69
89
  end
70
90
 
71
91
  # @see the `==` method
@@ -77,7 +97,7 @@ module CloudsmithApi
77
97
  # Calculates hash code according to all attributes.
78
98
  # @return [Fixnum] Hash code
79
99
  def hash
80
- [republish].hash
100
+ [label, slug].hash
81
101
  end
82
102
 
83
103
  # Builds the object from hash
@@ -165,6 +165,9 @@ module CloudsmithApi
165
165
  # Synchronisation progress (from 0-100)
166
166
  attr_accessor :sync_progress
167
167
 
168
+ # All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted.
169
+ attr_accessor :tags_immutable
170
+
168
171
  #
169
172
  attr_accessor :type_display
170
173
 
@@ -237,6 +240,7 @@ module CloudsmithApi
237
240
  :'summary' => :'summary',
238
241
  :'sync_finished_at' => :'sync_finished_at',
239
242
  :'sync_progress' => :'sync_progress',
243
+ :'tags_immutable' => :'tags_immutable',
240
244
  :'type_display' => :'type_display',
241
245
  :'uploaded_at' => :'uploaded_at',
242
246
  :'uploader' => :'uploader',
@@ -299,6 +303,7 @@ module CloudsmithApi
299
303
  :'summary' => :'String',
300
304
  :'sync_finished_at' => :'String',
301
305
  :'sync_progress' => :'Integer',
306
+ :'tags_immutable' => :'Object',
302
307
  :'type_display' => :'String',
303
308
  :'uploaded_at' => :'String',
304
309
  :'uploader' => :'String',
@@ -520,6 +525,10 @@ module CloudsmithApi
520
525
  self.sync_progress = attributes[:'sync_progress']
521
526
  end
522
527
 
528
+ if attributes.has_key?(:'tags_immutable')
529
+ self.tags_immutable = attributes[:'tags_immutable']
530
+ end
531
+
523
532
  if attributes.has_key?(:'type_display')
524
533
  self.type_display = attributes[:'type_display']
525
534
  end
@@ -629,6 +638,7 @@ module CloudsmithApi
629
638
  summary == o.summary &&
630
639
  sync_finished_at == o.sync_finished_at &&
631
640
  sync_progress == o.sync_progress &&
641
+ tags_immutable == o.tags_immutable &&
632
642
  type_display == o.type_display &&
633
643
  uploaded_at == o.uploaded_at &&
634
644
  uploader == o.uploader &&
@@ -646,7 +656,7 @@ module CloudsmithApi
646
656
  # Calculates hash code according to all attributes.
647
657
  # @return [Fixnum] Hash code
648
658
  def hash
649
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, 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, provider, release, repository, repository_url, self_html_url, self_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, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
659
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, 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, provider, release, repository, repository_url, self_html_url, self_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].hash
650
660
  end
651
661
 
652
662
  # Builds the object from hash
@@ -21,6 +21,9 @@ module CloudsmithApi
21
21
  # If enabled, the webhook will trigger on events and send payloads to the configured target URL.
22
22
  attr_accessor :is_active
23
23
 
24
+ # The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire.
25
+ attr_accessor :package_query
26
+
24
27
  # The format of the payloads for webhook requests.
25
28
  attr_accessor :request_body_format
26
29
 
@@ -54,6 +57,7 @@ module CloudsmithApi
54
57
  {
55
58
  :'events' => :'events',
56
59
  :'is_active' => :'is_active',
60
+ :'package_query' => :'package_query',
57
61
  :'request_body_format' => :'request_body_format',
58
62
  :'request_body_template_format' => :'request_body_template_format',
59
63
  :'request_content_type' => :'request_content_type',
@@ -71,6 +75,7 @@ module CloudsmithApi
71
75
  {
72
76
  :'events' => :'Array<String>',
73
77
  :'is_active' => :'BOOLEAN',
78
+ :'package_query' => :'String',
74
79
  :'request_body_format' => :'String',
75
80
  :'request_body_template_format' => :'String',
76
81
  :'request_content_type' => :'String',
@@ -101,6 +106,10 @@ module CloudsmithApi
101
106
  self.is_active = attributes[:'is_active']
102
107
  end
103
108
 
109
+ if attributes.has_key?(:'package_query')
110
+ self.package_query = attributes[:'package_query']
111
+ end
112
+
104
113
  if attributes.has_key?(:'request_body_format')
105
114
  self.request_body_format = attributes[:'request_body_format']
106
115
  end
@@ -176,6 +185,7 @@ module CloudsmithApi
176
185
  self.class == o.class &&
177
186
  events == o.events &&
178
187
  is_active == o.is_active &&
188
+ package_query == o.package_query &&
179
189
  request_body_format == o.request_body_format &&
180
190
  request_body_template_format == o.request_body_template_format &&
181
191
  request_content_type == o.request_content_type &&
@@ -196,7 +206,7 @@ module CloudsmithApi
196
206
  # Calculates hash code according to all attributes.
197
207
  # @return [Fixnum] Hash code
198
208
  def hash
199
- [events, is_active, request_body_format, request_body_template_format, request_content_type, secret_header, secret_value, signature_key, target_url, templates, verify_ssl].hash
209
+ [events, is_active, package_query, request_body_format, request_body_template_format, request_content_type, secret_header, secret_value, signature_key, target_url, templates, verify_ssl].hash
200
210
  end
201
211
 
202
212
  # Builds the object from hash
@@ -21,6 +21,9 @@ module CloudsmithApi
21
21
  # If enabled, the webhook will trigger on events and send payloads to the configured target URL.
22
22
  attr_accessor :is_active
23
23
 
24
+ # The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire.
25
+ attr_accessor :package_query
26
+
24
27
  # The format of the payloads for webhook requests.
25
28
  attr_accessor :request_body_format
26
29
 
@@ -54,6 +57,7 @@ module CloudsmithApi
54
57
  {
55
58
  :'events' => :'events',
56
59
  :'is_active' => :'is_active',
60
+ :'package_query' => :'package_query',
57
61
  :'request_body_format' => :'request_body_format',
58
62
  :'request_body_template_format' => :'request_body_template_format',
59
63
  :'request_content_type' => :'request_content_type',
@@ -71,6 +75,7 @@ module CloudsmithApi
71
75
  {
72
76
  :'events' => :'Array<String>',
73
77
  :'is_active' => :'BOOLEAN',
78
+ :'package_query' => :'String',
74
79
  :'request_body_format' => :'String',
75
80
  :'request_body_template_format' => :'String',
76
81
  :'request_content_type' => :'String',
@@ -101,6 +106,10 @@ module CloudsmithApi
101
106
  self.is_active = attributes[:'is_active']
102
107
  end
103
108
 
109
+ if attributes.has_key?(:'package_query')
110
+ self.package_query = attributes[:'package_query']
111
+ end
112
+
104
113
  if attributes.has_key?(:'request_body_format')
105
114
  self.request_body_format = attributes[:'request_body_format']
106
115
  end
@@ -161,6 +170,7 @@ module CloudsmithApi
161
170
  self.class == o.class &&
162
171
  events == o.events &&
163
172
  is_active == o.is_active &&
173
+ package_query == o.package_query &&
164
174
  request_body_format == o.request_body_format &&
165
175
  request_body_template_format == o.request_body_template_format &&
166
176
  request_content_type == o.request_content_type &&
@@ -181,7 +191,7 @@ module CloudsmithApi
181
191
  # Calculates hash code according to all attributes.
182
192
  # @return [Fixnum] Hash code
183
193
  def hash
184
- [events, is_active, request_body_format, request_body_template_format, request_content_type, secret_header, secret_value, signature_key, target_url, templates, verify_ssl].hash
194
+ [events, is_active, package_query, request_body_format, request_body_template_format, request_content_type, secret_header, secret_value, signature_key, target_url, templates, verify_ssl].hash
185
195
  end
186
196
 
187
197
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.2.3
11
11
  =end
12
12
 
13
13
  module CloudsmithApi
14
- VERSION = "0.51.34"
14
+ VERSION = "0.52.5"
15
15
  end
@@ -113,7 +113,6 @@ describe 'PackagesApi' do
113
113
  # @param repo
114
114
  # @param identifier
115
115
  # @param [Hash] opts the optional parameters
116
- # @option opts [PackagesResync] :data
117
116
  # @return [Package]
118
117
  describe 'packages_resync test' do
119
118
  it "should work" do
@@ -135,6 +134,21 @@ describe 'PackagesApi' do
135
134
  end
136
135
  end
137
136
 
137
+ # unit tests for packages_tag
138
+ # Add/Replace/Remove tags for a package.
139
+ # Add/Replace/Remove tags for a package.
140
+ # @param owner
141
+ # @param repo
142
+ # @param identifier
143
+ # @param [Hash] opts the optional parameters
144
+ # @option opts [PackagesTag] :data
145
+ # @return [Package]
146
+ describe 'packages_tag test' do
147
+ it "should work" do
148
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
149
+ end
150
+ end
151
+
138
152
  # unit tests for packages_upload_alpine
139
153
  # Create a new Alpine package
140
154
  # Create a new Alpine package
@@ -142,7 +156,7 @@ describe 'PackagesApi' do
142
156
  # @param repo
143
157
  # @param [Hash] opts the optional parameters
144
158
  # @option opts [PackagesUploadAlpine] :data
145
- # @return [Package]
159
+ # @return [AlpinePackageUpload]
146
160
  describe 'packages_upload_alpine test' do
147
161
  it "should work" do
148
162
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -156,7 +170,7 @@ describe 'PackagesApi' do
156
170
  # @param repo
157
171
  # @param [Hash] opts the optional parameters
158
172
  # @option opts [PackagesUploadCargo] :data
159
- # @return [Package]
173
+ # @return [AlpinePackageUpload]
160
174
  describe 'packages_upload_cargo test' do
161
175
  it "should work" do
162
176
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -170,7 +184,7 @@ describe 'PackagesApi' do
170
184
  # @param repo
171
185
  # @param [Hash] opts the optional parameters
172
186
  # @option opts [PackagesUploadCocoapods] :data
173
- # @return [Package]
187
+ # @return [AlpinePackageUpload]
174
188
  describe 'packages_upload_cocoapods test' do
175
189
  it "should work" do
176
190
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -184,7 +198,7 @@ describe 'PackagesApi' do
184
198
  # @param repo
185
199
  # @param [Hash] opts the optional parameters
186
200
  # @option opts [PackagesUploadComposer] :data
187
- # @return [Package]
201
+ # @return [AlpinePackageUpload]
188
202
  describe 'packages_upload_composer test' do
189
203
  it "should work" do
190
204
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -212,7 +226,7 @@ describe 'PackagesApi' do
212
226
  # @param repo
213
227
  # @param [Hash] opts the optional parameters
214
228
  # @option opts [PackagesUploadCran] :data
215
- # @return [Package]
229
+ # @return [AlpinePackageUpload]
216
230
  describe 'packages_upload_cran test' do
217
231
  it "should work" do
218
232
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -226,7 +240,7 @@ describe 'PackagesApi' do
226
240
  # @param repo
227
241
  # @param [Hash] opts the optional parameters
228
242
  # @option opts [PackagesUploadDart] :data
229
- # @return [Package]
243
+ # @return [AlpinePackageUpload]
230
244
  describe 'packages_upload_dart test' do
231
245
  it "should work" do
232
246
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -240,7 +254,7 @@ describe 'PackagesApi' do
240
254
  # @param repo
241
255
  # @param [Hash] opts the optional parameters
242
256
  # @option opts [PackagesUploadDeb] :data
243
- # @return [Package]
257
+ # @return [AlpinePackageUpload]
244
258
  describe 'packages_upload_deb test' do
245
259
  it "should work" do
246
260
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -254,7 +268,7 @@ describe 'PackagesApi' do
254
268
  # @param repo
255
269
  # @param [Hash] opts the optional parameters
256
270
  # @option opts [PackagesUploadDocker] :data
257
- # @return [Package]
271
+ # @return [AlpinePackageUpload]
258
272
  describe 'packages_upload_docker test' do
259
273
  it "should work" do
260
274
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -268,7 +282,7 @@ describe 'PackagesApi' do
268
282
  # @param repo
269
283
  # @param [Hash] opts the optional parameters
270
284
  # @option opts [PackagesUploadGo] :data
271
- # @return [Package]
285
+ # @return [AlpinePackageUpload]
272
286
  describe 'packages_upload_go test' do
273
287
  it "should work" do
274
288
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -282,7 +296,7 @@ describe 'PackagesApi' do
282
296
  # @param repo
283
297
  # @param [Hash] opts the optional parameters
284
298
  # @option opts [PackagesUploadHelm] :data
285
- # @return [Package]
299
+ # @return [AlpinePackageUpload]
286
300
  describe 'packages_upload_helm test' do
287
301
  it "should work" do
288
302
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -296,7 +310,7 @@ describe 'PackagesApi' do
296
310
  # @param repo
297
311
  # @param [Hash] opts the optional parameters
298
312
  # @option opts [PackagesUploadLuarocks] :data
299
- # @return [Package]
313
+ # @return [AlpinePackageUpload]
300
314
  describe 'packages_upload_luarocks test' do
301
315
  it "should work" do
302
316
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -324,7 +338,7 @@ describe 'PackagesApi' do
324
338
  # @param repo
325
339
  # @param [Hash] opts the optional parameters
326
340
  # @option opts [PackagesUploadNpm] :data
327
- # @return [Package]
341
+ # @return [AlpinePackageUpload]
328
342
  describe 'packages_upload_npm test' do
329
343
  it "should work" do
330
344
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -338,7 +352,7 @@ describe 'PackagesApi' do
338
352
  # @param repo
339
353
  # @param [Hash] opts the optional parameters
340
354
  # @option opts [PackagesUploadNuget] :data
341
- # @return [Package]
355
+ # @return [AlpinePackageUpload]
342
356
  describe 'packages_upload_nuget test' do
343
357
  it "should work" do
344
358
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -352,7 +366,7 @@ describe 'PackagesApi' do
352
366
  # @param repo
353
367
  # @param [Hash] opts the optional parameters
354
368
  # @option opts [PackagesUploadPython] :data
355
- # @return [Package]
369
+ # @return [AlpinePackageUpload]
356
370
  describe 'packages_upload_python test' do
357
371
  it "should work" do
358
372
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -380,7 +394,7 @@ describe 'PackagesApi' do
380
394
  # @param repo
381
395
  # @param [Hash] opts the optional parameters
382
396
  # @option opts [PackagesUploadRpm] :data
383
- # @return [Package]
397
+ # @return [AlpinePackageUpload]
384
398
  describe 'packages_upload_rpm test' do
385
399
  it "should work" do
386
400
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -394,13 +408,27 @@ describe 'PackagesApi' do
394
408
  # @param repo
395
409
  # @param [Hash] opts the optional parameters
396
410
  # @option opts [PackagesUploadRuby] :data
397
- # @return [Package]
411
+ # @return [AlpinePackageUpload]
398
412
  describe 'packages_upload_ruby test' do
399
413
  it "should work" do
400
414
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
401
415
  end
402
416
  end
403
417
 
418
+ # unit tests for packages_upload_terraform
419
+ # Create a new Terraform package
420
+ # Create a new Terraform package
421
+ # @param owner
422
+ # @param repo
423
+ # @param [Hash] opts the optional parameters
424
+ # @option opts [PackagesUploadTerraform] :data
425
+ # @return [AlpinePackageUpload]
426
+ describe 'packages_upload_terraform test' do
427
+ it "should work" do
428
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
429
+ end
430
+ end
431
+
404
432
  # unit tests for packages_upload_vagrant
405
433
  # Create a new Vagrant package
406
434
  # Create a new Vagrant package
@@ -681,6 +709,20 @@ describe 'PackagesApi' do
681
709
  end
682
710
  end
683
711
 
712
+ # unit tests for packages_validate_upload_terraform
713
+ # Validate parameters for create Terraform package
714
+ # Validate parameters for create Terraform package
715
+ # @param owner
716
+ # @param repo
717
+ # @param [Hash] opts the optional parameters
718
+ # @option opts [PackagesValidateuploadTerraform] :data
719
+ # @return [nil]
720
+ describe 'packages_validate_upload_terraform test' do
721
+ it "should work" do
722
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
723
+ end
724
+ end
725
+
684
726
  # unit tests for packages_validate_upload_vagrant
685
727
  # Validate parameters for create Vagrant package
686
728
  # Validate parameters for create Vagrant package