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
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Define a package task library to aid in the definition of
|
2
3
|
# redistributable package files.
|
3
4
|
|
@@ -131,9 +132,7 @@ module Rake
|
|
131
132
|
task package: ["#{package_dir}/#{file}"]
|
132
133
|
file "#{package_dir}/#{file}" =>
|
133
134
|
[package_dir_path] + package_files do
|
134
|
-
chdir(package_dir)
|
135
|
-
sh @tar_command, "#{flag}cvf", file, package_name
|
136
|
-
end
|
135
|
+
chdir(package_dir) { sh @tar_command, "#{flag}cvf", file, package_name }
|
137
136
|
end
|
138
137
|
end
|
139
138
|
end
|
@@ -142,9 +141,7 @@ module Rake
|
|
142
141
|
task package: ["#{package_dir}/#{zip_file}"]
|
143
142
|
file "#{package_dir}/#{zip_file}" =>
|
144
143
|
[package_dir_path] + package_files do
|
145
|
-
chdir(package_dir)
|
146
|
-
sh @zip_command, "-r", zip_file, package_name
|
147
|
-
end
|
144
|
+
chdir(package_dir) { sh @zip_command, "-r", zip_file, package_name }
|
148
145
|
end
|
149
146
|
end
|
150
147
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
module Rake
|
2
3
|
|
3
4
|
# A Promise object represents a promise to do work (a chore) in the
|
@@ -70,12 +71,12 @@ module Rake
|
|
70
71
|
|
71
72
|
# Do we have a result for the promise
|
72
73
|
def result?
|
73
|
-
|
74
|
+
!@result.equal?(NOT_SET)
|
74
75
|
end
|
75
76
|
|
76
77
|
# Did the promise throw an error
|
77
78
|
def error?
|
78
|
-
|
79
|
+
!@error.equal?(NOT_SET)
|
79
80
|
end
|
80
81
|
|
81
82
|
# Are we done with the promise
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require "rake/application"
|
2
3
|
|
3
4
|
module Rake
|
@@ -33,6 +34,34 @@ module Rake
|
|
33
34
|
application.options.rakelib ||= []
|
34
35
|
application.options.rakelib.concat(files)
|
35
36
|
end
|
37
|
+
|
38
|
+
# Make +block_application+ the default rake application inside a block so
|
39
|
+
# you can load rakefiles into a different application.
|
40
|
+
#
|
41
|
+
# This is useful when you want to run rake tasks inside a library without
|
42
|
+
# running rake in a sub-shell.
|
43
|
+
#
|
44
|
+
# Example:
|
45
|
+
#
|
46
|
+
# Dir.chdir 'other/directory'
|
47
|
+
#
|
48
|
+
# other_rake = Rake.with_application do |rake|
|
49
|
+
# rake.load_rakefile
|
50
|
+
# end
|
51
|
+
#
|
52
|
+
# puts other_rake.tasks
|
53
|
+
|
54
|
+
def with_application(block_application = Rake::Application.new)
|
55
|
+
orig_application = Rake.application
|
56
|
+
|
57
|
+
Rake.application = block_application
|
58
|
+
|
59
|
+
yield block_application
|
60
|
+
|
61
|
+
block_application
|
62
|
+
ensure
|
63
|
+
Rake.application = orig_application
|
64
|
+
end
|
36
65
|
end
|
37
66
|
|
38
67
|
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require "rake"
|
3
|
+
|
4
|
+
# Load the test files from the command line.
|
5
|
+
argv = ARGV.select do |argument|
|
6
|
+
begin
|
7
|
+
case argument
|
8
|
+
when /^-/ then
|
9
|
+
argument
|
10
|
+
when /\*/ then
|
11
|
+
FileList[argument].to_a.each do |file|
|
12
|
+
require File.expand_path file
|
13
|
+
end
|
14
|
+
|
15
|
+
false
|
16
|
+
else
|
17
|
+
require File.expand_path argument
|
18
|
+
|
19
|
+
false
|
20
|
+
end
|
21
|
+
rescue LoadError => e
|
22
|
+
raise unless e.path
|
23
|
+
abort "\nFile does not exist: #{e.path}\n\n"
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
ARGV.replace argv
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
module Rake
|
2
3
|
class Scope < LinkedList # :nodoc: all
|
3
4
|
|
@@ -15,7 +16,7 @@ module Rake
|
|
15
16
|
# this trim beyond the toplevel scope.
|
16
17
|
def trim(n)
|
17
18
|
result = self
|
18
|
-
while n > 0 && !
|
19
|
+
while n > 0 && !result.empty?
|
19
20
|
result = result.tail
|
20
21
|
n -= 1
|
21
22
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require "rake/invocation_exception_mixin"
|
2
3
|
|
3
4
|
module Rake
|
@@ -14,6 +15,7 @@ module Rake
|
|
14
15
|
class Task
|
15
16
|
# List of prerequisites for a task.
|
16
17
|
attr_reader :prerequisites
|
18
|
+
alias prereqs prerequisites
|
17
19
|
|
18
20
|
# List of actions attached to a task.
|
19
21
|
attr_reader :actions
|
@@ -102,6 +104,7 @@ module Rake
|
|
102
104
|
@scope = app.current_scope
|
103
105
|
@arg_names = nil
|
104
106
|
@locations = []
|
107
|
+
@invocation_exception = nil
|
105
108
|
end
|
106
109
|
|
107
110
|
# Enhance a task with prerequisites or actions. Returns self.
|
@@ -182,20 +185,39 @@ module Rake
|
|
182
185
|
|
183
186
|
# Same as invoke, but explicitly pass a call chain to detect
|
184
187
|
# circular dependencies.
|
185
|
-
|
186
|
-
|
188
|
+
#
|
189
|
+
# If multiple tasks depend on this
|
190
|
+
# one in parallel, they will all fail if the first execution of
|
191
|
+
# this task fails.
|
192
|
+
def invoke_with_call_chain(task_args, invocation_chain)
|
193
|
+
new_chain = Rake::InvocationChain.append(self, invocation_chain)
|
187
194
|
@lock.synchronize do
|
188
|
-
|
189
|
-
application.trace
|
195
|
+
begin
|
196
|
+
if application.options.trace
|
197
|
+
application.trace "** Invoke #{name} #{format_trace_flags}"
|
198
|
+
end
|
199
|
+
|
200
|
+
if @already_invoked
|
201
|
+
if @invocation_exception
|
202
|
+
if application.options.trace
|
203
|
+
application.trace "** Previous invocation of #{name} failed #{format_trace_flags}"
|
204
|
+
end
|
205
|
+
raise @invocation_exception
|
206
|
+
else
|
207
|
+
return
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
@already_invoked = true
|
212
|
+
|
213
|
+
invoke_prerequisites(task_args, new_chain)
|
214
|
+
execute(task_args) if needed?
|
215
|
+
rescue Exception => ex
|
216
|
+
add_chain_to(ex, new_chain)
|
217
|
+
@invocation_exception = ex
|
218
|
+
raise ex
|
190
219
|
end
|
191
|
-
return if @already_invoked
|
192
|
-
@already_invoked = true
|
193
|
-
invoke_prerequisites(task_args, new_chain)
|
194
|
-
execute(task_args) if needed?
|
195
220
|
end
|
196
|
-
rescue Exception => ex
|
197
|
-
add_chain_to(ex, new_chain)
|
198
|
-
raise ex
|
199
221
|
end
|
200
222
|
protected :invoke_with_call_chain
|
201
223
|
|
@@ -226,7 +248,8 @@ module Rake
|
|
226
248
|
r.invoke_with_call_chain(prereq_args, invocation_chain)
|
227
249
|
end
|
228
250
|
end
|
229
|
-
|
251
|
+
# Iterate in reverse to improve performance related to thread waiting and switching
|
252
|
+
futures.reverse_each(&:value)
|
230
253
|
end
|
231
254
|
|
232
255
|
# Format the trace flags for display.
|
@@ -266,7 +289,7 @@ module Rake
|
|
266
289
|
def add_description(description)
|
267
290
|
return unless description
|
268
291
|
comment = description.strip
|
269
|
-
add_comment(comment) if comment && !
|
292
|
+
add_comment(comment) if comment && !comment.empty?
|
270
293
|
end
|
271
294
|
|
272
295
|
def comment=(comment) # :nodoc:
|
@@ -320,7 +343,7 @@ module Rake
|
|
320
343
|
# Return a string describing the internal state of a task. Useful for
|
321
344
|
# debugging.
|
322
345
|
def investigation
|
323
|
-
result = "------------------------------\n"
|
346
|
+
result = "------------------------------\n".dup
|
324
347
|
result << "Investigating #{name}\n"
|
325
348
|
result << "class: #{self.class}\n"
|
326
349
|
result << "task needed: #{needed?}\n"
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
module Rake
|
2
3
|
|
3
4
|
# The TaskManager module is a mixin for managing tasks.
|
@@ -55,7 +56,26 @@ module Rake
|
|
55
56
|
self.lookup(task_name, scopes) or
|
56
57
|
enhance_with_matching_rule(task_name) or
|
57
58
|
synthesize_file_task(task_name) or
|
58
|
-
fail
|
59
|
+
fail generate_message_for_undefined_task(task_name)
|
60
|
+
end
|
61
|
+
|
62
|
+
def generate_message_for_undefined_task(task_name)
|
63
|
+
message = "Don't know how to build task '#{task_name}' "\
|
64
|
+
"(See the list of available tasks with `#{Rake.application.name} --tasks`)"
|
65
|
+
message + generate_did_you_mean_suggestions(task_name)
|
66
|
+
end
|
67
|
+
|
68
|
+
def generate_did_you_mean_suggestions(task_name)
|
69
|
+
return "" unless defined?(::DidYouMean::SpellChecker)
|
70
|
+
|
71
|
+
suggestions = ::DidYouMean::SpellChecker.new(dictionary: @tasks.keys).correct(task_name.to_s)
|
72
|
+
if ::DidYouMean.respond_to?(:formatter)# did_you_mean v1.2.0 or later
|
73
|
+
::DidYouMean.formatter.message_for(suggestions)
|
74
|
+
elsif defined?(::DidYouMean::Formatter) # before did_you_mean v1.2.0
|
75
|
+
::DidYouMean::Formatter.new(suggestions).to_s
|
76
|
+
else
|
77
|
+
""
|
78
|
+
end
|
59
79
|
end
|
60
80
|
|
61
81
|
def synthesize_file_task(task_name) # :nodoc:
|
@@ -126,8 +146,8 @@ module Rake
|
|
126
146
|
fail Rake::RuleRecursionOverflowError,
|
127
147
|
"Rule Recursion Too Deep" if level >= 16
|
128
148
|
@rules.each do |pattern, args, extensions, block|
|
129
|
-
if pattern.match(task_name)
|
130
|
-
task = attempt_rule(task_name, args, extensions, block, level)
|
149
|
+
if pattern && pattern.match(task_name)
|
150
|
+
task = attempt_rule(task_name, pattern, args, extensions, block, level)
|
131
151
|
return task if task
|
132
152
|
end
|
133
153
|
end
|
@@ -241,8 +261,8 @@ module Rake
|
|
241
261
|
end
|
242
262
|
|
243
263
|
# Attempt to create a rule given the list of prerequisites.
|
244
|
-
def attempt_rule(task_name, args, extensions, block, level)
|
245
|
-
sources = make_sources(task_name, extensions)
|
264
|
+
def attempt_rule(task_name, task_pattern, args, extensions, block, level)
|
265
|
+
sources = make_sources(task_name, task_pattern, extensions)
|
246
266
|
prereqs = sources.map { |source|
|
247
267
|
trace_rule level, "Attempting Rule #{task_name} => #{source}"
|
248
268
|
if File.exist?(source) || Rake::Task.task_defined?(source)
|
@@ -263,7 +283,7 @@ module Rake
|
|
263
283
|
|
264
284
|
# Make a list of sources from the list of file name extensions /
|
265
285
|
# translation procs.
|
266
|
-
def make_sources(task_name, extensions)
|
286
|
+
def make_sources(task_name, task_pattern, extensions)
|
267
287
|
result = extensions.map { |ext|
|
268
288
|
case ext
|
269
289
|
when /%/
|
@@ -271,7 +291,8 @@ module Rake
|
|
271
291
|
when %r{/}
|
272
292
|
ext
|
273
293
|
when /^\./
|
274
|
-
task_name.
|
294
|
+
source = task_name.sub(task_pattern, ext)
|
295
|
+
source == ext ? task_name.ext(ext) : source
|
275
296
|
when String
|
276
297
|
ext
|
277
298
|
when Proc, Method
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require "rake"
|
2
3
|
require "rake/tasklib"
|
3
4
|
|
@@ -50,6 +51,7 @@ module Rake
|
|
50
51
|
|
51
52
|
# Request that the tests be run with the warning flag set.
|
52
53
|
# E.g. warning=true implies "ruby -w" used to run the tests.
|
54
|
+
# (default is true)
|
53
55
|
attr_accessor :warning
|
54
56
|
|
55
57
|
# Glob pattern to match test files. (default is 'test/test*.rb')
|
@@ -1,10 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
2
3
|
require 'rake/version'
|
3
4
|
|
4
5
|
Gem::Specification.new do |s|
|
5
6
|
s.name = "rake".freeze
|
6
7
|
s.version = Rake::VERSION
|
7
|
-
s.date = "2016-12-06"
|
8
8
|
s.authors = ["Hiroshi SHIBATA".freeze, "Eric Hodel".freeze, "Jim Weirich".freeze]
|
9
9
|
s.email = ["hsbt@ruby-lang.org".freeze, "drbrain@segment7.net".freeze, "".freeze]
|
10
10
|
|
@@ -23,12 +23,13 @@ Rake has the following features:
|
|
23
23
|
s.homepage = "https://github.com/ruby/rake".freeze
|
24
24
|
s.licenses = ["MIT".freeze]
|
25
25
|
|
26
|
-
s.files =
|
26
|
+
s.files = %x[git ls-files -z].split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } -
|
27
|
+
%w[.rubocop.yml .gitignore .travis.yml appveyor.yml]
|
27
28
|
s.bindir = "exe"
|
28
29
|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
30
|
s.require_paths = ["lib".freeze]
|
30
31
|
|
31
|
-
s.required_ruby_version = Gem::Requirement.new(">=
|
32
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.0.0".freeze)
|
32
33
|
s.rubygems_version = "2.6.1".freeze
|
33
34
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.2".freeze)
|
34
35
|
s.rdoc_options = ["--main".freeze, "README.rdoc".freeze]
|
@@ -36,4 +37,6 @@ Rake has the following features:
|
|
36
37
|
s.add_development_dependency(%q<bundler>.freeze)
|
37
38
|
s.add_development_dependency(%q<minitest>.freeze)
|
38
39
|
s.add_development_dependency(%q<rdoc>.freeze)
|
40
|
+
s.add_development_dependency(%q<coveralls>.freeze)
|
41
|
+
s.add_development_dependency(%q<rubocop>.freeze)
|
39
42
|
end
|
File without changes
|
File without changes
|
@@ -1,5 +1,14 @@
|
|
1
1
|
### Development
|
2
|
-
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.11.
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.11.1...3-11-maintenance)
|
3
|
+
|
4
|
+
### 3.11.1 / 2022-03-31
|
5
|
+
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.11.0...v3.11.1)
|
6
|
+
|
7
|
+
Bug Fixes:
|
8
|
+
|
9
|
+
* Add extra `ruby2_keywords` calls to properly designate methods using
|
10
|
+
`*args` to pass keyword around, fixes an issue with TruffleRuby.
|
11
|
+
(Benoit Daloze, #1464)
|
3
12
|
|
4
13
|
### 3.11.0 / 2022-02-09
|
5
14
|
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.10.3...v3.11.0)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -46,7 +46,7 @@ module RSpec
|
|
46
46
|
@expected_args = expected_args
|
47
47
|
ensure_expected_args_valid!
|
48
48
|
end
|
49
|
-
ruby2_keywords :initialize if
|
49
|
+
ruby2_keywords :initialize if respond_to?(:ruby2_keywords, true)
|
50
50
|
|
51
51
|
# @api public
|
52
52
|
# @param [Array] actual_args
|
@@ -71,6 +71,7 @@ module RSpec
|
|
71
71
|
|
72
72
|
Support::FuzzyMatcher.values_match?(expected_args, actual_args)
|
73
73
|
end
|
74
|
+
ruby2_keywords :args_match? if respond_to?(:ruby2_keywords, true)
|
74
75
|
|
75
76
|
# @private
|
76
77
|
# Resolves abstract arg placeholders like `no_args` and `any_args` into
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -62,7 +62,7 @@ module RSpec
|
|
62
62
|
@recorded_customizations << ExpectationCustomization.new(method, args, block)
|
63
63
|
self
|
64
64
|
end
|
65
|
-
ruby2_keywords(method) if
|
65
|
+
ruby2_keywords(method) if respond_to?(:ruby2_keywords, true)
|
66
66
|
end
|
67
67
|
|
68
68
|
private
|
File without changes
|
File without changes
|
File without changes
|
@@ -139,9 +139,12 @@ module RSpec
|
|
139
139
|
# counter.increment
|
140
140
|
# expect(counter.count).to eq(original_count + 1)
|
141
141
|
def and_call_original
|
142
|
-
|
143
|
-
original.call(*args, &
|
142
|
+
block = lambda do |original, *args, &b|
|
143
|
+
original.call(*args, &b)
|
144
144
|
end
|
145
|
+
block = block.ruby2_keywords if block.respond_to?(:ruby2_keywords)
|
146
|
+
|
147
|
+
wrap_original(__method__, &block)
|
145
148
|
end
|
146
149
|
|
147
150
|
# Decorates the stubbed method with the supplied block. The original
|
@@ -364,7 +367,7 @@ module RSpec
|
|
364
367
|
@argument_list_matcher = ArgumentListMatcher.new(*args)
|
365
368
|
self
|
366
369
|
end
|
367
|
-
ruby2_keywords(:with) if
|
370
|
+
ruby2_keywords(:with) if respond_to?(:ruby2_keywords, true)
|
368
371
|
|
369
372
|
# Expect messages to be received in a specific order.
|
370
373
|
#
|
@@ -461,18 +464,22 @@ module RSpec
|
|
461
464
|
def matches?(message, *args)
|
462
465
|
@message == message && @argument_list_matcher.args_match?(*args)
|
463
466
|
end
|
467
|
+
ruby2_keywords :matches? if respond_to?(:ruby2_keywords, true)
|
464
468
|
|
465
469
|
def safe_invoke(parent_stub, *args, &block)
|
466
470
|
invoke_incrementing_actual_calls_by(1, false, parent_stub, *args, &block)
|
467
471
|
end
|
472
|
+
ruby2_keywords :safe_invoke if respond_to?(:ruby2_keywords, true)
|
468
473
|
|
469
474
|
def invoke(parent_stub, *args, &block)
|
470
475
|
invoke_incrementing_actual_calls_by(1, true, parent_stub, *args, &block)
|
471
476
|
end
|
477
|
+
ruby2_keywords :invoke if respond_to?(:ruby2_keywords, true)
|
472
478
|
|
473
479
|
def invoke_without_incrementing_received_count(parent_stub, *args, &block)
|
474
480
|
invoke_incrementing_actual_calls_by(0, true, parent_stub, *args, &block)
|
475
481
|
end
|
482
|
+
ruby2_keywords :invoke_without_incrementing_received_count if respond_to?(:ruby2_keywords, true)
|
476
483
|
|
477
484
|
def negative?
|
478
485
|
@expected_received_count == 0 && !@at_least
|
@@ -621,6 +628,7 @@ module RSpec
|
|
621
628
|
@actual_received_count += increment
|
622
629
|
end
|
623
630
|
end
|
631
|
+
ruby2_keywords :invoke_incrementing_actual_calls_by if respond_to?(:ruby2_keywords, true)
|
624
632
|
|
625
633
|
def has_been_invoked?
|
626
634
|
@actual_received_count > 0
|
@@ -755,6 +763,7 @@ module RSpec
|
|
755
763
|
action.call(*args, &block)
|
756
764
|
end.last
|
757
765
|
end
|
766
|
+
ruby2_keywords :call if respond_to?(:ruby2_keywords, true)
|
758
767
|
|
759
768
|
def present?
|
760
769
|
actions.any?
|
@@ -800,6 +809,7 @@ module RSpec
|
|
800
809
|
def call(*args, &block)
|
801
810
|
@block.call(@method, *args, &block)
|
802
811
|
end
|
812
|
+
ruby2_keywords :call if respond_to?(:ruby2_keywords, true)
|
803
813
|
|
804
814
|
private
|
805
815
|
|
@@ -63,6 +63,8 @@ module RSpec
|
|
63
63
|
define_method(method_name) do |*args, &block|
|
64
64
|
method_double.proxy_method_invoked(self, *args, &block)
|
65
65
|
end
|
66
|
+
# This can't be `if respond_to?(:ruby2_keywords, true)`,
|
67
|
+
# see https://github.com/rspec/rspec-mocks/pull/1385#issuecomment-755340298
|
66
68
|
ruby2_keywords(method_name) if Module.private_method_defined?(:ruby2_keywords)
|
67
69
|
__send__(visibility, method_name)
|
68
70
|
end
|
@@ -77,6 +79,7 @@ module RSpec
|
|
77
79
|
def proxy_method_invoked(_obj, *args, &block)
|
78
80
|
@proxy.message_received method_name, *args, &block
|
79
81
|
end
|
82
|
+
ruby2_keywords :proxy_method_invoked if respond_to?(:ruby2_keywords, true)
|
80
83
|
|
81
84
|
# @private
|
82
85
|
def restore_original_method
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|