cloudsmith-api 1.30.0 → 1.61.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,11 +6,11 @@
|
|
|
6
6
|
OpenAPI spec version: v1
|
|
7
7
|
Contact: support@cloudsmith.io
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.
|
|
9
|
+
Swagger Codegen version: 2.4.26
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
|
-
require
|
|
13
|
+
require 'uri'
|
|
14
14
|
|
|
15
15
|
module CloudsmithApi
|
|
16
16
|
class VulnerabilitiesApi
|
|
@@ -19,7 +19,6 @@ module CloudsmithApi
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
|
|
23
22
|
# Lists scan results for a specific namespace.
|
|
24
23
|
# Lists scan results for a specific namespace.
|
|
25
24
|
# @param owner
|
|
@@ -29,7 +28,7 @@ module CloudsmithApi
|
|
|
29
28
|
# @return [Array<VulnerabilityScanResultsList>]
|
|
30
29
|
def vulnerabilities_list(owner, opts = {})
|
|
31
30
|
data, _status_code, _headers = vulnerabilities_list_with_http_info(owner, opts)
|
|
32
|
-
|
|
31
|
+
data
|
|
33
32
|
end
|
|
34
33
|
|
|
35
34
|
# Lists scan results for a specific namespace.
|
|
@@ -41,14 +40,14 @@ module CloudsmithApi
|
|
|
41
40
|
# @return [Array<(Array<VulnerabilityScanResultsList>, Fixnum, Hash)>] Array<VulnerabilityScanResultsList> data, response status code and response headers
|
|
42
41
|
def vulnerabilities_list_with_http_info(owner, opts = {})
|
|
43
42
|
if @api_client.config.debugging
|
|
44
|
-
@api_client.config.logger.debug
|
|
43
|
+
@api_client.config.logger.debug 'Calling API: VulnerabilitiesApi.vulnerabilities_list ...'
|
|
45
44
|
end
|
|
46
45
|
# verify the required parameter 'owner' is set
|
|
47
46
|
if @api_client.config.client_side_validation && owner.nil?
|
|
48
47
|
fail ArgumentError, "Missing the required parameter 'owner' when calling VulnerabilitiesApi.vulnerabilities_list"
|
|
49
48
|
end
|
|
50
49
|
# resource path
|
|
51
|
-
local_var_path =
|
|
50
|
+
local_var_path = '/vulnerabilities/{owner}/'.sub('{' + 'owner' + '}', owner.to_s)
|
|
52
51
|
|
|
53
52
|
# query parameters
|
|
54
53
|
query_params = {}
|
|
@@ -76,7 +75,6 @@ module CloudsmithApi
|
|
|
76
75
|
end
|
|
77
76
|
return data, status_code, headers
|
|
78
77
|
end
|
|
79
|
-
|
|
80
78
|
# Lists scan results for a specific repository.
|
|
81
79
|
# Lists scan results for a specific repository.
|
|
82
80
|
# @param owner
|
|
@@ -87,7 +85,7 @@ module CloudsmithApi
|
|
|
87
85
|
# @return [Array<VulnerabilityScanResultsList>]
|
|
88
86
|
def vulnerabilities_list0(owner, repo, opts = {})
|
|
89
87
|
data, _status_code, _headers = vulnerabilities_list0_with_http_info(owner, repo, opts)
|
|
90
|
-
|
|
88
|
+
data
|
|
91
89
|
end
|
|
92
90
|
|
|
93
91
|
# Lists scan results for a specific repository.
|
|
@@ -100,7 +98,7 @@ module CloudsmithApi
|
|
|
100
98
|
# @return [Array<(Array<VulnerabilityScanResultsList>, Fixnum, Hash)>] Array<VulnerabilityScanResultsList> data, response status code and response headers
|
|
101
99
|
def vulnerabilities_list0_with_http_info(owner, repo, opts = {})
|
|
102
100
|
if @api_client.config.debugging
|
|
103
|
-
@api_client.config.logger.debug
|
|
101
|
+
@api_client.config.logger.debug 'Calling API: VulnerabilitiesApi.vulnerabilities_list0 ...'
|
|
104
102
|
end
|
|
105
103
|
# verify the required parameter 'owner' is set
|
|
106
104
|
if @api_client.config.client_side_validation && owner.nil?
|
|
@@ -111,7 +109,7 @@ module CloudsmithApi
|
|
|
111
109
|
fail ArgumentError, "Missing the required parameter 'repo' when calling VulnerabilitiesApi.vulnerabilities_list0"
|
|
112
110
|
end
|
|
113
111
|
# resource path
|
|
114
|
-
local_var_path =
|
|
112
|
+
local_var_path = '/vulnerabilities/{owner}/{repo}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
|
|
115
113
|
|
|
116
114
|
# query parameters
|
|
117
115
|
query_params = {}
|
|
@@ -139,7 +137,6 @@ module CloudsmithApi
|
|
|
139
137
|
end
|
|
140
138
|
return data, status_code, headers
|
|
141
139
|
end
|
|
142
|
-
|
|
143
140
|
# Lists scan results for a specific package.
|
|
144
141
|
# Lists scan results for a specific package.
|
|
145
142
|
# @param owner
|
|
@@ -151,7 +148,7 @@ module CloudsmithApi
|
|
|
151
148
|
# @return [Array<VulnerabilityScanResultsList>]
|
|
152
149
|
def vulnerabilities_list1(owner, repo, package, opts = {})
|
|
153
150
|
data, _status_code, _headers = vulnerabilities_list1_with_http_info(owner, repo, package, opts)
|
|
154
|
-
|
|
151
|
+
data
|
|
155
152
|
end
|
|
156
153
|
|
|
157
154
|
# Lists scan results for a specific package.
|
|
@@ -165,7 +162,7 @@ module CloudsmithApi
|
|
|
165
162
|
# @return [Array<(Array<VulnerabilityScanResultsList>, Fixnum, Hash)>] Array<VulnerabilityScanResultsList> data, response status code and response headers
|
|
166
163
|
def vulnerabilities_list1_with_http_info(owner, repo, package, opts = {})
|
|
167
164
|
if @api_client.config.debugging
|
|
168
|
-
@api_client.config.logger.debug
|
|
165
|
+
@api_client.config.logger.debug 'Calling API: VulnerabilitiesApi.vulnerabilities_list1 ...'
|
|
169
166
|
end
|
|
170
167
|
# verify the required parameter 'owner' is set
|
|
171
168
|
if @api_client.config.client_side_validation && owner.nil?
|
|
@@ -180,7 +177,7 @@ module CloudsmithApi
|
|
|
180
177
|
fail ArgumentError, "Missing the required parameter 'package' when calling VulnerabilitiesApi.vulnerabilities_list1"
|
|
181
178
|
end
|
|
182
179
|
# resource path
|
|
183
|
-
local_var_path =
|
|
180
|
+
local_var_path = '/vulnerabilities/{owner}/{repo}/{package}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'package' + '}', package.to_s)
|
|
184
181
|
|
|
185
182
|
# query parameters
|
|
186
183
|
query_params = {}
|
|
@@ -208,7 +205,6 @@ module CloudsmithApi
|
|
|
208
205
|
end
|
|
209
206
|
return data, status_code, headers
|
|
210
207
|
end
|
|
211
|
-
|
|
212
208
|
# Returns a Scan Result.
|
|
213
209
|
# Returns a Scan Result.
|
|
214
210
|
# @param owner
|
|
@@ -219,7 +215,7 @@ module CloudsmithApi
|
|
|
219
215
|
# @return [VulnerabilityScanResults]
|
|
220
216
|
def vulnerabilities_read(owner, repo, package, scan_id, opts = {})
|
|
221
217
|
data, _status_code, _headers = vulnerabilities_read_with_http_info(owner, repo, package, scan_id, opts)
|
|
222
|
-
|
|
218
|
+
data
|
|
223
219
|
end
|
|
224
220
|
|
|
225
221
|
# Returns a Scan Result.
|
|
@@ -232,7 +228,7 @@ module CloudsmithApi
|
|
|
232
228
|
# @return [Array<(VulnerabilityScanResults, Fixnum, Hash)>] VulnerabilityScanResults data, response status code and response headers
|
|
233
229
|
def vulnerabilities_read_with_http_info(owner, repo, package, scan_id, opts = {})
|
|
234
230
|
if @api_client.config.debugging
|
|
235
|
-
@api_client.config.logger.debug
|
|
231
|
+
@api_client.config.logger.debug 'Calling API: VulnerabilitiesApi.vulnerabilities_read ...'
|
|
236
232
|
end
|
|
237
233
|
# verify the required parameter 'owner' is set
|
|
238
234
|
if @api_client.config.client_side_validation && owner.nil?
|
|
@@ -251,7 +247,7 @@ module CloudsmithApi
|
|
|
251
247
|
fail ArgumentError, "Missing the required parameter 'scan_id' when calling VulnerabilitiesApi.vulnerabilities_read"
|
|
252
248
|
end
|
|
253
249
|
# resource path
|
|
254
|
-
local_var_path =
|
|
250
|
+
local_var_path = '/vulnerabilities/{owner}/{repo}/{package}/{scan_id}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'package' + '}', package.to_s).sub('{' + 'scan_id' + '}', scan_id.to_s)
|
|
255
251
|
|
|
256
252
|
# query parameters
|
|
257
253
|
query_params = {}
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
OpenAPI spec version: v1
|
|
7
7
|
Contact: support@cloudsmith.io
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.
|
|
9
|
+
Swagger Codegen version: 2.4.26
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
|
-
require
|
|
13
|
+
require 'uri'
|
|
14
14
|
|
|
15
15
|
module CloudsmithApi
|
|
16
16
|
class WebhooksApi
|
|
@@ -19,7 +19,6 @@ module CloudsmithApi
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
|
|
23
22
|
# Create a specific webhook in a repository.
|
|
24
23
|
# Create a specific webhook in a repository.
|
|
25
24
|
# @param owner
|
|
@@ -29,7 +28,7 @@ module CloudsmithApi
|
|
|
29
28
|
# @return [RepositoryWebhook]
|
|
30
29
|
def webhooks_create(owner, repo, opts = {})
|
|
31
30
|
data, _status_code, _headers = webhooks_create_with_http_info(owner, repo, opts)
|
|
32
|
-
|
|
31
|
+
data
|
|
33
32
|
end
|
|
34
33
|
|
|
35
34
|
# Create a specific webhook in a repository.
|
|
@@ -41,7 +40,7 @@ module CloudsmithApi
|
|
|
41
40
|
# @return [Array<(RepositoryWebhook, Fixnum, Hash)>] RepositoryWebhook data, response status code and response headers
|
|
42
41
|
def webhooks_create_with_http_info(owner, repo, opts = {})
|
|
43
42
|
if @api_client.config.debugging
|
|
44
|
-
@api_client.config.logger.debug
|
|
43
|
+
@api_client.config.logger.debug 'Calling API: WebhooksApi.webhooks_create ...'
|
|
45
44
|
end
|
|
46
45
|
# verify the required parameter 'owner' is set
|
|
47
46
|
if @api_client.config.client_side_validation && owner.nil?
|
|
@@ -52,7 +51,7 @@ module CloudsmithApi
|
|
|
52
51
|
fail ArgumentError, "Missing the required parameter 'repo' when calling WebhooksApi.webhooks_create"
|
|
53
52
|
end
|
|
54
53
|
# resource path
|
|
55
|
-
local_var_path =
|
|
54
|
+
local_var_path = '/webhooks/{owner}/{repo}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
|
|
56
55
|
|
|
57
56
|
# query parameters
|
|
58
57
|
query_params = {}
|
|
@@ -80,7 +79,6 @@ module CloudsmithApi
|
|
|
80
79
|
end
|
|
81
80
|
return data, status_code, headers
|
|
82
81
|
end
|
|
83
|
-
|
|
84
82
|
# Delete a specific webhook in a repository.
|
|
85
83
|
# Delete a specific webhook in a repository.
|
|
86
84
|
# @param owner
|
|
@@ -90,7 +88,7 @@ module CloudsmithApi
|
|
|
90
88
|
# @return [nil]
|
|
91
89
|
def webhooks_delete(owner, repo, identifier, opts = {})
|
|
92
90
|
webhooks_delete_with_http_info(owner, repo, identifier, opts)
|
|
93
|
-
|
|
91
|
+
nil
|
|
94
92
|
end
|
|
95
93
|
|
|
96
94
|
# Delete a specific webhook in a repository.
|
|
@@ -102,7 +100,7 @@ module CloudsmithApi
|
|
|
102
100
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
103
101
|
def webhooks_delete_with_http_info(owner, repo, identifier, opts = {})
|
|
104
102
|
if @api_client.config.debugging
|
|
105
|
-
@api_client.config.logger.debug
|
|
103
|
+
@api_client.config.logger.debug 'Calling API: WebhooksApi.webhooks_delete ...'
|
|
106
104
|
end
|
|
107
105
|
# verify the required parameter 'owner' is set
|
|
108
106
|
if @api_client.config.client_side_validation && owner.nil?
|
|
@@ -117,7 +115,7 @@ module CloudsmithApi
|
|
|
117
115
|
fail ArgumentError, "Missing the required parameter 'identifier' when calling WebhooksApi.webhooks_delete"
|
|
118
116
|
end
|
|
119
117
|
# resource path
|
|
120
|
-
local_var_path =
|
|
118
|
+
local_var_path = '/webhooks/{owner}/{repo}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
121
119
|
|
|
122
120
|
# query parameters
|
|
123
121
|
query_params = {}
|
|
@@ -142,7 +140,6 @@ module CloudsmithApi
|
|
|
142
140
|
end
|
|
143
141
|
return data, status_code, headers
|
|
144
142
|
end
|
|
145
|
-
|
|
146
143
|
# Get a list of all webhooks in a repository.
|
|
147
144
|
# Get a list of all webhooks in a repository.
|
|
148
145
|
# @param owner
|
|
@@ -153,7 +150,7 @@ module CloudsmithApi
|
|
|
153
150
|
# @return [Array<RepositoryWebhook>]
|
|
154
151
|
def webhooks_list(owner, repo, opts = {})
|
|
155
152
|
data, _status_code, _headers = webhooks_list_with_http_info(owner, repo, opts)
|
|
156
|
-
|
|
153
|
+
data
|
|
157
154
|
end
|
|
158
155
|
|
|
159
156
|
# Get a list of all webhooks in a repository.
|
|
@@ -166,7 +163,7 @@ module CloudsmithApi
|
|
|
166
163
|
# @return [Array<(Array<RepositoryWebhook>, Fixnum, Hash)>] Array<RepositoryWebhook> data, response status code and response headers
|
|
167
164
|
def webhooks_list_with_http_info(owner, repo, opts = {})
|
|
168
165
|
if @api_client.config.debugging
|
|
169
|
-
@api_client.config.logger.debug
|
|
166
|
+
@api_client.config.logger.debug 'Calling API: WebhooksApi.webhooks_list ...'
|
|
170
167
|
end
|
|
171
168
|
# verify the required parameter 'owner' is set
|
|
172
169
|
if @api_client.config.client_side_validation && owner.nil?
|
|
@@ -177,7 +174,7 @@ module CloudsmithApi
|
|
|
177
174
|
fail ArgumentError, "Missing the required parameter 'repo' when calling WebhooksApi.webhooks_list"
|
|
178
175
|
end
|
|
179
176
|
# resource path
|
|
180
|
-
local_var_path =
|
|
177
|
+
local_var_path = '/webhooks/{owner}/{repo}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
|
|
181
178
|
|
|
182
179
|
# query parameters
|
|
183
180
|
query_params = {}
|
|
@@ -205,7 +202,6 @@ module CloudsmithApi
|
|
|
205
202
|
end
|
|
206
203
|
return data, status_code, headers
|
|
207
204
|
end
|
|
208
|
-
|
|
209
205
|
# Update a specific webhook in a repository.
|
|
210
206
|
# Update a specific webhook in a repository.
|
|
211
207
|
# @param owner
|
|
@@ -216,7 +212,7 @@ module CloudsmithApi
|
|
|
216
212
|
# @return [RepositoryWebhook]
|
|
217
213
|
def webhooks_partial_update(owner, repo, identifier, opts = {})
|
|
218
214
|
data, _status_code, _headers = webhooks_partial_update_with_http_info(owner, repo, identifier, opts)
|
|
219
|
-
|
|
215
|
+
data
|
|
220
216
|
end
|
|
221
217
|
|
|
222
218
|
# Update a specific webhook in a repository.
|
|
@@ -229,7 +225,7 @@ module CloudsmithApi
|
|
|
229
225
|
# @return [Array<(RepositoryWebhook, Fixnum, Hash)>] RepositoryWebhook data, response status code and response headers
|
|
230
226
|
def webhooks_partial_update_with_http_info(owner, repo, identifier, opts = {})
|
|
231
227
|
if @api_client.config.debugging
|
|
232
|
-
@api_client.config.logger.debug
|
|
228
|
+
@api_client.config.logger.debug 'Calling API: WebhooksApi.webhooks_partial_update ...'
|
|
233
229
|
end
|
|
234
230
|
# verify the required parameter 'owner' is set
|
|
235
231
|
if @api_client.config.client_side_validation && owner.nil?
|
|
@@ -244,7 +240,7 @@ module CloudsmithApi
|
|
|
244
240
|
fail ArgumentError, "Missing the required parameter 'identifier' when calling WebhooksApi.webhooks_partial_update"
|
|
245
241
|
end
|
|
246
242
|
# resource path
|
|
247
|
-
local_var_path =
|
|
243
|
+
local_var_path = '/webhooks/{owner}/{repo}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
248
244
|
|
|
249
245
|
# query parameters
|
|
250
246
|
query_params = {}
|
|
@@ -272,7 +268,6 @@ module CloudsmithApi
|
|
|
272
268
|
end
|
|
273
269
|
return data, status_code, headers
|
|
274
270
|
end
|
|
275
|
-
|
|
276
271
|
# Views for working with repository webhooks.
|
|
277
272
|
# Views for working with repository webhooks.
|
|
278
273
|
# @param owner
|
|
@@ -282,7 +277,7 @@ module CloudsmithApi
|
|
|
282
277
|
# @return [RepositoryWebhook]
|
|
283
278
|
def webhooks_read(owner, repo, identifier, opts = {})
|
|
284
279
|
data, _status_code, _headers = webhooks_read_with_http_info(owner, repo, identifier, opts)
|
|
285
|
-
|
|
280
|
+
data
|
|
286
281
|
end
|
|
287
282
|
|
|
288
283
|
# Views for working with repository webhooks.
|
|
@@ -294,7 +289,7 @@ module CloudsmithApi
|
|
|
294
289
|
# @return [Array<(RepositoryWebhook, Fixnum, Hash)>] RepositoryWebhook data, response status code and response headers
|
|
295
290
|
def webhooks_read_with_http_info(owner, repo, identifier, opts = {})
|
|
296
291
|
if @api_client.config.debugging
|
|
297
|
-
@api_client.config.logger.debug
|
|
292
|
+
@api_client.config.logger.debug 'Calling API: WebhooksApi.webhooks_read ...'
|
|
298
293
|
end
|
|
299
294
|
# verify the required parameter 'owner' is set
|
|
300
295
|
if @api_client.config.client_side_validation && owner.nil?
|
|
@@ -309,7 +304,7 @@ module CloudsmithApi
|
|
|
309
304
|
fail ArgumentError, "Missing the required parameter 'identifier' when calling WebhooksApi.webhooks_read"
|
|
310
305
|
end
|
|
311
306
|
# resource path
|
|
312
|
-
local_var_path =
|
|
307
|
+
local_var_path = '/webhooks/{owner}/{repo}/{identifier}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
|
313
308
|
|
|
314
309
|
# query parameters
|
|
315
310
|
query_params = {}
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
|
|
@@ -15,7 +15,7 @@ require 'json'
|
|
|
15
15
|
require 'logger'
|
|
16
16
|
require 'tempfile'
|
|
17
17
|
require 'typhoeus'
|
|
18
|
-
require 'uri'
|
|
18
|
+
require 'addressable/uri'
|
|
19
19
|
|
|
20
20
|
module CloudsmithApi
|
|
21
21
|
class ApiClient
|
|
@@ -33,7 +33,7 @@ module CloudsmithApi
|
|
|
33
33
|
@config = config
|
|
34
34
|
@user_agent = "Swagger-Codegen/#{VERSION}/ruby"
|
|
35
35
|
@default_headers = {
|
|
36
|
-
'Content-Type' =>
|
|
36
|
+
'Content-Type' => 'application/json',
|
|
37
37
|
'User-Agent' => @user_agent
|
|
38
38
|
}
|
|
39
39
|
end
|
|
@@ -63,7 +63,7 @@ module CloudsmithApi
|
|
|
63
63
|
:message => response.return_message)
|
|
64
64
|
else
|
|
65
65
|
fail ApiError.new(:code => response.code,
|
|
66
|
-
:response_headers => response.headers,
|
|
66
|
+
:response_headers => response.headers.to_h,
|
|
67
67
|
:response_body => response.body),
|
|
68
68
|
response.status_message
|
|
69
69
|
end
|
|
@@ -112,6 +112,8 @@ module CloudsmithApi
|
|
|
112
112
|
:verbose => @config.debugging
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
req_opts.merge!(multipart: true) if header_params['Content-Type'].start_with? "multipart/"
|
|
116
|
+
|
|
115
117
|
# set custom cert, if provided
|
|
116
118
|
req_opts[:cainfo] = @config.ssl_ca_cert if @config.ssl_ca_cert
|
|
117
119
|
|
|
@@ -137,7 +139,7 @@ module CloudsmithApi
|
|
|
137
139
|
# @param [String] mime MIME
|
|
138
140
|
# @return [Boolean] True if the MIME is application/json
|
|
139
141
|
def json_mime?(mime)
|
|
140
|
-
|
|
142
|
+
(mime == '*/*') || !(mime =~ /Application\/.*json(?!p)(;.*)?/i).nil?
|
|
141
143
|
end
|
|
142
144
|
|
|
143
145
|
# Deserialize the response to the given return type.
|
|
@@ -201,12 +203,12 @@ module CloudsmithApi
|
|
|
201
203
|
when /\AArray<(.+)>\z/
|
|
202
204
|
# e.g. Array<Pet>
|
|
203
205
|
sub_type = $1
|
|
204
|
-
data.map {|item| convert_to_type(item, sub_type) }
|
|
206
|
+
data.map { |item| convert_to_type(item, sub_type) }
|
|
205
207
|
when /\AHash\<String, (.+)\>\z/
|
|
206
208
|
# e.g. Hash<String, Integer>
|
|
207
209
|
sub_type = $1
|
|
208
210
|
{}.tap do |hash|
|
|
209
|
-
data.each {|k, v| hash[k] = convert_to_type(v, sub_type) }
|
|
211
|
+
data.each { |k, v| hash[k] = convert_to_type(v, sub_type) }
|
|
210
212
|
end
|
|
211
213
|
else
|
|
212
214
|
# models, e.g. Pet
|
|
@@ -228,7 +230,7 @@ module CloudsmithApi
|
|
|
228
230
|
encoding = nil
|
|
229
231
|
request.on_headers do |response|
|
|
230
232
|
content_disposition = response.headers['Content-Disposition']
|
|
231
|
-
if content_disposition
|
|
233
|
+
if content_disposition && content_disposition =~ /filename=/i
|
|
232
234
|
filename = content_disposition[/filename=['"]?([^'"\s]+)['"]?/, 1]
|
|
233
235
|
prefix = sanitize_filename(filename)
|
|
234
236
|
else
|
|
@@ -264,7 +266,7 @@ module CloudsmithApi
|
|
|
264
266
|
def build_request_url(path)
|
|
265
267
|
# Add leading and trailing slashes to path
|
|
266
268
|
path = "/#{path}".gsub(/\/+/, '/')
|
|
267
|
-
URI.encode(@config.base_url + path)
|
|
269
|
+
Addressable::URI.encode(@config.base_url + path)
|
|
268
270
|
end
|
|
269
271
|
|
|
270
272
|
# Builds the HTTP request body
|
|
@@ -280,7 +282,7 @@ module CloudsmithApi
|
|
|
280
282
|
data = {}
|
|
281
283
|
form_params.each do |key, value|
|
|
282
284
|
case value
|
|
283
|
-
when File, Array, nil
|
|
285
|
+
when ::File, ::Array, nil
|
|
284
286
|
# let typhoeus handle File, Array and nil parameters
|
|
285
287
|
data[key] = value
|
|
286
288
|
else
|
|
@@ -327,7 +329,7 @@ module CloudsmithApi
|
|
|
327
329
|
return nil if accepts.nil? || accepts.empty?
|
|
328
330
|
# use JSON when present, otherwise use all of the provided
|
|
329
331
|
json_accept = accepts.find { |s| json_mime?(s) }
|
|
330
|
-
|
|
332
|
+
json_accept || accepts.join(',')
|
|
331
333
|
end
|
|
332
334
|
|
|
333
335
|
# Return Content-Type header based on an array of content types provided.
|
|
@@ -338,7 +340,7 @@ module CloudsmithApi
|
|
|
338
340
|
return 'application/json' if content_types.nil? || content_types.empty?
|
|
339
341
|
# use JSON when present, otherwise use the first one
|
|
340
342
|
json_content_type = content_types.find { |s| json_mime?(s) }
|
|
341
|
-
|
|
343
|
+
json_content_type || content_types.first
|
|
342
344
|
end
|
|
343
345
|
|
|
344
346
|
# Convert object (array, hash, object, etc) to JSON string.
|
|
@@ -348,7 +350,7 @@ module CloudsmithApi
|
|
|
348
350
|
return model if model.nil? || model.is_a?(String)
|
|
349
351
|
local_body = nil
|
|
350
352
|
if model.is_a?(Array)
|
|
351
|
-
local_body = model.map{|m| object_to_hash(m) }
|
|
353
|
+
local_body = model.map { |m| object_to_hash(m) }
|
|
352
354
|
else
|
|
353
355
|
local_body = object_to_hash(model)
|
|
354
356
|
end
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
OpenAPI spec version: v1
|
|
7
7
|
Contact: support@cloudsmith.io
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.
|
|
9
|
+
Swagger Codegen version: 2.4.26
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
|
-
require 'uri'
|
|
13
|
+
require 'addressable/uri'
|
|
14
14
|
|
|
15
15
|
module CloudsmithApi
|
|
16
16
|
class Configuration
|
|
@@ -170,12 +170,12 @@ module CloudsmithApi
|
|
|
170
170
|
def base_path=(base_path)
|
|
171
171
|
# Add leading and trailing slashes to base_path
|
|
172
172
|
@base_path = "/#{base_path}".gsub(/\/+/, '/')
|
|
173
|
-
@base_path =
|
|
173
|
+
@base_path = '' if @base_path == '/'
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
def base_url
|
|
177
177
|
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
|
|
178
|
-
URI.encode(url)
|
|
178
|
+
Addressable::URI.encode(url)
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
# Gets API key (with prefix if set).
|
|
@@ -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 AlpinePackageUpload
|
|
18
17
|
#
|
|
19
18
|
attr_accessor :architectures
|
|
@@ -75,6 +74,12 @@ module CloudsmithApi
|
|
|
75
74
|
#
|
|
76
75
|
attr_accessor :indexed
|
|
77
76
|
|
|
77
|
+
#
|
|
78
|
+
attr_accessor :is_downloadable
|
|
79
|
+
|
|
80
|
+
#
|
|
81
|
+
attr_accessor :is_quarantined
|
|
82
|
+
|
|
78
83
|
#
|
|
79
84
|
attr_accessor :is_sync_awaiting
|
|
80
85
|
|
|
@@ -207,7 +212,6 @@ module CloudsmithApi
|
|
|
207
212
|
#
|
|
208
213
|
attr_accessor :vulnerability_scan_results_url
|
|
209
214
|
|
|
210
|
-
|
|
211
215
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
212
216
|
def self.attribute_map
|
|
213
217
|
{
|
|
@@ -231,6 +235,8 @@ module CloudsmithApi
|
|
|
231
235
|
:'format_url' => :'format_url',
|
|
232
236
|
:'identifier_perm' => :'identifier_perm',
|
|
233
237
|
:'indexed' => :'indexed',
|
|
238
|
+
:'is_downloadable' => :'is_downloadable',
|
|
239
|
+
:'is_quarantined' => :'is_quarantined',
|
|
234
240
|
:'is_sync_awaiting' => :'is_sync_awaiting',
|
|
235
241
|
:'is_sync_completed' => :'is_sync_completed',
|
|
236
242
|
:'is_sync_failed' => :'is_sync_failed',
|
|
@@ -301,6 +307,8 @@ module CloudsmithApi
|
|
|
301
307
|
:'format_url' => :'String',
|
|
302
308
|
:'identifier_perm' => :'String',
|
|
303
309
|
:'indexed' => :'BOOLEAN',
|
|
310
|
+
:'is_downloadable' => :'BOOLEAN',
|
|
311
|
+
:'is_quarantined' => :'BOOLEAN',
|
|
304
312
|
:'is_sync_awaiting' => :'BOOLEAN',
|
|
305
313
|
:'is_sync_completed' => :'BOOLEAN',
|
|
306
314
|
:'is_sync_failed' => :'BOOLEAN',
|
|
@@ -311,7 +319,7 @@ module CloudsmithApi
|
|
|
311
319
|
:'namespace' => :'String',
|
|
312
320
|
:'namespace_url' => :'String',
|
|
313
321
|
:'num_files' => :'Integer',
|
|
314
|
-
:'package_type' => :'
|
|
322
|
+
:'package_type' => :'Integer',
|
|
315
323
|
:'release' => :'String',
|
|
316
324
|
:'repository' => :'String',
|
|
317
325
|
:'repository_url' => :'String',
|
|
@@ -325,10 +333,10 @@ module CloudsmithApi
|
|
|
325
333
|
:'size' => :'Integer',
|
|
326
334
|
:'slug' => :'String',
|
|
327
335
|
:'slug_perm' => :'String',
|
|
328
|
-
:'stage' => :'
|
|
336
|
+
:'stage' => :'Integer',
|
|
329
337
|
:'stage_str' => :'String',
|
|
330
338
|
:'stage_updated_at' => :'String',
|
|
331
|
-
:'status' => :'
|
|
339
|
+
:'status' => :'Integer',
|
|
332
340
|
:'status_reason' => :'String',
|
|
333
341
|
:'status_str' => :'String',
|
|
334
342
|
:'status_updated_at' => :'String',
|
|
@@ -354,7 +362,7 @@ module CloudsmithApi
|
|
|
354
362
|
return unless attributes.is_a?(Hash)
|
|
355
363
|
|
|
356
364
|
# convert string to symbol for hash key
|
|
357
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
365
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
358
366
|
|
|
359
367
|
if attributes.has_key?(:'architectures')
|
|
360
368
|
if (value = attributes[:'architectures']).is_a?(Array)
|
|
@@ -440,6 +448,14 @@ module CloudsmithApi
|
|
|
440
448
|
self.indexed = attributes[:'indexed']
|
|
441
449
|
end
|
|
442
450
|
|
|
451
|
+
if attributes.has_key?(:'is_downloadable')
|
|
452
|
+
self.is_downloadable = attributes[:'is_downloadable']
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
if attributes.has_key?(:'is_quarantined')
|
|
456
|
+
self.is_quarantined = attributes[:'is_quarantined']
|
|
457
|
+
end
|
|
458
|
+
|
|
443
459
|
if attributes.has_key?(:'is_sync_awaiting')
|
|
444
460
|
self.is_sync_awaiting = attributes[:'is_sync_awaiting']
|
|
445
461
|
end
|
|
@@ -615,20 +631,19 @@ module CloudsmithApi
|
|
|
615
631
|
if attributes.has_key?(:'vulnerability_scan_results_url')
|
|
616
632
|
self.vulnerability_scan_results_url = attributes[:'vulnerability_scan_results_url']
|
|
617
633
|
end
|
|
618
|
-
|
|
619
634
|
end
|
|
620
635
|
|
|
621
636
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
622
|
-
# @return Array for valid
|
|
637
|
+
# @return Array for valid properties with the reasons
|
|
623
638
|
def list_invalid_properties
|
|
624
639
|
invalid_properties = Array.new
|
|
625
|
-
|
|
640
|
+
invalid_properties
|
|
626
641
|
end
|
|
627
642
|
|
|
628
643
|
# Check to see if the all the properties in the model are valid
|
|
629
644
|
# @return true if the model is valid
|
|
630
645
|
def valid?
|
|
631
|
-
|
|
646
|
+
true
|
|
632
647
|
end
|
|
633
648
|
|
|
634
649
|
# Checks equality by comparing each attribute.
|
|
@@ -656,6 +671,8 @@ module CloudsmithApi
|
|
|
656
671
|
format_url == o.format_url &&
|
|
657
672
|
identifier_perm == o.identifier_perm &&
|
|
658
673
|
indexed == o.indexed &&
|
|
674
|
+
is_downloadable == o.is_downloadable &&
|
|
675
|
+
is_quarantined == o.is_quarantined &&
|
|
659
676
|
is_sync_awaiting == o.is_sync_awaiting &&
|
|
660
677
|
is_sync_completed == o.is_sync_completed &&
|
|
661
678
|
is_sync_failed == o.is_sync_failed &&
|
|
@@ -711,7 +728,7 @@ module CloudsmithApi
|
|
|
711
728
|
# Calculates hash code according to all attributes.
|
|
712
729
|
# @return [Fixnum] Hash code
|
|
713
730
|
def hash
|
|
714
|
-
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
731
|
+
[architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
|
715
732
|
end
|
|
716
733
|
|
|
717
734
|
# Builds the object from hash
|
|
@@ -721,10 +738,10 @@ module CloudsmithApi
|
|
|
721
738
|
return nil unless attributes.is_a?(Hash)
|
|
722
739
|
self.class.swagger_types.each_pair do |key, type|
|
|
723
740
|
if type =~ /\AArray<(.*)>/i
|
|
724
|
-
# check to ensure the input is an array given that the
|
|
741
|
+
# check to ensure the input is an array given that the attribute
|
|
725
742
|
# is documented as an array but the input is not
|
|
726
743
|
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) }
|
|
744
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
728
745
|
end
|
|
729
746
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
730
747
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
@@ -806,7 +823,7 @@ module CloudsmithApi
|
|
|
806
823
|
# @return [Hash] Returns the value in the form of hash
|
|
807
824
|
def _to_hash(value)
|
|
808
825
|
if value.is_a?(Array)
|
|
809
|
-
value.compact.map{ |v| _to_hash(v) }
|
|
826
|
+
value.compact.map { |v| _to_hash(v) }
|
|
810
827
|
elsif value.is_a?(Hash)
|
|
811
828
|
{}.tap do |hash|
|
|
812
829
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
@@ -819,5 +836,4 @@ module CloudsmithApi
|
|
|
819
836
|
end
|
|
820
837
|
|
|
821
838
|
end
|
|
822
|
-
|
|
823
839
|
end
|