cloudsmith-api 1.30.0 → 1.33.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (367) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +5 -4
  4. data/README.md +22 -21
  5. data/build.json +1 -1
  6. data/cloudsmith-api.gemspec +5 -4
  7. data/docs/BadgesApi.md +18 -17
  8. data/docs/DistrosApi.md +1 -1
  9. data/docs/EntitlementsApi.md +27 -27
  10. data/docs/FilesApi.md +13 -13
  11. data/docs/FormatsApi.md +1 -1
  12. data/docs/MetricsApi.md +14 -14
  13. data/docs/NamespacesApi.md +1 -1
  14. data/docs/OrgsApi.md +6 -6
  15. data/docs/PackagesApi.md +123 -123
  16. data/docs/QuotaApi.md +4 -4
  17. data/docs/ReposApi.md +8 -8
  18. data/docs/StorageRegionsApi.md +112 -0
  19. data/docs/StorageregionsApi.md +8 -8
  20. data/docs/UsersApi.md +1 -1
  21. data/docs/VulnerabilitiesApi.md +10 -10
  22. data/docs/WebhooksApi.md +13 -13
  23. data/git_push.sh +1 -1
  24. data/lib/cloudsmith-api/api/badges_api.rb +10 -10
  25. data/lib/cloudsmith-api/api/distros_api.rb +8 -10
  26. data/lib/cloudsmith-api/api/entitlements_api.rb +32 -42
  27. data/lib/cloudsmith-api/api/files_api.rb +17 -22
  28. data/lib/cloudsmith-api/api/formats_api.rb +8 -10
  29. data/lib/cloudsmith-api/api/metrics_api.rb +11 -14
  30. data/lib/cloudsmith-api/api/namespaces_api.rb +8 -10
  31. data/lib/cloudsmith-api/api/orgs_api.rb +17 -22
  32. data/lib/cloudsmith-api/api/packages_api.rb +170 -226
  33. data/lib/cloudsmith-api/api/quota_api.rb +14 -18
  34. data/lib/cloudsmith-api/api/rates_api.rb +5 -6
  35. data/lib/cloudsmith-api/api/repos_api.rb +20 -26
  36. data/lib/cloudsmith-api/api/status_api.rb +5 -6
  37. data/lib/cloudsmith-api/api/{storageregions_api.rb → storage_regions_api.rb} +12 -14
  38. data/lib/cloudsmith-api/api/user_api.rb +8 -10
  39. data/lib/cloudsmith-api/api/users_api.rb +5 -6
  40. data/lib/cloudsmith-api/api/vulnerabilities_api.rb +14 -18
  41. data/lib/cloudsmith-api/api/webhooks_api.rb +17 -22
  42. data/lib/cloudsmith-api/api_client.rb +15 -13
  43. data/lib/cloudsmith-api/api_error.rb +1 -1
  44. data/lib/cloudsmith-api/configuration.rb +4 -4
  45. data/lib/cloudsmith-api/models/alpine_package_upload.rb +8 -12
  46. data/lib/cloudsmith-api/models/conan_package_upload.rb +8 -12
  47. data/lib/cloudsmith-api/models/distribution.rb +9 -13
  48. data/lib/cloudsmith-api/models/distros_versions.rb +8 -12
  49. data/lib/cloudsmith-api/models/entitlement_usage_metrics.rb +9 -13
  50. data/lib/cloudsmith-api/models/entitlements_create.rb +9 -13
  51. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +8 -12
  52. data/lib/cloudsmith-api/models/entitlements_refresh.rb +8 -12
  53. data/lib/cloudsmith-api/models/entitlements_sync.rb +9 -13
  54. data/lib/cloudsmith-api/models/files_abort.rb +9 -13
  55. data/lib/cloudsmith-api/models/files_complete.rb +9 -13
  56. data/lib/cloudsmith-api/models/files_create.rb +9 -13
  57. data/lib/cloudsmith-api/models/files_validate.rb +9 -13
  58. data/lib/cloudsmith-api/models/format.rb +14 -18
  59. data/lib/cloudsmith-api/models/formats_distributions.rb +8 -12
  60. data/lib/cloudsmith-api/models/maven_package_upload.rb +8 -12
  61. data/lib/cloudsmith-api/models/namespace.rb +8 -12
  62. data/lib/cloudsmith-api/models/organization.rb +8 -12
  63. data/lib/cloudsmith-api/models/organization_membership.rb +8 -12
  64. data/lib/cloudsmith-api/models/package.rb +8 -12
  65. data/lib/cloudsmith-api/models/package_copy.rb +8 -12
  66. data/lib/cloudsmith-api/models/package_dependencies.rb +9 -13
  67. data/lib/cloudsmith-api/models/package_dependencies_dependencies.rb +8 -12
  68. data/lib/cloudsmith-api/models/package_file_parts_upload.rb +8 -12
  69. data/lib/cloudsmith-api/models/package_file_upload.rb +8 -12
  70. data/lib/cloudsmith-api/models/package_move.rb +8 -12
  71. data/lib/cloudsmith-api/models/package_status.rb +8 -12
  72. data/lib/cloudsmith-api/models/package_usage_metrics.rb +9 -13
  73. data/lib/cloudsmith-api/models/packages_copy.rb +9 -13
  74. data/lib/cloudsmith-api/models/packages_move.rb +9 -13
  75. data/lib/cloudsmith-api/models/packages_tag.rb +8 -12
  76. data/lib/cloudsmith-api/models/packages_upload_alpine.rb +10 -14
  77. data/lib/cloudsmith-api/models/packages_upload_cargo.rb +9 -13
  78. data/lib/cloudsmith-api/models/packages_upload_cocoapods.rb +9 -13
  79. data/lib/cloudsmith-api/models/packages_upload_composer.rb +9 -13
  80. data/lib/cloudsmith-api/models/packages_upload_conan.rb +12 -16
  81. data/lib/cloudsmith-api/models/packages_upload_conda.rb +9 -13
  82. data/lib/cloudsmith-api/models/packages_upload_cran.rb +9 -13
  83. data/lib/cloudsmith-api/models/packages_upload_dart.rb +9 -13
  84. data/lib/cloudsmith-api/models/packages_upload_deb.rb +10 -14
  85. data/lib/cloudsmith-api/models/packages_upload_docker.rb +9 -13
  86. data/lib/cloudsmith-api/models/packages_upload_go.rb +9 -13
  87. data/lib/cloudsmith-api/models/packages_upload_helm.rb +9 -13
  88. data/lib/cloudsmith-api/models/packages_upload_luarocks.rb +9 -13
  89. data/lib/cloudsmith-api/models/packages_upload_maven.rb +9 -13
  90. data/lib/cloudsmith-api/models/packages_upload_npm.rb +9 -13
  91. data/lib/cloudsmith-api/models/packages_upload_nuget.rb +9 -13
  92. data/lib/cloudsmith-api/models/packages_upload_p2.rb +9 -13
  93. data/lib/cloudsmith-api/models/packages_upload_python.rb +9 -13
  94. data/lib/cloudsmith-api/models/packages_upload_raw.rb +9 -13
  95. data/lib/cloudsmith-api/models/packages_upload_rpm.rb +10 -14
  96. data/lib/cloudsmith-api/models/packages_upload_ruby.rb +9 -13
  97. data/lib/cloudsmith-api/models/packages_upload_terraform.rb +9 -13
  98. data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +12 -16
  99. data/lib/cloudsmith-api/models/packages_validateupload_alpine.rb +10 -14
  100. data/lib/cloudsmith-api/models/packages_validateupload_cargo.rb +9 -13
  101. data/lib/cloudsmith-api/models/packages_validateupload_cocoapods.rb +9 -13
  102. data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +9 -13
  103. data/lib/cloudsmith-api/models/packages_validateupload_conan.rb +12 -16
  104. data/lib/cloudsmith-api/models/packages_validateupload_conda.rb +9 -13
  105. data/lib/cloudsmith-api/models/packages_validateupload_cran.rb +9 -13
  106. data/lib/cloudsmith-api/models/packages_validateupload_dart.rb +9 -13
  107. data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +10 -14
  108. data/lib/cloudsmith-api/models/packages_validateupload_docker.rb +9 -13
  109. data/lib/cloudsmith-api/models/packages_validateupload_go.rb +9 -13
  110. data/lib/cloudsmith-api/models/packages_validateupload_helm.rb +9 -13
  111. data/lib/cloudsmith-api/models/packages_validateupload_luarocks.rb +9 -13
  112. data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +9 -13
  113. data/lib/cloudsmith-api/models/packages_validateupload_npm.rb +9 -13
  114. data/lib/cloudsmith-api/models/packages_validateupload_nuget.rb +9 -13
  115. data/lib/cloudsmith-api/models/packages_validateupload_p2.rb +9 -13
  116. data/lib/cloudsmith-api/models/packages_validateupload_python.rb +9 -13
  117. data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +9 -13
  118. data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +10 -14
  119. data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +9 -13
  120. data/lib/cloudsmith-api/models/packages_validateupload_terraform.rb +9 -13
  121. data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +12 -16
  122. data/lib/cloudsmith-api/models/packagesownerrepo_architectures.rb +8 -12
  123. data/lib/cloudsmith-api/models/packagesownerrepo_files.rb +8 -12
  124. data/lib/cloudsmith-api/models/quota.rb +9 -13
  125. data/lib/cloudsmith-api/models/quota_history.rb +9 -13
  126. data/lib/cloudsmith-api/models/quota_history_history.rb +8 -12
  127. data/lib/cloudsmith-api/models/raw_package_upload.rb +8 -12
  128. data/lib/cloudsmith-api/models/repos_create.rb +9 -13
  129. data/lib/cloudsmith-api/models/repos_gpg_keys.rb +8 -12
  130. data/lib/cloudsmith-api/models/repos_partial_update.rb +8 -12
  131. data/lib/cloudsmith-api/models/repository.rb +9 -13
  132. data/lib/cloudsmith-api/models/repository_token.rb +9 -13
  133. data/lib/cloudsmith-api/models/repository_token_refresh.rb +8 -12
  134. data/lib/cloudsmith-api/models/repository_token_sync.rb +8 -12
  135. data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +8 -12
  136. data/lib/cloudsmith-api/models/repository_webhook.rb +11 -15
  137. data/lib/cloudsmith-api/models/resources_rate_check.rb +8 -12
  138. data/lib/cloudsmith-api/models/status.rb +9 -13
  139. data/lib/cloudsmith-api/models/status_basic.rb +8 -12
  140. data/lib/cloudsmith-api/models/storage_region.rb +10 -14
  141. data/lib/cloudsmith-api/models/user_auth_token.rb +8 -12
  142. data/lib/cloudsmith-api/models/user_brief.rb +8 -12
  143. data/lib/cloudsmith-api/models/user_profile.rb +10 -14
  144. data/lib/cloudsmith-api/models/user_token_create.rb +8 -12
  145. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +11 -15
  146. data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +12 -16
  147. data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +11 -15
  148. data/lib/cloudsmith-api/models/webhooks_create.rb +11 -15
  149. data/lib/cloudsmith-api/models/webhooks_partial_update.rb +8 -12
  150. data/lib/cloudsmith-api/models/webhooksownerrepo_templates.rb +8 -12
  151. data/lib/cloudsmith-api/version.rb +2 -2
  152. data/lib/cloudsmith-api.rb +2 -2
  153. data/spec/api/badges_api_spec.rb +3 -3
  154. data/spec/api/distros_api_spec.rb +3 -3
  155. data/spec/api/entitlements_api_spec.rb +11 -11
  156. data/spec/api/files_api_spec.rb +6 -6
  157. data/spec/api/formats_api_spec.rb +3 -3
  158. data/spec/api/metrics_api_spec.rb +4 -4
  159. data/spec/api/namespaces_api_spec.rb +3 -3
  160. data/spec/api/orgs_api_spec.rb +6 -6
  161. data/spec/api/packages_api_spec.rb +57 -57
  162. data/spec/api/quota_api_spec.rb +5 -5
  163. data/spec/api/rates_api_spec.rb +2 -2
  164. data/spec/api/repos_api_spec.rb +7 -7
  165. data/spec/api/status_api_spec.rb +2 -2
  166. data/spec/api/{storageregions_api_spec.rb → storage_regions_api_spec.rb} +9 -9
  167. data/spec/api/user_api_spec.rb +3 -3
  168. data/spec/api/users_api_spec.rb +2 -2
  169. data/spec/api/vulnerabilities_api_spec.rb +5 -5
  170. data/spec/api/webhooks_api_spec.rb +6 -6
  171. data/spec/api_client_spec.rb +52 -35
  172. data/spec/configuration_spec.rb +9 -9
  173. data/spec/models/alpine_package_upload_spec.rb +65 -66
  174. data/spec/models/conan_package_upload_spec.rb +67 -68
  175. data/spec/models/distribution_spec.rb +8 -9
  176. data/spec/models/distros_versions_spec.rb +3 -4
  177. data/spec/models/entitlement_usage_metrics_spec.rb +2 -3
  178. data/spec/models/entitlements_create_spec.rb +16 -17
  179. data/spec/models/entitlements_partial_update_spec.rb +16 -17
  180. data/spec/models/entitlements_refresh_spec.rb +15 -16
  181. data/spec/models/entitlements_sync_spec.rb +2 -3
  182. data/spec/models/files_abort_spec.rb +5 -6
  183. data/spec/models/files_complete_spec.rb +5 -6
  184. data/spec/models/files_create_spec.rb +5 -6
  185. data/spec/models/files_validate_spec.rb +5 -6
  186. data/spec/models/format_spec.rb +10 -11
  187. data/spec/models/formats_distributions_spec.rb +5 -6
  188. data/spec/models/maven_package_upload_spec.rb +68 -69
  189. data/spec/models/namespace_spec.rb +5 -6
  190. data/spec/models/organization_membership_spec.rb +11 -12
  191. data/spec/models/organization_spec.rb +8 -9
  192. data/spec/models/package_copy_spec.rb +66 -67
  193. data/spec/models/package_dependencies_dependencies_spec.rb +5 -6
  194. data/spec/models/package_dependencies_spec.rb +2 -3
  195. data/spec/models/package_file_parts_upload_spec.rb +4 -5
  196. data/spec/models/package_file_upload_spec.rb +6 -7
  197. data/spec/models/package_move_spec.rb +66 -67
  198. data/spec/models/package_spec.rb +66 -67
  199. data/spec/models/package_status_spec.rb +16 -17
  200. data/spec/models/package_usage_metrics_spec.rb +2 -3
  201. data/spec/models/packages_copy_spec.rb +3 -4
  202. data/spec/models/packages_move_spec.rb +2 -3
  203. data/spec/models/packages_tag_spec.rb +4 -5
  204. data/spec/models/packages_upload_alpine_spec.rb +5 -6
  205. data/spec/models/packages_upload_cargo_spec.rb +4 -5
  206. data/spec/models/packages_upload_cocoapods_spec.rb +4 -5
  207. data/spec/models/packages_upload_composer_spec.rb +4 -5
  208. data/spec/models/packages_upload_conan_spec.rb +11 -12
  209. data/spec/models/packages_upload_conda_spec.rb +4 -5
  210. data/spec/models/packages_upload_cran_spec.rb +4 -5
  211. data/spec/models/packages_upload_dart_spec.rb +4 -5
  212. data/spec/models/packages_upload_deb_spec.rb +7 -8
  213. data/spec/models/packages_upload_docker_spec.rb +4 -5
  214. data/spec/models/packages_upload_go_spec.rb +4 -5
  215. data/spec/models/packages_upload_helm_spec.rb +4 -5
  216. data/spec/models/packages_upload_luarocks_spec.rb +4 -5
  217. data/spec/models/packages_upload_maven_spec.rb +12 -13
  218. data/spec/models/packages_upload_npm_spec.rb +5 -6
  219. data/spec/models/packages_upload_nuget_spec.rb +5 -6
  220. data/spec/models/packages_upload_p2_spec.rb +4 -5
  221. data/spec/models/packages_upload_python_spec.rb +4 -5
  222. data/spec/models/packages_upload_raw_spec.rb +9 -10
  223. data/spec/models/packages_upload_rpm_spec.rb +5 -6
  224. data/spec/models/packages_upload_ruby_spec.rb +4 -5
  225. data/spec/models/packages_upload_terraform_spec.rb +4 -5
  226. data/spec/models/packages_upload_vagrant_spec.rb +7 -8
  227. data/spec/models/packages_validateupload_alpine_spec.rb +5 -6
  228. data/spec/models/packages_validateupload_cargo_spec.rb +4 -5
  229. data/spec/models/packages_validateupload_cocoapods_spec.rb +4 -5
  230. data/spec/models/packages_validateupload_composer_spec.rb +4 -5
  231. data/spec/models/packages_validateupload_conan_spec.rb +11 -12
  232. data/spec/models/packages_validateupload_conda_spec.rb +4 -5
  233. data/spec/models/packages_validateupload_cran_spec.rb +4 -5
  234. data/spec/models/packages_validateupload_dart_spec.rb +4 -5
  235. data/spec/models/packages_validateupload_deb_spec.rb +7 -8
  236. data/spec/models/packages_validateupload_docker_spec.rb +4 -5
  237. data/spec/models/packages_validateupload_go_spec.rb +4 -5
  238. data/spec/models/packages_validateupload_helm_spec.rb +4 -5
  239. data/spec/models/packages_validateupload_luarocks_spec.rb +4 -5
  240. data/spec/models/packages_validateupload_maven_spec.rb +12 -13
  241. data/spec/models/packages_validateupload_npm_spec.rb +5 -6
  242. data/spec/models/packages_validateupload_nuget_spec.rb +5 -6
  243. data/spec/models/packages_validateupload_p2_spec.rb +4 -5
  244. data/spec/models/packages_validateupload_python_spec.rb +4 -5
  245. data/spec/models/packages_validateupload_raw_spec.rb +9 -10
  246. data/spec/models/packages_validateupload_rpm_spec.rb +5 -6
  247. data/spec/models/packages_validateupload_ruby_spec.rb +4 -5
  248. data/spec/models/packages_validateupload_terraform_spec.rb +4 -5
  249. data/spec/models/packages_validateupload_vagrant_spec.rb +7 -8
  250. data/spec/models/packagesownerrepo_architectures_spec.rb +3 -4
  251. data/spec/models/packagesownerrepo_files_spec.rb +15 -16
  252. data/spec/models/quota_history_history_spec.rb +7 -8
  253. data/spec/models/quota_history_spec.rb +2 -3
  254. data/spec/models/quota_spec.rb +2 -3
  255. data/spec/models/raw_package_upload_spec.rb +65 -66
  256. data/spec/models/repos_create_spec.rb +7 -8
  257. data/spec/models/repos_gpg_keys_spec.rb +8 -9
  258. data/spec/models/repos_partial_update_spec.rb +6 -7
  259. data/spec/models/repository_spec.rb +25 -26
  260. data/spec/models/repository_token_refresh_spec.rb +40 -41
  261. data/spec/models/repository_token_spec.rb +40 -41
  262. data/spec/models/repository_token_sync_spec.rb +2 -3
  263. data/spec/models/repository_token_sync_tokens_spec.rb +40 -41
  264. data/spec/models/repository_webhook_spec.rb +28 -29
  265. data/spec/models/resources_rate_check_spec.rb +2 -3
  266. data/spec/models/status_basic_spec.rb +3 -4
  267. data/spec/models/status_spec.rb +2 -3
  268. data/spec/models/storage_region_spec.rb +3 -4
  269. data/spec/models/user_auth_token_spec.rb +2 -3
  270. data/spec/models/user_brief_spec.rb +8 -9
  271. data/spec/models/user_profile_spec.rb +11 -12
  272. data/spec/models/user_token_create_spec.rb +3 -4
  273. data/spec/models/vagrant_package_upload_spec.rb +66 -67
  274. data/spec/models/vulnerability_scan_results_list_spec.rb +8 -9
  275. data/spec/models/vulnerability_scan_results_spec.rb +9 -10
  276. data/spec/models/webhooks_create_spec.rb +13 -14
  277. data/spec/models/webhooks_partial_update_spec.rb +13 -14
  278. data/spec/models/webhooksownerrepo_templates_spec.rb +3 -4
  279. data/spec/spec_helper.rb +1 -1
  280. data/vendor/bundle/ruby/2.6.0/cache/rake-12.3.3.gem +0 -0
  281. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +1 -1
  282. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
  283. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/gem_make.out +1 -1
  284. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/mkmf.log +1 -1
  285. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  286. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/Makefile +2 -2
  287. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/generator/Makefile +2 -2
  288. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/parser/Makefile +2 -2
  289. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/CONTRIBUTING.rdoc +11 -4
  290. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/Gemfile +0 -0
  291. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/History.rdoc +107 -10
  292. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/MIT-LICENSE +0 -0
  293. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/README.rdoc +7 -7
  294. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/Rakefile +7 -4
  295. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/azure-pipelines.yml +11 -0
  296. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/bundle +105 -0
  297. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/bin/console +0 -0
  298. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rake +29 -0
  299. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rdoc +29 -0
  300. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rubocop +29 -0
  301. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/bin/setup +0 -0
  302. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/command_line_usage.rdoc +0 -0
  303. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/example/Rakefile1 +0 -0
  304. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/example/Rakefile2 +0 -0
  305. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/example/a.c +0 -0
  306. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/example/b.c +0 -0
  307. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/example/main.c +0 -0
  308. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/glossary.rdoc +0 -0
  309. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/jamis.rb +1 -0
  310. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/proto_rake.rdoc +0 -0
  311. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/rake.1 +0 -0
  312. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/rakefile.rdoc +1 -1
  313. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/rational.rdoc +0 -0
  314. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/exe/rake +0 -0
  315. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/application.rb +54 -15
  316. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/backtrace.rb +1 -0
  317. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/clean.rb +1 -0
  318. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/cloneable.rb +1 -0
  319. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/cpu_counter.rb +2 -1
  320. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/default_loader.rb +1 -0
  321. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/dsl_definition.rb +4 -3
  322. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/early_time.rb +1 -0
  323. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/ext/core.rb +1 -0
  324. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/ext/string.rb +2 -1
  325. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/file_creation_task.rb +2 -1
  326. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/file_list.rb +5 -4
  327. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/file_task.rb +11 -3
  328. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/file_utils.rb +4 -3
  329. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/file_utils_ext.rb +1 -0
  330. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/invocation_chain.rb +1 -0
  331. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/invocation_exception_mixin.rb +1 -0
  332. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/late_time.rb +1 -0
  333. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/linked_list.rb +1 -0
  334. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/loaders/makefile.rb +1 -0
  335. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/multi_task.rb +14 -0
  336. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/name_space.rb +1 -0
  337. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/packagetask.rb +3 -6
  338. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/phony.rb +1 -0
  339. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/private_reader.rb +1 -0
  340. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/promise.rb +3 -2
  341. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/pseudo_status.rb +1 -0
  342. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/rake_module.rb +29 -0
  343. data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +27 -0
  344. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/rule_recursion_overflow_error.rb +1 -0
  345. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/scope.rb +2 -1
  346. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/task.rb +37 -14
  347. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/task_argument_error.rb +1 -0
  348. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/task_arguments.rb +1 -0
  349. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/task_manager.rb +28 -7
  350. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/tasklib.rb +1 -0
  351. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/testtask.rb +2 -0
  352. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/thread_history_display.rb +1 -0
  353. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/thread_pool.rb +1 -0
  354. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/trace_output.rb +1 -0
  355. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/version.rb +2 -1
  356. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/win32.rb +1 -0
  357. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake.rb +1 -0
  358. data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/rake.gemspec +6 -3
  359. data/vendor/bundle/ruby/2.6.0/specifications/{rake-12.0.0.gemspec → rake-12.3.3.gemspec} +10 -4
  360. metadata +98 -76
  361. data/vendor/bundle/ruby/2.6.0/cache/rake-12.0.0.gem +0 -0
  362. data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/.gitignore +0 -14
  363. data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/.rubocop.yml +0 -57
  364. data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/.travis.yml +0 -21
  365. data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/appveyor.yml +0 -21
  366. data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/multi_task.rb +0 -49
  367. data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/rake_test_loader.rb +0 -21
@@ -6,11 +6,11 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.2.3
9
+ Swagger Codegen version: 2.4.26
10
10
 
11
11
  =end
12
12
 
13
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module CloudsmithApi
16
16
  class EntitlementsApi
@@ -19,7 +19,6 @@ module CloudsmithApi
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # Create a specific entitlement in a repository.
24
23
  # Create a specific entitlement in a repository.
25
24
  # @param owner
@@ -30,7 +29,7 @@ module CloudsmithApi
30
29
  # @return [RepositoryToken]
31
30
  def entitlements_create(owner, repo, opts = {})
32
31
  data, _status_code, _headers = entitlements_create_with_http_info(owner, repo, opts)
33
- return data
32
+ data
34
33
  end
35
34
 
36
35
  # Create a specific entitlement in a repository.
@@ -43,7 +42,7 @@ module CloudsmithApi
43
42
  # @return [Array<(RepositoryToken, Fixnum, Hash)>] RepositoryToken data, response status code and response headers
44
43
  def entitlements_create_with_http_info(owner, repo, opts = {})
45
44
  if @api_client.config.debugging
46
- @api_client.config.logger.debug "Calling API: EntitlementsApi.entitlements_create ..."
45
+ @api_client.config.logger.debug 'Calling API: EntitlementsApi.entitlements_create ...'
47
46
  end
48
47
  # verify the required parameter 'owner' is set
49
48
  if @api_client.config.client_side_validation && owner.nil?
@@ -54,7 +53,7 @@ module CloudsmithApi
54
53
  fail ArgumentError, "Missing the required parameter 'repo' when calling EntitlementsApi.entitlements_create"
55
54
  end
56
55
  # resource path
57
- local_var_path = "/entitlements/{owner}/{repo}/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
56
+ local_var_path = '/entitlements/{owner}/{repo}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
58
57
 
59
58
  # query parameters
60
59
  query_params = {}
@@ -83,7 +82,6 @@ module CloudsmithApi
83
82
  end
84
83
  return data, status_code, headers
85
84
  end
86
-
87
85
  # Delete a specific entitlement in a repository.
88
86
  # Delete a specific entitlement in a repository.
89
87
  # @param owner
@@ -93,7 +91,7 @@ module CloudsmithApi
93
91
  # @return [nil]
94
92
  def entitlements_delete(owner, repo, identifier, opts = {})
95
93
  entitlements_delete_with_http_info(owner, repo, identifier, opts)
96
- return nil
94
+ nil
97
95
  end
98
96
 
99
97
  # Delete a specific entitlement in a repository.
@@ -105,7 +103,7 @@ module CloudsmithApi
105
103
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
106
104
  def entitlements_delete_with_http_info(owner, repo, identifier, opts = {})
107
105
  if @api_client.config.debugging
108
- @api_client.config.logger.debug "Calling API: EntitlementsApi.entitlements_delete ..."
106
+ @api_client.config.logger.debug 'Calling API: EntitlementsApi.entitlements_delete ...'
109
107
  end
110
108
  # verify the required parameter 'owner' is set
111
109
  if @api_client.config.client_side_validation && owner.nil?
@@ -120,7 +118,7 @@ module CloudsmithApi
120
118
  fail ArgumentError, "Missing the required parameter 'identifier' when calling EntitlementsApi.entitlements_delete"
121
119
  end
122
120
  # resource path
123
- local_var_path = "/entitlements/{owner}/{repo}/{identifier}/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
121
+ local_var_path = '/entitlements/{owner}/{repo}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
124
122
 
125
123
  # query parameters
126
124
  query_params = {}
@@ -145,7 +143,6 @@ module CloudsmithApi
145
143
  end
146
144
  return data, status_code, headers
147
145
  end
148
-
149
146
  # Disable an entitlement token in a repository.
150
147
  # Disable an entitlement token in a repository.
151
148
  # @param owner
@@ -155,7 +152,7 @@ module CloudsmithApi
155
152
  # @return [nil]
156
153
  def entitlements_disable(owner, repo, identifier, opts = {})
157
154
  entitlements_disable_with_http_info(owner, repo, identifier, opts)
158
- return nil
155
+ nil
159
156
  end
160
157
 
161
158
  # Disable an entitlement token in a repository.
@@ -167,7 +164,7 @@ module CloudsmithApi
167
164
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
168
165
  def entitlements_disable_with_http_info(owner, repo, identifier, opts = {})
169
166
  if @api_client.config.debugging
170
- @api_client.config.logger.debug "Calling API: EntitlementsApi.entitlements_disable ..."
167
+ @api_client.config.logger.debug 'Calling API: EntitlementsApi.entitlements_disable ...'
171
168
  end
172
169
  # verify the required parameter 'owner' is set
173
170
  if @api_client.config.client_side_validation && owner.nil?
@@ -182,7 +179,7 @@ module CloudsmithApi
182
179
  fail ArgumentError, "Missing the required parameter 'identifier' when calling EntitlementsApi.entitlements_disable"
183
180
  end
184
181
  # resource path
185
- local_var_path = "/entitlements/{owner}/{repo}/{identifier}/disable/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
182
+ local_var_path = '/entitlements/{owner}/{repo}/{identifier}/disable/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
186
183
 
187
184
  # query parameters
188
185
  query_params = {}
@@ -207,7 +204,6 @@ module CloudsmithApi
207
204
  end
208
205
  return data, status_code, headers
209
206
  end
210
-
211
207
  # Enable an entitlement token in a repository.
212
208
  # Enable an entitlement token in a repository.
213
209
  # @param owner
@@ -217,7 +213,7 @@ module CloudsmithApi
217
213
  # @return [nil]
218
214
  def entitlements_enable(owner, repo, identifier, opts = {})
219
215
  entitlements_enable_with_http_info(owner, repo, identifier, opts)
220
- return nil
216
+ nil
221
217
  end
222
218
 
223
219
  # Enable an entitlement token in a repository.
@@ -229,7 +225,7 @@ module CloudsmithApi
229
225
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
230
226
  def entitlements_enable_with_http_info(owner, repo, identifier, opts = {})
231
227
  if @api_client.config.debugging
232
- @api_client.config.logger.debug "Calling API: EntitlementsApi.entitlements_enable ..."
228
+ @api_client.config.logger.debug 'Calling API: EntitlementsApi.entitlements_enable ...'
233
229
  end
234
230
  # verify the required parameter 'owner' is set
235
231
  if @api_client.config.client_side_validation && owner.nil?
@@ -244,7 +240,7 @@ module CloudsmithApi
244
240
  fail ArgumentError, "Missing the required parameter 'identifier' when calling EntitlementsApi.entitlements_enable"
245
241
  end
246
242
  # resource path
247
- local_var_path = "/entitlements/{owner}/{repo}/{identifier}/enable/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
243
+ local_var_path = '/entitlements/{owner}/{repo}/{identifier}/enable/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
248
244
 
249
245
  # query parameters
250
246
  query_params = {}
@@ -269,7 +265,6 @@ module CloudsmithApi
269
265
  end
270
266
  return data, status_code, headers
271
267
  end
272
-
273
268
  # Get a list of all entitlements in a repository.
274
269
  # Get a list of all entitlements in a repository.
275
270
  # @param owner
@@ -281,7 +276,7 @@ module CloudsmithApi
281
276
  # @return [Array<RepositoryToken>]
282
277
  def entitlements_list(owner, repo, opts = {})
283
278
  data, _status_code, _headers = entitlements_list_with_http_info(owner, repo, opts)
284
- return data
279
+ data
285
280
  end
286
281
 
287
282
  # Get a list of all entitlements in a repository.
@@ -295,7 +290,7 @@ module CloudsmithApi
295
290
  # @return [Array<(Array<RepositoryToken>, Fixnum, Hash)>] Array<RepositoryToken> data, response status code and response headers
296
291
  def entitlements_list_with_http_info(owner, repo, opts = {})
297
292
  if @api_client.config.debugging
298
- @api_client.config.logger.debug "Calling API: EntitlementsApi.entitlements_list ..."
293
+ @api_client.config.logger.debug 'Calling API: EntitlementsApi.entitlements_list ...'
299
294
  end
300
295
  # verify the required parameter 'owner' is set
301
296
  if @api_client.config.client_side_validation && owner.nil?
@@ -306,7 +301,7 @@ module CloudsmithApi
306
301
  fail ArgumentError, "Missing the required parameter 'repo' when calling EntitlementsApi.entitlements_list"
307
302
  end
308
303
  # resource path
309
- local_var_path = "/entitlements/{owner}/{repo}/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
304
+ local_var_path = '/entitlements/{owner}/{repo}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
310
305
 
311
306
  # query parameters
312
307
  query_params = {}
@@ -335,7 +330,6 @@ module CloudsmithApi
335
330
  end
336
331
  return data, status_code, headers
337
332
  end
338
-
339
333
  # Update a specific entitlement in a repository.
340
334
  # Update a specific entitlement in a repository.
341
335
  # @param owner
@@ -347,7 +341,7 @@ module CloudsmithApi
347
341
  # @return [RepositoryToken]
348
342
  def entitlements_partial_update(owner, repo, identifier, opts = {})
349
343
  data, _status_code, _headers = entitlements_partial_update_with_http_info(owner, repo, identifier, opts)
350
- return data
344
+ data
351
345
  end
352
346
 
353
347
  # Update a specific entitlement in a repository.
@@ -361,7 +355,7 @@ module CloudsmithApi
361
355
  # @return [Array<(RepositoryToken, Fixnum, Hash)>] RepositoryToken data, response status code and response headers
362
356
  def entitlements_partial_update_with_http_info(owner, repo, identifier, opts = {})
363
357
  if @api_client.config.debugging
364
- @api_client.config.logger.debug "Calling API: EntitlementsApi.entitlements_partial_update ..."
358
+ @api_client.config.logger.debug 'Calling API: EntitlementsApi.entitlements_partial_update ...'
365
359
  end
366
360
  # verify the required parameter 'owner' is set
367
361
  if @api_client.config.client_side_validation && owner.nil?
@@ -376,7 +370,7 @@ module CloudsmithApi
376
370
  fail ArgumentError, "Missing the required parameter 'identifier' when calling EntitlementsApi.entitlements_partial_update"
377
371
  end
378
372
  # resource path
379
- local_var_path = "/entitlements/{owner}/{repo}/{identifier}/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
373
+ local_var_path = '/entitlements/{owner}/{repo}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
380
374
 
381
375
  # query parameters
382
376
  query_params = {}
@@ -405,7 +399,6 @@ module CloudsmithApi
405
399
  end
406
400
  return data, status_code, headers
407
401
  end
408
-
409
402
  # Get a specific entitlement in a repository.
410
403
  # Get a specific entitlement in a repository.
411
404
  # @param owner
@@ -416,7 +409,7 @@ module CloudsmithApi
416
409
  # @return [RepositoryToken]
417
410
  def entitlements_read(owner, repo, identifier, opts = {})
418
411
  data, _status_code, _headers = entitlements_read_with_http_info(owner, repo, identifier, opts)
419
- return data
412
+ data
420
413
  end
421
414
 
422
415
  # Get a specific entitlement in a repository.
@@ -429,7 +422,7 @@ module CloudsmithApi
429
422
  # @return [Array<(RepositoryToken, Fixnum, Hash)>] RepositoryToken data, response status code and response headers
430
423
  def entitlements_read_with_http_info(owner, repo, identifier, opts = {})
431
424
  if @api_client.config.debugging
432
- @api_client.config.logger.debug "Calling API: EntitlementsApi.entitlements_read ..."
425
+ @api_client.config.logger.debug 'Calling API: EntitlementsApi.entitlements_read ...'
433
426
  end
434
427
  # verify the required parameter 'owner' is set
435
428
  if @api_client.config.client_side_validation && owner.nil?
@@ -444,7 +437,7 @@ module CloudsmithApi
444
437
  fail ArgumentError, "Missing the required parameter 'identifier' when calling EntitlementsApi.entitlements_read"
445
438
  end
446
439
  # resource path
447
- local_var_path = "/entitlements/{owner}/{repo}/{identifier}/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
440
+ local_var_path = '/entitlements/{owner}/{repo}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
448
441
 
449
442
  # query parameters
450
443
  query_params = {}
@@ -471,7 +464,6 @@ module CloudsmithApi
471
464
  end
472
465
  return data, status_code, headers
473
466
  end
474
-
475
467
  # Refresh an entitlement token in a repository.
476
468
  # Refresh an entitlement token in a repository.
477
469
  # @param owner
@@ -483,7 +475,7 @@ module CloudsmithApi
483
475
  # @return [RepositoryTokenRefresh]
484
476
  def entitlements_refresh(owner, repo, identifier, opts = {})
485
477
  data, _status_code, _headers = entitlements_refresh_with_http_info(owner, repo, identifier, opts)
486
- return data
478
+ data
487
479
  end
488
480
 
489
481
  # Refresh an entitlement token in a repository.
@@ -497,7 +489,7 @@ module CloudsmithApi
497
489
  # @return [Array<(RepositoryTokenRefresh, Fixnum, Hash)>] RepositoryTokenRefresh data, response status code and response headers
498
490
  def entitlements_refresh_with_http_info(owner, repo, identifier, opts = {})
499
491
  if @api_client.config.debugging
500
- @api_client.config.logger.debug "Calling API: EntitlementsApi.entitlements_refresh ..."
492
+ @api_client.config.logger.debug 'Calling API: EntitlementsApi.entitlements_refresh ...'
501
493
  end
502
494
  # verify the required parameter 'owner' is set
503
495
  if @api_client.config.client_side_validation && owner.nil?
@@ -512,7 +504,7 @@ module CloudsmithApi
512
504
  fail ArgumentError, "Missing the required parameter 'identifier' when calling EntitlementsApi.entitlements_refresh"
513
505
  end
514
506
  # resource path
515
- local_var_path = "/entitlements/{owner}/{repo}/{identifier}/refresh/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
507
+ local_var_path = '/entitlements/{owner}/{repo}/{identifier}/refresh/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
516
508
 
517
509
  # query parameters
518
510
  query_params = {}
@@ -541,7 +533,6 @@ module CloudsmithApi
541
533
  end
542
534
  return data, status_code, headers
543
535
  end
544
-
545
536
  # Reset the statistics for an entitlement token in a repository.
546
537
  # Reset the statistics for an entitlement token in a repository.
547
538
  # @param owner
@@ -552,7 +543,7 @@ module CloudsmithApi
552
543
  # @return [nil]
553
544
  def entitlements_reset(owner, repo, identifier, opts = {})
554
545
  entitlements_reset_with_http_info(owner, repo, identifier, opts)
555
- return nil
546
+ nil
556
547
  end
557
548
 
558
549
  # Reset the statistics for an entitlement token in a repository.
@@ -565,7 +556,7 @@ module CloudsmithApi
565
556
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
566
557
  def entitlements_reset_with_http_info(owner, repo, identifier, opts = {})
567
558
  if @api_client.config.debugging
568
- @api_client.config.logger.debug "Calling API: EntitlementsApi.entitlements_reset ..."
559
+ @api_client.config.logger.debug 'Calling API: EntitlementsApi.entitlements_reset ...'
569
560
  end
570
561
  # verify the required parameter 'owner' is set
571
562
  if @api_client.config.client_side_validation && owner.nil?
@@ -580,7 +571,7 @@ module CloudsmithApi
580
571
  fail ArgumentError, "Missing the required parameter 'identifier' when calling EntitlementsApi.entitlements_reset"
581
572
  end
582
573
  # resource path
583
- local_var_path = "/entitlements/{owner}/{repo}/{identifier}/reset/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
574
+ local_var_path = '/entitlements/{owner}/{repo}/{identifier}/reset/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
584
575
 
585
576
  # query parameters
586
577
  query_params = {}
@@ -606,7 +597,6 @@ module CloudsmithApi
606
597
  end
607
598
  return data, status_code, headers
608
599
  end
609
-
610
600
  # Synchronise tokens from a source repository.
611
601
  # Synchronise tokens from a source repository.
612
602
  # @param owner
@@ -617,7 +607,7 @@ module CloudsmithApi
617
607
  # @return [RepositoryTokenSync]
618
608
  def entitlements_sync(owner, repo, opts = {})
619
609
  data, _status_code, _headers = entitlements_sync_with_http_info(owner, repo, opts)
620
- return data
610
+ data
621
611
  end
622
612
 
623
613
  # Synchronise tokens from a source repository.
@@ -630,7 +620,7 @@ module CloudsmithApi
630
620
  # @return [Array<(RepositoryTokenSync, Fixnum, Hash)>] RepositoryTokenSync data, response status code and response headers
631
621
  def entitlements_sync_with_http_info(owner, repo, opts = {})
632
622
  if @api_client.config.debugging
633
- @api_client.config.logger.debug "Calling API: EntitlementsApi.entitlements_sync ..."
623
+ @api_client.config.logger.debug 'Calling API: EntitlementsApi.entitlements_sync ...'
634
624
  end
635
625
  # verify the required parameter 'owner' is set
636
626
  if @api_client.config.client_side_validation && owner.nil?
@@ -641,7 +631,7 @@ module CloudsmithApi
641
631
  fail ArgumentError, "Missing the required parameter 'repo' when calling EntitlementsApi.entitlements_sync"
642
632
  end
643
633
  # resource path
644
- local_var_path = "/entitlements/{owner}/{repo}/sync/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
634
+ local_var_path = '/entitlements/{owner}/{repo}/sync/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
645
635
 
646
636
  # query parameters
647
637
  query_params = {}
@@ -6,11 +6,11 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.2.3
9
+ Swagger Codegen version: 2.4.26
10
10
 
11
11
  =end
12
12
 
13
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module CloudsmithApi
16
16
  class FilesApi
@@ -19,7 +19,6 @@ module CloudsmithApi
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # Abort a multipart file upload.
24
23
  # Abort a multipart file upload.
25
24
  # @param owner
@@ -30,7 +29,7 @@ module CloudsmithApi
30
29
  # @return [nil]
31
30
  def files_abort(owner, repo, identifier, opts = {})
32
31
  files_abort_with_http_info(owner, repo, identifier, opts)
33
- return nil
32
+ nil
34
33
  end
35
34
 
36
35
  # Abort a multipart file upload.
@@ -43,7 +42,7 @@ module CloudsmithApi
43
42
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
44
43
  def files_abort_with_http_info(owner, repo, identifier, opts = {})
45
44
  if @api_client.config.debugging
46
- @api_client.config.logger.debug "Calling API: FilesApi.files_abort ..."
45
+ @api_client.config.logger.debug 'Calling API: FilesApi.files_abort ...'
47
46
  end
48
47
  # verify the required parameter 'owner' is set
49
48
  if @api_client.config.client_side_validation && owner.nil?
@@ -58,7 +57,7 @@ module CloudsmithApi
58
57
  fail ArgumentError, "Missing the required parameter 'identifier' when calling FilesApi.files_abort"
59
58
  end
60
59
  # resource path
61
- local_var_path = "/files/{owner}/{repo}/{identifier}/abort/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
60
+ local_var_path = '/files/{owner}/{repo}/{identifier}/abort/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
62
61
 
63
62
  # query parameters
64
63
  query_params = {}
@@ -85,7 +84,6 @@ module CloudsmithApi
85
84
  end
86
85
  return data, status_code, headers
87
86
  end
88
-
89
87
  # Complete a multipart file upload.
90
88
  # Complete a multipart file upload.
91
89
  # @param owner
@@ -96,7 +94,7 @@ module CloudsmithApi
96
94
  # @return [PackageFileUpload]
97
95
  def files_complete(owner, repo, identifier, opts = {})
98
96
  data, _status_code, _headers = files_complete_with_http_info(owner, repo, identifier, opts)
99
- return data
97
+ data
100
98
  end
101
99
 
102
100
  # Complete a multipart file upload.
@@ -109,7 +107,7 @@ module CloudsmithApi
109
107
  # @return [Array<(PackageFileUpload, Fixnum, Hash)>] PackageFileUpload data, response status code and response headers
110
108
  def files_complete_with_http_info(owner, repo, identifier, opts = {})
111
109
  if @api_client.config.debugging
112
- @api_client.config.logger.debug "Calling API: FilesApi.files_complete ..."
110
+ @api_client.config.logger.debug 'Calling API: FilesApi.files_complete ...'
113
111
  end
114
112
  # verify the required parameter 'owner' is set
115
113
  if @api_client.config.client_side_validation && owner.nil?
@@ -124,7 +122,7 @@ module CloudsmithApi
124
122
  fail ArgumentError, "Missing the required parameter 'identifier' when calling FilesApi.files_complete"
125
123
  end
126
124
  # resource path
127
- local_var_path = "/files/{owner}/{repo}/{identifier}/complete/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
125
+ local_var_path = '/files/{owner}/{repo}/{identifier}/complete/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
128
126
 
129
127
  # query parameters
130
128
  query_params = {}
@@ -152,7 +150,6 @@ module CloudsmithApi
152
150
  end
153
151
  return data, status_code, headers
154
152
  end
155
-
156
153
  # Request URL(s) to upload new package file upload(s) to.
157
154
  # Request URL(s) to upload new package file upload(s) to.
158
155
  # @param owner
@@ -162,7 +159,7 @@ module CloudsmithApi
162
159
  # @return [PackageFileUpload]
163
160
  def files_create(owner, repo, opts = {})
164
161
  data, _status_code, _headers = files_create_with_http_info(owner, repo, opts)
165
- return data
162
+ data
166
163
  end
167
164
 
168
165
  # Request URL(s) to upload new package file upload(s) to.
@@ -174,7 +171,7 @@ module CloudsmithApi
174
171
  # @return [Array<(PackageFileUpload, Fixnum, Hash)>] PackageFileUpload data, response status code and response headers
175
172
  def files_create_with_http_info(owner, repo, opts = {})
176
173
  if @api_client.config.debugging
177
- @api_client.config.logger.debug "Calling API: FilesApi.files_create ..."
174
+ @api_client.config.logger.debug 'Calling API: FilesApi.files_create ...'
178
175
  end
179
176
  # verify the required parameter 'owner' is set
180
177
  if @api_client.config.client_side_validation && owner.nil?
@@ -185,7 +182,7 @@ module CloudsmithApi
185
182
  fail ArgumentError, "Missing the required parameter 'repo' when calling FilesApi.files_create"
186
183
  end
187
184
  # resource path
188
- local_var_path = "/files/{owner}/{repo}/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
185
+ local_var_path = '/files/{owner}/{repo}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
189
186
 
190
187
  # query parameters
191
188
  query_params = {}
@@ -213,7 +210,6 @@ module CloudsmithApi
213
210
  end
214
211
  return data, status_code, headers
215
212
  end
216
-
217
213
  # Get upload information for a multipart file upload.
218
214
  # Get upload information for a multipart file upload.
219
215
  # @param owner
@@ -223,7 +219,7 @@ module CloudsmithApi
223
219
  # @return [PackageFilePartsUpload]
224
220
  def files_info(owner, repo, identifier, opts = {})
225
221
  data, _status_code, _headers = files_info_with_http_info(owner, repo, identifier, opts)
226
- return data
222
+ data
227
223
  end
228
224
 
229
225
  # Get upload information for a multipart file upload.
@@ -235,7 +231,7 @@ module CloudsmithApi
235
231
  # @return [Array<(PackageFilePartsUpload, Fixnum, Hash)>] PackageFilePartsUpload data, response status code and response headers
236
232
  def files_info_with_http_info(owner, repo, identifier, opts = {})
237
233
  if @api_client.config.debugging
238
- @api_client.config.logger.debug "Calling API: FilesApi.files_info ..."
234
+ @api_client.config.logger.debug 'Calling API: FilesApi.files_info ...'
239
235
  end
240
236
  # verify the required parameter 'owner' is set
241
237
  if @api_client.config.client_side_validation && owner.nil?
@@ -250,7 +246,7 @@ module CloudsmithApi
250
246
  fail ArgumentError, "Missing the required parameter 'identifier' when calling FilesApi.files_info"
251
247
  end
252
248
  # resource path
253
- local_var_path = "/files/{owner}/{repo}/{identifier}/info/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
249
+ local_var_path = '/files/{owner}/{repo}/{identifier}/info/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
254
250
 
255
251
  # query parameters
256
252
  query_params = {}
@@ -276,7 +272,6 @@ module CloudsmithApi
276
272
  end
277
273
  return data, status_code, headers
278
274
  end
279
-
280
275
  # Validate parameters used for create.
281
276
  # Validate parameters used for create.
282
277
  # @param owner
@@ -286,7 +281,7 @@ module CloudsmithApi
286
281
  # @return [nil]
287
282
  def files_validate(owner, repo, opts = {})
288
283
  files_validate_with_http_info(owner, repo, opts)
289
- return nil
284
+ nil
290
285
  end
291
286
 
292
287
  # Validate parameters used for create.
@@ -298,7 +293,7 @@ module CloudsmithApi
298
293
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
299
294
  def files_validate_with_http_info(owner, repo, opts = {})
300
295
  if @api_client.config.debugging
301
- @api_client.config.logger.debug "Calling API: FilesApi.files_validate ..."
296
+ @api_client.config.logger.debug 'Calling API: FilesApi.files_validate ...'
302
297
  end
303
298
  # verify the required parameter 'owner' is set
304
299
  if @api_client.config.client_side_validation && owner.nil?
@@ -309,7 +304,7 @@ module CloudsmithApi
309
304
  fail ArgumentError, "Missing the required parameter 'repo' when calling FilesApi.files_validate"
310
305
  end
311
306
  # resource path
312
- local_var_path = "/files/{owner}/{repo}/validate/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
307
+ local_var_path = '/files/{owner}/{repo}/validate/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
313
308
 
314
309
  # query parameters
315
310
  query_params = {}
@@ -6,11 +6,11 @@
6
6
  OpenAPI spec version: v1
7
7
  Contact: support@cloudsmith.io
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.2.3
9
+ Swagger Codegen version: 2.4.26
10
10
 
11
11
  =end
12
12
 
13
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module CloudsmithApi
16
16
  class FormatsApi
@@ -19,14 +19,13 @@ module CloudsmithApi
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # Get a list of all supported package formats.
24
23
  # Get a list of all supported package formats.
25
24
  # @param [Hash] opts the optional parameters
26
25
  # @return [Array<Format>]
27
26
  def formats_list(opts = {})
28
27
  data, _status_code, _headers = formats_list_with_http_info(opts)
29
- return data
28
+ data
30
29
  end
31
30
 
32
31
  # Get a list of all supported package formats.
@@ -35,10 +34,10 @@ module CloudsmithApi
35
34
  # @return [Array<(Array<Format>, Fixnum, Hash)>] Array<Format> data, response status code and response headers
36
35
  def formats_list_with_http_info(opts = {})
37
36
  if @api_client.config.debugging
38
- @api_client.config.logger.debug "Calling API: FormatsApi.formats_list ..."
37
+ @api_client.config.logger.debug 'Calling API: FormatsApi.formats_list ...'
39
38
  end
40
39
  # resource path
41
- local_var_path = "/formats/"
40
+ local_var_path = '/formats/'
42
41
 
43
42
  # query parameters
44
43
  query_params = {}
@@ -64,7 +63,6 @@ module CloudsmithApi
64
63
  end
65
64
  return data, status_code, headers
66
65
  end
67
-
68
66
  # Get a specific supported package format.
69
67
  # Get a specific supported package format.
70
68
  # @param slug
@@ -72,7 +70,7 @@ module CloudsmithApi
72
70
  # @return [Format]
73
71
  def formats_read(slug, opts = {})
74
72
  data, _status_code, _headers = formats_read_with_http_info(slug, opts)
75
- return data
73
+ data
76
74
  end
77
75
 
78
76
  # Get a specific supported package format.
@@ -82,14 +80,14 @@ module CloudsmithApi
82
80
  # @return [Array<(Format, Fixnum, Hash)>] Format data, response status code and response headers
83
81
  def formats_read_with_http_info(slug, opts = {})
84
82
  if @api_client.config.debugging
85
- @api_client.config.logger.debug "Calling API: FormatsApi.formats_read ..."
83
+ @api_client.config.logger.debug 'Calling API: FormatsApi.formats_read ...'
86
84
  end
87
85
  # verify the required parameter 'slug' is set
88
86
  if @api_client.config.client_side_validation && slug.nil?
89
87
  fail ArgumentError, "Missing the required parameter 'slug' when calling FormatsApi.formats_read"
90
88
  end
91
89
  # resource path
92
- local_var_path = "/formats/{slug}/".sub('{' + 'slug' + '}', slug.to_s)
90
+ local_var_path = '/formats/{slug}/'.sub('{' + 'slug' + '}', slug.to_s)
93
91
 
94
92
  # query parameters
95
93
  query_params = {}