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.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +5 -4
- data/README.md +22 -21
- data/build.json +1 -1
- data/cloudsmith-api.gemspec +5 -4
- data/docs/BadgesApi.md +18 -17
- data/docs/DistrosApi.md +1 -1
- data/docs/EntitlementsApi.md +27 -27
- data/docs/FilesApi.md +13 -13
- data/docs/FormatsApi.md +1 -1
- data/docs/MetricsApi.md +14 -14
- data/docs/NamespacesApi.md +1 -1
- data/docs/OrgsApi.md +6 -6
- data/docs/PackagesApi.md +123 -123
- data/docs/QuotaApi.md +4 -4
- data/docs/ReposApi.md +8 -8
- data/docs/StorageRegionsApi.md +112 -0
- data/docs/StorageregionsApi.md +8 -8
- data/docs/UsersApi.md +1 -1
- data/docs/VulnerabilitiesApi.md +10 -10
- data/docs/WebhooksApi.md +13 -13
- data/git_push.sh +1 -1
- data/lib/cloudsmith-api/api/badges_api.rb +10 -10
- data/lib/cloudsmith-api/api/distros_api.rb +8 -10
- data/lib/cloudsmith-api/api/entitlements_api.rb +32 -42
- data/lib/cloudsmith-api/api/files_api.rb +17 -22
- data/lib/cloudsmith-api/api/formats_api.rb +8 -10
- data/lib/cloudsmith-api/api/metrics_api.rb +11 -14
- data/lib/cloudsmith-api/api/namespaces_api.rb +8 -10
- data/lib/cloudsmith-api/api/orgs_api.rb +17 -22
- data/lib/cloudsmith-api/api/packages_api.rb +170 -226
- data/lib/cloudsmith-api/api/quota_api.rb +14 -18
- data/lib/cloudsmith-api/api/rates_api.rb +5 -6
- data/lib/cloudsmith-api/api/repos_api.rb +20 -26
- data/lib/cloudsmith-api/api/status_api.rb +5 -6
- data/lib/cloudsmith-api/api/{storageregions_api.rb → storage_regions_api.rb} +12 -14
- data/lib/cloudsmith-api/api/user_api.rb +8 -10
- data/lib/cloudsmith-api/api/users_api.rb +5 -6
- data/lib/cloudsmith-api/api/vulnerabilities_api.rb +14 -18
- data/lib/cloudsmith-api/api/webhooks_api.rb +17 -22
- data/lib/cloudsmith-api/api_client.rb +15 -13
- data/lib/cloudsmith-api/api_error.rb +1 -1
- data/lib/cloudsmith-api/configuration.rb +4 -4
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +8 -12
- data/lib/cloudsmith-api/models/conan_package_upload.rb +8 -12
- data/lib/cloudsmith-api/models/distribution.rb +9 -13
- data/lib/cloudsmith-api/models/distros_versions.rb +8 -12
- data/lib/cloudsmith-api/models/entitlement_usage_metrics.rb +9 -13
- data/lib/cloudsmith-api/models/entitlements_create.rb +9 -13
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +8 -12
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +8 -12
- data/lib/cloudsmith-api/models/entitlements_sync.rb +9 -13
- data/lib/cloudsmith-api/models/files_abort.rb +9 -13
- data/lib/cloudsmith-api/models/files_complete.rb +9 -13
- data/lib/cloudsmith-api/models/files_create.rb +9 -13
- data/lib/cloudsmith-api/models/files_validate.rb +9 -13
- data/lib/cloudsmith-api/models/format.rb +14 -18
- data/lib/cloudsmith-api/models/formats_distributions.rb +8 -12
- data/lib/cloudsmith-api/models/maven_package_upload.rb +8 -12
- data/lib/cloudsmith-api/models/namespace.rb +8 -12
- data/lib/cloudsmith-api/models/organization.rb +8 -12
- data/lib/cloudsmith-api/models/organization_membership.rb +8 -12
- data/lib/cloudsmith-api/models/package.rb +8 -12
- data/lib/cloudsmith-api/models/package_copy.rb +8 -12
- data/lib/cloudsmith-api/models/package_dependencies.rb +9 -13
- data/lib/cloudsmith-api/models/package_dependencies_dependencies.rb +8 -12
- data/lib/cloudsmith-api/models/package_file_parts_upload.rb +8 -12
- data/lib/cloudsmith-api/models/package_file_upload.rb +8 -12
- data/lib/cloudsmith-api/models/package_move.rb +8 -12
- data/lib/cloudsmith-api/models/package_status.rb +8 -12
- data/lib/cloudsmith-api/models/package_usage_metrics.rb +9 -13
- data/lib/cloudsmith-api/models/packages_copy.rb +9 -13
- data/lib/cloudsmith-api/models/packages_move.rb +9 -13
- data/lib/cloudsmith-api/models/packages_tag.rb +8 -12
- data/lib/cloudsmith-api/models/packages_upload_alpine.rb +10 -14
- data/lib/cloudsmith-api/models/packages_upload_cargo.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_cocoapods.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_composer.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_conan.rb +12 -16
- data/lib/cloudsmith-api/models/packages_upload_conda.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_cran.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_dart.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_deb.rb +10 -14
- data/lib/cloudsmith-api/models/packages_upload_docker.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_go.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_helm.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_luarocks.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_maven.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_npm.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_nuget.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_p2.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_python.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_raw.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_rpm.rb +10 -14
- data/lib/cloudsmith-api/models/packages_upload_ruby.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_terraform.rb +9 -13
- data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +12 -16
- data/lib/cloudsmith-api/models/packages_validateupload_alpine.rb +10 -14
- data/lib/cloudsmith-api/models/packages_validateupload_cargo.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_cocoapods.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_conan.rb +12 -16
- data/lib/cloudsmith-api/models/packages_validateupload_conda.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_cran.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_dart.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +10 -14
- data/lib/cloudsmith-api/models/packages_validateupload_docker.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_go.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_helm.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_luarocks.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_npm.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_nuget.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_p2.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_python.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +10 -14
- data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_terraform.rb +9 -13
- data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +12 -16
- data/lib/cloudsmith-api/models/packagesownerrepo_architectures.rb +8 -12
- data/lib/cloudsmith-api/models/packagesownerrepo_files.rb +8 -12
- data/lib/cloudsmith-api/models/quota.rb +9 -13
- data/lib/cloudsmith-api/models/quota_history.rb +9 -13
- data/lib/cloudsmith-api/models/quota_history_history.rb +8 -12
- data/lib/cloudsmith-api/models/raw_package_upload.rb +8 -12
- data/lib/cloudsmith-api/models/repos_create.rb +9 -13
- data/lib/cloudsmith-api/models/repos_gpg_keys.rb +8 -12
- data/lib/cloudsmith-api/models/repos_partial_update.rb +8 -12
- data/lib/cloudsmith-api/models/repository.rb +9 -13
- data/lib/cloudsmith-api/models/repository_token.rb +9 -13
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +8 -12
- data/lib/cloudsmith-api/models/repository_token_sync.rb +8 -12
- data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +8 -12
- data/lib/cloudsmith-api/models/repository_webhook.rb +11 -15
- data/lib/cloudsmith-api/models/resources_rate_check.rb +8 -12
- data/lib/cloudsmith-api/models/status.rb +9 -13
- data/lib/cloudsmith-api/models/status_basic.rb +8 -12
- data/lib/cloudsmith-api/models/storage_region.rb +10 -14
- data/lib/cloudsmith-api/models/user_auth_token.rb +8 -12
- data/lib/cloudsmith-api/models/user_brief.rb +8 -12
- data/lib/cloudsmith-api/models/user_profile.rb +10 -14
- data/lib/cloudsmith-api/models/user_token_create.rb +8 -12
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +11 -15
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +12 -16
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +11 -15
- data/lib/cloudsmith-api/models/webhooks_create.rb +11 -15
- data/lib/cloudsmith-api/models/webhooks_partial_update.rb +8 -12
- data/lib/cloudsmith-api/models/webhooksownerrepo_templates.rb +8 -12
- data/lib/cloudsmith-api/version.rb +2 -2
- data/lib/cloudsmith-api.rb +2 -2
- data/spec/api/badges_api_spec.rb +3 -3
- data/spec/api/distros_api_spec.rb +3 -3
- data/spec/api/entitlements_api_spec.rb +11 -11
- data/spec/api/files_api_spec.rb +6 -6
- data/spec/api/formats_api_spec.rb +3 -3
- data/spec/api/metrics_api_spec.rb +4 -4
- data/spec/api/namespaces_api_spec.rb +3 -3
- data/spec/api/orgs_api_spec.rb +6 -6
- data/spec/api/packages_api_spec.rb +57 -57
- data/spec/api/quota_api_spec.rb +5 -5
- data/spec/api/rates_api_spec.rb +2 -2
- data/spec/api/repos_api_spec.rb +7 -7
- data/spec/api/status_api_spec.rb +2 -2
- data/spec/api/{storageregions_api_spec.rb → storage_regions_api_spec.rb} +9 -9
- data/spec/api/user_api_spec.rb +3 -3
- data/spec/api/users_api_spec.rb +2 -2
- data/spec/api/vulnerabilities_api_spec.rb +5 -5
- data/spec/api/webhooks_api_spec.rb +6 -6
- data/spec/api_client_spec.rb +52 -35
- data/spec/configuration_spec.rb +9 -9
- data/spec/models/alpine_package_upload_spec.rb +65 -66
- data/spec/models/conan_package_upload_spec.rb +67 -68
- data/spec/models/distribution_spec.rb +8 -9
- data/spec/models/distros_versions_spec.rb +3 -4
- data/spec/models/entitlement_usage_metrics_spec.rb +2 -3
- data/spec/models/entitlements_create_spec.rb +16 -17
- data/spec/models/entitlements_partial_update_spec.rb +16 -17
- data/spec/models/entitlements_refresh_spec.rb +15 -16
- data/spec/models/entitlements_sync_spec.rb +2 -3
- data/spec/models/files_abort_spec.rb +5 -6
- data/spec/models/files_complete_spec.rb +5 -6
- data/spec/models/files_create_spec.rb +5 -6
- data/spec/models/files_validate_spec.rb +5 -6
- data/spec/models/format_spec.rb +10 -11
- data/spec/models/formats_distributions_spec.rb +5 -6
- data/spec/models/maven_package_upload_spec.rb +68 -69
- data/spec/models/namespace_spec.rb +5 -6
- data/spec/models/organization_membership_spec.rb +11 -12
- data/spec/models/organization_spec.rb +8 -9
- data/spec/models/package_copy_spec.rb +66 -67
- data/spec/models/package_dependencies_dependencies_spec.rb +5 -6
- data/spec/models/package_dependencies_spec.rb +2 -3
- data/spec/models/package_file_parts_upload_spec.rb +4 -5
- data/spec/models/package_file_upload_spec.rb +6 -7
- data/spec/models/package_move_spec.rb +66 -67
- data/spec/models/package_spec.rb +66 -67
- data/spec/models/package_status_spec.rb +16 -17
- data/spec/models/package_usage_metrics_spec.rb +2 -3
- data/spec/models/packages_copy_spec.rb +3 -4
- data/spec/models/packages_move_spec.rb +2 -3
- data/spec/models/packages_tag_spec.rb +4 -5
- data/spec/models/packages_upload_alpine_spec.rb +5 -6
- data/spec/models/packages_upload_cargo_spec.rb +4 -5
- data/spec/models/packages_upload_cocoapods_spec.rb +4 -5
- data/spec/models/packages_upload_composer_spec.rb +4 -5
- data/spec/models/packages_upload_conan_spec.rb +11 -12
- data/spec/models/packages_upload_conda_spec.rb +4 -5
- data/spec/models/packages_upload_cran_spec.rb +4 -5
- data/spec/models/packages_upload_dart_spec.rb +4 -5
- data/spec/models/packages_upload_deb_spec.rb +7 -8
- data/spec/models/packages_upload_docker_spec.rb +4 -5
- data/spec/models/packages_upload_go_spec.rb +4 -5
- data/spec/models/packages_upload_helm_spec.rb +4 -5
- data/spec/models/packages_upload_luarocks_spec.rb +4 -5
- data/spec/models/packages_upload_maven_spec.rb +12 -13
- data/spec/models/packages_upload_npm_spec.rb +5 -6
- data/spec/models/packages_upload_nuget_spec.rb +5 -6
- data/spec/models/packages_upload_p2_spec.rb +4 -5
- data/spec/models/packages_upload_python_spec.rb +4 -5
- data/spec/models/packages_upload_raw_spec.rb +9 -10
- data/spec/models/packages_upload_rpm_spec.rb +5 -6
- data/spec/models/packages_upload_ruby_spec.rb +4 -5
- data/spec/models/packages_upload_terraform_spec.rb +4 -5
- data/spec/models/packages_upload_vagrant_spec.rb +7 -8
- data/spec/models/packages_validateupload_alpine_spec.rb +5 -6
- data/spec/models/packages_validateupload_cargo_spec.rb +4 -5
- data/spec/models/packages_validateupload_cocoapods_spec.rb +4 -5
- data/spec/models/packages_validateupload_composer_spec.rb +4 -5
- data/spec/models/packages_validateupload_conan_spec.rb +11 -12
- data/spec/models/packages_validateupload_conda_spec.rb +4 -5
- data/spec/models/packages_validateupload_cran_spec.rb +4 -5
- data/spec/models/packages_validateupload_dart_spec.rb +4 -5
- data/spec/models/packages_validateupload_deb_spec.rb +7 -8
- data/spec/models/packages_validateupload_docker_spec.rb +4 -5
- data/spec/models/packages_validateupload_go_spec.rb +4 -5
- data/spec/models/packages_validateupload_helm_spec.rb +4 -5
- data/spec/models/packages_validateupload_luarocks_spec.rb +4 -5
- data/spec/models/packages_validateupload_maven_spec.rb +12 -13
- data/spec/models/packages_validateupload_npm_spec.rb +5 -6
- data/spec/models/packages_validateupload_nuget_spec.rb +5 -6
- data/spec/models/packages_validateupload_p2_spec.rb +4 -5
- data/spec/models/packages_validateupload_python_spec.rb +4 -5
- data/spec/models/packages_validateupload_raw_spec.rb +9 -10
- data/spec/models/packages_validateupload_rpm_spec.rb +5 -6
- data/spec/models/packages_validateupload_ruby_spec.rb +4 -5
- data/spec/models/packages_validateupload_terraform_spec.rb +4 -5
- data/spec/models/packages_validateupload_vagrant_spec.rb +7 -8
- data/spec/models/packagesownerrepo_architectures_spec.rb +3 -4
- data/spec/models/packagesownerrepo_files_spec.rb +15 -16
- data/spec/models/quota_history_history_spec.rb +7 -8
- data/spec/models/quota_history_spec.rb +2 -3
- data/spec/models/quota_spec.rb +2 -3
- data/spec/models/raw_package_upload_spec.rb +65 -66
- data/spec/models/repos_create_spec.rb +7 -8
- data/spec/models/repos_gpg_keys_spec.rb +8 -9
- data/spec/models/repos_partial_update_spec.rb +6 -7
- data/spec/models/repository_spec.rb +25 -26
- data/spec/models/repository_token_refresh_spec.rb +40 -41
- data/spec/models/repository_token_spec.rb +40 -41
- data/spec/models/repository_token_sync_spec.rb +2 -3
- data/spec/models/repository_token_sync_tokens_spec.rb +40 -41
- data/spec/models/repository_webhook_spec.rb +28 -29
- data/spec/models/resources_rate_check_spec.rb +2 -3
- data/spec/models/status_basic_spec.rb +3 -4
- data/spec/models/status_spec.rb +2 -3
- data/spec/models/storage_region_spec.rb +3 -4
- data/spec/models/user_auth_token_spec.rb +2 -3
- data/spec/models/user_brief_spec.rb +8 -9
- data/spec/models/user_profile_spec.rb +11 -12
- data/spec/models/user_token_create_spec.rb +3 -4
- data/spec/models/vagrant_package_upload_spec.rb +66 -67
- data/spec/models/vulnerability_scan_results_list_spec.rb +8 -9
- data/spec/models/vulnerability_scan_results_spec.rb +9 -10
- data/spec/models/webhooks_create_spec.rb +13 -14
- data/spec/models/webhooks_partial_update_spec.rb +13 -14
- data/spec/models/webhooksownerrepo_templates_spec.rb +3 -4
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/cache/rake-12.3.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/CONTRIBUTING.rdoc +11 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/History.rdoc +107 -10
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/MIT-LICENSE +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/README.rdoc +7 -7
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/Rakefile +7 -4
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/azure-pipelines.yml +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/bundle +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/bin/console +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rake +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rdoc +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/bin/rubocop +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/bin/setup +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/command_line_usage.rdoc +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/example/Rakefile1 +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/example/Rakefile2 +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/example/a.c +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/example/b.c +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/example/main.c +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/glossary.rdoc +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/jamis.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/proto_rake.rdoc +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/rake.1 +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/rakefile.rdoc +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/doc/rational.rdoc +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/exe/rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/application.rb +54 -15
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/backtrace.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/clean.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/cloneable.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/cpu_counter.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/default_loader.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/dsl_definition.rb +4 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/early_time.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/ext/core.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/ext/string.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/file_creation_task.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/file_list.rb +5 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/file_task.rb +11 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/file_utils.rb +4 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/file_utils_ext.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/invocation_chain.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/invocation_exception_mixin.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/late_time.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/linked_list.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/loaders/makefile.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/name_space.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/packagetask.rb +3 -6
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/phony.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/private_reader.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/promise.rb +3 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/pseudo_status.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/rake_module.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +27 -0
- 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
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/scope.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/task.rb +37 -14
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/task_argument_error.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/task_arguments.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/task_manager.rb +28 -7
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/tasklib.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/testtask.rb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/thread_history_display.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/thread_pool.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/trace_output.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/version.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake/win32.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/lib/rake.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rake-12.0.0 → rake-12.3.3}/rake.gemspec +6 -3
- data/vendor/bundle/ruby/2.6.0/specifications/{rake-12.0.0.gemspec → rake-12.3.3.gemspec} +10 -4
- metadata +98 -76
- data/vendor/bundle/ruby/2.6.0/cache/rake-12.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/.gitignore +0 -14
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/.rubocop.yml +0 -57
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/.travis.yml +0 -21
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/appveyor.yml +0 -21
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/multi_task.rb +0 -49
- data/vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/rake_test_loader.rb +0 -21
data/docs/QuotaApi.md
CHANGED
@@ -31,7 +31,7 @@ end
|
|
31
31
|
|
32
32
|
api_instance = CloudsmithApi::QuotaApi.new
|
33
33
|
|
34
|
-
owner =
|
34
|
+
owner = 'owner_example' # String |
|
35
35
|
|
36
36
|
|
37
37
|
begin
|
@@ -85,7 +85,7 @@ end
|
|
85
85
|
|
86
86
|
api_instance = CloudsmithApi::QuotaApi.new
|
87
87
|
|
88
|
-
owner =
|
88
|
+
owner = 'owner_example' # String |
|
89
89
|
|
90
90
|
|
91
91
|
begin
|
@@ -139,7 +139,7 @@ end
|
|
139
139
|
|
140
140
|
api_instance = CloudsmithApi::QuotaApi.new
|
141
141
|
|
142
|
-
owner =
|
142
|
+
owner = 'owner_example' # String |
|
143
143
|
|
144
144
|
|
145
145
|
begin
|
@@ -193,7 +193,7 @@ end
|
|
193
193
|
|
194
194
|
api_instance = CloudsmithApi::QuotaApi.new
|
195
195
|
|
196
|
-
owner =
|
196
|
+
owner = 'owner_example' # String |
|
197
197
|
|
198
198
|
|
199
199
|
begin
|
data/docs/ReposApi.md
CHANGED
@@ -90,7 +90,7 @@ end
|
|
90
90
|
|
91
91
|
api_instance = CloudsmithApi::ReposApi.new
|
92
92
|
|
93
|
-
owner =
|
93
|
+
owner = 'owner_example' # String |
|
94
94
|
|
95
95
|
opts = {
|
96
96
|
data: CloudsmithApi::ReposCreate.new # ReposCreate |
|
@@ -148,9 +148,9 @@ end
|
|
148
148
|
|
149
149
|
api_instance = CloudsmithApi::ReposApi.new
|
150
150
|
|
151
|
-
owner =
|
151
|
+
owner = 'owner_example' # String |
|
152
152
|
|
153
|
-
identifier =
|
153
|
+
identifier = 'identifier_example' # String |
|
154
154
|
|
155
155
|
|
156
156
|
begin
|
@@ -204,7 +204,7 @@ end
|
|
204
204
|
|
205
205
|
api_instance = CloudsmithApi::ReposApi.new
|
206
206
|
|
207
|
-
owner =
|
207
|
+
owner = 'owner_example' # String |
|
208
208
|
|
209
209
|
opts = {
|
210
210
|
page: 56, # Integer | A page number within the paginated result set.
|
@@ -264,9 +264,9 @@ end
|
|
264
264
|
|
265
265
|
api_instance = CloudsmithApi::ReposApi.new
|
266
266
|
|
267
|
-
owner =
|
267
|
+
owner = 'owner_example' # String |
|
268
268
|
|
269
|
-
identifier =
|
269
|
+
identifier = 'identifier_example' # String |
|
270
270
|
|
271
271
|
opts = {
|
272
272
|
data: CloudsmithApi::ReposPartialUpdate.new # ReposPartialUpdate |
|
@@ -325,9 +325,9 @@ end
|
|
325
325
|
|
326
326
|
api_instance = CloudsmithApi::ReposApi.new
|
327
327
|
|
328
|
-
owner =
|
328
|
+
owner = 'owner_example' # String |
|
329
329
|
|
330
|
-
identifier =
|
330
|
+
identifier = 'identifier_example' # String |
|
331
331
|
|
332
332
|
|
333
333
|
begin
|
@@ -0,0 +1,112 @@
|
|
1
|
+
# CloudsmithApi::StorageRegionsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.cloudsmith.io/v1*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**storage_regions_list**](StorageRegionsApi.md#storage_regions_list) | **GET** /storage-regions/ | Get a list of all available storage regions.
|
8
|
+
[**storage_regions_read**](StorageRegionsApi.md#storage_regions_read) | **GET** /storage-regions/{slug}/ | Get a specific storage region.
|
9
|
+
|
10
|
+
|
11
|
+
# **storage_regions_list**
|
12
|
+
> Array<StorageRegion> storage_regions_list
|
13
|
+
|
14
|
+
Get a list of all available storage regions.
|
15
|
+
|
16
|
+
Get a list of all available storage regions.
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'cloudsmith-api'
|
22
|
+
# setup authorization
|
23
|
+
CloudsmithApi.configure do |config|
|
24
|
+
# Configure API key authorization: apikey
|
25
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
26
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
28
|
+
end
|
29
|
+
|
30
|
+
api_instance = CloudsmithApi::StorageRegionsApi.new
|
31
|
+
|
32
|
+
begin
|
33
|
+
#Get a list of all available storage regions.
|
34
|
+
result = api_instance.storage_regions_list
|
35
|
+
p result
|
36
|
+
rescue CloudsmithApi::ApiError => e
|
37
|
+
puts "Exception when calling StorageRegionsApi->storage_regions_list: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
### Parameters
|
42
|
+
This endpoint does not need any parameter.
|
43
|
+
|
44
|
+
### Return type
|
45
|
+
|
46
|
+
[**Array<StorageRegion>**](StorageRegion.md)
|
47
|
+
|
48
|
+
### Authorization
|
49
|
+
|
50
|
+
[apikey](../README.md#apikey)
|
51
|
+
|
52
|
+
### HTTP request headers
|
53
|
+
|
54
|
+
- **Content-Type**: Not defined
|
55
|
+
- **Accept**: Not defined
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
# **storage_regions_read**
|
60
|
+
> StorageRegion storage_regions_read(slug)
|
61
|
+
|
62
|
+
Get a specific storage region.
|
63
|
+
|
64
|
+
Get a specific storage region.
|
65
|
+
|
66
|
+
### Example
|
67
|
+
```ruby
|
68
|
+
# load the gem
|
69
|
+
require 'cloudsmith-api'
|
70
|
+
# setup authorization
|
71
|
+
CloudsmithApi.configure do |config|
|
72
|
+
# Configure API key authorization: apikey
|
73
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
74
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
75
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
76
|
+
end
|
77
|
+
|
78
|
+
api_instance = CloudsmithApi::StorageRegionsApi.new
|
79
|
+
|
80
|
+
slug = 'slug_example' # String |
|
81
|
+
|
82
|
+
|
83
|
+
begin
|
84
|
+
#Get a specific storage region.
|
85
|
+
result = api_instance.storage_regions_read(slug)
|
86
|
+
p result
|
87
|
+
rescue CloudsmithApi::ApiError => e
|
88
|
+
puts "Exception when calling StorageRegionsApi->storage_regions_read: #{e}"
|
89
|
+
end
|
90
|
+
```
|
91
|
+
|
92
|
+
### Parameters
|
93
|
+
|
94
|
+
Name | Type | Description | Notes
|
95
|
+
------------- | ------------- | ------------- | -------------
|
96
|
+
**slug** | **String**| |
|
97
|
+
|
98
|
+
### Return type
|
99
|
+
|
100
|
+
[**StorageRegion**](StorageRegion.md)
|
101
|
+
|
102
|
+
### Authorization
|
103
|
+
|
104
|
+
[apikey](../README.md#apikey)
|
105
|
+
|
106
|
+
### HTTP request headers
|
107
|
+
|
108
|
+
- **Content-Type**: Not defined
|
109
|
+
- **Accept**: Not defined
|
110
|
+
|
111
|
+
|
112
|
+
|
data/docs/StorageregionsApi.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
# CloudsmithApi::
|
1
|
+
# CloudsmithApi::StorageRegionsApi
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.cloudsmith.io/v1*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**storage_regions_list**](
|
8
|
-
[**storage_regions_read**](
|
7
|
+
[**storage_regions_list**](StorageRegionsApi.md#storage_regions_list) | **GET** /storage-regions/ | Get a list of all available storage regions.
|
8
|
+
[**storage_regions_read**](StorageRegionsApi.md#storage_regions_read) | **GET** /storage-regions/{slug}/ | Get a specific storage region.
|
9
9
|
|
10
10
|
|
11
11
|
# **storage_regions_list**
|
@@ -27,14 +27,14 @@ CloudsmithApi.configure do |config|
|
|
27
27
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
28
28
|
end
|
29
29
|
|
30
|
-
api_instance = CloudsmithApi::
|
30
|
+
api_instance = CloudsmithApi::StorageRegionsApi.new
|
31
31
|
|
32
32
|
begin
|
33
33
|
#Get a list of all available storage regions.
|
34
34
|
result = api_instance.storage_regions_list
|
35
35
|
p result
|
36
36
|
rescue CloudsmithApi::ApiError => e
|
37
|
-
puts "Exception when calling
|
37
|
+
puts "Exception when calling StorageRegionsApi->storage_regions_list: #{e}"
|
38
38
|
end
|
39
39
|
```
|
40
40
|
|
@@ -75,9 +75,9 @@ CloudsmithApi.configure do |config|
|
|
75
75
|
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
76
76
|
end
|
77
77
|
|
78
|
-
api_instance = CloudsmithApi::
|
78
|
+
api_instance = CloudsmithApi::StorageRegionsApi.new
|
79
79
|
|
80
|
-
slug =
|
80
|
+
slug = 'slug_example' # String |
|
81
81
|
|
82
82
|
|
83
83
|
begin
|
@@ -85,7 +85,7 @@ begin
|
|
85
85
|
result = api_instance.storage_regions_read(slug)
|
86
86
|
p result
|
87
87
|
rescue CloudsmithApi::ApiError => e
|
88
|
-
puts "Exception when calling
|
88
|
+
puts "Exception when calling StorageRegionsApi->storage_regions_read: #{e}"
|
89
89
|
end
|
90
90
|
```
|
91
91
|
|
data/docs/UsersApi.md
CHANGED
data/docs/VulnerabilitiesApi.md
CHANGED
@@ -31,7 +31,7 @@ end
|
|
31
31
|
|
32
32
|
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
33
33
|
|
34
|
-
owner =
|
34
|
+
owner = 'owner_example' # String |
|
35
35
|
|
36
36
|
opts = {
|
37
37
|
page: 56, # Integer | A page number within the paginated result set.
|
@@ -91,9 +91,9 @@ end
|
|
91
91
|
|
92
92
|
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
93
93
|
|
94
|
-
owner =
|
94
|
+
owner = 'owner_example' # String |
|
95
95
|
|
96
|
-
repo =
|
96
|
+
repo = 'repo_example' # String |
|
97
97
|
|
98
98
|
opts = {
|
99
99
|
page: 56, # Integer | A page number within the paginated result set.
|
@@ -154,11 +154,11 @@ end
|
|
154
154
|
|
155
155
|
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
156
156
|
|
157
|
-
owner =
|
157
|
+
owner = 'owner_example' # String |
|
158
158
|
|
159
|
-
repo =
|
159
|
+
repo = 'repo_example' # String |
|
160
160
|
|
161
|
-
package =
|
161
|
+
package = 'package_example' # String |
|
162
162
|
|
163
163
|
opts = {
|
164
164
|
page: 56, # Integer | A page number within the paginated result set.
|
@@ -220,13 +220,13 @@ end
|
|
220
220
|
|
221
221
|
api_instance = CloudsmithApi::VulnerabilitiesApi.new
|
222
222
|
|
223
|
-
owner =
|
223
|
+
owner = 'owner_example' # String |
|
224
224
|
|
225
|
-
repo =
|
225
|
+
repo = 'repo_example' # String |
|
226
226
|
|
227
|
-
package =
|
227
|
+
package = 'package_example' # String |
|
228
228
|
|
229
|
-
scan_id =
|
229
|
+
scan_id = 'scan_id_example' # String |
|
230
230
|
|
231
231
|
|
232
232
|
begin
|
data/docs/WebhooksApi.md
CHANGED
@@ -32,9 +32,9 @@ end
|
|
32
32
|
|
33
33
|
api_instance = CloudsmithApi::WebhooksApi.new
|
34
34
|
|
35
|
-
owner =
|
35
|
+
owner = 'owner_example' # String |
|
36
36
|
|
37
|
-
repo =
|
37
|
+
repo = 'repo_example' # String |
|
38
38
|
|
39
39
|
opts = {
|
40
40
|
data: CloudsmithApi::WebhooksCreate.new # WebhooksCreate |
|
@@ -93,11 +93,11 @@ end
|
|
93
93
|
|
94
94
|
api_instance = CloudsmithApi::WebhooksApi.new
|
95
95
|
|
96
|
-
owner =
|
96
|
+
owner = 'owner_example' # String |
|
97
97
|
|
98
|
-
repo =
|
98
|
+
repo = 'repo_example' # String |
|
99
99
|
|
100
|
-
identifier =
|
100
|
+
identifier = 'identifier_example' # String |
|
101
101
|
|
102
102
|
|
103
103
|
begin
|
@@ -152,9 +152,9 @@ end
|
|
152
152
|
|
153
153
|
api_instance = CloudsmithApi::WebhooksApi.new
|
154
154
|
|
155
|
-
owner =
|
155
|
+
owner = 'owner_example' # String |
|
156
156
|
|
157
|
-
repo =
|
157
|
+
repo = 'repo_example' # String |
|
158
158
|
|
159
159
|
opts = {
|
160
160
|
page: 56, # Integer | A page number within the paginated result set.
|
@@ -215,11 +215,11 @@ end
|
|
215
215
|
|
216
216
|
api_instance = CloudsmithApi::WebhooksApi.new
|
217
217
|
|
218
|
-
owner =
|
218
|
+
owner = 'owner_example' # String |
|
219
219
|
|
220
|
-
repo =
|
220
|
+
repo = 'repo_example' # String |
|
221
221
|
|
222
|
-
identifier =
|
222
|
+
identifier = 'identifier_example' # String |
|
223
223
|
|
224
224
|
opts = {
|
225
225
|
data: CloudsmithApi::WebhooksPartialUpdate.new # WebhooksPartialUpdate |
|
@@ -279,11 +279,11 @@ end
|
|
279
279
|
|
280
280
|
api_instance = CloudsmithApi::WebhooksApi.new
|
281
281
|
|
282
|
-
owner =
|
282
|
+
owner = 'owner_example' # String |
|
283
283
|
|
284
|
-
repo =
|
284
|
+
repo = 'repo_example' # String |
|
285
285
|
|
286
|
-
identifier =
|
286
|
+
identifier = 'identifier_example' # String |
|
287
287
|
|
288
288
|
|
289
289
|
begin
|
data/git_push.sh
CHANGED
@@ -39,7 +39,7 @@ git_remote=`git remote`
|
|
39
39
|
if [ "$git_remote" = "" ]; then # git remote not defined
|
40
40
|
|
41
41
|
if [ "$GIT_TOKEN" = "" ]; then
|
42
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git
|
42
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
43
43
|
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
|
44
44
|
else
|
45
45
|
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
|
@@ -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.
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
16
|
class BadgesApi
|
@@ -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
|
# Get latest package version for a package or package group.
|
24
23
|
# Get latest package version for a package or package group.
|
25
24
|
# @param owner
|
@@ -40,10 +39,10 @@ module CloudsmithApi
|
|
40
39
|
# @option opts [BOOLEAN] :shields If true, a shields response will be generated
|
41
40
|
# @option opts [BOOLEAN] :show_latest If true, for latest version badges a '(latest)' suffix is added
|
42
41
|
# @option opts [String] :style Override the shields.io badge style value.
|
43
|
-
# @return [
|
42
|
+
# @return [Object]
|
44
43
|
def badges_version_list(owner, repo, package_format, package_name, package_version, package_identifiers, opts = {})
|
45
|
-
badges_version_list_with_http_info(owner, repo, package_format, package_name, package_version, package_identifiers, opts)
|
46
|
-
|
44
|
+
data, _status_code, _headers = badges_version_list_with_http_info(owner, repo, package_format, package_name, package_version, package_identifiers, opts)
|
45
|
+
data
|
47
46
|
end
|
48
47
|
|
49
48
|
# Get latest package version for a package or package group.
|
@@ -66,10 +65,10 @@ module CloudsmithApi
|
|
66
65
|
# @option opts [BOOLEAN] :shields If true, a shields response will be generated
|
67
66
|
# @option opts [BOOLEAN] :show_latest If true, for latest version badges a '(latest)' suffix is added
|
68
67
|
# @option opts [String] :style Override the shields.io badge style value.
|
69
|
-
# @return [Array<(
|
68
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
70
69
|
def badges_version_list_with_http_info(owner, repo, package_format, package_name, package_version, package_identifiers, opts = {})
|
71
70
|
if @api_client.config.debugging
|
72
|
-
@api_client.config.logger.debug
|
71
|
+
@api_client.config.logger.debug 'Calling API: BadgesApi.badges_version_list ...'
|
73
72
|
end
|
74
73
|
# verify the required parameter 'owner' is set
|
75
74
|
if @api_client.config.client_side_validation && owner.nil?
|
@@ -96,7 +95,7 @@ module CloudsmithApi
|
|
96
95
|
fail ArgumentError, "Missing the required parameter 'package_identifiers' when calling BadgesApi.badges_version_list"
|
97
96
|
end
|
98
97
|
# resource path
|
99
|
-
local_var_path =
|
98
|
+
local_var_path = '/badges/version/{owner}/{repo}/{package_format}/{package_name}/{package_version}/{package_identifiers}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'package_format' + '}', package_format.to_s).sub('{' + 'package_name' + '}', package_name.to_s).sub('{' + 'package_version' + '}', package_version.to_s).sub('{' + 'package_identifiers' + '}', package_identifiers.to_s)
|
100
99
|
|
101
100
|
# query parameters
|
102
101
|
query_params = {}
|
@@ -126,7 +125,8 @@ module CloudsmithApi
|
|
126
125
|
:query_params => query_params,
|
127
126
|
:form_params => form_params,
|
128
127
|
:body => post_body,
|
129
|
-
:auth_names => auth_names
|
128
|
+
:auth_names => auth_names,
|
129
|
+
:return_type => 'Object')
|
130
130
|
if @api_client.config.debugging
|
131
131
|
@api_client.config.logger.debug "API called: BadgesApi#badges_version_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
132
132
|
end
|
@@ -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.
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
16
|
class DistrosApi
|
@@ -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 distributions.
|
24
23
|
# Get a list of all supported distributions.
|
25
24
|
# @param [Hash] opts the optional parameters
|
26
25
|
# @return [Array<Distribution>]
|
27
26
|
def distros_list(opts = {})
|
28
27
|
data, _status_code, _headers = distros_list_with_http_info(opts)
|
29
|
-
|
28
|
+
data
|
30
29
|
end
|
31
30
|
|
32
31
|
# Get a list of all supported distributions.
|
@@ -35,10 +34,10 @@ module CloudsmithApi
|
|
35
34
|
# @return [Array<(Array<Distribution>, Fixnum, Hash)>] Array<Distribution> data, response status code and response headers
|
36
35
|
def distros_list_with_http_info(opts = {})
|
37
36
|
if @api_client.config.debugging
|
38
|
-
@api_client.config.logger.debug
|
37
|
+
@api_client.config.logger.debug 'Calling API: DistrosApi.distros_list ...'
|
39
38
|
end
|
40
39
|
# resource path
|
41
|
-
local_var_path =
|
40
|
+
local_var_path = '/distros/'
|
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
|
# View for viewing/listing distributions.
|
69
67
|
# View for viewing/listing distributions.
|
70
68
|
# @param slug
|
@@ -72,7 +70,7 @@ module CloudsmithApi
|
|
72
70
|
# @return [Distribution]
|
73
71
|
def distros_read(slug, opts = {})
|
74
72
|
data, _status_code, _headers = distros_read_with_http_info(slug, opts)
|
75
|
-
|
73
|
+
data
|
76
74
|
end
|
77
75
|
|
78
76
|
# View for viewing/listing distributions.
|
@@ -82,14 +80,14 @@ module CloudsmithApi
|
|
82
80
|
# @return [Array<(Distribution, Fixnum, Hash)>] Distribution data, response status code and response headers
|
83
81
|
def distros_read_with_http_info(slug, opts = {})
|
84
82
|
if @api_client.config.debugging
|
85
|
-
@api_client.config.logger.debug
|
83
|
+
@api_client.config.logger.debug 'Calling API: DistrosApi.distros_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 DistrosApi.distros_read"
|
90
88
|
end
|
91
89
|
# resource path
|
92
|
-
local_var_path =
|
90
|
+
local_var_path = '/distros/{slug}/'.sub('{' + 'slug' + '}', slug.to_s)
|
93
91
|
|
94
92
|
# query parameters
|
95
93
|
query_params = {}
|