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 MetricsApi
|
@@ -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
|
# View for listing entitlement token metrics, across an account.
|
24
23
|
# View for listing entitlement token metrics, across an account.
|
25
24
|
# @param owner
|
@@ -32,7 +31,7 @@ module CloudsmithApi
|
|
32
31
|
# @return [EntitlementUsageMetrics]
|
33
32
|
def metrics_entitlements_list(owner, opts = {})
|
34
33
|
data, _status_code, _headers = metrics_entitlements_list_with_http_info(owner, opts)
|
35
|
-
|
34
|
+
data
|
36
35
|
end
|
37
36
|
|
38
37
|
# View for listing entitlement token metrics, across an account.
|
@@ -47,14 +46,14 @@ module CloudsmithApi
|
|
47
46
|
# @return [Array<(EntitlementUsageMetrics, Fixnum, Hash)>] EntitlementUsageMetrics data, response status code and response headers
|
48
47
|
def metrics_entitlements_list_with_http_info(owner, opts = {})
|
49
48
|
if @api_client.config.debugging
|
50
|
-
@api_client.config.logger.debug
|
49
|
+
@api_client.config.logger.debug 'Calling API: MetricsApi.metrics_entitlements_list ...'
|
51
50
|
end
|
52
51
|
# verify the required parameter 'owner' is set
|
53
52
|
if @api_client.config.client_side_validation && owner.nil?
|
54
53
|
fail ArgumentError, "Missing the required parameter 'owner' when calling MetricsApi.metrics_entitlements_list"
|
55
54
|
end
|
56
55
|
# resource path
|
57
|
-
local_var_path =
|
56
|
+
local_var_path = '/metrics/entitlements/{owner}/'.sub('{' + 'owner' + '}', owner.to_s)
|
58
57
|
|
59
58
|
# query parameters
|
60
59
|
query_params = {}
|
@@ -85,7 +84,6 @@ module CloudsmithApi
|
|
85
84
|
end
|
86
85
|
return data, status_code, headers
|
87
86
|
end
|
88
|
-
|
89
87
|
# View for listing entitlement token metrics, for a repository.
|
90
88
|
# View for listing entitlement token metrics, for a repository.
|
91
89
|
# @param owner
|
@@ -99,7 +97,7 @@ module CloudsmithApi
|
|
99
97
|
# @return [EntitlementUsageMetrics]
|
100
98
|
def metrics_entitlements_list0(owner, repo, opts = {})
|
101
99
|
data, _status_code, _headers = metrics_entitlements_list0_with_http_info(owner, repo, opts)
|
102
|
-
|
100
|
+
data
|
103
101
|
end
|
104
102
|
|
105
103
|
# View for listing entitlement token metrics, for a repository.
|
@@ -115,7 +113,7 @@ module CloudsmithApi
|
|
115
113
|
# @return [Array<(EntitlementUsageMetrics, Fixnum, Hash)>] EntitlementUsageMetrics data, response status code and response headers
|
116
114
|
def metrics_entitlements_list0_with_http_info(owner, repo, opts = {})
|
117
115
|
if @api_client.config.debugging
|
118
|
-
@api_client.config.logger.debug
|
116
|
+
@api_client.config.logger.debug 'Calling API: MetricsApi.metrics_entitlements_list0 ...'
|
119
117
|
end
|
120
118
|
# verify the required parameter 'owner' is set
|
121
119
|
if @api_client.config.client_side_validation && owner.nil?
|
@@ -126,7 +124,7 @@ module CloudsmithApi
|
|
126
124
|
fail ArgumentError, "Missing the required parameter 'repo' when calling MetricsApi.metrics_entitlements_list0"
|
127
125
|
end
|
128
126
|
# resource path
|
129
|
-
local_var_path =
|
127
|
+
local_var_path = '/metrics/entitlements/{owner}/{repo}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
|
130
128
|
|
131
129
|
# query parameters
|
132
130
|
query_params = {}
|
@@ -157,7 +155,6 @@ module CloudsmithApi
|
|
157
155
|
end
|
158
156
|
return data, status_code, headers
|
159
157
|
end
|
160
|
-
|
161
158
|
# View for listing package usage metrics, for a repository.
|
162
159
|
# View for listing package usage metrics, for a repository.
|
163
160
|
# @param owner
|
@@ -171,7 +168,7 @@ module CloudsmithApi
|
|
171
168
|
# @return [PackageUsageMetrics]
|
172
169
|
def metrics_packages_list(owner, repo, opts = {})
|
173
170
|
data, _status_code, _headers = metrics_packages_list_with_http_info(owner, repo, opts)
|
174
|
-
|
171
|
+
data
|
175
172
|
end
|
176
173
|
|
177
174
|
# View for listing package usage metrics, for a repository.
|
@@ -187,7 +184,7 @@ module CloudsmithApi
|
|
187
184
|
# @return [Array<(PackageUsageMetrics, Fixnum, Hash)>] PackageUsageMetrics data, response status code and response headers
|
188
185
|
def metrics_packages_list_with_http_info(owner, repo, opts = {})
|
189
186
|
if @api_client.config.debugging
|
190
|
-
@api_client.config.logger.debug
|
187
|
+
@api_client.config.logger.debug 'Calling API: MetricsApi.metrics_packages_list ...'
|
191
188
|
end
|
192
189
|
# verify the required parameter 'owner' is set
|
193
190
|
if @api_client.config.client_side_validation && owner.nil?
|
@@ -198,7 +195,7 @@ module CloudsmithApi
|
|
198
195
|
fail ArgumentError, "Missing the required parameter 'repo' when calling MetricsApi.metrics_packages_list"
|
199
196
|
end
|
200
197
|
# resource path
|
201
|
-
local_var_path =
|
198
|
+
local_var_path = '/metrics/packages/{owner}/{repo}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
|
202
199
|
|
203
200
|
# query parameters
|
204
201
|
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 NamespacesApi
|
@@ -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 namespaces the user belongs to.
|
24
23
|
# Get a list of all namespaces the user belongs to.
|
25
24
|
# @param [Hash] opts the optional parameters
|
@@ -28,7 +27,7 @@ module CloudsmithApi
|
|
28
27
|
# @return [Array<Namespace>]
|
29
28
|
def namespaces_list(opts = {})
|
30
29
|
data, _status_code, _headers = namespaces_list_with_http_info(opts)
|
31
|
-
|
30
|
+
data
|
32
31
|
end
|
33
32
|
|
34
33
|
# Get a list of all namespaces the user belongs to.
|
@@ -39,10 +38,10 @@ module CloudsmithApi
|
|
39
38
|
# @return [Array<(Array<Namespace>, Fixnum, Hash)>] Array<Namespace> data, response status code and response headers
|
40
39
|
def namespaces_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: NamespacesApi.namespaces_list ...'
|
43
42
|
end
|
44
43
|
# resource path
|
45
|
-
local_var_path =
|
44
|
+
local_var_path = '/namespaces/'
|
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
|
# Views for working with namespaces.
|
75
73
|
# Views for working with namespaces.
|
76
74
|
# @param slug
|
@@ -78,7 +76,7 @@ module CloudsmithApi
|
|
78
76
|
# @return [Namespace]
|
79
77
|
def namespaces_read(slug, opts = {})
|
80
78
|
data, _status_code, _headers = namespaces_read_with_http_info(slug, opts)
|
81
|
-
|
79
|
+
data
|
82
80
|
end
|
83
81
|
|
84
82
|
# Views for working with namespaces.
|
@@ -88,14 +86,14 @@ module CloudsmithApi
|
|
88
86
|
# @return [Array<(Namespace, Fixnum, Hash)>] Namespace data, response status code and response headers
|
89
87
|
def namespaces_read_with_http_info(slug, opts = {})
|
90
88
|
if @api_client.config.debugging
|
91
|
-
@api_client.config.logger.debug
|
89
|
+
@api_client.config.logger.debug 'Calling API: NamespacesApi.namespaces_read ...'
|
92
90
|
end
|
93
91
|
# verify the required parameter 'slug' is set
|
94
92
|
if @api_client.config.client_side_validation && slug.nil?
|
95
93
|
fail ArgumentError, "Missing the required parameter 'slug' when calling NamespacesApi.namespaces_read"
|
96
94
|
end
|
97
95
|
# resource path
|
98
|
-
local_var_path =
|
96
|
+
local_var_path = '/namespaces/{slug}/'.sub('{' + 'slug' + '}', slug.to_s)
|
99
97
|
|
100
98
|
# query parameters
|
101
99
|
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 OrgsApi
|
@@ -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 the organizations you are associated with.
|
24
23
|
# Get a list of all the organizations you are associated with.
|
25
24
|
# @param [Hash] opts the optional parameters
|
@@ -28,7 +27,7 @@ module CloudsmithApi
|
|
28
27
|
# @return [Array<Organization>]
|
29
28
|
def orgs_list(opts = {})
|
30
29
|
data, _status_code, _headers = orgs_list_with_http_info(opts)
|
31
|
-
|
30
|
+
data
|
32
31
|
end
|
33
32
|
|
34
33
|
# Get a list of all the organizations you are associated with.
|
@@ -39,10 +38,10 @@ module CloudsmithApi
|
|
39
38
|
# @return [Array<(Array<Organization>, Fixnum, Hash)>] Array<Organization> data, response status code and response headers
|
40
39
|
def orgs_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: OrgsApi.orgs_list ...'
|
43
42
|
end
|
44
43
|
# resource path
|
45
|
-
local_var_path =
|
44
|
+
local_var_path = '/orgs/'
|
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
|
# Get the details for all organization members.
|
75
73
|
# Get the details for all organization members.
|
76
74
|
# @param org
|
@@ -80,7 +78,7 @@ module CloudsmithApi
|
|
80
78
|
# @return [Array<OrganizationMembership>]
|
81
79
|
def orgs_members_list(org, opts = {})
|
82
80
|
data, _status_code, _headers = orgs_members_list_with_http_info(org, opts)
|
83
|
-
|
81
|
+
data
|
84
82
|
end
|
85
83
|
|
86
84
|
# Get the details for all organization members.
|
@@ -92,14 +90,14 @@ module CloudsmithApi
|
|
92
90
|
# @return [Array<(Array<OrganizationMembership>, Fixnum, Hash)>] Array<OrganizationMembership> data, response status code and response headers
|
93
91
|
def orgs_members_list_with_http_info(org, opts = {})
|
94
92
|
if @api_client.config.debugging
|
95
|
-
@api_client.config.logger.debug
|
93
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_members_list ...'
|
96
94
|
end
|
97
95
|
# verify the required parameter 'org' is set
|
98
96
|
if @api_client.config.client_side_validation && org.nil?
|
99
97
|
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_members_list"
|
100
98
|
end
|
101
99
|
# resource path
|
102
|
-
local_var_path =
|
100
|
+
local_var_path = '/orgs/{org}/members/'.sub('{' + 'org' + '}', org.to_s)
|
103
101
|
|
104
102
|
# query parameters
|
105
103
|
query_params = {}
|
@@ -127,7 +125,6 @@ module CloudsmithApi
|
|
127
125
|
end
|
128
126
|
return data, status_code, headers
|
129
127
|
end
|
130
|
-
|
131
128
|
# Get the details for a specific organization member.
|
132
129
|
# Get the details for a specific organization member.
|
133
130
|
# @param org
|
@@ -136,7 +133,7 @@ module CloudsmithApi
|
|
136
133
|
# @return [OrganizationMembership]
|
137
134
|
def orgs_members_read(org, member, opts = {})
|
138
135
|
data, _status_code, _headers = orgs_members_read_with_http_info(org, member, opts)
|
139
|
-
|
136
|
+
data
|
140
137
|
end
|
141
138
|
|
142
139
|
# Get the details for a specific organization member.
|
@@ -147,7 +144,7 @@ module CloudsmithApi
|
|
147
144
|
# @return [Array<(OrganizationMembership, Fixnum, Hash)>] OrganizationMembership data, response status code and response headers
|
148
145
|
def orgs_members_read_with_http_info(org, member, opts = {})
|
149
146
|
if @api_client.config.debugging
|
150
|
-
@api_client.config.logger.debug
|
147
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_members_read ...'
|
151
148
|
end
|
152
149
|
# verify the required parameter 'org' is set
|
153
150
|
if @api_client.config.client_side_validation && org.nil?
|
@@ -158,7 +155,7 @@ module CloudsmithApi
|
|
158
155
|
fail ArgumentError, "Missing the required parameter 'member' when calling OrgsApi.orgs_members_read"
|
159
156
|
end
|
160
157
|
# resource path
|
161
|
-
local_var_path =
|
158
|
+
local_var_path = '/orgs/{org}/members/{member}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'member' + '}', member.to_s)
|
162
159
|
|
163
160
|
# query parameters
|
164
161
|
query_params = {}
|
@@ -184,7 +181,6 @@ module CloudsmithApi
|
|
184
181
|
end
|
185
182
|
return data, status_code, headers
|
186
183
|
end
|
187
|
-
|
188
184
|
# Removes a member from the organization.
|
189
185
|
# Removes a member from the organization.
|
190
186
|
# @param org
|
@@ -193,7 +189,7 @@ module CloudsmithApi
|
|
193
189
|
# @return [OrganizationMembership]
|
194
190
|
def orgs_members_remove(org, member, opts = {})
|
195
191
|
data, _status_code, _headers = orgs_members_remove_with_http_info(org, member, opts)
|
196
|
-
|
192
|
+
data
|
197
193
|
end
|
198
194
|
|
199
195
|
# Removes a member from the organization.
|
@@ -204,7 +200,7 @@ module CloudsmithApi
|
|
204
200
|
# @return [Array<(OrganizationMembership, Fixnum, Hash)>] OrganizationMembership data, response status code and response headers
|
205
201
|
def orgs_members_remove_with_http_info(org, member, opts = {})
|
206
202
|
if @api_client.config.debugging
|
207
|
-
@api_client.config.logger.debug
|
203
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_members_remove ...'
|
208
204
|
end
|
209
205
|
# verify the required parameter 'org' is set
|
210
206
|
if @api_client.config.client_side_validation && org.nil?
|
@@ -215,7 +211,7 @@ module CloudsmithApi
|
|
215
211
|
fail ArgumentError, "Missing the required parameter 'member' when calling OrgsApi.orgs_members_remove"
|
216
212
|
end
|
217
213
|
# resource path
|
218
|
-
local_var_path =
|
214
|
+
local_var_path = '/orgs/{org}/members/{member}/remove/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'member' + '}', member.to_s)
|
219
215
|
|
220
216
|
# query parameters
|
221
217
|
query_params = {}
|
@@ -241,7 +237,6 @@ module CloudsmithApi
|
|
241
237
|
end
|
242
238
|
return data, status_code, headers
|
243
239
|
end
|
244
|
-
|
245
240
|
# Get the details for the specific organization.
|
246
241
|
# Get the details for the specific organization.
|
247
242
|
# @param org
|
@@ -249,7 +244,7 @@ module CloudsmithApi
|
|
249
244
|
# @return [Organization]
|
250
245
|
def orgs_read(org, opts = {})
|
251
246
|
data, _status_code, _headers = orgs_read_with_http_info(org, opts)
|
252
|
-
|
247
|
+
data
|
253
248
|
end
|
254
249
|
|
255
250
|
# Get the details for the specific organization.
|
@@ -259,14 +254,14 @@ module CloudsmithApi
|
|
259
254
|
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
260
255
|
def orgs_read_with_http_info(org, opts = {})
|
261
256
|
if @api_client.config.debugging
|
262
|
-
@api_client.config.logger.debug
|
257
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_read ...'
|
263
258
|
end
|
264
259
|
# verify the required parameter 'org' is set
|
265
260
|
if @api_client.config.client_side_validation && org.nil?
|
266
261
|
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_read"
|
267
262
|
end
|
268
263
|
# resource path
|
269
|
-
local_var_path =
|
264
|
+
local_var_path = '/orgs/{org}/'.sub('{' + 'org' + '}', org.to_s)
|
270
265
|
|
271
266
|
# query parameters
|
272
267
|
query_params = {}
|