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,14 +6,13 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
|
-
|
17
16
|
class QuotaHistoryHistory
|
18
17
|
#
|
19
18
|
attr_accessor :days
|
@@ -33,7 +32,6 @@ module CloudsmithApi
|
|
33
32
|
#
|
34
33
|
attr_accessor :start
|
35
34
|
|
36
|
-
|
37
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
36
|
def self.attribute_map
|
39
37
|
{
|
@@ -64,7 +62,7 @@ module CloudsmithApi
|
|
64
62
|
return unless attributes.is_a?(Hash)
|
65
63
|
|
66
64
|
# convert string to symbol for hash key
|
67
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
65
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
68
66
|
|
69
67
|
if attributes.has_key?(:'days')
|
70
68
|
self.days = attributes[:'days']
|
@@ -89,20 +87,19 @@ module CloudsmithApi
|
|
89
87
|
if attributes.has_key?(:'start')
|
90
88
|
self.start = attributes[:'start']
|
91
89
|
end
|
92
|
-
|
93
90
|
end
|
94
91
|
|
95
92
|
# Show invalid properties with the reasons. Usually used together with valid?
|
96
|
-
# @return Array for valid
|
93
|
+
# @return Array for valid properties with the reasons
|
97
94
|
def list_invalid_properties
|
98
95
|
invalid_properties = Array.new
|
99
|
-
|
96
|
+
invalid_properties
|
100
97
|
end
|
101
98
|
|
102
99
|
# Check to see if the all the properties in the model are valid
|
103
100
|
# @return true if the model is valid
|
104
101
|
def valid?
|
105
|
-
|
102
|
+
true
|
106
103
|
end
|
107
104
|
|
108
105
|
# Checks equality by comparing each attribute.
|
@@ -137,10 +134,10 @@ module CloudsmithApi
|
|
137
134
|
return nil unless attributes.is_a?(Hash)
|
138
135
|
self.class.swagger_types.each_pair do |key, type|
|
139
136
|
if type =~ /\AArray<(.*)>/i
|
140
|
-
# check to ensure the input is an array given that the
|
137
|
+
# check to ensure the input is an array given that the attribute
|
141
138
|
# is documented as an array but the input is not
|
142
139
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
143
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
140
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
144
141
|
end
|
145
142
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
146
143
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -222,7 +219,7 @@ module CloudsmithApi
|
|
222
219
|
# @return [Hash] Returns the value in the form of hash
|
223
220
|
def _to_hash(value)
|
224
221
|
if value.is_a?(Array)
|
225
|
-
value.compact.map{ |v| _to_hash(v) }
|
222
|
+
value.compact.map { |v| _to_hash(v) }
|
226
223
|
elsif value.is_a?(Hash)
|
227
224
|
{}.tap do |hash|
|
228
225
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -235,5 +232,4 @@ module CloudsmithApi
|
|
235
232
|
end
|
236
233
|
|
237
234
|
end
|
238
|
-
|
239
235
|
end
|
@@ -6,14 +6,13 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
|
-
|
17
16
|
class RawPackageUpload
|
18
17
|
#
|
19
18
|
attr_accessor :architectures
|
@@ -207,7 +206,6 @@ module CloudsmithApi
|
|
207
206
|
#
|
208
207
|
attr_accessor :vulnerability_scan_results_url
|
209
208
|
|
210
|
-
|
211
209
|
# Attribute mapping from ruby-style variable name to JSON key.
|
212
210
|
def self.attribute_map
|
213
211
|
{
|
@@ -354,7 +352,7 @@ module CloudsmithApi
|
|
354
352
|
return unless attributes.is_a?(Hash)
|
355
353
|
|
356
354
|
# convert string to symbol for hash key
|
357
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
355
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
358
356
|
|
359
357
|
if attributes.has_key?(:'architectures')
|
360
358
|
if (value = attributes[:'architectures']).is_a?(Array)
|
@@ -615,20 +613,19 @@ module CloudsmithApi
|
|
615
613
|
if attributes.has_key?(:'vulnerability_scan_results_url')
|
616
614
|
self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
|
617
615
|
end
|
618
|
-
|
619
616
|
end
|
620
617
|
|
621
618
|
# Show invalid properties with the reasons. Usually used together with valid?
|
622
|
-
# @return Array for valid
|
619
|
+
# @return Array for valid properties with the reasons
|
623
620
|
def list_invalid_properties
|
624
621
|
invalid_properties = Array.new
|
625
|
-
|
622
|
+
invalid_properties
|
626
623
|
end
|
627
624
|
|
628
625
|
# Check to see if the all the properties in the model are valid
|
629
626
|
# @return true if the model is valid
|
630
627
|
def valid?
|
631
|
-
|
628
|
+
true
|
632
629
|
end
|
633
630
|
|
634
631
|
# Checks equality by comparing each attribute.
|
@@ -721,10 +718,10 @@ module CloudsmithApi
|
|
721
718
|
return nil unless attributes.is_a?(Hash)
|
722
719
|
self.class.swagger_types.each_pair do |key, type|
|
723
720
|
if type =~ /\AArray<(.*)>/i
|
724
|
-
# check to ensure the input is an array given that the
|
721
|
+
# check to ensure the input is an array given that the attribute
|
725
722
|
# is documented as an array but the input is not
|
726
723
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
727
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
724
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
728
725
|
end
|
729
726
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
730
727
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -806,7 +803,7 @@ module CloudsmithApi
|
|
806
803
|
# @return [Hash] Returns the value in the form of hash
|
807
804
|
def _to_hash(value)
|
808
805
|
if value.is_a?(Array)
|
809
|
-
value.compact.map{ |v| _to_hash(v) }
|
806
|
+
value.compact.map { |v| _to_hash(v) }
|
810
807
|
elsif value.is_a?(Hash)
|
811
808
|
{}.tap do |hash|
|
812
809
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -819,5 +816,4 @@ module CloudsmithApi
|
|
819
816
|
end
|
820
817
|
|
821
818
|
end
|
822
|
-
|
823
819
|
end
|
@@ -6,14 +6,13 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
|
-
|
17
16
|
class ReposCreate
|
18
17
|
# A description of the repository's purpose/contents.
|
19
18
|
attr_accessor :description
|
@@ -33,7 +32,6 @@ module CloudsmithApi
|
|
33
32
|
# The Cloudsmith region in which package files are stored.
|
34
33
|
attr_accessor :storage_region
|
35
34
|
|
36
|
-
|
37
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
36
|
def self.attribute_map
|
39
37
|
{
|
@@ -64,7 +62,7 @@ module CloudsmithApi
|
|
64
62
|
return unless attributes.is_a?(Hash)
|
65
63
|
|
66
64
|
# convert string to symbol for hash key
|
67
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
65
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
68
66
|
|
69
67
|
if attributes.has_key?(:'description')
|
70
68
|
self.description = attributes[:'description']
|
@@ -89,25 +87,24 @@ module CloudsmithApi
|
|
89
87
|
if attributes.has_key?(:'storage_region')
|
90
88
|
self.storage_region = attributes[:'storage_region']
|
91
89
|
end
|
92
|
-
|
93
90
|
end
|
94
91
|
|
95
92
|
# Show invalid properties with the reasons. Usually used together with valid?
|
96
|
-
# @return Array for valid
|
93
|
+
# @return Array for valid properties with the reasons
|
97
94
|
def list_invalid_properties
|
98
95
|
invalid_properties = Array.new
|
99
96
|
if @name.nil?
|
100
|
-
invalid_properties.push(
|
97
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
101
98
|
end
|
102
99
|
|
103
|
-
|
100
|
+
invalid_properties
|
104
101
|
end
|
105
102
|
|
106
103
|
# Check to see if the all the properties in the model are valid
|
107
104
|
# @return true if the model is valid
|
108
105
|
def valid?
|
109
106
|
return false if @name.nil?
|
110
|
-
|
107
|
+
true
|
111
108
|
end
|
112
109
|
|
113
110
|
# Checks equality by comparing each attribute.
|
@@ -142,10 +139,10 @@ module CloudsmithApi
|
|
142
139
|
return nil unless attributes.is_a?(Hash)
|
143
140
|
self.class.swagger_types.each_pair do |key, type|
|
144
141
|
if type =~ /\AArray<(.*)>/i
|
145
|
-
# check to ensure the input is an array given that the
|
142
|
+
# check to ensure the input is an array given that the attribute
|
146
143
|
# is documented as an array but the input is not
|
147
144
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
148
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
145
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
149
146
|
end
|
150
147
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
151
148
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -227,7 +224,7 @@ module CloudsmithApi
|
|
227
224
|
# @return [Hash] Returns the value in the form of hash
|
228
225
|
def _to_hash(value)
|
229
226
|
if value.is_a?(Array)
|
230
|
-
value.compact.map{ |v| _to_hash(v) }
|
227
|
+
value.compact.map { |v| _to_hash(v) }
|
231
228
|
elsif value.is_a?(Hash)
|
232
229
|
{}.tap do |hash|
|
233
230
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -240,5 +237,4 @@ module CloudsmithApi
|
|
240
237
|
end
|
241
238
|
|
242
239
|
end
|
243
|
-
|
244
240
|
end
|
@@ -6,14 +6,13 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
|
-
|
17
16
|
class ReposGpgKeys
|
18
17
|
# If selected this is the active key for this repository.
|
19
18
|
attr_accessor :active
|
@@ -36,7 +35,6 @@ module CloudsmithApi
|
|
36
35
|
# The public key given to repository users.
|
37
36
|
attr_accessor :public_key
|
38
37
|
|
39
|
-
|
40
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
39
|
def self.attribute_map
|
42
40
|
{
|
@@ -69,7 +67,7 @@ module CloudsmithApi
|
|
69
67
|
return unless attributes.is_a?(Hash)
|
70
68
|
|
71
69
|
# convert string to symbol for hash key
|
72
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
70
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
73
71
|
|
74
72
|
if attributes.has_key?(:'active')
|
75
73
|
self.active = attributes[:'active']
|
@@ -98,20 +96,19 @@ module CloudsmithApi
|
|
98
96
|
if attributes.has_key?(:'public_key')
|
99
97
|
self.public_key = attributes[:'public_key']
|
100
98
|
end
|
101
|
-
|
102
99
|
end
|
103
100
|
|
104
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
105
|
-
# @return Array for valid
|
102
|
+
# @return Array for valid properties with the reasons
|
106
103
|
def list_invalid_properties
|
107
104
|
invalid_properties = Array.new
|
108
|
-
|
105
|
+
invalid_properties
|
109
106
|
end
|
110
107
|
|
111
108
|
# Check to see if the all the properties in the model are valid
|
112
109
|
# @return true if the model is valid
|
113
110
|
def valid?
|
114
|
-
|
111
|
+
true
|
115
112
|
end
|
116
113
|
|
117
114
|
# Checks equality by comparing each attribute.
|
@@ -147,10 +144,10 @@ module CloudsmithApi
|
|
147
144
|
return nil unless attributes.is_a?(Hash)
|
148
145
|
self.class.swagger_types.each_pair do |key, type|
|
149
146
|
if type =~ /\AArray<(.*)>/i
|
150
|
-
# check to ensure the input is an array given that the
|
147
|
+
# check to ensure the input is an array given that the attribute
|
151
148
|
# is documented as an array but the input is not
|
152
149
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
153
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
150
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
154
151
|
end
|
155
152
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
156
153
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -232,7 +229,7 @@ module CloudsmithApi
|
|
232
229
|
# @return [Hash] Returns the value in the form of hash
|
233
230
|
def _to_hash(value)
|
234
231
|
if value.is_a?(Array)
|
235
|
-
value.compact.map{ |v| _to_hash(v) }
|
232
|
+
value.compact.map { |v| _to_hash(v) }
|
236
233
|
elsif value.is_a?(Hash)
|
237
234
|
{}.tap do |hash|
|
238
235
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -245,5 +242,4 @@ module CloudsmithApi
|
|
245
242
|
end
|
246
243
|
|
247
244
|
end
|
248
|
-
|
249
245
|
end
|
@@ -6,14 +6,13 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
|
-
|
17
16
|
class ReposPartialUpdate
|
18
17
|
# A description of the repository's purpose/contents.
|
19
18
|
attr_accessor :description
|
@@ -30,7 +29,6 @@ module CloudsmithApi
|
|
30
29
|
# The slug identifies the repository in URIs.
|
31
30
|
attr_accessor :slug
|
32
31
|
|
33
|
-
|
34
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
33
|
def self.attribute_map
|
36
34
|
{
|
@@ -59,7 +57,7 @@ module CloudsmithApi
|
|
59
57
|
return unless attributes.is_a?(Hash)
|
60
58
|
|
61
59
|
# convert string to symbol for hash key
|
62
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
60
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
63
61
|
|
64
62
|
if attributes.has_key?(:'description')
|
65
63
|
self.description = attributes[:'description']
|
@@ -80,20 +78,19 @@ module CloudsmithApi
|
|
80
78
|
if attributes.has_key?(:'slug')
|
81
79
|
self.slug = attributes[:'slug']
|
82
80
|
end
|
83
|
-
|
84
81
|
end
|
85
82
|
|
86
83
|
# Show invalid properties with the reasons. Usually used together with valid?
|
87
|
-
# @return Array for valid
|
84
|
+
# @return Array for valid properties with the reasons
|
88
85
|
def list_invalid_properties
|
89
86
|
invalid_properties = Array.new
|
90
|
-
|
87
|
+
invalid_properties
|
91
88
|
end
|
92
89
|
|
93
90
|
# Check to see if the all the properties in the model are valid
|
94
91
|
# @return true if the model is valid
|
95
92
|
def valid?
|
96
|
-
|
93
|
+
true
|
97
94
|
end
|
98
95
|
|
99
96
|
# Checks equality by comparing each attribute.
|
@@ -127,10 +124,10 @@ module CloudsmithApi
|
|
127
124
|
return nil unless attributes.is_a?(Hash)
|
128
125
|
self.class.swagger_types.each_pair do |key, type|
|
129
126
|
if type =~ /\AArray<(.*)>/i
|
130
|
-
# check to ensure the input is an array given that the
|
127
|
+
# check to ensure the input is an array given that the attribute
|
131
128
|
# is documented as an array but the input is not
|
132
129
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
133
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
130
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
134
131
|
end
|
135
132
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
136
133
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -212,7 +209,7 @@ module CloudsmithApi
|
|
212
209
|
# @return [Hash] Returns the value in the form of hash
|
213
210
|
def _to_hash(value)
|
214
211
|
if value.is_a?(Array)
|
215
|
-
value.compact.map{ |v| _to_hash(v) }
|
212
|
+
value.compact.map { |v| _to_hash(v) }
|
216
213
|
elsif value.is_a?(Hash)
|
217
214
|
{}.tap do |hash|
|
218
215
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -225,5 +222,4 @@ module CloudsmithApi
|
|
225
222
|
end
|
226
223
|
|
227
224
|
end
|
228
|
-
|
229
225
|
end
|
@@ -6,14 +6,13 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
|
-
|
17
16
|
class Repository
|
18
17
|
# Base URL from which packages and other artifacts are downloaded.
|
19
18
|
attr_accessor :cdn_url
|
@@ -87,7 +86,6 @@ module CloudsmithApi
|
|
87
86
|
# The Cloudsmith region in which package files are stored.
|
88
87
|
attr_accessor :storage_region
|
89
88
|
|
90
|
-
|
91
89
|
# Attribute mapping from ruby-style variable name to JSON key.
|
92
90
|
def self.attribute_map
|
93
91
|
{
|
@@ -154,7 +152,7 @@ module CloudsmithApi
|
|
154
152
|
return unless attributes.is_a?(Hash)
|
155
153
|
|
156
154
|
# convert string to symbol for hash key
|
157
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
155
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
158
156
|
|
159
157
|
if attributes.has_key?(:'cdn_url')
|
160
158
|
self.cdn_url = attributes[:'cdn_url']
|
@@ -253,25 +251,24 @@ module CloudsmithApi
|
|
253
251
|
if attributes.has_key?(:'storage_region')
|
254
252
|
self.storage_region = attributes[:'storage_region']
|
255
253
|
end
|
256
|
-
|
257
254
|
end
|
258
255
|
|
259
256
|
# Show invalid properties with the reasons. Usually used together with valid?
|
260
|
-
# @return Array for valid
|
257
|
+
# @return Array for valid properties with the reasons
|
261
258
|
def list_invalid_properties
|
262
259
|
invalid_properties = Array.new
|
263
260
|
if @name.nil?
|
264
|
-
invalid_properties.push(
|
261
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
265
262
|
end
|
266
263
|
|
267
|
-
|
264
|
+
invalid_properties
|
268
265
|
end
|
269
266
|
|
270
267
|
# Check to see if the all the properties in the model are valid
|
271
268
|
# @return true if the model is valid
|
272
269
|
def valid?
|
273
270
|
return false if @name.nil?
|
274
|
-
|
271
|
+
true
|
275
272
|
end
|
276
273
|
|
277
274
|
# Checks equality by comparing each attribute.
|
@@ -324,10 +321,10 @@ module CloudsmithApi
|
|
324
321
|
return nil unless attributes.is_a?(Hash)
|
325
322
|
self.class.swagger_types.each_pair do |key, type|
|
326
323
|
if type =~ /\AArray<(.*)>/i
|
327
|
-
# check to ensure the input is an array given that the
|
324
|
+
# check to ensure the input is an array given that the attribute
|
328
325
|
# is documented as an array but the input is not
|
329
326
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
330
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
327
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
331
328
|
end
|
332
329
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
333
330
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -409,7 +406,7 @@ module CloudsmithApi
|
|
409
406
|
# @return [Hash] Returns the value in the form of hash
|
410
407
|
def _to_hash(value)
|
411
408
|
if value.is_a?(Array)
|
412
|
-
value.compact.map{ |v| _to_hash(v) }
|
409
|
+
value.compact.map { |v| _to_hash(v) }
|
413
410
|
elsif value.is_a?(Hash)
|
414
411
|
{}.tap do |hash|
|
415
412
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -422,5 +419,4 @@ module CloudsmithApi
|
|
422
419
|
end
|
423
420
|
|
424
421
|
end
|
425
|
-
|
426
422
|
end
|
@@ -6,14 +6,13 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
|
-
|
17
16
|
class RepositoryToken
|
18
17
|
#
|
19
18
|
attr_accessor :clients
|
@@ -132,7 +131,6 @@ module CloudsmithApi
|
|
132
131
|
#
|
133
132
|
attr_accessor :user_url
|
134
133
|
|
135
|
-
|
136
134
|
# Attribute mapping from ruby-style variable name to JSON key.
|
137
135
|
def self.attribute_map
|
138
136
|
{
|
@@ -229,7 +227,7 @@ module CloudsmithApi
|
|
229
227
|
return unless attributes.is_a?(Hash)
|
230
228
|
|
231
229
|
# convert string to symbol for hash key
|
232
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
230
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
233
231
|
|
234
232
|
if attributes.has_key?(:'clients')
|
235
233
|
self.clients = attributes[:'clients']
|
@@ -386,25 +384,24 @@ module CloudsmithApi
|
|
386
384
|
if attributes.has_key?(:'user_url')
|
387
385
|
self.user_url = attributes[:'user_url']
|
388
386
|
end
|
389
|
-
|
390
387
|
end
|
391
388
|
|
392
389
|
# Show invalid properties with the reasons. Usually used together with valid?
|
393
|
-
# @return Array for valid
|
390
|
+
# @return Array for valid properties with the reasons
|
394
391
|
def list_invalid_properties
|
395
392
|
invalid_properties = Array.new
|
396
393
|
if @name.nil?
|
397
|
-
invalid_properties.push(
|
394
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
398
395
|
end
|
399
396
|
|
400
|
-
|
397
|
+
invalid_properties
|
401
398
|
end
|
402
399
|
|
403
400
|
# Check to see if the all the properties in the model are valid
|
404
401
|
# @return true if the model is valid
|
405
402
|
def valid?
|
406
403
|
return false if @name.nil?
|
407
|
-
|
404
|
+
true
|
408
405
|
end
|
409
406
|
|
410
407
|
# Checks equality by comparing each attribute.
|
@@ -472,10 +469,10 @@ module CloudsmithApi
|
|
472
469
|
return nil unless attributes.is_a?(Hash)
|
473
470
|
self.class.swagger_types.each_pair do |key, type|
|
474
471
|
if type =~ /\AArray<(.*)>/i
|
475
|
-
# check to ensure the input is an array given that the
|
472
|
+
# check to ensure the input is an array given that the attribute
|
476
473
|
# is documented as an array but the input is not
|
477
474
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
478
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
475
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
479
476
|
end
|
480
477
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
481
478
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -557,7 +554,7 @@ module CloudsmithApi
|
|
557
554
|
# @return [Hash] Returns the value in the form of hash
|
558
555
|
def _to_hash(value)
|
559
556
|
if value.is_a?(Array)
|
560
|
-
value.compact.map{ |v| _to_hash(v) }
|
557
|
+
value.compact.map { |v| _to_hash(v) }
|
561
558
|
elsif value.is_a?(Hash)
|
562
559
|
{}.tap do |hash|
|
563
560
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -570,5 +567,4 @@ module CloudsmithApi
|
|
570
567
|
end
|
571
568
|
|
572
569
|
end
|
573
|
-
|
574
570
|
end
|
@@ -6,14 +6,13 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: support@cloudsmith.io
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CloudsmithApi
|
16
|
-
|
17
16
|
class RepositoryTokenRefresh
|
18
17
|
#
|
19
18
|
attr_accessor :clients
|
@@ -132,7 +131,6 @@ module CloudsmithApi
|
|
132
131
|
#
|
133
132
|
attr_accessor :user_url
|
134
133
|
|
135
|
-
|
136
134
|
# Attribute mapping from ruby-style variable name to JSON key.
|
137
135
|
def self.attribute_map
|
138
136
|
{
|
@@ -229,7 +227,7 @@ module CloudsmithApi
|
|
229
227
|
return unless attributes.is_a?(Hash)
|
230
228
|
|
231
229
|
# convert string to symbol for hash key
|
232
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
230
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
233
231
|
|
234
232
|
if attributes.has_key?(:'clients')
|
235
233
|
self.clients = attributes[:'clients']
|
@@ -386,20 +384,19 @@ module CloudsmithApi
|
|
386
384
|
if attributes.has_key?(:'user_url')
|
387
385
|
self.user_url = attributes[:'user_url']
|
388
386
|
end
|
389
|
-
|
390
387
|
end
|
391
388
|
|
392
389
|
# Show invalid properties with the reasons. Usually used together with valid?
|
393
|
-
# @return Array for valid
|
390
|
+
# @return Array for valid properties with the reasons
|
394
391
|
def list_invalid_properties
|
395
392
|
invalid_properties = Array.new
|
396
|
-
|
393
|
+
invalid_properties
|
397
394
|
end
|
398
395
|
|
399
396
|
# Check to see if the all the properties in the model are valid
|
400
397
|
# @return true if the model is valid
|
401
398
|
def valid?
|
402
|
-
|
399
|
+
true
|
403
400
|
end
|
404
401
|
|
405
402
|
# Checks equality by comparing each attribute.
|
@@ -467,10 +464,10 @@ module CloudsmithApi
|
|
467
464
|
return nil unless attributes.is_a?(Hash)
|
468
465
|
self.class.swagger_types.each_pair do |key, type|
|
469
466
|
if type =~ /\AArray<(.*)>/i
|
470
|
-
# check to ensure the input is an array given that the
|
467
|
+
# check to ensure the input is an array given that the attribute
|
471
468
|
# is documented as an array but the input is not
|
472
469
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
473
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
470
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
474
471
|
end
|
475
472
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
476
473
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -552,7 +549,7 @@ module CloudsmithApi
|
|
552
549
|
# @return [Hash] Returns the value in the form of hash
|
553
550
|
def _to_hash(value)
|
554
551
|
if value.is_a?(Array)
|
555
|
-
value.compact.map{ |v| _to_hash(v) }
|
552
|
+
value.compact.map { |v| _to_hash(v) }
|
556
553
|
elsif value.is_a?(Hash)
|
557
554
|
{}.tap do |hash|
|
558
555
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -565,5 +562,4 @@ module CloudsmithApi
|
|
565
562
|
end
|
566
563
|
|
567
564
|
end
|
568
|
-
|
569
565
|
end
|