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
@@ -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 QuotaApi
|
@@ -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
|
# Quota history for a given namespace.
|
24
23
|
# Quota history for a given namespace.
|
25
24
|
# @param owner
|
@@ -27,7 +26,7 @@ module CloudsmithApi
|
|
27
26
|
# @return [QuotaHistory]
|
28
27
|
def quota_history_read(owner, opts = {})
|
29
28
|
data, _status_code, _headers = quota_history_read_with_http_info(owner, opts)
|
30
|
-
|
29
|
+
data
|
31
30
|
end
|
32
31
|
|
33
32
|
# Quota history for a given namespace.
|
@@ -37,14 +36,14 @@ module CloudsmithApi
|
|
37
36
|
# @return [Array<(QuotaHistory, Fixnum, Hash)>] QuotaHistory data, response status code and response headers
|
38
37
|
def quota_history_read_with_http_info(owner, opts = {})
|
39
38
|
if @api_client.config.debugging
|
40
|
-
@api_client.config.logger.debug
|
39
|
+
@api_client.config.logger.debug 'Calling API: QuotaApi.quota_history_read ...'
|
41
40
|
end
|
42
41
|
# verify the required parameter 'owner' is set
|
43
42
|
if @api_client.config.client_side_validation && owner.nil?
|
44
43
|
fail ArgumentError, "Missing the required parameter 'owner' when calling QuotaApi.quota_history_read"
|
45
44
|
end
|
46
45
|
# resource path
|
47
|
-
local_var_path =
|
46
|
+
local_var_path = '/quota/history/{owner}/'.sub('{' + 'owner' + '}', owner.to_s)
|
48
47
|
|
49
48
|
# query parameters
|
50
49
|
query_params = {}
|
@@ -70,7 +69,6 @@ module CloudsmithApi
|
|
70
69
|
end
|
71
70
|
return data, status_code, headers
|
72
71
|
end
|
73
|
-
|
74
72
|
# Open-source Quota history for a given namespace.
|
75
73
|
# Open-source Quota history for a given namespace.
|
76
74
|
# @param owner
|
@@ -78,7 +76,7 @@ module CloudsmithApi
|
|
78
76
|
# @return [QuotaHistory]
|
79
77
|
def quota_oss_history_read(owner, opts = {})
|
80
78
|
data, _status_code, _headers = quota_oss_history_read_with_http_info(owner, opts)
|
81
|
-
|
79
|
+
data
|
82
80
|
end
|
83
81
|
|
84
82
|
# Open-source Quota history for a given namespace.
|
@@ -88,14 +86,14 @@ module CloudsmithApi
|
|
88
86
|
# @return [Array<(QuotaHistory, Fixnum, Hash)>] QuotaHistory data, response status code and response headers
|
89
87
|
def quota_oss_history_read_with_http_info(owner, opts = {})
|
90
88
|
if @api_client.config.debugging
|
91
|
-
@api_client.config.logger.debug
|
89
|
+
@api_client.config.logger.debug 'Calling API: QuotaApi.quota_oss_history_read ...'
|
92
90
|
end
|
93
91
|
# verify the required parameter 'owner' is set
|
94
92
|
if @api_client.config.client_side_validation && owner.nil?
|
95
93
|
fail ArgumentError, "Missing the required parameter 'owner' when calling QuotaApi.quota_oss_history_read"
|
96
94
|
end
|
97
95
|
# resource path
|
98
|
-
local_var_path =
|
96
|
+
local_var_path = '/quota/oss/history/{owner}/'.sub('{' + 'owner' + '}', owner.to_s)
|
99
97
|
|
100
98
|
# query parameters
|
101
99
|
query_params = {}
|
@@ -121,7 +119,6 @@ module CloudsmithApi
|
|
121
119
|
end
|
122
120
|
return data, status_code, headers
|
123
121
|
end
|
124
|
-
|
125
122
|
# Open-source Quota usage for a given namespace.
|
126
123
|
# Open-source Quota usage for a given namespace.
|
127
124
|
# @param owner
|
@@ -129,7 +126,7 @@ module CloudsmithApi
|
|
129
126
|
# @return [Quota]
|
130
127
|
def quota_oss_read(owner, opts = {})
|
131
128
|
data, _status_code, _headers = quota_oss_read_with_http_info(owner, opts)
|
132
|
-
|
129
|
+
data
|
133
130
|
end
|
134
131
|
|
135
132
|
# Open-source Quota usage for a given namespace.
|
@@ -139,14 +136,14 @@ module CloudsmithApi
|
|
139
136
|
# @return [Array<(Quota, Fixnum, Hash)>] Quota data, response status code and response headers
|
140
137
|
def quota_oss_read_with_http_info(owner, opts = {})
|
141
138
|
if @api_client.config.debugging
|
142
|
-
@api_client.config.logger.debug
|
139
|
+
@api_client.config.logger.debug 'Calling API: QuotaApi.quota_oss_read ...'
|
143
140
|
end
|
144
141
|
# verify the required parameter 'owner' is set
|
145
142
|
if @api_client.config.client_side_validation && owner.nil?
|
146
143
|
fail ArgumentError, "Missing the required parameter 'owner' when calling QuotaApi.quota_oss_read"
|
147
144
|
end
|
148
145
|
# resource path
|
149
|
-
local_var_path =
|
146
|
+
local_var_path = '/quota/oss/{owner}/'.sub('{' + 'owner' + '}', owner.to_s)
|
150
147
|
|
151
148
|
# query parameters
|
152
149
|
query_params = {}
|
@@ -172,7 +169,6 @@ module CloudsmithApi
|
|
172
169
|
end
|
173
170
|
return data, status_code, headers
|
174
171
|
end
|
175
|
-
|
176
172
|
# Quota usage for a given namespace.
|
177
173
|
# Quota usage for a given namespace.
|
178
174
|
# @param owner
|
@@ -180,7 +176,7 @@ module CloudsmithApi
|
|
180
176
|
# @return [Quota]
|
181
177
|
def quota_read(owner, opts = {})
|
182
178
|
data, _status_code, _headers = quota_read_with_http_info(owner, opts)
|
183
|
-
|
179
|
+
data
|
184
180
|
end
|
185
181
|
|
186
182
|
# Quota usage for a given namespace.
|
@@ -190,14 +186,14 @@ module CloudsmithApi
|
|
190
186
|
# @return [Array<(Quota, Fixnum, Hash)>] Quota data, response status code and response headers
|
191
187
|
def quota_read_with_http_info(owner, opts = {})
|
192
188
|
if @api_client.config.debugging
|
193
|
-
@api_client.config.logger.debug
|
189
|
+
@api_client.config.logger.debug 'Calling API: QuotaApi.quota_read ...'
|
194
190
|
end
|
195
191
|
# verify the required parameter 'owner' is set
|
196
192
|
if @api_client.config.client_side_validation && owner.nil?
|
197
193
|
fail ArgumentError, "Missing the required parameter 'owner' when calling QuotaApi.quota_read"
|
198
194
|
end
|
199
195
|
# resource path
|
200
|
-
local_var_path =
|
196
|
+
local_var_path = '/quota/{owner}/'.sub('{' + 'owner' + '}', owner.to_s)
|
201
197
|
|
202
198
|
# query parameters
|
203
199
|
query_params = {}
|
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
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 RatesApi
|
@@ -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
|
# Endpoint to check rate limits for current user.
|
24
23
|
# Endpoint to check rate limits for current user.
|
25
24
|
# @param [Hash] opts the optional parameters
|
26
25
|
# @return [ResourcesRateCheck]
|
27
26
|
def rates_limits_list(opts = {})
|
28
27
|
data, _status_code, _headers = rates_limits_list_with_http_info(opts)
|
29
|
-
|
28
|
+
data
|
30
29
|
end
|
31
30
|
|
32
31
|
# Endpoint to check rate limits for current user.
|
@@ -35,10 +34,10 @@ module CloudsmithApi
|
|
35
34
|
# @return [Array<(ResourcesRateCheck, Fixnum, Hash)>] ResourcesRateCheck data, response status code and response headers
|
36
35
|
def rates_limits_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: RatesApi.rates_limits_list ...'
|
39
38
|
end
|
40
39
|
# resource path
|
41
|
-
local_var_path =
|
40
|
+
local_var_path = '/rates/limits/'
|
42
41
|
|
43
42
|
# query parameters
|
44
43
|
query_params = {}
|
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
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 ReposApi
|
@@ -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 a list of all repositories associated with current user.
|
24
23
|
# Get a list of all repositories associated with current user.
|
25
24
|
# @param [Hash] opts the optional parameters
|
@@ -28,7 +27,7 @@ module CloudsmithApi
|
|
28
27
|
# @return [Array<Repository>]
|
29
28
|
def repos_all_list(opts = {})
|
30
29
|
data, _status_code, _headers = repos_all_list_with_http_info(opts)
|
31
|
-
|
30
|
+
data
|
32
31
|
end
|
33
32
|
|
34
33
|
# Get a list of all repositories associated with current user.
|
@@ -39,10 +38,10 @@ module CloudsmithApi
|
|
39
38
|
# @return [Array<(Array<Repository>, Fixnum, Hash)>] Array<Repository> data, response status code and response headers
|
40
39
|
def repos_all_list_with_http_info(opts = {})
|
41
40
|
if @api_client.config.debugging
|
42
|
-
@api_client.config.logger.debug
|
41
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_all_list ...'
|
43
42
|
end
|
44
43
|
# resource path
|
45
|
-
local_var_path =
|
44
|
+
local_var_path = '/repos/'
|
46
45
|
|
47
46
|
# query parameters
|
48
47
|
query_params = {}
|
@@ -70,7 +69,6 @@ module CloudsmithApi
|
|
70
69
|
end
|
71
70
|
return data, status_code, headers
|
72
71
|
end
|
73
|
-
|
74
72
|
# Create a new repository in a given namespace.
|
75
73
|
# Create a new repository in a given namespace.
|
76
74
|
# @param owner
|
@@ -79,7 +77,7 @@ module CloudsmithApi
|
|
79
77
|
# @return [Repository]
|
80
78
|
def repos_create(owner, opts = {})
|
81
79
|
data, _status_code, _headers = repos_create_with_http_info(owner, opts)
|
82
|
-
|
80
|
+
data
|
83
81
|
end
|
84
82
|
|
85
83
|
# Create a new repository in a given namespace.
|
@@ -90,14 +88,14 @@ module CloudsmithApi
|
|
90
88
|
# @return [Array<(Repository, Fixnum, Hash)>] Repository data, response status code and response headers
|
91
89
|
def repos_create_with_http_info(owner, opts = {})
|
92
90
|
if @api_client.config.debugging
|
93
|
-
@api_client.config.logger.debug
|
91
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_create ...'
|
94
92
|
end
|
95
93
|
# verify the required parameter 'owner' is set
|
96
94
|
if @api_client.config.client_side_validation && owner.nil?
|
97
95
|
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_create"
|
98
96
|
end
|
99
97
|
# resource path
|
100
|
-
local_var_path =
|
98
|
+
local_var_path = '/repos/{owner}/'.sub('{' + 'owner' + '}', owner.to_s)
|
101
99
|
|
102
100
|
# query parameters
|
103
101
|
query_params = {}
|
@@ -125,7 +123,6 @@ module CloudsmithApi
|
|
125
123
|
end
|
126
124
|
return data, status_code, headers
|
127
125
|
end
|
128
|
-
|
129
126
|
# Delete a repository in a given namespace.
|
130
127
|
# Delete a repository in a given namespace.
|
131
128
|
# @param owner
|
@@ -134,7 +131,7 @@ module CloudsmithApi
|
|
134
131
|
# @return [nil]
|
135
132
|
def repos_delete(owner, identifier, opts = {})
|
136
133
|
repos_delete_with_http_info(owner, identifier, opts)
|
137
|
-
|
134
|
+
nil
|
138
135
|
end
|
139
136
|
|
140
137
|
# Delete a repository in a given namespace.
|
@@ -145,7 +142,7 @@ module CloudsmithApi
|
|
145
142
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
146
143
|
def repos_delete_with_http_info(owner, identifier, opts = {})
|
147
144
|
if @api_client.config.debugging
|
148
|
-
@api_client.config.logger.debug
|
145
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_delete ...'
|
149
146
|
end
|
150
147
|
# verify the required parameter 'owner' is set
|
151
148
|
if @api_client.config.client_side_validation && owner.nil?
|
@@ -156,7 +153,7 @@ module CloudsmithApi
|
|
156
153
|
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_delete"
|
157
154
|
end
|
158
155
|
# resource path
|
159
|
-
local_var_path =
|
156
|
+
local_var_path = '/repos/{owner}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
160
157
|
|
161
158
|
# query parameters
|
162
159
|
query_params = {}
|
@@ -181,7 +178,6 @@ module CloudsmithApi
|
|
181
178
|
end
|
182
179
|
return data, status_code, headers
|
183
180
|
end
|
184
|
-
|
185
181
|
# Get a list of all repositories within a namespace.
|
186
182
|
# Get a list of all repositories within a namespace.
|
187
183
|
# @param owner
|
@@ -191,7 +187,7 @@ module CloudsmithApi
|
|
191
187
|
# @return [Array<Repository>]
|
192
188
|
def repos_list(owner, opts = {})
|
193
189
|
data, _status_code, _headers = repos_list_with_http_info(owner, opts)
|
194
|
-
|
190
|
+
data
|
195
191
|
end
|
196
192
|
|
197
193
|
# Get a list of all repositories within a namespace.
|
@@ -203,14 +199,14 @@ module CloudsmithApi
|
|
203
199
|
# @return [Array<(Array<Repository>, Fixnum, Hash)>] Array<Repository> data, response status code and response headers
|
204
200
|
def repos_list_with_http_info(owner, opts = {})
|
205
201
|
if @api_client.config.debugging
|
206
|
-
@api_client.config.logger.debug
|
202
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_list ...'
|
207
203
|
end
|
208
204
|
# verify the required parameter 'owner' is set
|
209
205
|
if @api_client.config.client_side_validation && owner.nil?
|
210
206
|
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_list"
|
211
207
|
end
|
212
208
|
# resource path
|
213
|
-
local_var_path =
|
209
|
+
local_var_path = '/repos/{owner}/'.sub('{' + 'owner' + '}', owner.to_s)
|
214
210
|
|
215
211
|
# query parameters
|
216
212
|
query_params = {}
|
@@ -238,7 +234,6 @@ module CloudsmithApi
|
|
238
234
|
end
|
239
235
|
return data, status_code, headers
|
240
236
|
end
|
241
|
-
|
242
237
|
# Update details about a repository in a given namespace.
|
243
238
|
# Update details about a repository in a given namespace.
|
244
239
|
# @param owner
|
@@ -248,7 +243,7 @@ module CloudsmithApi
|
|
248
243
|
# @return [Repository]
|
249
244
|
def repos_partial_update(owner, identifier, opts = {})
|
250
245
|
data, _status_code, _headers = repos_partial_update_with_http_info(owner, identifier, opts)
|
251
|
-
|
246
|
+
data
|
252
247
|
end
|
253
248
|
|
254
249
|
# Update details about a repository in a given namespace.
|
@@ -260,7 +255,7 @@ module CloudsmithApi
|
|
260
255
|
# @return [Array<(Repository, Fixnum, Hash)>] Repository data, response status code and response headers
|
261
256
|
def repos_partial_update_with_http_info(owner, identifier, opts = {})
|
262
257
|
if @api_client.config.debugging
|
263
|
-
@api_client.config.logger.debug
|
258
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_partial_update ...'
|
264
259
|
end
|
265
260
|
# verify the required parameter 'owner' is set
|
266
261
|
if @api_client.config.client_side_validation && owner.nil?
|
@@ -271,7 +266,7 @@ module CloudsmithApi
|
|
271
266
|
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_partial_update"
|
272
267
|
end
|
273
268
|
# resource path
|
274
|
-
local_var_path =
|
269
|
+
local_var_path = '/repos/{owner}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
275
270
|
|
276
271
|
# query parameters
|
277
272
|
query_params = {}
|
@@ -299,7 +294,6 @@ module CloudsmithApi
|
|
299
294
|
end
|
300
295
|
return data, status_code, headers
|
301
296
|
end
|
302
|
-
|
303
297
|
# Get a specific repository.
|
304
298
|
# Get a specific repository.
|
305
299
|
# @param owner
|
@@ -308,7 +302,7 @@ module CloudsmithApi
|
|
308
302
|
# @return [Repository]
|
309
303
|
def repos_read(owner, identifier, opts = {})
|
310
304
|
data, _status_code, _headers = repos_read_with_http_info(owner, identifier, opts)
|
311
|
-
|
305
|
+
data
|
312
306
|
end
|
313
307
|
|
314
308
|
# Get a specific repository.
|
@@ -319,7 +313,7 @@ module CloudsmithApi
|
|
319
313
|
# @return [Array<(Repository, Fixnum, Hash)>] Repository data, response status code and response headers
|
320
314
|
def repos_read_with_http_info(owner, identifier, opts = {})
|
321
315
|
if @api_client.config.debugging
|
322
|
-
@api_client.config.logger.debug
|
316
|
+
@api_client.config.logger.debug 'Calling API: ReposApi.repos_read ...'
|
323
317
|
end
|
324
318
|
# verify the required parameter 'owner' is set
|
325
319
|
if @api_client.config.client_side_validation && owner.nil?
|
@@ -330,7 +324,7 @@ module CloudsmithApi
|
|
330
324
|
fail ArgumentError, "Missing the required parameter 'identifier' when calling ReposApi.repos_read"
|
331
325
|
end
|
332
326
|
# resource path
|
333
|
-
local_var_path =
|
327
|
+
local_var_path = '/repos/{owner}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
334
328
|
|
335
329
|
# query parameters
|
336
330
|
query_params = {}
|
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
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 StatusApi
|
@@ -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
|
# Endpoint to check basic API connectivity.
|
24
23
|
# Endpoint to check basic API connectivity.
|
25
24
|
# @param [Hash] opts the optional parameters
|
26
25
|
# @return [StatusBasic]
|
27
26
|
def status_check_basic(opts = {})
|
28
27
|
data, _status_code, _headers = status_check_basic_with_http_info(opts)
|
29
|
-
|
28
|
+
data
|
30
29
|
end
|
31
30
|
|
32
31
|
# Endpoint to check basic API connectivity.
|
@@ -35,10 +34,10 @@ module CloudsmithApi
|
|
35
34
|
# @return [Array<(StatusBasic, Fixnum, Hash)>] StatusBasic data, response status code and response headers
|
36
35
|
def status_check_basic_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: StatusApi.status_check_basic ...'
|
39
38
|
end
|
40
39
|
# resource path
|
41
|
-
local_var_path =
|
40
|
+
local_var_path = '/status/check/basic/'
|
42
41
|
|
43
42
|
# query parameters
|
44
43
|
query_params = {}
|
@@ -6,27 +6,26 @@
|
|
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
|
-
class
|
16
|
+
class StorageRegionsApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
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 available storage regions.
|
24
23
|
# Get a list of all available storage regions.
|
25
24
|
# @param [Hash] opts the optional parameters
|
26
25
|
# @return [Array<StorageRegion>]
|
27
26
|
def storage_regions_list(opts = {})
|
28
27
|
data, _status_code, _headers = storage_regions_list_with_http_info(opts)
|
29
|
-
|
28
|
+
data
|
30
29
|
end
|
31
30
|
|
32
31
|
# Get a list of all available storage regions.
|
@@ -35,10 +34,10 @@ module CloudsmithApi
|
|
35
34
|
# @return [Array<(Array<StorageRegion>, Fixnum, Hash)>] Array<StorageRegion> data, response status code and response headers
|
36
35
|
def storage_regions_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: StorageRegionsApi.storage_regions_list ...'
|
39
38
|
end
|
40
39
|
# resource path
|
41
|
-
local_var_path =
|
40
|
+
local_var_path = '/storage-regions/'
|
42
41
|
|
43
42
|
# query parameters
|
44
43
|
query_params = {}
|
@@ -60,11 +59,10 @@ module CloudsmithApi
|
|
60
59
|
:auth_names => auth_names,
|
61
60
|
:return_type => 'Array<StorageRegion>')
|
62
61
|
if @api_client.config.debugging
|
63
|
-
@api_client.config.logger.debug "API called:
|
62
|
+
@api_client.config.logger.debug "API called: StorageRegionsApi#storage_regions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
64
63
|
end
|
65
64
|
return data, status_code, headers
|
66
65
|
end
|
67
|
-
|
68
66
|
# Get a specific storage region.
|
69
67
|
# Get a specific storage region.
|
70
68
|
# @param slug
|
@@ -72,7 +70,7 @@ module CloudsmithApi
|
|
72
70
|
# @return [StorageRegion]
|
73
71
|
def storage_regions_read(slug, opts = {})
|
74
72
|
data, _status_code, _headers = storage_regions_read_with_http_info(slug, opts)
|
75
|
-
|
73
|
+
data
|
76
74
|
end
|
77
75
|
|
78
76
|
# Get a specific storage region.
|
@@ -82,14 +80,14 @@ module CloudsmithApi
|
|
82
80
|
# @return [Array<(StorageRegion, Fixnum, Hash)>] StorageRegion data, response status code and response headers
|
83
81
|
def storage_regions_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: StorageRegionsApi.storage_regions_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
|
-
fail ArgumentError, "Missing the required parameter 'slug' when calling
|
87
|
+
fail ArgumentError, "Missing the required parameter 'slug' when calling StorageRegionsApi.storage_regions_read"
|
90
88
|
end
|
91
89
|
# resource path
|
92
|
-
local_var_path =
|
90
|
+
local_var_path = '/storage-regions/{slug}/'.sub('{' + 'slug' + '}', slug.to_s)
|
93
91
|
|
94
92
|
# query parameters
|
95
93
|
query_params = {}
|
@@ -111,7 +109,7 @@ module CloudsmithApi
|
|
111
109
|
:auth_names => auth_names,
|
112
110
|
:return_type => 'StorageRegion')
|
113
111
|
if @api_client.config.debugging
|
114
|
-
@api_client.config.logger.debug "API called:
|
112
|
+
@api_client.config.logger.debug "API called: StorageRegionsApi#storage_regions_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
115
113
|
end
|
116
114
|
return data, status_code, headers
|
117
115
|
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 UserApi
|
@@ -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
|
# Provide a brief for the current user (if any).
|
24
23
|
# Provide a brief for the current user (if any).
|
25
24
|
# @param [Hash] opts the optional parameters
|
26
25
|
# @return [UserBrief]
|
27
26
|
def user_self(opts = {})
|
28
27
|
data, _status_code, _headers = user_self_with_http_info(opts)
|
29
|
-
|
28
|
+
data
|
30
29
|
end
|
31
30
|
|
32
31
|
# Provide a brief for the current user (if any).
|
@@ -35,10 +34,10 @@ module CloudsmithApi
|
|
35
34
|
# @return [Array<(UserBrief, Fixnum, Hash)>] UserBrief data, response status code and response headers
|
36
35
|
def user_self_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: UserApi.user_self ...'
|
39
38
|
end
|
40
39
|
# resource path
|
41
|
-
local_var_path =
|
40
|
+
local_var_path = '/user/self/'
|
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
|
# Retrieve the API key/token for the authenticated user.
|
69
67
|
# Retrieve the API key/token for the authenticated user.
|
70
68
|
# @param [Hash] opts the optional parameters
|
@@ -72,7 +70,7 @@ module CloudsmithApi
|
|
72
70
|
# @return [UserAuthToken]
|
73
71
|
def user_token_create(opts = {})
|
74
72
|
data, _status_code, _headers = user_token_create_with_http_info(opts)
|
75
|
-
|
73
|
+
data
|
76
74
|
end
|
77
75
|
|
78
76
|
# Retrieve the API key/token for the authenticated user.
|
@@ -82,10 +80,10 @@ module CloudsmithApi
|
|
82
80
|
# @return [Array<(UserAuthToken, Fixnum, Hash)>] UserAuthToken data, response status code and response headers
|
83
81
|
def user_token_create_with_http_info(opts = {})
|
84
82
|
if @api_client.config.debugging
|
85
|
-
@api_client.config.logger.debug
|
83
|
+
@api_client.config.logger.debug 'Calling API: UserApi.user_token_create ...'
|
86
84
|
end
|
87
85
|
# resource path
|
88
|
-
local_var_path =
|
86
|
+
local_var_path = '/user/token/'
|
89
87
|
|
90
88
|
# query parameters
|
91
89
|
query_params = {}
|
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
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 UsersApi
|
@@ -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
|
# Provide a brief for the specified user (if any).
|
24
23
|
# Provide a brief for the specified user (if any).
|
25
24
|
# @param slug
|
@@ -27,7 +26,7 @@ module CloudsmithApi
|
|
27
26
|
# @return [UserProfile]
|
28
27
|
def users_profile_read(slug, opts = {})
|
29
28
|
data, _status_code, _headers = users_profile_read_with_http_info(slug, opts)
|
30
|
-
|
29
|
+
data
|
31
30
|
end
|
32
31
|
|
33
32
|
# Provide a brief for the specified user (if any).
|
@@ -37,14 +36,14 @@ module CloudsmithApi
|
|
37
36
|
# @return [Array<(UserProfile, Fixnum, Hash)>] UserProfile data, response status code and response headers
|
38
37
|
def users_profile_read_with_http_info(slug, opts = {})
|
39
38
|
if @api_client.config.debugging
|
40
|
-
@api_client.config.logger.debug
|
39
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.users_profile_read ...'
|
41
40
|
end
|
42
41
|
# verify the required parameter 'slug' is set
|
43
42
|
if @api_client.config.client_side_validation && slug.nil?
|
44
43
|
fail ArgumentError, "Missing the required parameter 'slug' when calling UsersApi.users_profile_read"
|
45
44
|
end
|
46
45
|
# resource path
|
47
|
-
local_var_path =
|
46
|
+
local_var_path = '/users/profile/{slug}/'.sub('{' + 'slug' + '}', slug.to_s)
|
48
47
|
|
49
48
|
# query parameters
|
50
49
|
query_params = {}
|