cloudsmith-api 1.33.7 → 1.120.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +54 -30
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +5 -3
- data/docs/AuditLogApi.md +137 -0
- data/docs/ConanPackageUpload.md +5 -3
- data/docs/FilesApi.md +13 -6
- data/docs/MavenPackageUpload.md +5 -3
- data/docs/NamespaceAuditLog.md +23 -0
- data/docs/OrganizationGroupSync.md +12 -0
- data/docs/OrganizationInvite.md +16 -0
- data/docs/OrganizationTeam.md +12 -0
- data/docs/OrgsApi.md +713 -0
- data/docs/OrgsInvitesCreate.md +12 -0
- data/docs/OrgsInvitesExtend.md +11 -0
- data/docs/OrgsSamlgroupsyncCreate.md +12 -0
- data/docs/OrgsTeamsCreate.md +11 -0
- data/docs/OrgsTeamsPartialUpdate.md +11 -0
- 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 +65 -0
- data/docs/PackagesQuarantine.md +8 -0
- data/docs/RawPackageUpload.md +5 -3
- data/docs/ReposApi.md +588 -2
- data/docs/ReposCreate.md +28 -0
- data/docs/ReposGpgCreate.md +9 -0
- data/docs/ReposPartialUpdate.md +28 -0
- data/docs/ReposRsaCreate.md +9 -0
- data/docs/Repository.md +29 -1
- data/docs/RepositoryAuditLog.md +20 -0
- data/docs/RepositoryCreate.md +59 -0
- data/docs/RepositoryGpgKey.md +14 -0
- data/docs/RepositoryPrivilegeList.md +8 -0
- data/docs/RepositoryRsaKey.md +13 -0
- data/docs/RepositoryWebhook.md +3 -3
- data/docs/VagrantPackageUpload.md +5 -3
- data/docs/WebhooksCreate.md +2 -2
- data/docs/WebhooksPartialUpdate.md +2 -2
- data/lib/cloudsmith-api/api/audit_log_api.rb +147 -0
- data/lib/cloudsmith-api/api/files_api.rb +17 -7
- data/lib/cloudsmith-api/api/orgs_api.rb +671 -0
- data/lib/cloudsmith-api/api/packages_api.rb +66 -0
- data/lib/cloudsmith-api/api/repos_api.rb +569 -3
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +58 -4
- data/lib/cloudsmith-api/models/conan_package_upload.rb +58 -4
- data/lib/cloudsmith-api/models/entitlements_create.rb +46 -0
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +46 -0
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +46 -0
- data/lib/cloudsmith-api/models/files_abort.rb +34 -0
- data/lib/cloudsmith-api/models/files_complete.rb +34 -0
- data/lib/cloudsmith-api/models/files_create.rb +34 -0
- data/lib/cloudsmith-api/models/files_validate.rb +34 -0
- data/lib/cloudsmith-api/models/maven_package_upload.rb +58 -4
- data/lib/cloudsmith-api/models/namespace_audit_log.rb +395 -0
- data/lib/cloudsmith-api/models/organization_group_sync.rb +240 -0
- data/lib/cloudsmith-api/models/organization_invite.rb +299 -0
- data/lib/cloudsmith-api/models/organization_membership.rb +46 -0
- data/lib/cloudsmith-api/models/organization_team.rb +264 -0
- data/lib/cloudsmith-api/models/orgs_invites_create.rb +259 -0
- data/lib/cloudsmith-api/models/orgs_invites_extend.rb +249 -0
- data/lib/cloudsmith-api/models/orgs_samlgroupsync_create.rb +245 -0
- data/lib/cloudsmith-api/models/orgs_teams_create.rb +254 -0
- data/lib/cloudsmith-api/models/orgs_teams_partial_update.rb +249 -0
- data/lib/cloudsmith-api/models/package.rb +58 -4
- data/lib/cloudsmith-api/models/package_copy.rb +58 -4
- data/lib/cloudsmith-api/models/package_move.rb +58 -4
- data/lib/cloudsmith-api/models/package_status.rb +23 -3
- data/lib/cloudsmith-api/models/packages_quarantine.rb +185 -0
- data/lib/cloudsmith-api/models/packages_tag.rb +34 -0
- data/lib/cloudsmith-api/models/raw_package_upload.rb +58 -4
- data/lib/cloudsmith-api/models/repos_create.rb +402 -4
- data/lib/cloudsmith-api/models/repos_gpg_create.rb +200 -0
- data/lib/cloudsmith-api/models/repos_partial_update.rb +414 -4
- data/lib/cloudsmith-api/models/repos_rsa_create.rb +200 -0
- data/lib/cloudsmith-api/models/repository.rb +415 -5
- data/lib/cloudsmith-api/models/repository_audit_log.rb +355 -0
- data/lib/cloudsmith-api/models/repository_create.rb +820 -0
- data/lib/cloudsmith-api/models/repository_gpg_key.rb +250 -0
- data/lib/cloudsmith-api/models/repository_privilege_list.rb +185 -0
- data/lib/cloudsmith-api/models/repository_rsa_key.rb +235 -0
- data/lib/cloudsmith-api/models/repository_token.rb +46 -0
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +46 -0
- data/lib/cloudsmith-api/models/repository_webhook.rb +3 -3
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +58 -4
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +34 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +34 -0
- data/lib/cloudsmith-api/models/webhooks_create.rb +2 -2
- data/lib/cloudsmith-api/models/webhooks_partial_update.rb +2 -2
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +18 -0
- data/spec/api/audit_log_api_spec.rb +66 -0
- data/spec/api/files_api_spec.rb +4 -2
- data/spec/api/orgs_api_spec.rb +161 -0
- data/spec/api/packages_api_spec.rb +15 -0
- data/spec/api/repos_api_spec.rb +133 -1
- data/spec/models/alpine_package_upload_spec.rb +16 -0
- data/spec/models/conan_package_upload_spec.rb +16 -0
- data/spec/models/entitlements_create_spec.rb +8 -0
- data/spec/models/entitlements_partial_update_spec.rb +8 -0
- data/spec/models/entitlements_refresh_spec.rb +8 -0
- data/spec/models/files_abort_spec.rb +4 -0
- data/spec/models/files_complete_spec.rb +4 -0
- data/spec/models/files_create_spec.rb +4 -0
- data/spec/models/files_validate_spec.rb +4 -0
- data/spec/models/maven_package_upload_spec.rb +16 -0
- data/spec/models/namespace_audit_log_spec.rb +131 -0
- data/spec/models/organization_group_sync_spec.rb +65 -0
- data/spec/models/organization_invite_spec.rb +93 -0
- data/spec/models/organization_membership_spec.rb +8 -0
- data/spec/models/organization_team_spec.rb +69 -0
- data/spec/models/orgs_invites_create_spec.rb +69 -0
- data/spec/models/orgs_invites_extend_spec.rb +63 -0
- data/spec/models/orgs_samlgroupsync_create_spec.rb +65 -0
- data/spec/models/orgs_teams_create_spec.rb +63 -0
- data/spec/models/orgs_teams_partial_update_spec.rb +63 -0
- data/spec/models/package_copy_spec.rb +16 -0
- data/spec/models/package_move_spec.rb +16 -0
- data/spec/models/package_spec.rb +16 -0
- data/spec/models/package_status_spec.rb +12 -0
- data/spec/models/packages_quarantine_spec.rb +41 -0
- data/spec/models/packages_tag_spec.rb +4 -0
- data/spec/models/raw_package_upload_spec.rb +16 -0
- data/spec/models/repos_create_spec.rb +200 -0
- data/spec/models/repos_gpg_create_spec.rb +47 -0
- data/spec/models/repos_partial_update_spec.rb +204 -0
- data/spec/models/repos_rsa_create_spec.rb +47 -0
- data/spec/models/repository_audit_log_spec.rb +113 -0
- data/spec/models/repository_create_spec.rb +379 -0
- data/spec/models/repository_gpg_key_spec.rb +77 -0
- data/spec/models/repository_privilege_list_spec.rb +41 -0
- data/spec/models/repository_rsa_key_spec.rb +71 -0
- data/spec/models/repository_spec.rb +204 -0
- data/spec/models/repository_token_refresh_spec.rb +8 -0
- data/spec/models/repository_token_spec.rb +8 -0
- data/spec/models/vagrant_package_upload_spec.rb +16 -0
- data/spec/models/vulnerability_scan_results_list_spec.rb +4 -0
- data/spec/models/vulnerability_scan_results_spec.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/bin/htmldiff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/ldiff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/multigem +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/multiruby +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/rake +2 -0
- data/vendor/bundle/ruby/2.6.0/bin/rspec +2 -0
- data/vendor/bundle/ruby/2.6.0/bin/unit_diff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/zentest +3 -3
- 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/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 +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/mkmf.log +9 -9
- 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.2/gem_make.out +13 -0
- 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 +8 -8
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
- 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 +3 -3
- 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 +3 -3
- 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.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 +3 -3
- 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.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/{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/ZenTest-4.12.1.gemspec +6 -9
- data/vendor/bundle/ruby/2.6.0/specifications/addressable-2.8.0.gemspec +6 -9
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-4.4.6.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.19.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-growl-0.2.16.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-rails-pure-4.1.2.gemspec +2 -2
- data/vendor/bundle/ruby/2.6.0/specifications/crack-0.4.5.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.5.0.gemspec +12 -21
- data/vendor/bundle/ruby/2.6.0/specifications/ethon-0.15.0.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/ffi-1.15.5.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/hashdiff-1.0.1.gemspec +9 -15
- 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} +6 -6
- data/vendor/bundle/ruby/2.6.0/specifications/rake-12.3.3.gemspec +9 -15
- data/vendor/bundle/ruby/2.6.0/specifications/rexml-3.2.5.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.11.0.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.11.0.gemspec +13 -23
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.11.0.gemspec +10 -17
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.11.0.gemspec → rspec-mocks-3.11.1.gemspec} +15 -22
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.11.0.gemspec +6 -9
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.2.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/typhoeus-1.4.0.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/vcr-3.0.3.gemspec +26 -49
- data/vendor/bundle/ruby/2.6.0/specifications/webmock-1.24.6.gemspec +19 -35
- metadata +246 -175
- data/docs/StorageregionsApi.md +0 -112
- 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/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/gem_make.out +0 -13
- 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.o +0 -0
- 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.o +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
@@ -4,7 +4,7 @@
|
|
4
4
|
#
|
5
5
|
# Domain name parser based on the Public Suffix List.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2009-
|
7
|
+
# Copyright (c) 2009-2022 Simone Carletti <weppos@weppos.net>
|
8
8
|
|
9
9
|
module PublicSuffix
|
10
10
|
|
@@ -63,7 +63,7 @@ module PublicSuffix
|
|
63
63
|
#
|
64
64
|
# See http://publicsuffix.org/format/ for more details about input format.
|
65
65
|
#
|
66
|
-
# @param
|
66
|
+
# @param input [#each_line] the list to parse
|
67
67
|
# @param private_domains [Boolean] whether to ignore the private domains section
|
68
68
|
# @return [PublicSuffix::List]
|
69
69
|
def self.parse(input, private_domains: true)
|
@@ -173,7 +173,7 @@ module PublicSuffix
|
|
173
173
|
# @return [PublicSuffix::Rule::*]
|
174
174
|
def find(name, default: default_rule, **options)
|
175
175
|
rule = select(name, **options).inject do |l, r|
|
176
|
-
return r if r.
|
176
|
+
return r if r.instance_of?(Rule::Exception)
|
177
177
|
|
178
178
|
l.length > r.length ? l : r
|
179
179
|
end
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#
|
5
5
|
# Domain name parser based on the Public Suffix List.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2009-
|
7
|
+
# Copyright (c) 2009-2022 Simone Carletti <weppos@weppos.net>
|
8
8
|
|
9
9
|
module PublicSuffix
|
10
10
|
|
@@ -131,10 +131,9 @@ module PublicSuffix
|
|
131
131
|
|
132
132
|
# Checks whether this rule is equal to <tt>other</tt>.
|
133
133
|
#
|
134
|
-
# @param [PublicSuffix::Rule::*]
|
135
|
-
# @return [Boolean]
|
136
|
-
#
|
137
|
-
# and has the same value, false otherwise.
|
134
|
+
# @param other [PublicSuffix::Rule::*] The rule to compare
|
135
|
+
# @return [Boolean] true if this rule and other are instances of the same class
|
136
|
+
# and has the same value, false otherwise.
|
138
137
|
def ==(other)
|
139
138
|
equal?(other) || (self.class == other.class && value == other.value)
|
140
139
|
end
|
@@ -176,7 +175,7 @@ module PublicSuffix
|
|
176
175
|
end
|
177
176
|
|
178
177
|
# @abstract
|
179
|
-
# @param [
|
178
|
+
# @param domain [#to_s] The domain name to decompose
|
180
179
|
# @return [Array<String, nil>]
|
181
180
|
def decompose(*)
|
182
181
|
raise NotImplementedError
|
@@ -196,7 +195,7 @@ module PublicSuffix
|
|
196
195
|
|
197
196
|
# Decomposes the domain name according to rule properties.
|
198
197
|
#
|
199
|
-
# @param [
|
198
|
+
# @param domain [#to_s] The domain name to decompose
|
200
199
|
# @return [Array<String>] The array with [trd + sld, tld].
|
201
200
|
def decompose(domain)
|
202
201
|
suffix = parts.join('\.')
|
@@ -228,6 +227,7 @@ module PublicSuffix
|
|
228
227
|
# Initializes a new rule.
|
229
228
|
#
|
230
229
|
# @param value [String]
|
230
|
+
# @param length [Integer]
|
231
231
|
# @param private [Boolean]
|
232
232
|
def initialize(value:, length: nil, private: false)
|
233
233
|
super(value: value, length: length, private: private)
|
@@ -243,7 +243,7 @@ module PublicSuffix
|
|
243
243
|
|
244
244
|
# Decomposes the domain name according to rule properties.
|
245
245
|
#
|
246
|
-
# @param [
|
246
|
+
# @param domain [#to_s] The domain name to decompose
|
247
247
|
# @return [Array<String>] The array with [trd + sld, tld].
|
248
248
|
def decompose(domain)
|
249
249
|
suffix = ([".*?"] + parts).join('\.')
|
@@ -266,7 +266,7 @@ module PublicSuffix
|
|
266
266
|
|
267
267
|
# Initializes a new rule from the content.
|
268
268
|
#
|
269
|
-
# @param content [
|
269
|
+
# @param content [#to_s] the content of the rule
|
270
270
|
# @param private [Boolean]
|
271
271
|
def self.build(content, private: false)
|
272
272
|
new(value: content.to_s[1..-1], private: private)
|
@@ -281,7 +281,7 @@ module PublicSuffix
|
|
281
281
|
|
282
282
|
# Decomposes the domain name according to rule properties.
|
283
283
|
#
|
284
|
-
# @param [
|
284
|
+
# @param domain [#to_s] The domain name to decompose
|
285
285
|
# @return [Array<String>] The array with [trd + sld, tld].
|
286
286
|
def decompose(domain)
|
287
287
|
suffix = parts.join('\.')
|
@@ -321,7 +321,7 @@ module PublicSuffix
|
|
321
321
|
# PublicSuffix::Rule.factory("!congresodelalengua3.ar")
|
322
322
|
# # => #<PublicSuffix::Rule::Exception>
|
323
323
|
#
|
324
|
-
# @param [
|
324
|
+
# @param content [#to_s] the content of the rule
|
325
325
|
# @return [PublicSuffix::Rule::*] A rule instance.
|
326
326
|
def self.factory(content, private: false)
|
327
327
|
case content.to_s[0, 1]
|
@@ -5,9 +5,11 @@
|
|
5
5
|
#
|
6
6
|
# Domain name parser based on the Public Suffix List.
|
7
7
|
#
|
8
|
-
# Copyright (c) 2009-
|
8
|
+
# Copyright (c) 2009-2022 Simone Carletti <weppos@weppos.net>
|
9
9
|
|
10
10
|
module PublicSuffix
|
11
|
-
|
12
|
-
|
11
|
+
|
12
|
+
# @return [String] The current library version.
|
13
|
+
VERSION = "4.0.7"
|
14
|
+
|
13
15
|
end
|
data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/lib/public_suffix.rb
RENAMED
@@ -4,7 +4,7 @@
|
|
4
4
|
#
|
5
5
|
# Domain name parser based on the Public Suffix List.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2009-
|
7
|
+
# Copyright (c) 2009-2022 Simone Carletti <weppos@weppos.net>
|
8
8
|
|
9
9
|
require_relative "public_suffix/domain"
|
10
10
|
require_relative "public_suffix/version"
|
@@ -57,15 +57,13 @@ module PublicSuffix
|
|
57
57
|
# # => PublicSuffix::DomainInvalid: http://www.google.com is not expected to contain a scheme
|
58
58
|
#
|
59
59
|
#
|
60
|
-
# @param [
|
61
|
-
# @param [PublicSuffix::List]
|
62
|
-
# @param [Boolean]
|
60
|
+
# @param name [#to_s] The domain name or fully qualified domain name to parse.
|
61
|
+
# @param list [PublicSuffix::List] The rule list to search, defaults to the default {PublicSuffix::List}
|
62
|
+
# @param ignore_private [Boolean]
|
63
63
|
# @return [PublicSuffix::Domain]
|
64
64
|
#
|
65
|
-
# @raise [PublicSuffix::DomainInvalid]
|
66
|
-
#
|
67
|
-
# @raise [PublicSuffix::DomainNotAllowed]
|
68
|
-
# If a rule for +domain+ is found, but the rule doesn't allow +domain+.
|
65
|
+
# @raise [PublicSuffix::DomainInvalid] If domain is not a valid domain.
|
66
|
+
# @raise [PublicSuffix::DomainNotAllowed] If a rule for +domain+ is found, but the rule doesn't allow +domain+.
|
69
67
|
def self.parse(name, list: List.default, default_rule: list.default_rule, ignore_private: false)
|
70
68
|
what = normalize(name)
|
71
69
|
raise what if what.is_a?(DomainInvalid)
|
@@ -119,8 +117,8 @@ module PublicSuffix
|
|
119
117
|
# # => false
|
120
118
|
#
|
121
119
|
#
|
122
|
-
# @param [
|
123
|
-
# @param [Boolean]
|
120
|
+
# @param name [#to_s] The domain name or fully qualified domain name to validate.
|
121
|
+
# @param ignore_private [Boolean]
|
124
122
|
# @return [Boolean]
|
125
123
|
def self.valid?(name, list: List.default, default_rule: list.default_rule, ignore_private: false)
|
126
124
|
what = normalize(name)
|
@@ -135,9 +133,9 @@ module PublicSuffix
|
|
135
133
|
#
|
136
134
|
# This method doesn't raise. Instead, it returns nil if the domain is not valid for whatever reason.
|
137
135
|
#
|
138
|
-
# @param [
|
139
|
-
# @param [PublicSuffix::List]
|
140
|
-
# @param [Boolean]
|
136
|
+
# @param name [#to_s] The domain name or fully qualified domain name to parse.
|
137
|
+
# @param list [PublicSuffix::List] The rule list to search, defaults to the default {PublicSuffix::List}
|
138
|
+
# @param ignore_private [Boolean]
|
141
139
|
# @return [String]
|
142
140
|
def self.domain(name, **options)
|
143
141
|
parse(name, **options).domain
|
data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/public_suffix.gemspec
RENAMED
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
|
File without changes
|
File without changes
|
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/psl_test.rb
RENAMED
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/test_helper.rb
RENAMED
@@ -1,13 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
if ENV["COVERAGE"]
|
4
|
-
require "simplecov"
|
5
|
-
SimpleCov.start
|
6
|
-
|
7
|
-
require "codecov"
|
8
|
-
SimpleCov.formatter = SimpleCov::Formatter::Codecov
|
9
|
-
end
|
10
|
-
|
11
3
|
require "minitest/autorun"
|
12
4
|
require "minitest/reporters"
|
13
5
|
require "mocha/minitest"
|
data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.6 → public_suffix-4.0.7}/test/tests.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
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
|
@@ -230,6 +230,7 @@ module RSpec
|
|
230
230
|
@object.__send__(:method_missing, message, *args, &block)
|
231
231
|
end
|
232
232
|
end
|
233
|
+
ruby2_keywords :message_received if respond_to?(:ruby2_keywords, true)
|
233
234
|
|
234
235
|
# @private
|
235
236
|
def raise_unexpected_message_error(method_name, args)
|
@@ -279,12 +280,14 @@ module RSpec
|
|
279
280
|
expectation.matches?(method_name, *args)
|
280
281
|
end
|
281
282
|
end
|
283
|
+
ruby2_keywords :find_matching_expectation if respond_to?(:ruby2_keywords, true)
|
282
284
|
|
283
285
|
def find_almost_matching_expectation(method_name, *args)
|
284
286
|
find_best_matching_expectation_for(method_name) do |expectation|
|
285
287
|
expectation.matches_name_but_not_args(method_name, *args)
|
286
288
|
end
|
287
289
|
end
|
290
|
+
ruby2_keywords :find_almost_matching_expectation if respond_to?(:ruby2_keywords, true)
|
288
291
|
|
289
292
|
def find_best_matching_expectation_for(method_name)
|
290
293
|
first_match = nil
|
@@ -301,10 +304,12 @@ module RSpec
|
|
301
304
|
def find_matching_method_stub(method_name, *args)
|
302
305
|
method_double_for(method_name).stubs.find { |stub| stub.matches?(method_name, *args) }
|
303
306
|
end
|
307
|
+
ruby2_keywords :find_matching_method_stub if respond_to?(:ruby2_keywords, true)
|
304
308
|
|
305
309
|
def find_almost_matching_stub(method_name, *args)
|
306
310
|
method_double_for(method_name).stubs.find { |stub| stub.matches_name_but_not_args(method_name, *args) }
|
307
311
|
end
|
312
|
+
ruby2_keywords :find_almost_matching_stub if respond_to?(:ruby2_keywords, true)
|
308
313
|
end
|
309
314
|
|
310
315
|
# @private
|
@@ -360,6 +365,7 @@ module RSpec
|
|
360
365
|
end
|
361
366
|
super
|
362
367
|
end
|
368
|
+
ruby2_keywords :message_received if respond_to?(:ruby2_keywords, true)
|
363
369
|
|
364
370
|
private
|
365
371
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks.rb
RENAMED
File without changes
|
@@ -19,21 +19,18 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.homepage = "https://github.com/seattlerb/zentest".freeze
|
20
20
|
s.licenses = ["MIT".freeze]
|
21
21
|
s.rdoc_options = ["--main".freeze, "README.txt".freeze]
|
22
|
-
s.rubygems_version = "3.
|
22
|
+
s.rubygems_version = "3.3.11".freeze
|
23
23
|
s.summary = "ZenTest provides 4 different tools: zentest, unit_diff, autotest, and multiruby".freeze
|
24
24
|
|
25
|
-
s.installed_by_version = "3.
|
25
|
+
s.installed_by_version = "3.3.11" if s.respond_to? :installed_by_version
|
26
26
|
|
27
27
|
if s.respond_to? :specification_version then
|
28
28
|
s.specification_version = 4
|
29
|
+
end
|
29
30
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
else
|
34
|
-
s.add_dependency(%q<rdoc>.freeze, [">= 4.0", "< 7"])
|
35
|
-
s.add_dependency(%q<hoe>.freeze, ["~> 3.23"])
|
36
|
-
end
|
31
|
+
if s.respond_to? :add_runtime_dependency then
|
32
|
+
s.add_development_dependency(%q<rdoc>.freeze, [">= 4.0", "< 7"])
|
33
|
+
s.add_development_dependency(%q<hoe>.freeze, ["~> 3.23"])
|
37
34
|
else
|
38
35
|
s.add_dependency(%q<rdoc>.freeze, [">= 4.0", "< 7"])
|
39
36
|
s.add_dependency(%q<hoe>.freeze, ["~> 3.23"])
|
@@ -17,21 +17,18 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.licenses = ["Apache-2.0".freeze]
|
18
18
|
s.rdoc_options = ["--main".freeze, "README.md".freeze]
|
19
19
|
s.required_ruby_version = Gem::Requirement.new(">= 2.0".freeze)
|
20
|
-
s.rubygems_version = "3.
|
20
|
+
s.rubygems_version = "3.3.11".freeze
|
21
21
|
s.summary = "URI Implementation".freeze
|
22
22
|
|
23
|
-
s.installed_by_version = "3.
|
23
|
+
s.installed_by_version = "3.3.11" if s.respond_to? :installed_by_version
|
24
24
|
|
25
25
|
if s.respond_to? :specification_version then
|
26
26
|
s.specification_version = 4
|
27
|
+
end
|
27
28
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
else
|
32
|
-
s.add_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 5.0"])
|
33
|
-
s.add_dependency(%q<bundler>.freeze, [">= 1.0", "< 3.0"])
|
34
|
-
end
|
29
|
+
if s.respond_to? :add_runtime_dependency then
|
30
|
+
s.add_runtime_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 5.0"])
|
31
|
+
s.add_development_dependency(%q<bundler>.freeze, [">= 1.0", "< 3.0"])
|
35
32
|
else
|
36
33
|
s.add_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 5.0"])
|
37
34
|
s.add_dependency(%q<bundler>.freeze, [">= 1.0", "< 3.0"])
|