cloudsmith-api 1.30.0 → 1.33.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,14 +6,13 @@
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
13
  require 'date'
14
14
 
15
15
  module CloudsmithApi
16
-
17
16
  class UserBrief
18
17
  # If true then you're logged in as a user.
19
18
  attr_accessor :authenticated
@@ -36,7 +35,6 @@ module CloudsmithApi
36
35
  #
37
36
  attr_accessor :slug_perm
38
37
 
39
-
40
38
  # Attribute mapping from ruby-style variable name to JSON key.
41
39
  def self.attribute_map
42
40
  {
@@ -69,7 +67,7 @@ module CloudsmithApi
69
67
  return unless attributes.is_a?(Hash)
70
68
 
71
69
  # convert string to symbol for hash key
72
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
70
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
73
71
 
74
72
  if attributes.has_key?(:'authenticated')
75
73
  self.authenticated = attributes[:'authenticated']
@@ -98,20 +96,19 @@ module CloudsmithApi
98
96
  if attributes.has_key?(:'slug_perm')
99
97
  self.slug_perm = attributes[:'slug_perm']
100
98
  end
101
-
102
99
  end
103
100
 
104
101
  # Show invalid properties with the reasons. Usually used together with valid?
105
- # @return Array for valid properies with the reasons
102
+ # @return Array for valid properties with the reasons
106
103
  def list_invalid_properties
107
104
  invalid_properties = Array.new
108
- return invalid_properties
105
+ invalid_properties
109
106
  end
110
107
 
111
108
  # Check to see if the all the properties in the model are valid
112
109
  # @return true if the model is valid
113
110
  def valid?
114
- return true
111
+ true
115
112
  end
116
113
 
117
114
  # Checks equality by comparing each attribute.
@@ -147,10 +144,10 @@ module CloudsmithApi
147
144
  return nil unless attributes.is_a?(Hash)
148
145
  self.class.swagger_types.each_pair do |key, type|
149
146
  if type =~ /\AArray<(.*)>/i
150
- # check to ensure the input is an array given that the the attribute
147
+ # check to ensure the input is an array given that the attribute
151
148
  # is documented as an array but the input is not
152
149
  if attributes[self.class.attribute_map[key]].is_a?(Array)
153
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
150
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
154
151
  end
155
152
  elsif !attributes[self.class.attribute_map[key]].nil?
156
153
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -232,7 +229,7 @@ module CloudsmithApi
232
229
  # @return [Hash] Returns the value in the form of hash
233
230
  def _to_hash(value)
234
231
  if value.is_a?(Array)
235
- value.compact.map{ |v| _to_hash(v) }
232
+ value.compact.map { |v| _to_hash(v) }
236
233
  elsif value.is_a?(Hash)
237
234
  {}.tap do |hash|
238
235
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -245,5 +242,4 @@ module CloudsmithApi
245
242
  end
246
243
 
247
244
  end
248
-
249
245
  end
@@ -6,14 +6,13 @@
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
13
  require 'date'
14
14
 
15
15
  module CloudsmithApi
16
-
17
16
  class UserProfile
18
17
  #
19
18
  attr_accessor :company
@@ -45,7 +44,6 @@ module CloudsmithApi
45
44
  #
46
45
  attr_accessor :url
47
46
 
48
-
49
47
  # Attribute mapping from ruby-style variable name to JSON key.
50
48
  def self.attribute_map
51
49
  {
@@ -84,7 +82,7 @@ module CloudsmithApi
84
82
  return unless attributes.is_a?(Hash)
85
83
 
86
84
  # convert string to symbol for hash key
87
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
85
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
88
86
 
89
87
  if attributes.has_key?(:'company')
90
88
  self.company = attributes[:'company']
@@ -125,22 +123,21 @@ module CloudsmithApi
125
123
  if attributes.has_key?(:'url')
126
124
  self.url = attributes[:'url']
127
125
  end
128
-
129
126
  end
130
127
 
131
128
  # Show invalid properties with the reasons. Usually used together with valid?
132
- # @return Array for valid properies with the reasons
129
+ # @return Array for valid properties with the reasons
133
130
  def list_invalid_properties
134
131
  invalid_properties = Array.new
135
132
  if @first_name.nil?
136
- invalid_properties.push("invalid value for 'first_name', first_name cannot be nil.")
133
+ invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
137
134
  end
138
135
 
139
136
  if @last_name.nil?
140
- invalid_properties.push("invalid value for 'last_name', last_name cannot be nil.")
137
+ invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
141
138
  end
142
139
 
143
- return invalid_properties
140
+ invalid_properties
144
141
  end
145
142
 
146
143
  # Check to see if the all the properties in the model are valid
@@ -148,7 +145,7 @@ module CloudsmithApi
148
145
  def valid?
149
146
  return false if @first_name.nil?
150
147
  return false if @last_name.nil?
151
- return true
148
+ true
152
149
  end
153
150
 
154
151
  # Checks equality by comparing each attribute.
@@ -187,10 +184,10 @@ module CloudsmithApi
187
184
  return nil unless attributes.is_a?(Hash)
188
185
  self.class.swagger_types.each_pair do |key, type|
189
186
  if type =~ /\AArray<(.*)>/i
190
- # check to ensure the input is an array given that the the attribute
187
+ # check to ensure the input is an array given that the attribute
191
188
  # is documented as an array but the input is not
192
189
  if attributes[self.class.attribute_map[key]].is_a?(Array)
193
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
190
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
194
191
  end
195
192
  elsif !attributes[self.class.attribute_map[key]].nil?
196
193
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -272,7 +269,7 @@ module CloudsmithApi
272
269
  # @return [Hash] Returns the value in the form of hash
273
270
  def _to_hash(value)
274
271
  if value.is_a?(Array)
275
- value.compact.map{ |v| _to_hash(v) }
272
+ value.compact.map { |v| _to_hash(v) }
276
273
  elsif value.is_a?(Hash)
277
274
  {}.tap do |hash|
278
275
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -285,5 +282,4 @@ module CloudsmithApi
285
282
  end
286
283
 
287
284
  end
288
-
289
285
  end
@@ -6,14 +6,13 @@
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
13
  require 'date'
14
14
 
15
15
  module CloudsmithApi
16
-
17
16
  class UserTokenCreate
18
17
  # Email address to authenticate with
19
18
  attr_accessor :email
@@ -21,7 +20,6 @@ module CloudsmithApi
21
20
  # Password to authenticate with
22
21
  attr_accessor :password
23
22
 
24
-
25
23
  # Attribute mapping from ruby-style variable name to JSON key.
26
24
  def self.attribute_map
27
25
  {
@@ -44,7 +42,7 @@ module CloudsmithApi
44
42
  return unless attributes.is_a?(Hash)
45
43
 
46
44
  # convert string to symbol for hash key
47
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
45
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
48
46
 
49
47
  if attributes.has_key?(:'email')
50
48
  self.email = attributes[:'email']
@@ -53,20 +51,19 @@ module CloudsmithApi
53
51
  if attributes.has_key?(:'password')
54
52
  self.password = attributes[:'password']
55
53
  end
56
-
57
54
  end
58
55
 
59
56
  # Show invalid properties with the reasons. Usually used together with valid?
60
- # @return Array for valid properies with the reasons
57
+ # @return Array for valid properties with the reasons
61
58
  def list_invalid_properties
62
59
  invalid_properties = Array.new
63
- return invalid_properties
60
+ invalid_properties
64
61
  end
65
62
 
66
63
  # Check to see if the all the properties in the model are valid
67
64
  # @return true if the model is valid
68
65
  def valid?
69
- return true
66
+ true
70
67
  end
71
68
 
72
69
  # Checks equality by comparing each attribute.
@@ -97,10 +94,10 @@ module CloudsmithApi
97
94
  return nil unless attributes.is_a?(Hash)
98
95
  self.class.swagger_types.each_pair do |key, type|
99
96
  if type =~ /\AArray<(.*)>/i
100
- # check to ensure the input is an array given that the the attribute
97
+ # check to ensure the input is an array given that the attribute
101
98
  # is documented as an array but the input is not
102
99
  if attributes[self.class.attribute_map[key]].is_a?(Array)
103
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
100
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
104
101
  end
105
102
  elsif !attributes[self.class.attribute_map[key]].nil?
106
103
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -182,7 +179,7 @@ module CloudsmithApi
182
179
  # @return [Hash] Returns the value in the form of hash
183
180
  def _to_hash(value)
184
181
  if value.is_a?(Array)
185
- value.compact.map{ |v| _to_hash(v) }
182
+ value.compact.map { |v| _to_hash(v) }
186
183
  elsif value.is_a?(Hash)
187
184
  {}.tap do |hash|
188
185
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -195,5 +192,4 @@ module CloudsmithApi
195
192
  end
196
193
 
197
194
  end
198
-
199
195
  end
@@ -6,14 +6,13 @@
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
13
  require 'date'
14
14
 
15
15
  module CloudsmithApi
16
-
17
16
  class VagrantPackageUpload
18
17
  #
19
18
  attr_accessor :architectures
@@ -210,7 +209,6 @@ module CloudsmithApi
210
209
  #
211
210
  attr_accessor :vulnerability_scan_results_url
212
211
 
213
-
214
212
  # Attribute mapping from ruby-style variable name to JSON key.
215
213
  def self.attribute_map
216
214
  {
@@ -359,7 +357,7 @@ module CloudsmithApi
359
357
  return unless attributes.is_a?(Hash)
360
358
 
361
359
  # convert string to symbol for hash key
362
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
360
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
363
361
 
364
362
  if attributes.has_key?(:'architectures')
365
363
  if (value = attributes[:'architectures']).is_a?(Array)
@@ -624,26 +622,25 @@ module CloudsmithApi
624
622
  if attributes.has_key?(:'vulnerability_scan_results_url')
625
623
  self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
626
624
  end
627
-
628
625
  end
629
626
 
630
627
  # Show invalid properties with the reasons. Usually used together with valid?
631
- # @return Array for valid properies with the reasons
628
+ # @return Array for valid properties with the reasons
632
629
  def list_invalid_properties
633
630
  invalid_properties = Array.new
634
631
  if @name.nil?
635
- invalid_properties.push("invalid value for 'name', name cannot be nil.")
632
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
636
633
  end
637
634
 
638
635
  if @provider.nil?
639
- invalid_properties.push("invalid value for 'provider', provider cannot be nil.")
636
+ invalid_properties.push('invalid value for "provider", provider cannot be nil.')
640
637
  end
641
638
 
642
639
  if @version.nil?
643
- invalid_properties.push("invalid value for 'version', version cannot be nil.")
640
+ invalid_properties.push('invalid value for "version", version cannot be nil.')
644
641
  end
645
642
 
646
- return invalid_properties
643
+ invalid_properties
647
644
  end
648
645
 
649
646
  # Check to see if the all the properties in the model are valid
@@ -652,7 +649,7 @@ module CloudsmithApi
652
649
  return false if @name.nil?
653
650
  return false if @provider.nil?
654
651
  return false if @version.nil?
655
- return true
652
+ true
656
653
  end
657
654
 
658
655
  # Checks equality by comparing each attribute.
@@ -746,10 +743,10 @@ module CloudsmithApi
746
743
  return nil unless attributes.is_a?(Hash)
747
744
  self.class.swagger_types.each_pair do |key, type|
748
745
  if type =~ /\AArray<(.*)>/i
749
- # check to ensure the input is an array given that the the attribute
746
+ # check to ensure the input is an array given that the attribute
750
747
  # is documented as an array but the input is not
751
748
  if attributes[self.class.attribute_map[key]].is_a?(Array)
752
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
749
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
753
750
  end
754
751
  elsif !attributes[self.class.attribute_map[key]].nil?
755
752
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -831,7 +828,7 @@ module CloudsmithApi
831
828
  # @return [Hash] Returns the value in the form of hash
832
829
  def _to_hash(value)
833
830
  if value.is_a?(Array)
834
- value.compact.map{ |v| _to_hash(v) }
831
+ value.compact.map { |v| _to_hash(v) }
835
832
  elsif value.is_a?(Hash)
836
833
  {}.tap do |hash|
837
834
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -844,5 +841,4 @@ module CloudsmithApi
844
841
  end
845
842
 
846
843
  end
847
-
848
844
  end
@@ -6,14 +6,13 @@
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
13
  require 'date'
14
14
 
15
15
  module CloudsmithApi
16
-
17
16
  class VulnerabilityScanResults
18
17
  # The time this scan result was stored.
19
18
  attr_accessor :created_at
@@ -39,7 +38,6 @@ module CloudsmithApi
39
38
  #
40
39
  attr_accessor :scan_id
41
40
 
42
-
43
41
  # Attribute mapping from ruby-style variable name to JSON key.
44
42
  def self.attribute_map
45
43
  {
@@ -74,7 +72,7 @@ module CloudsmithApi
74
72
  return unless attributes.is_a?(Hash)
75
73
 
76
74
  # convert string to symbol for hash key
77
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
75
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
78
76
 
79
77
  if attributes.has_key?(:'created_at')
80
78
  self.created_at = attributes[:'created_at']
@@ -107,30 +105,29 @@ module CloudsmithApi
107
105
  if attributes.has_key?(:'scan_id')
108
106
  self.scan_id = attributes[:'scan_id']
109
107
  end
110
-
111
108
  end
112
109
 
113
110
  # Show invalid properties with the reasons. Usually used together with valid?
114
- # @return Array for valid properies with the reasons
111
+ # @return Array for valid properties with the reasons
115
112
  def list_invalid_properties
116
113
  invalid_properties = Array.new
117
114
  if @identifier.nil?
118
- invalid_properties.push("invalid value for 'identifier', identifier cannot be nil.")
115
+ invalid_properties.push('invalid value for "identifier", identifier cannot be nil.')
119
116
  end
120
117
 
121
118
  if @package.nil?
122
- invalid_properties.push("invalid value for 'package', package cannot be nil.")
119
+ invalid_properties.push('invalid value for "package", package cannot be nil.')
123
120
  end
124
121
 
125
122
  if @scan.nil?
126
- invalid_properties.push("invalid value for 'scan', scan cannot be nil.")
123
+ invalid_properties.push('invalid value for "scan", scan cannot be nil.')
127
124
  end
128
125
 
129
126
  if @scan_id.nil?
130
- invalid_properties.push("invalid value for 'scan_id', scan_id cannot be nil.")
127
+ invalid_properties.push('invalid value for "scan_id", scan_id cannot be nil.')
131
128
  end
132
129
 
133
- return invalid_properties
130
+ invalid_properties
134
131
  end
135
132
 
136
133
  # Check to see if the all the properties in the model are valid
@@ -140,7 +137,7 @@ module CloudsmithApi
140
137
  return false if @package.nil?
141
138
  return false if @scan.nil?
142
139
  return false if @scan_id.nil?
143
- return true
140
+ true
144
141
  end
145
142
 
146
143
  # Checks equality by comparing each attribute.
@@ -177,10 +174,10 @@ module CloudsmithApi
177
174
  return nil unless attributes.is_a?(Hash)
178
175
  self.class.swagger_types.each_pair do |key, type|
179
176
  if type =~ /\AArray<(.*)>/i
180
- # check to ensure the input is an array given that the the attribute
177
+ # check to ensure the input is an array given that the attribute
181
178
  # is documented as an array but the input is not
182
179
  if attributes[self.class.attribute_map[key]].is_a?(Array)
183
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
180
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
184
181
  end
185
182
  elsif !attributes[self.class.attribute_map[key]].nil?
186
183
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -262,7 +259,7 @@ module CloudsmithApi
262
259
  # @return [Hash] Returns the value in the form of hash
263
260
  def _to_hash(value)
264
261
  if value.is_a?(Array)
265
- value.compact.map{ |v| _to_hash(v) }
262
+ value.compact.map { |v| _to_hash(v) }
266
263
  elsif value.is_a?(Hash)
267
264
  {}.tap do |hash|
268
265
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -275,5 +272,4 @@ module CloudsmithApi
275
272
  end
276
273
 
277
274
  end
278
-
279
275
  end
@@ -6,14 +6,13 @@
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
13
  require 'date'
14
14
 
15
15
  module CloudsmithApi
16
-
17
16
  class VulnerabilityScanResultsList
18
17
  # The time this scan result was stored.
19
18
  attr_accessor :created_at
@@ -36,7 +35,6 @@ module CloudsmithApi
36
35
  #
37
36
  attr_accessor :scan_id
38
37
 
39
-
40
38
  # Attribute mapping from ruby-style variable name to JSON key.
41
39
  def self.attribute_map
42
40
  {
@@ -69,7 +67,7 @@ module CloudsmithApi
69
67
  return unless attributes.is_a?(Hash)
70
68
 
71
69
  # convert string to symbol for hash key
72
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
70
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
73
71
 
74
72
  if attributes.has_key?(:'created_at')
75
73
  self.created_at = attributes[:'created_at']
@@ -98,26 +96,25 @@ module CloudsmithApi
98
96
  if attributes.has_key?(:'scan_id')
99
97
  self.scan_id = attributes[:'scan_id']
100
98
  end
101
-
102
99
  end
103
100
 
104
101
  # Show invalid properties with the reasons. Usually used together with valid?
105
- # @return Array for valid properies with the reasons
102
+ # @return Array for valid properties with the reasons
106
103
  def list_invalid_properties
107
104
  invalid_properties = Array.new
108
105
  if @identifier.nil?
109
- invalid_properties.push("invalid value for 'identifier', identifier cannot be nil.")
106
+ invalid_properties.push('invalid value for "identifier", identifier cannot be nil.')
110
107
  end
111
108
 
112
109
  if @package.nil?
113
- invalid_properties.push("invalid value for 'package', package cannot be nil.")
110
+ invalid_properties.push('invalid value for "package", package cannot be nil.')
114
111
  end
115
112
 
116
113
  if @scan_id.nil?
117
- invalid_properties.push("invalid value for 'scan_id', scan_id cannot be nil.")
114
+ invalid_properties.push('invalid value for "scan_id", scan_id cannot be nil.')
118
115
  end
119
116
 
120
- return invalid_properties
117
+ invalid_properties
121
118
  end
122
119
 
123
120
  # Check to see if the all the properties in the model are valid
@@ -126,7 +123,7 @@ module CloudsmithApi
126
123
  return false if @identifier.nil?
127
124
  return false if @package.nil?
128
125
  return false if @scan_id.nil?
129
- return true
126
+ true
130
127
  end
131
128
 
132
129
  # Checks equality by comparing each attribute.
@@ -162,10 +159,10 @@ module CloudsmithApi
162
159
  return nil unless attributes.is_a?(Hash)
163
160
  self.class.swagger_types.each_pair do |key, type|
164
161
  if type =~ /\AArray<(.*)>/i
165
- # check to ensure the input is an array given that the the attribute
162
+ # check to ensure the input is an array given that the attribute
166
163
  # is documented as an array but the input is not
167
164
  if attributes[self.class.attribute_map[key]].is_a?(Array)
168
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
165
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
169
166
  end
170
167
  elsif !attributes[self.class.attribute_map[key]].nil?
171
168
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -247,7 +244,7 @@ module CloudsmithApi
247
244
  # @return [Hash] Returns the value in the form of hash
248
245
  def _to_hash(value)
249
246
  if value.is_a?(Array)
250
- value.compact.map{ |v| _to_hash(v) }
247
+ value.compact.map { |v| _to_hash(v) }
251
248
  elsif value.is_a?(Hash)
252
249
  {}.tap do |hash|
253
250
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -260,5 +257,4 @@ module CloudsmithApi
260
257
  end
261
258
 
262
259
  end
263
-
264
260
  end
@@ -6,14 +6,13 @@
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
13
  require 'date'
14
14
 
15
15
  module CloudsmithApi
16
-
17
16
  class WebhooksCreate
18
17
  # None
19
18
  attr_accessor :events
@@ -51,7 +50,6 @@ module CloudsmithApi
51
50
  # If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks.
52
51
  attr_accessor :verify_ssl
53
52
 
54
-
55
53
  # Attribute mapping from ruby-style variable name to JSON key.
56
54
  def self.attribute_map
57
55
  {
@@ -94,7 +92,7 @@ module CloudsmithApi
94
92
  return unless attributes.is_a?(Hash)
95
93
 
96
94
  # convert string to symbol for hash key
97
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
95
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
98
96
 
99
97
  if attributes.has_key?(:'events')
100
98
  if (value = attributes[:'events']).is_a?(Array)
@@ -147,26 +145,25 @@ module CloudsmithApi
147
145
  if attributes.has_key?(:'verify_ssl')
148
146
  self.verify_ssl = attributes[:'verify_ssl']
149
147
  end
150
-
151
148
  end
152
149
 
153
150
  # Show invalid properties with the reasons. Usually used together with valid?
154
- # @return Array for valid properies with the reasons
151
+ # @return Array for valid properties with the reasons
155
152
  def list_invalid_properties
156
153
  invalid_properties = Array.new
157
154
  if @events.nil?
158
- invalid_properties.push("invalid value for 'events', events cannot be nil.")
155
+ invalid_properties.push('invalid value for "events", events cannot be nil.')
159
156
  end
160
157
 
161
158
  if @target_url.nil?
162
- invalid_properties.push("invalid value for 'target_url', target_url cannot be nil.")
159
+ invalid_properties.push('invalid value for "target_url", target_url cannot be nil.')
163
160
  end
164
161
 
165
162
  if @templates.nil?
166
- invalid_properties.push("invalid value for 'templates', templates cannot be nil.")
163
+ invalid_properties.push('invalid value for "templates", templates cannot be nil.')
167
164
  end
168
165
 
169
- return invalid_properties
166
+ invalid_properties
170
167
  end
171
168
 
172
169
  # Check to see if the all the properties in the model are valid
@@ -175,7 +172,7 @@ module CloudsmithApi
175
172
  return false if @events.nil?
176
173
  return false if @target_url.nil?
177
174
  return false if @templates.nil?
178
- return true
175
+ true
179
176
  end
180
177
 
181
178
  # Checks equality by comparing each attribute.
@@ -216,10 +213,10 @@ module CloudsmithApi
216
213
  return nil unless attributes.is_a?(Hash)
217
214
  self.class.swagger_types.each_pair do |key, type|
218
215
  if type =~ /\AArray<(.*)>/i
219
- # check to ensure the input is an array given that the the attribute
216
+ # check to ensure the input is an array given that the attribute
220
217
  # is documented as an array but the input is not
221
218
  if attributes[self.class.attribute_map[key]].is_a?(Array)
222
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
219
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
223
220
  end
224
221
  elsif !attributes[self.class.attribute_map[key]].nil?
225
222
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -301,7 +298,7 @@ module CloudsmithApi
301
298
  # @return [Hash] Returns the value in the form of hash
302
299
  def _to_hash(value)
303
300
  if value.is_a?(Array)
304
- value.compact.map{ |v| _to_hash(v) }
301
+ value.compact.map { |v| _to_hash(v) }
305
302
  elsif value.is_a?(Hash)
306
303
  {}.tap do |hash|
307
304
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -314,5 +311,4 @@ module CloudsmithApi
314
311
  end
315
312
 
316
313
  end
317
-
318
314
  end