cloudsmith-api 1.30.0 → 1.61.3
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 +8 -7
- data/README.md +25 -21
- data/build.json +1 -1
- data/cloudsmith-api.gemspec +5 -4
- data/docs/AlpinePackageUpload.md +5 -3
- data/docs/BadgesApi.md +18 -17
- data/docs/ConanPackageUpload.md +5 -3
- 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/MavenPackageUpload.md +5 -3
- data/docs/MetricsApi.md +14 -14
- data/docs/NamespacesApi.md +1 -1
- data/docs/OrgsApi.md +6 -6
- data/docs/Package.md +5 -3
- data/docs/PackageCopy.md +5 -3
- data/docs/PackageMove.md +5 -3
- data/docs/PackageStatus.md +4 -2
- data/docs/PackagesApi.md +188 -123
- data/docs/PackagesQuarantine.md +8 -0
- data/docs/QuotaApi.md +4 -4
- data/docs/RawPackageUpload.md +5 -3
- data/docs/ReposApi.md +10 -10
- data/docs/ReposCreate.md +1 -1
- data/docs/Repository.md +1 -1
- data/docs/RepositoryCreate.md +31 -0
- data/docs/RepositoryWebhook.md +3 -3
- data/docs/{StorageregionsApi.md → StorageRegionsApi.md} +8 -8
- data/docs/UsersApi.md +1 -1
- data/docs/VagrantPackageUpload.md +5 -3
- data/docs/VulnerabilitiesApi.md +10 -10
- data/docs/WebhooksApi.md +13 -13
- data/docs/WebhooksCreate.md +2 -2
- data/docs/WebhooksPartialUpdate.md +2 -2
- 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 +235 -225
- 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 +23 -29
- 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 +32 -16
- data/lib/cloudsmith-api/models/conan_package_upload.rb +32 -16
- 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 +32 -16
- 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 +32 -16
- data/lib/cloudsmith-api/models/package_copy.rb +32 -16
- 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 +32 -16
- data/lib/cloudsmith-api/models/package_status.rb +31 -15
- 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_quarantine.rb +185 -0
- 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 +32 -16
- data/lib/cloudsmith-api/models/repos_create.rb +10 -14
- 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 +10 -14
- data/lib/cloudsmith-api/models/repository_create.rb +422 -0
- 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 +14 -18
- 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 +35 -19
- 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 +13 -17
- data/lib/cloudsmith-api/models/webhooks_partial_update.rb +10 -14
- data/lib/cloudsmith-api/models/webhooksownerrepo_templates.rb +8 -12
- data/lib/cloudsmith-api/version.rb +2 -2
- data/lib/cloudsmith-api.rb +4 -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 +72 -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 +8 -8
- 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 +77 -66
- data/spec/models/conan_package_upload_spec.rb +79 -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 +80 -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 +78 -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 +78 -67
- data/spec/models/package_spec.rb +78 -67
- data/spec/models/package_status_spec.rb +28 -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_quarantine_spec.rb +41 -0
- 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 +77 -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_create_spec.rb +179 -0
- 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 +78 -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/json-2.6.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rake-12.3.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.11.1.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 → json-2.6.2}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.6.1 → json-2.6.2}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.6.1 → json-2.6.2}/mkmf.log +2 -2
- 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 → json-2.6.2}/CHANGES.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/VERSION +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/fbuffer/fbuffer.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/generator.c +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/generator.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.c +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/ext/parser/parser.rl +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/ext/json/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/bigdecimal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/complex.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/core.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/date.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/date_time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/exception.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/ostruct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/range.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/rational.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/regexp.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/set.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/struct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/symbol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/add/time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/common.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/ext.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/generic_object.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure/generator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure/parser.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/pure.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.6.1 → json-2.6.2}/lib/json.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.github/FUNDING.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/dependabot.yml +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/workflows/release.yml +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.7/.github/workflows/tests.yml +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.rubocop.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.rubocop_opinionated.yml +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/2.0-Upgrade.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/CHANGELOG.md +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/Gemfile +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/LICENSE.txt +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/README.md +12 -2
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/Rakefile +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/SECURITY.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/bin/console +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/data/list.txt +1033 -378
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/domain.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/errors.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/list.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/rule.rb +11 -11
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix/version.rb +5 -3
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix.rb +11 -13
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/public_suffix.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/.empty +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/acceptance_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_find.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_find_all.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_names.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_select.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_select_incremental.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/benchmarks/bm_valid.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/domain_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/find_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/find_profiler_jp.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/initialization_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/list_profsize.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/profilers/object_binsize.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/psl_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/test_helper.rb +0 -8
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/tests.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/domain_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/errors_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/list_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/public_suffix_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/unit/rule_test.rb +0 -0
- 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/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/Changelog.md +10 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_list_matcher.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/example_methods.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/marshal_extension.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_expectation.rb +13 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_double.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_reference.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/mutate_const.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/object_reference.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/order_group.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/proxy.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/space.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/standalone.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/targets.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/test_double.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_double.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{json-2.6.1.gemspec → json-2.6.2.gemspec} +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.6.gemspec → public_suffix-4.0.7.gemspec} +4 -4
- data/vendor/bundle/ruby/2.6.0/specifications/{rake-12.0.0.gemspec → rake-12.3.3.gemspec} +10 -4
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.11.0.gemspec → rspec-mocks-3.11.1.gemspec} +5 -5
- metadata +259 -230
- data/vendor/bundle/ruby/2.6.0/cache/json-2.6.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rake-12.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/VERSION +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.1/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/.github/workflows/tests.yml +0 -36
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/.travis.yml +0 -23
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-4.0.6/codecov.yml +0 -12
- 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 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
|
{
|
@@ -136,7 +134,7 @@ module CloudsmithApi
|
|
136
134
|
:'num_downloads' => :'Integer',
|
137
135
|
:'package_count' => :'Integer',
|
138
136
|
:'package_group_count' => :'Integer',
|
139
|
-
:'repository_type' => :'
|
137
|
+
:'repository_type' => :'Integer',
|
140
138
|
:'repository_type_str' => :'String',
|
141
139
|
:'self_html_url' => :'String',
|
142
140
|
:'self_url' => :'String',
|
@@ -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
|
@@ -0,0 +1,422 @@
|
|
1
|
+
=begin
|
2
|
+
#Cloudsmith API
|
3
|
+
|
4
|
+
#The API to the Cloudsmith Service
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
Contact: support@cloudsmith.io
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CloudsmithApi
|
16
|
+
class RepositoryCreate
|
17
|
+
# Base URL from which packages and other artifacts are downloaded.
|
18
|
+
attr_accessor :cdn_url
|
19
|
+
|
20
|
+
#
|
21
|
+
attr_accessor :created_at
|
22
|
+
|
23
|
+
#
|
24
|
+
attr_accessor :deleted_at
|
25
|
+
|
26
|
+
# A description of the repository's purpose/contents.
|
27
|
+
attr_accessor :description
|
28
|
+
|
29
|
+
#
|
30
|
+
attr_accessor :gpg_keys
|
31
|
+
|
32
|
+
# If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted.
|
33
|
+
attr_accessor :index_files
|
34
|
+
|
35
|
+
#
|
36
|
+
attr_accessor :is_open_source
|
37
|
+
|
38
|
+
#
|
39
|
+
attr_accessor :is_private
|
40
|
+
|
41
|
+
#
|
42
|
+
attr_accessor :is_public
|
43
|
+
|
44
|
+
# A descriptive name for the repository.
|
45
|
+
attr_accessor :name
|
46
|
+
|
47
|
+
# Namespace to which this repository belongs.
|
48
|
+
attr_accessor :namespace
|
49
|
+
|
50
|
+
# API endpoint where data about this namespace can be retrieved.
|
51
|
+
attr_accessor :namespace_url
|
52
|
+
|
53
|
+
# The number of downloads for packages in the repository.
|
54
|
+
attr_accessor :num_downloads
|
55
|
+
|
56
|
+
# The number of packages in the repository.
|
57
|
+
attr_accessor :package_count
|
58
|
+
|
59
|
+
# The number of groups in the repository.
|
60
|
+
attr_accessor :package_group_count
|
61
|
+
|
62
|
+
# The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time.
|
63
|
+
attr_accessor :repository_type
|
64
|
+
|
65
|
+
# The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users.
|
66
|
+
attr_accessor :repository_type_str
|
67
|
+
|
68
|
+
# Website URL for this repository.
|
69
|
+
attr_accessor :self_html_url
|
70
|
+
|
71
|
+
# API endpoint where data about this repository can be retrieved.
|
72
|
+
attr_accessor :self_url
|
73
|
+
|
74
|
+
# The calculated size of the repository.
|
75
|
+
attr_accessor :size
|
76
|
+
|
77
|
+
# The calculated size of the repository (human readable).
|
78
|
+
attr_accessor :size_str
|
79
|
+
|
80
|
+
# The slug identifies the repository in URIs.
|
81
|
+
attr_accessor :slug
|
82
|
+
|
83
|
+
# The slug_perm immutably identifies the repository. It will never change once a repository has been created.
|
84
|
+
attr_accessor :slug_perm
|
85
|
+
|
86
|
+
# The Cloudsmith region in which package files are stored.
|
87
|
+
attr_accessor :storage_region
|
88
|
+
|
89
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
90
|
+
def self.attribute_map
|
91
|
+
{
|
92
|
+
:'cdn_url' => :'cdn_url',
|
93
|
+
:'created_at' => :'created_at',
|
94
|
+
:'deleted_at' => :'deleted_at',
|
95
|
+
:'description' => :'description',
|
96
|
+
:'gpg_keys' => :'gpg_keys',
|
97
|
+
:'index_files' => :'index_files',
|
98
|
+
:'is_open_source' => :'is_open_source',
|
99
|
+
:'is_private' => :'is_private',
|
100
|
+
:'is_public' => :'is_public',
|
101
|
+
:'name' => :'name',
|
102
|
+
:'namespace' => :'namespace',
|
103
|
+
:'namespace_url' => :'namespace_url',
|
104
|
+
:'num_downloads' => :'num_downloads',
|
105
|
+
:'package_count' => :'package_count',
|
106
|
+
:'package_group_count' => :'package_group_count',
|
107
|
+
:'repository_type' => :'repository_type',
|
108
|
+
:'repository_type_str' => :'repository_type_str',
|
109
|
+
:'self_html_url' => :'self_html_url',
|
110
|
+
:'self_url' => :'self_url',
|
111
|
+
:'size' => :'size',
|
112
|
+
:'size_str' => :'size_str',
|
113
|
+
:'slug' => :'slug',
|
114
|
+
:'slug_perm' => :'slug_perm',
|
115
|
+
:'storage_region' => :'storage_region'
|
116
|
+
}
|
117
|
+
end
|
118
|
+
|
119
|
+
# Attribute type mapping.
|
120
|
+
def self.swagger_types
|
121
|
+
{
|
122
|
+
:'cdn_url' => :'String',
|
123
|
+
:'created_at' => :'String',
|
124
|
+
:'deleted_at' => :'String',
|
125
|
+
:'description' => :'String',
|
126
|
+
:'gpg_keys' => :'Array<ReposGpgKeys>',
|
127
|
+
:'index_files' => :'BOOLEAN',
|
128
|
+
:'is_open_source' => :'BOOLEAN',
|
129
|
+
:'is_private' => :'BOOLEAN',
|
130
|
+
:'is_public' => :'BOOLEAN',
|
131
|
+
:'name' => :'String',
|
132
|
+
:'namespace' => :'String',
|
133
|
+
:'namespace_url' => :'String',
|
134
|
+
:'num_downloads' => :'Integer',
|
135
|
+
:'package_count' => :'Integer',
|
136
|
+
:'package_group_count' => :'Integer',
|
137
|
+
:'repository_type' => :'Integer',
|
138
|
+
:'repository_type_str' => :'String',
|
139
|
+
:'self_html_url' => :'String',
|
140
|
+
:'self_url' => :'String',
|
141
|
+
:'size' => :'Integer',
|
142
|
+
:'size_str' => :'String',
|
143
|
+
:'slug' => :'String',
|
144
|
+
:'slug_perm' => :'String',
|
145
|
+
:'storage_region' => :'String'
|
146
|
+
}
|
147
|
+
end
|
148
|
+
|
149
|
+
# Initializes the object
|
150
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
151
|
+
def initialize(attributes = {})
|
152
|
+
return unless attributes.is_a?(Hash)
|
153
|
+
|
154
|
+
# convert string to symbol for hash key
|
155
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
156
|
+
|
157
|
+
if attributes.has_key?(:'cdn_url')
|
158
|
+
self.cdn_url = attributes[:'cdn_url']
|
159
|
+
end
|
160
|
+
|
161
|
+
if attributes.has_key?(:'created_at')
|
162
|
+
self.created_at = attributes[:'created_at']
|
163
|
+
end
|
164
|
+
|
165
|
+
if attributes.has_key?(:'deleted_at')
|
166
|
+
self.deleted_at = attributes[:'deleted_at']
|
167
|
+
end
|
168
|
+
|
169
|
+
if attributes.has_key?(:'description')
|
170
|
+
self.description = attributes[:'description']
|
171
|
+
end
|
172
|
+
|
173
|
+
if attributes.has_key?(:'gpg_keys')
|
174
|
+
if (value = attributes[:'gpg_keys']).is_a?(Array)
|
175
|
+
self.gpg_keys = value
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
if attributes.has_key?(:'index_files')
|
180
|
+
self.index_files = attributes[:'index_files']
|
181
|
+
end
|
182
|
+
|
183
|
+
if attributes.has_key?(:'is_open_source')
|
184
|
+
self.is_open_source = attributes[:'is_open_source']
|
185
|
+
end
|
186
|
+
|
187
|
+
if attributes.has_key?(:'is_private')
|
188
|
+
self.is_private = attributes[:'is_private']
|
189
|
+
end
|
190
|
+
|
191
|
+
if attributes.has_key?(:'is_public')
|
192
|
+
self.is_public = attributes[:'is_public']
|
193
|
+
end
|
194
|
+
|
195
|
+
if attributes.has_key?(:'name')
|
196
|
+
self.name = attributes[:'name']
|
197
|
+
end
|
198
|
+
|
199
|
+
if attributes.has_key?(:'namespace')
|
200
|
+
self.namespace = attributes[:'namespace']
|
201
|
+
end
|
202
|
+
|
203
|
+
if attributes.has_key?(:'namespace_url')
|
204
|
+
self.namespace_url = attributes[:'namespace_url']
|
205
|
+
end
|
206
|
+
|
207
|
+
if attributes.has_key?(:'num_downloads')
|
208
|
+
self.num_downloads = attributes[:'num_downloads']
|
209
|
+
end
|
210
|
+
|
211
|
+
if attributes.has_key?(:'package_count')
|
212
|
+
self.package_count = attributes[:'package_count']
|
213
|
+
end
|
214
|
+
|
215
|
+
if attributes.has_key?(:'package_group_count')
|
216
|
+
self.package_group_count = attributes[:'package_group_count']
|
217
|
+
end
|
218
|
+
|
219
|
+
if attributes.has_key?(:'repository_type')
|
220
|
+
self.repository_type = attributes[:'repository_type']
|
221
|
+
end
|
222
|
+
|
223
|
+
if attributes.has_key?(:'repository_type_str')
|
224
|
+
self.repository_type_str = attributes[:'repository_type_str']
|
225
|
+
end
|
226
|
+
|
227
|
+
if attributes.has_key?(:'self_html_url')
|
228
|
+
self.self_html_url = attributes[:'self_html_url']
|
229
|
+
end
|
230
|
+
|
231
|
+
if attributes.has_key?(:'self_url')
|
232
|
+
self.self_url = attributes[:'self_url']
|
233
|
+
end
|
234
|
+
|
235
|
+
if attributes.has_key?(:'size')
|
236
|
+
self.size = attributes[:'size']
|
237
|
+
end
|
238
|
+
|
239
|
+
if attributes.has_key?(:'size_str')
|
240
|
+
self.size_str = attributes[:'size_str']
|
241
|
+
end
|
242
|
+
|
243
|
+
if attributes.has_key?(:'slug')
|
244
|
+
self.slug = attributes[:'slug']
|
245
|
+
end
|
246
|
+
|
247
|
+
if attributes.has_key?(:'slug_perm')
|
248
|
+
self.slug_perm = attributes[:'slug_perm']
|
249
|
+
end
|
250
|
+
|
251
|
+
if attributes.has_key?(:'storage_region')
|
252
|
+
self.storage_region = attributes[:'storage_region']
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
257
|
+
# @return Array for valid properties with the reasons
|
258
|
+
def list_invalid_properties
|
259
|
+
invalid_properties = Array.new
|
260
|
+
if @name.nil?
|
261
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
262
|
+
end
|
263
|
+
|
264
|
+
invalid_properties
|
265
|
+
end
|
266
|
+
|
267
|
+
# Check to see if the all the properties in the model are valid
|
268
|
+
# @return true if the model is valid
|
269
|
+
def valid?
|
270
|
+
return false if @name.nil?
|
271
|
+
true
|
272
|
+
end
|
273
|
+
|
274
|
+
# Checks equality by comparing each attribute.
|
275
|
+
# @param [Object] Object to be compared
|
276
|
+
def ==(o)
|
277
|
+
return true if self.equal?(o)
|
278
|
+
self.class == o.class &&
|
279
|
+
cdn_url == o.cdn_url &&
|
280
|
+
created_at == o.created_at &&
|
281
|
+
deleted_at == o.deleted_at &&
|
282
|
+
description == o.description &&
|
283
|
+
gpg_keys == o.gpg_keys &&
|
284
|
+
index_files == o.index_files &&
|
285
|
+
is_open_source == o.is_open_source &&
|
286
|
+
is_private == o.is_private &&
|
287
|
+
is_public == o.is_public &&
|
288
|
+
name == o.name &&
|
289
|
+
namespace == o.namespace &&
|
290
|
+
namespace_url == o.namespace_url &&
|
291
|
+
num_downloads == o.num_downloads &&
|
292
|
+
package_count == o.package_count &&
|
293
|
+
package_group_count == o.package_group_count &&
|
294
|
+
repository_type == o.repository_type &&
|
295
|
+
repository_type_str == o.repository_type_str &&
|
296
|
+
self_html_url == o.self_html_url &&
|
297
|
+
self_url == o.self_url &&
|
298
|
+
size == o.size &&
|
299
|
+
size_str == o.size_str &&
|
300
|
+
slug == o.slug &&
|
301
|
+
slug_perm == o.slug_perm &&
|
302
|
+
storage_region == o.storage_region
|
303
|
+
end
|
304
|
+
|
305
|
+
# @see the `==` method
|
306
|
+
# @param [Object] Object to be compared
|
307
|
+
def eql?(o)
|
308
|
+
self == o
|
309
|
+
end
|
310
|
+
|
311
|
+
# Calculates hash code according to all attributes.
|
312
|
+
# @return [Fixnum] Hash code
|
313
|
+
def hash
|
314
|
+
[cdn_url, created_at, deleted_at, description, gpg_keys, index_files, is_open_source, is_private, is_public, name, namespace, namespace_url, num_downloads, package_count, package_group_count, repository_type, repository_type_str, self_html_url, self_url, size, size_str, slug, slug_perm, storage_region].hash
|
315
|
+
end
|
316
|
+
|
317
|
+
# Builds the object from hash
|
318
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
319
|
+
# @return [Object] Returns the model itself
|
320
|
+
def build_from_hash(attributes)
|
321
|
+
return nil unless attributes.is_a?(Hash)
|
322
|
+
self.class.swagger_types.each_pair do |key, type|
|
323
|
+
if type =~ /\AArray<(.*)>/i
|
324
|
+
# check to ensure the input is an array given that the attribute
|
325
|
+
# is documented as an array but the input is not
|
326
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
327
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
328
|
+
end
|
329
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
330
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
331
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
332
|
+
end
|
333
|
+
|
334
|
+
self
|
335
|
+
end
|
336
|
+
|
337
|
+
# Deserializes the data based on type
|
338
|
+
# @param string type Data type
|
339
|
+
# @param string value Value to be deserialized
|
340
|
+
# @return [Object] Deserialized data
|
341
|
+
def _deserialize(type, value)
|
342
|
+
case type.to_sym
|
343
|
+
when :DateTime
|
344
|
+
DateTime.parse(value)
|
345
|
+
when :Date
|
346
|
+
Date.parse(value)
|
347
|
+
when :String
|
348
|
+
value.to_s
|
349
|
+
when :Integer
|
350
|
+
value.to_i
|
351
|
+
when :Float
|
352
|
+
value.to_f
|
353
|
+
when :BOOLEAN
|
354
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
355
|
+
true
|
356
|
+
else
|
357
|
+
false
|
358
|
+
end
|
359
|
+
when :Object
|
360
|
+
# generic object (usually a Hash), return directly
|
361
|
+
value
|
362
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
363
|
+
inner_type = Regexp.last_match[:inner_type]
|
364
|
+
value.map { |v| _deserialize(inner_type, v) }
|
365
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
366
|
+
k_type = Regexp.last_match[:k_type]
|
367
|
+
v_type = Regexp.last_match[:v_type]
|
368
|
+
{}.tap do |hash|
|
369
|
+
value.each do |k, v|
|
370
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
371
|
+
end
|
372
|
+
end
|
373
|
+
else # model
|
374
|
+
temp_model = CloudsmithApi.const_get(type).new
|
375
|
+
temp_model.build_from_hash(value)
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
# Returns the string representation of the object
|
380
|
+
# @return [String] String presentation of the object
|
381
|
+
def to_s
|
382
|
+
to_hash.to_s
|
383
|
+
end
|
384
|
+
|
385
|
+
# to_body is an alias to to_hash (backward compatibility)
|
386
|
+
# @return [Hash] Returns the object in the form of hash
|
387
|
+
def to_body
|
388
|
+
to_hash
|
389
|
+
end
|
390
|
+
|
391
|
+
# Returns the object in the form of hash
|
392
|
+
# @return [Hash] Returns the object in the form of hash
|
393
|
+
def to_hash
|
394
|
+
hash = {}
|
395
|
+
self.class.attribute_map.each_pair do |attr, param|
|
396
|
+
value = self.send(attr)
|
397
|
+
next if value.nil?
|
398
|
+
hash[param] = _to_hash(value)
|
399
|
+
end
|
400
|
+
hash
|
401
|
+
end
|
402
|
+
|
403
|
+
# Outputs non-array value in the form of hash
|
404
|
+
# For object, use to_hash. Otherwise, just return the value
|
405
|
+
# @param [Object] value Any valid value
|
406
|
+
# @return [Hash] Returns the value in the form of hash
|
407
|
+
def _to_hash(value)
|
408
|
+
if value.is_a?(Array)
|
409
|
+
value.compact.map { |v| _to_hash(v) }
|
410
|
+
elsif value.is_a?(Hash)
|
411
|
+
{}.tap do |hash|
|
412
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
413
|
+
end
|
414
|
+
elsif value.respond_to? :to_hash
|
415
|
+
value.to_hash
|
416
|
+
else
|
417
|
+
value
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
end
|
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
|