cloudsmith-api 1.120.3 → 1.142.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/README.md +21 -11
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +2 -0
- data/docs/ConanPackageUpload.md +2 -0
- data/docs/MavenPackageUpload.md +2 -0
- data/docs/OrganizationTeamMembers.md +8 -0
- data/docs/OrganizationTeamMembersMembers.md +9 -0
- data/docs/OrgsApi.md +263 -26
- data/docs/OrgsTeamsMembersCreate.md +8 -0
- data/docs/OrgsTeamsMembersUpdate.md +8 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/RawPackageUpload.md +2 -0
- data/docs/ReposApi.md +28 -72
- data/docs/ReposCreate.md +3 -1
- data/docs/ReposPartialUpdate.md +3 -1
- data/docs/ReposPrivilegesPartialUpdate.md +8 -0
- data/docs/ReposPrivilegesUpdate.md +8 -0
- data/docs/Repository.md +3 -1
- data/docs/RepositoryCreate.md +3 -1
- data/docs/RepositoryPrivilegeInput.md +8 -0
- data/docs/RepositoryPrivilegeInputPrivileges.md +10 -0
- data/docs/VagrantPackageUpload.md +2 -0
- data/lib/cloudsmith-api/api/orgs_api.rb +270 -41
- data/lib/cloudsmith-api/api/repos_api.rb +28 -70
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +21 -1
- data/lib/cloudsmith-api/models/conan_package_upload.rb +21 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +21 -1
- data/lib/cloudsmith-api/models/organization_team_members.rb +192 -0
- data/lib/cloudsmith-api/models/organization_team_members_members.rb +195 -0
- data/lib/cloudsmith-api/models/orgs_teams_members_create.rb +192 -0
- data/lib/cloudsmith-api/models/orgs_teams_members_update.rb +192 -0
- data/lib/cloudsmith-api/models/package.rb +21 -1
- data/lib/cloudsmith-api/models/package_copy.rb +21 -1
- data/lib/cloudsmith-api/models/package_move.rb +21 -1
- data/lib/cloudsmith-api/models/raw_package_upload.rb +21 -1
- data/lib/cloudsmith-api/models/repos_create.rb +36 -2
- data/lib/cloudsmith-api/models/repos_partial_update.rb +36 -2
- data/lib/cloudsmith-api/models/{repository_privilege_list.rb → repos_privileges_partial_update.rb} +5 -3
- data/lib/cloudsmith-api/models/repos_privileges_update.rb +192 -0
- data/lib/cloudsmith-api/models/repository.rb +36 -2
- data/lib/cloudsmith-api/models/repository_create.rb +36 -2
- data/lib/cloudsmith-api/models/repository_privilege_input.rb +192 -0
- data/lib/cloudsmith-api/models/repository_privilege_input_privileges.rb +205 -0
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +21 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +8 -1
- data/spec/api/orgs_api_spec.rb +62 -8
- data/spec/api/repos_api_spec.rb +8 -17
- data/spec/models/alpine_package_upload_spec.rb +12 -0
- data/spec/models/conan_package_upload_spec.rb +12 -0
- data/spec/models/maven_package_upload_spec.rb +12 -0
- data/spec/models/organization_team_members_members_spec.rb +47 -0
- data/spec/models/organization_team_members_spec.rb +41 -0
- data/spec/models/orgs_teams_members_create_spec.rb +41 -0
- data/spec/models/orgs_teams_members_update_spec.rb +41 -0
- data/spec/models/package_copy_spec.rb +12 -0
- data/spec/models/package_move_spec.rb +12 -0
- data/spec/models/package_spec.rb +12 -0
- data/spec/models/raw_package_upload_spec.rb +12 -0
- data/spec/models/repos_create_spec.rb +16 -0
- data/spec/models/repos_partial_update_spec.rb +16 -0
- data/spec/models/repos_privileges_partial_update_spec.rb +41 -0
- data/spec/models/repos_privileges_update_spec.rb +41 -0
- data/spec/models/repository_create_spec.rb +16 -0
- data/spec/models/repository_privilege_input_privileges_spec.rb +53 -0
- data/spec/models/{repository_privilege_list_spec.rb → repository_privilege_input_spec.rb} +6 -6
- data/spec/models/repository_spec.rb +16 -0
- data/spec/models/vagrant_package_upload_spec.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-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.2/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/CHANGELOG.md +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Gemfile +4 -2
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/native.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/pure.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/template.rb +3 -4
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/uri.rb +57 -53
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/version.rb +1 -2
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/idna_spec.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/net_http_compat_spec.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/security_spec.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/template_spec.rb +9 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/uri_spec.rb +81 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/clobber.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/gem.rake +5 -2
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/git.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/metrics.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/profile.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/rspec.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/yard.rake +0 -0
- 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.2/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/FUNDING.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/dependabot.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/.github/workflows/psl-update.yml +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/release.yml +4 -2
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/tests.yml +8 -7
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop.yml +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop_opinionated.yml +0 -28
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/2.0-Upgrade.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/CHANGELOG.md +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Gemfile +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/README.md +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Rakefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/SECURITY.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/bin/console +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/data/list.txt +52 -21
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/domain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/errors.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/list.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/rule.rb +5 -5
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/public_suffix.gemspec +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/.empty +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/acceptance_test.rb +4 -4
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find_all.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_names.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select_incremental.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_valid.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/domain_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler_jp.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/initialization_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/list_profsize.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/object_binsize.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/psl_test.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/test_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/tests.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/domain_test.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/errors_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/list_test.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/public_suffix_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/rule_test.rb +15 -15
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/Changelog.md +11 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/expectation_target.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/fail_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/failure_aggregator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/handler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/aliased_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/all.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_within.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/change.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/compound.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/contain_exactly.rb +10 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/count_expectation.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/cover.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eq.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eql.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/equal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/exist.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/has.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/include.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/match.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/operators.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/output.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/raise_error.rb +6 -6
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/throw_symbol.rb +4 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/yield.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/composable.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/dsl.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/english_phrasing.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/fail_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_delegator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_protocol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/Changelog.md +8 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/caller_filter.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/comparable_version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/differ.rb +4 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/directory_maker.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/encoded_string.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/hunk_generator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/matcher_definition.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/method_signature_verifier.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/mutex.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/object_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/ruby_features.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/location.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/node.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/token.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/in_sub_process.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/shell_out.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/stderr_splitter.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/with_keywords_when_needed.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.0.gemspec → addressable-2.8.1.gemspec} +7 -6
- data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.7.gemspec → public_suffix-5.0.0.gemspec} +5 -5
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.11.0.gemspec → rspec-expectations-3.11.1.gemspec} +5 -5
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.11.0.gemspec → rspec-support-3.11.1.gemspec} +5 -5
- metadata +205 -177
- data/docs/RepositoryPrivilegeList.md +0 -8
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.0.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-expectations-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/addressable.gemspec +0 -37
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Cloudsmith API
|
3
|
+
|
4
|
+
#The API to the Cloudsmith Service
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
Contact: support@cloudsmith.io
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudsmithApi::RepositoryPrivilegeInputPrivileges
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'RepositoryPrivilegeInputPrivileges' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudsmithApi::RepositoryPrivilegeInputPrivileges.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of RepositoryPrivilegeInputPrivileges' do
|
31
|
+
it 'should create an instance of RepositoryPrivilegeInputPrivileges' do
|
32
|
+
expect(@instance).to be_instance_of(CloudsmithApi::RepositoryPrivilegeInputPrivileges)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "privilege"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "team"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "user"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for CloudsmithApi::
|
17
|
+
# Unit tests for CloudsmithApi::RepositoryPrivilegeInput
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'RepositoryPrivilegeInput' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = CloudsmithApi::
|
23
|
+
@instance = CloudsmithApi::RepositoryPrivilegeInput.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(CloudsmithApi::
|
30
|
+
describe 'test an instance of RepositoryPrivilegeInput' do
|
31
|
+
it 'should create an instance of RepositoryPrivilegeInput' do
|
32
|
+
expect(@instance).to be_instance_of(CloudsmithApi::RepositoryPrivilegeInput)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "privileges"' do
|
@@ -38,6 +38,16 @@ describe 'Repository' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "content_kind"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Standard", "Distribution", "Upstream"])
|
45
|
+
# validator.allowable_values.each do |value|
|
46
|
+
# expect { @instance.content_kind = value }.not_to raise_error
|
47
|
+
# end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
41
51
|
describe 'test attribute "contextual_auth_realm"' do
|
42
52
|
it 'should work' do
|
43
53
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -104,6 +114,12 @@ describe 'Repository' do
|
|
104
114
|
end
|
105
115
|
end
|
106
116
|
|
117
|
+
describe 'test attribute "distributes"' do
|
118
|
+
it 'should work' do
|
119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
107
123
|
describe 'test attribute "docker_refresh_tokens_enabled"' do
|
108
124
|
it 'should work' do
|
109
125
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -224,6 +224,18 @@ describe 'VagrantPackageUpload' do
|
|
224
224
|
end
|
225
225
|
end
|
226
226
|
|
227
|
+
describe 'test attribute "origin_repository"' do
|
228
|
+
it 'should work' do
|
229
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
describe 'test attribute "origin_repository_url"' do
|
234
|
+
it 'should work' do
|
235
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
227
239
|
describe 'test attribute "package_type"' do
|
228
240
|
it 'should work' do
|
229
241
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.19/ext/fsevent
|
2
|
-
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./
|
2
|
+
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20220929-840-311rd0.rb extconf.rb
|
3
3
|
|
4
4
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.19/ext/fsevent
|
5
5
|
make DESTDIR\= clean
|
@@ -1,5 +1,5 @@
|
|
1
1
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c
|
2
|
-
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./
|
2
|
+
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20220929-840-oxe80j.rb extconf.rb
|
3
3
|
checking for ffi_prep_closure_loc() in -lffi... yes
|
4
4
|
checking for ffi_prep_cif_var()... yes
|
5
5
|
checking for ffi_raw_call()... yes
|
@@ -40,4 +40,4 @@ linking shared-object ffi_c.so
|
|
40
40
|
|
41
41
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c
|
42
42
|
make DESTDIR\= install
|
43
|
-
/usr/bin/install -c -m 0755 ffi_c.so ./.gem.
|
43
|
+
/usr/bin/install -c -m 0755 ffi_c.so ./.gem.20220929-840-791yqk
|
@@ -1,5 +1,5 @@
|
|
1
1
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json
|
2
|
-
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./
|
2
|
+
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20220929-840-q9w84z.rb extconf.rb
|
3
3
|
creating Makefile
|
4
4
|
|
5
5
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json
|
@@ -100,7 +100,7 @@ checked program was:
|
|
100
100
|
/* end */
|
101
101
|
|
102
102
|
"gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
|
103
|
-
/usr/bin/ld: /tmp/
|
103
|
+
/usr/bin/ld: /tmp/ccMGH6Ch.o: in function `t':
|
104
104
|
/home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/conftest.c:17: undefined reference to `rb_enc_interned_str'
|
105
105
|
collect2: error: ld returned 1 exit status
|
106
106
|
checked program was:
|
@@ -1,3 +1,19 @@
|
|
1
|
+
# Addressable 2.8.1
|
2
|
+
- refactor `Addressable::URI.normalize_path` to address linter offenses ([#430](https://github.com/sporkmonger/addressable/pull/430))
|
3
|
+
- remove redundant colon in `Addressable::URI::CharacterClasses::AUTHORITY` regex ([#438](https://github.com/sporkmonger/addressable/pull/438))
|
4
|
+
- update gemspec to reflect supported Ruby versions ([#466], [#464], [#463])
|
5
|
+
- compatibility w/ public_suffix 5.x ([#466], [#465], [#460])
|
6
|
+
- fixes "invalid byte sequence in UTF-8" exception when unencoding URLs containing non UTF-8 characters ([#459](https://github.com/sporkmonger/addressable/pull/459))
|
7
|
+
- `Ractor` compatibility ([#449](https://github.com/sporkmonger/addressable/pull/449))
|
8
|
+
- use the whole string instead of a single line for template match ([#431](https://github.com/sporkmonger/addressable/pull/431))
|
9
|
+
- force UTF-8 encoding only if needed ([#341](https://github.com/sporkmonger/addressable/pull/341))
|
10
|
+
|
11
|
+
[#460]: https://github.com/sporkmonger/addressable/pull/460
|
12
|
+
[#463]: https://github.com/sporkmonger/addressable/pull/463
|
13
|
+
[#464]: https://github.com/sporkmonger/addressable/pull/464
|
14
|
+
[#465]: https://github.com/sporkmonger/addressable/pull/465
|
15
|
+
[#466]: https://github.com/sporkmonger/addressable/pull/466
|
16
|
+
|
1
17
|
# Addressable 2.8.0
|
2
18
|
- fixes ReDoS vulnerability in Addressable::Template#match
|
3
19
|
- no longer replaces `+` with spaces in queries for non-http(s) schemes
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
gemspec
|
5
|
+
gemspec
|
6
6
|
|
7
7
|
group :test do
|
8
8
|
gem 'rspec', '~> 3.8'
|
@@ -25,4 +25,6 @@ group :test, :development do
|
|
25
25
|
gem "rake", ">= 12.3.3"
|
26
26
|
end
|
27
27
|
|
28
|
-
|
28
|
+
unless ENV["IDNA_MODE"] == "pure"
|
29
|
+
gem "idn-ruby", platform: :mri
|
30
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/data/unicode.data
RENAMED
File without changes
|
@@ -1,6 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# encoding:utf-8
|
4
3
|
#--
|
5
4
|
# Copyright (C) Bob Aman
|
6
5
|
#
|
@@ -657,12 +656,12 @@ module Addressable
|
|
657
656
|
def ordered_variable_defaults
|
658
657
|
@ordered_variable_defaults ||= begin
|
659
658
|
expansions, _ = parse_template_pattern(pattern)
|
660
|
-
expansions.
|
659
|
+
expansions.flat_map do |capture|
|
661
660
|
_, _, varlist = *capture.match(EXPRESSION)
|
662
661
|
varlist.split(',').map do |varspec|
|
663
662
|
varspec[VARSPEC, 1]
|
664
663
|
end
|
665
|
-
end
|
664
|
+
end
|
666
665
|
end
|
667
666
|
end
|
668
667
|
|
@@ -1023,7 +1022,7 @@ module Addressable
|
|
1023
1022
|
end
|
1024
1023
|
|
1025
1024
|
# Ensure that the regular expression matches the whole URI.
|
1026
|
-
regexp_string = "
|
1025
|
+
regexp_string = "\\A#{regexp_string}\\z"
|
1027
1026
|
return expansions, Regexp.new(regexp_string)
|
1028
1027
|
end
|
1029
1028
|
|
data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/uri.rb
RENAMED
@@ -1,6 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# encoding:utf-8
|
4
3
|
#--
|
5
4
|
# Copyright (C) Bob Aman
|
6
5
|
#
|
@@ -38,20 +37,26 @@ module Addressable
|
|
38
37
|
##
|
39
38
|
# Container for the character classes specified in
|
40
39
|
# <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>.
|
40
|
+
#
|
41
|
+
# Note: Concatenated and interpolated `String`s are not affected by the
|
42
|
+
# `frozen_string_literal` directive and must be frozen explicitly.
|
43
|
+
#
|
44
|
+
# Interpolated `String`s *were* frozen this way before Ruby 3.0:
|
45
|
+
# https://bugs.ruby-lang.org/issues/17104
|
41
46
|
module CharacterClasses
|
42
47
|
ALPHA = "a-zA-Z"
|
43
48
|
DIGIT = "0-9"
|
44
49
|
GEN_DELIMS = "\\:\\/\\?\\#\\[\\]\\@"
|
45
50
|
SUB_DELIMS = "\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\="
|
46
|
-
RESERVED = GEN_DELIMS + SUB_DELIMS
|
47
|
-
UNRESERVED = ALPHA + DIGIT + "\\-\\.\\_\\~"
|
48
|
-
PCHAR = UNRESERVED + SUB_DELIMS + "\\:\\@"
|
49
|
-
SCHEME = ALPHA + DIGIT + "\\-\\+\\."
|
50
|
-
HOST = UNRESERVED + SUB_DELIMS + "\\[\\:\\]"
|
51
|
-
AUTHORITY = PCHAR + "\\[\\:\\]"
|
52
|
-
PATH = PCHAR + "\\/"
|
53
|
-
QUERY = PCHAR + "\\/\\?"
|
54
|
-
FRAGMENT = PCHAR + "\\/\\?"
|
51
|
+
RESERVED = (GEN_DELIMS + SUB_DELIMS).freeze
|
52
|
+
UNRESERVED = (ALPHA + DIGIT + "\\-\\.\\_\\~").freeze
|
53
|
+
PCHAR = (UNRESERVED + SUB_DELIMS + "\\:\\@").freeze
|
54
|
+
SCHEME = (ALPHA + DIGIT + "\\-\\+\\.").freeze
|
55
|
+
HOST = (UNRESERVED + SUB_DELIMS + "\\[\\:\\]").freeze
|
56
|
+
AUTHORITY = (PCHAR + "\\[\\:\\]").freeze
|
57
|
+
PATH = (PCHAR + "\\/").freeze
|
58
|
+
QUERY = (PCHAR + "\\/\\?").freeze
|
59
|
+
FRAGMENT = (PCHAR + "\\/\\?").freeze
|
55
60
|
end
|
56
61
|
|
57
62
|
module NormalizeCharacterClasses
|
@@ -469,19 +474,13 @@ module Addressable
|
|
469
474
|
"Expected Class (String or Addressable::URI), " +
|
470
475
|
"got #{return_type.inspect}"
|
471
476
|
end
|
472
|
-
uri = uri.dup
|
473
|
-
# Seriously, only use UTF-8. I'm really not kidding!
|
474
|
-
uri.force_encoding("utf-8")
|
475
|
-
|
476
|
-
unless leave_encoded.empty?
|
477
|
-
leave_encoded = leave_encoded.dup.force_encoding("utf-8")
|
478
|
-
end
|
479
477
|
|
480
|
-
result = uri.gsub(/%[0-9a-f]{2}/
|
478
|
+
result = uri.gsub(/%[0-9a-f]{2}/i) do |sequence|
|
481
479
|
c = sequence[1..3].to_i(16).chr
|
482
|
-
c.force_encoding(
|
480
|
+
c.force_encoding(sequence.encoding)
|
483
481
|
leave_encoded.include?(c) ? sequence : c
|
484
482
|
end
|
483
|
+
|
485
484
|
result.force_encoding("utf-8")
|
486
485
|
if return_type == String
|
487
486
|
return result
|
@@ -561,10 +560,10 @@ module Addressable
|
|
561
560
|
leave_re = if leave_encoded.length > 0
|
562
561
|
character_class = "#{character_class}%" unless character_class.include?('%')
|
563
562
|
|
564
|
-
"|%(?!#{leave_encoded.chars.
|
563
|
+
"|%(?!#{leave_encoded.chars.flat_map do |char|
|
565
564
|
seq = SEQUENCE_ENCODING_TABLE[char]
|
566
565
|
[seq.upcase, seq.downcase]
|
567
|
-
end.
|
566
|
+
end.join('|')})"
|
568
567
|
end
|
569
568
|
|
570
569
|
character_class = if leave_re
|
@@ -900,7 +899,7 @@ module Addressable
|
|
900
899
|
end
|
901
900
|
end
|
902
901
|
# All normalized values should be UTF-8
|
903
|
-
@normalized_scheme
|
902
|
+
force_utf8_encoding_if_needed(@normalized_scheme)
|
904
903
|
@normalized_scheme
|
905
904
|
end
|
906
905
|
|
@@ -955,7 +954,7 @@ module Addressable
|
|
955
954
|
end
|
956
955
|
end
|
957
956
|
# All normalized values should be UTF-8
|
958
|
-
@normalized_user
|
957
|
+
force_utf8_encoding_if_needed(@normalized_user)
|
959
958
|
@normalized_user
|
960
959
|
end
|
961
960
|
|
@@ -1012,9 +1011,7 @@ module Addressable
|
|
1012
1011
|
end
|
1013
1012
|
end
|
1014
1013
|
# All normalized values should be UTF-8
|
1015
|
-
|
1016
|
-
@normalized_password.force_encoding(Encoding::UTF_8)
|
1017
|
-
end
|
1014
|
+
force_utf8_encoding_if_needed(@normalized_password)
|
1018
1015
|
@normalized_password
|
1019
1016
|
end
|
1020
1017
|
|
@@ -1082,9 +1079,7 @@ module Addressable
|
|
1082
1079
|
end
|
1083
1080
|
end
|
1084
1081
|
# All normalized values should be UTF-8
|
1085
|
-
|
1086
|
-
@normalized_userinfo.force_encoding(Encoding::UTF_8)
|
1087
|
-
end
|
1082
|
+
force_utf8_encoding_if_needed(@normalized_userinfo)
|
1088
1083
|
@normalized_userinfo
|
1089
1084
|
end
|
1090
1085
|
|
@@ -1151,9 +1146,7 @@ module Addressable
|
|
1151
1146
|
end
|
1152
1147
|
end
|
1153
1148
|
# All normalized values should be UTF-8
|
1154
|
-
|
1155
|
-
@normalized_host.force_encoding(Encoding::UTF_8)
|
1156
|
-
end
|
1149
|
+
force_utf8_encoding_if_needed(@normalized_host)
|
1157
1150
|
@normalized_host
|
1158
1151
|
end
|
1159
1152
|
|
@@ -1271,9 +1264,7 @@ module Addressable
|
|
1271
1264
|
authority
|
1272
1265
|
end
|
1273
1266
|
# All normalized values should be UTF-8
|
1274
|
-
|
1275
|
-
@normalized_authority.force_encoding(Encoding::UTF_8)
|
1276
|
-
end
|
1267
|
+
force_utf8_encoding_if_needed(@normalized_authority)
|
1277
1268
|
@normalized_authority
|
1278
1269
|
end
|
1279
1270
|
|
@@ -1507,7 +1498,7 @@ module Addressable
|
|
1507
1498
|
site_string
|
1508
1499
|
end
|
1509
1500
|
# All normalized values should be UTF-8
|
1510
|
-
@normalized_site
|
1501
|
+
force_utf8_encoding_if_needed(@normalized_site)
|
1511
1502
|
@normalized_site
|
1512
1503
|
end
|
1513
1504
|
|
@@ -1570,7 +1561,7 @@ module Addressable
|
|
1570
1561
|
result
|
1571
1562
|
end
|
1572
1563
|
# All normalized values should be UTF-8
|
1573
|
-
@normalized_path
|
1564
|
+
force_utf8_encoding_if_needed(@normalized_path)
|
1574
1565
|
@normalized_path
|
1575
1566
|
end
|
1576
1567
|
|
@@ -1646,7 +1637,7 @@ module Addressable
|
|
1646
1637
|
component == "" ? nil : component
|
1647
1638
|
end
|
1648
1639
|
# All normalized values should be UTF-8
|
1649
|
-
@normalized_query
|
1640
|
+
force_utf8_encoding_if_needed(@normalized_query)
|
1650
1641
|
@normalized_query
|
1651
1642
|
end
|
1652
1643
|
|
@@ -1842,9 +1833,7 @@ module Addressable
|
|
1842
1833
|
component == "" ? nil : component
|
1843
1834
|
end
|
1844
1835
|
# All normalized values should be UTF-8
|
1845
|
-
|
1846
|
-
@normalized_fragment.force_encoding(Encoding::UTF_8)
|
1847
|
-
end
|
1836
|
+
force_utf8_encoding_if_needed(@normalized_fragment)
|
1848
1837
|
@normalized_fragment
|
1849
1838
|
end
|
1850
1839
|
|
@@ -2440,30 +2429,35 @@ module Addressable
|
|
2440
2429
|
def self.normalize_path(path)
|
2441
2430
|
# Section 5.2.4 of RFC 3986
|
2442
2431
|
|
2443
|
-
return
|
2432
|
+
return if path.nil?
|
2444
2433
|
normalized_path = path.dup
|
2445
|
-
|
2446
|
-
mod = nil
|
2434
|
+
loop do
|
2447
2435
|
mod ||= normalized_path.gsub!(RULE_2A, SLASH)
|
2448
2436
|
|
2449
2437
|
pair = normalized_path.match(RULE_2B_2C)
|
2450
|
-
|
2438
|
+
if pair
|
2439
|
+
parent = pair[1]
|
2440
|
+
current = pair[2]
|
2441
|
+
else
|
2442
|
+
parent = nil
|
2443
|
+
current = nil
|
2444
|
+
end
|
2445
|
+
|
2446
|
+
regexp = "/#{Regexp.escape(parent.to_s)}/\\.\\./|"
|
2447
|
+
regexp += "(/#{Regexp.escape(current.to_s)}/\\.\\.$)"
|
2448
|
+
|
2451
2449
|
if pair && ((parent != SELF_REF && parent != PARENT) ||
|
2452
2450
|
(current != SELF_REF && current != PARENT))
|
2453
|
-
mod ||= normalized_path.gsub!(
|
2454
|
-
Regexp.new(
|
2455
|
-
"/#{Regexp.escape(parent.to_s)}/\\.\\./|" +
|
2456
|
-
"(/#{Regexp.escape(current.to_s)}/\\.\\.$)"
|
2457
|
-
), SLASH
|
2458
|
-
)
|
2451
|
+
mod ||= normalized_path.gsub!(Regexp.new(regexp), SLASH)
|
2459
2452
|
end
|
2460
2453
|
|
2461
2454
|
mod ||= normalized_path.gsub!(RULE_2D, EMPTY_STR)
|
2462
2455
|
# Non-standard, removes prefixed dotted segments from path.
|
2463
2456
|
mod ||= normalized_path.gsub!(RULE_PREFIXED_PARENT, SLASH)
|
2464
|
-
|
2457
|
+
break if mod.nil?
|
2458
|
+
end
|
2465
2459
|
|
2466
|
-
|
2460
|
+
normalized_path
|
2467
2461
|
end
|
2468
2462
|
|
2469
2463
|
##
|
@@ -2552,5 +2546,15 @@ module Addressable
|
|
2552
2546
|
remove_instance_variable(:@uri_string) if defined?(@uri_string)
|
2553
2547
|
remove_instance_variable(:@hash) if defined?(@hash)
|
2554
2548
|
end
|
2549
|
+
|
2550
|
+
##
|
2551
|
+
# Converts the string to be UTF-8 if it is not already UTF-8
|
2552
|
+
#
|
2553
|
+
# @api private
|
2554
|
+
def force_utf8_encoding_if_needed(str)
|
2555
|
+
if str && str.encoding != Encoding::UTF_8
|
2556
|
+
str.force_encoding(Encoding::UTF_8)
|
2557
|
+
end
|
2558
|
+
end
|
2555
2559
|
end
|
2556
2560
|
end
|
@@ -1,6 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# encoding:utf-8
|
4
3
|
#--
|
5
4
|
# Copyright (C) Bob Aman
|
6
5
|
#
|
@@ -24,7 +23,7 @@ if !defined?(Addressable::VERSION)
|
|
24
23
|
module VERSION
|
25
24
|
MAJOR = 2
|
26
25
|
MINOR = 8
|
27
|
-
TINY =
|
26
|
+
TINY = 1
|
28
27
|
|
29
28
|
STRING = [MAJOR, MINOR, TINY].join('.')
|
30
29
|
end
|
data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable.rb
RENAMED
File without changes
|
@@ -1,6 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# coding: utf-8
|
4
3
|
# Copyright (C) Bob Aman
|
5
4
|
#
|
6
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -78,6 +77,15 @@ describe "==" do
|
|
78
77
|
end
|
79
78
|
end
|
80
79
|
|
80
|
+
describe "#to_regexp" do
|
81
|
+
it "does not match the first line of multiline strings" do
|
82
|
+
uri = "https://www.example.com/bar"
|
83
|
+
template = Addressable::Template.new(uri)
|
84
|
+
expect(template.match(uri)).not_to be_nil
|
85
|
+
expect(template.match("#{uri}\ngarbage")).to be_nil
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
81
89
|
describe "Type conversion" do
|
82
90
|
subject {
|
83
91
|
{
|