acfs 1.7.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +144 -116
- data/README.md +19 -24
- data/acfs.gemspec +7 -10
- data/lib/acfs/collections/paginatable.rb +11 -11
- data/lib/acfs/configuration.rb +1 -1
- data/lib/acfs/errors.rb +6 -6
- data/lib/acfs/global.rb +2 -2
- data/lib/acfs/location.rb +1 -1
- data/lib/acfs/resource/attributes/uuid.rb +1 -1
- data/lib/acfs/resource/attributes.rb +1 -1
- data/lib/acfs/resource/dirty.rb +1 -1
- data/lib/acfs/resource/operational.rb +4 -4
- data/lib/acfs/resource/query_methods.rb +3 -3
- data/lib/acfs/response/status.rb +1 -1
- data/lib/acfs/service/middleware.rb +2 -2
- data/lib/acfs/singleton_resource.rb +2 -2
- data/lib/acfs/stub.rb +1 -1
- data/lib/acfs/version.rb +2 -2
- data/lib/acfs/yard.rb +1 -0
- data/spec/acfs/adapter/typhoeus_spec.rb +3 -3
- data/spec/acfs/configuration_spec.rb +1 -1
- data/spec/acfs/global_spec.rb +5 -5
- data/spec/acfs/location_spec.rb +1 -1
- data/spec/acfs/middleware/json_spec.rb +1 -1
- data/spec/acfs/middleware/message_pack_spec.rb +1 -1
- data/spec/acfs/operation_spec.rb +1 -1
- data/spec/acfs/resource/attributes/boolean_spec.rb +31 -31
- data/spec/acfs/resource/attributes/date_time_spec.rb +9 -9
- data/spec/acfs/resource/attributes/dict_spec.rb +10 -10
- data/spec/acfs/resource/attributes/float_spec.rb +11 -11
- data/spec/acfs/resource/attributes/integer_spec.rb +6 -6
- data/spec/acfs/resource/attributes/list_spec.rb +1 -1
- data/spec/acfs/resource/attributes/uuid_spec.rb +8 -8
- data/spec/acfs/resource/attributes_spec.rb +8 -8
- data/spec/acfs/resource/dirty_spec.rb +1 -1
- data/spec/acfs/resource/persistence_spec.rb +7 -7
- data/spec/acfs/resource/query_methods_spec.rb +1 -1
- data/spec/acfs/runner_spec.rb +12 -12
- data/spec/acfs/stub_spec.rb +13 -18
- data/spec/acfs_spec.rb +4 -4
- data/spec/spec_helper.rb +9 -5
- data/spec/support/hash.rb +1 -1
- data/vendor/bundle/ruby/3.4.0/bundler/gems/rubocop-config-67802c9d1826/LICENSE +21 -0
- data/vendor/bundle/ruby/3.4.0/bundler/gems/rubocop-config-67802c9d1826/README.md +23 -0
- data/vendor/bundle/ruby/3.4.0/bundler/gems/rubocop-config-67802c9d1826/rubocop-config.gemspec +31 -0
- data/vendor/bundle/ruby/3.4.0/gems/actionpack-8.0.1/CHANGELOG.md +205 -0
- data/vendor/bundle/ruby/3.4.0/gems/actionpack-8.0.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.4.0/gems/actionpack-8.0.1/README.rdoc +57 -0
- data/vendor/bundle/ruby/3.4.0/gems/actionview-8.0.1/CHANGELOG.md +67 -0
- data/vendor/bundle/ruby/3.4.0/gems/actionview-8.0.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.4.0/gems/actionview-8.0.1/README.rdoc +40 -0
- data/vendor/bundle/ruby/3.4.0/gems/activemodel-8.0.1/CHANGELOG.md +110 -0
- data/vendor/bundle/ruby/3.4.0/gems/activemodel-8.0.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.4.0/gems/activemodel-8.0.1/README.rdoc +266 -0
- data/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/CHANGELOG.md +157 -0
- data/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/README.rdoc +40 -0
- data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/CHANGELOG.md +301 -0
- data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/README.md +121 -0
- data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/addressable.gemspec +28 -0
- data/vendor/bundle/ruby/3.4.0/gems/appraisal-2.5.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.4.0/gems/appraisal-2.5.0/README.md +243 -0
- data/vendor/bundle/ruby/3.4.0/gems/appraisal-2.5.0/appraisal.gemspec +29 -0
- data/vendor/bundle/ruby/3.4.0/gems/base64-0.2.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/base64-0.2.0/README.md +48 -0
- data/vendor/bundle/ruby/3.4.0/gems/benchmark-0.4.0/README.md +138 -0
- data/vendor/bundle/ruby/3.4.0/gems/benchmark-0.4.0/benchmark.gemspec +32 -0
- data/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.1.9/LICENSE +56 -0
- data/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.1.9/bigdecimal.gemspec +57 -0
- data/vendor/bundle/ruby/3.4.0/gems/builder-3.3.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/builder-3.3.0/README.md +258 -0
- data/vendor/bundle/ruby/3.4.0/gems/builder-3.3.0/builder.gemspec +49 -0
- data/vendor/bundle/ruby/3.4.0/gems/concurrent-ruby-1.3.5/CHANGELOG.md +603 -0
- data/vendor/bundle/ruby/3.4.0/gems/concurrent-ruby-1.3.5/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/3.4.0/gems/concurrent-ruby-1.3.5/README.md +407 -0
- data/vendor/bundle/ruby/3.4.0/gems/connection_pool-2.5.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/connection_pool-2.5.0/README.md +167 -0
- data/vendor/bundle/ruby/3.4.0/gems/connection_pool-2.5.0/connection_pool.gemspec +24 -0
- data/vendor/bundle/ruby/3.4.0/gems/crack-1.0.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/crack-1.0.0/README.md +43 -0
- data/vendor/bundle/ruby/3.4.0/gems/crass-1.0.6/LICENSE +18 -0
- data/vendor/bundle/ruby/3.4.0/gems/crass-1.0.6/README.md +192 -0
- data/vendor/bundle/ruby/3.4.0/gems/crass-1.0.6/crass.gemspec +31 -0
- data/vendor/bundle/ruby/3.4.0/gems/diff-lcs-1.5.1/License.md +41 -0
- data/vendor/bundle/ruby/3.4.0/gems/diff-lcs-1.5.1/README.rdoc +84 -0
- data/vendor/bundle/ruby/3.4.0/gems/drb-2.2.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/drb-2.2.1/drb.gemspec +41 -0
- data/vendor/bundle/ruby/3.4.0/gems/erubi-1.13.1/CHANGELOG +111 -0
- data/vendor/bundle/ruby/3.4.0/gems/erubi-1.13.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.4.0/gems/erubi-1.13.1/README.rdoc +151 -0
- data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/CHANGELOG.md +375 -0
- data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/README.md +118 -0
- data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/ethon.gemspec +26 -0
- data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu/CHANGELOG.md +465 -0
- data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu/LICENSE +24 -0
- data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu/LICENSE.SPECS +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu/README.md +137 -0
- data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu/ffi.gemspec +42 -0
- data/vendor/bundle/ruby/3.4.0/gems/hashdiff-1.1.2/LICENSE +19 -0
- data/vendor/bundle/ruby/3.4.0/gems/hashdiff-1.1.2/README.md +298 -0
- data/vendor/bundle/ruby/3.4.0/gems/hashdiff-1.1.2/changelog.md +119 -0
- data/vendor/bundle/ruby/3.4.0/gems/hashdiff-1.1.2/hashdiff.gemspec +39 -0
- data/vendor/bundle/ruby/3.4.0/gems/i18n-1.14.6/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/i18n-1.14.6/README.md +127 -0
- data/vendor/bundle/ruby/3.4.0/gems/json-2.9.1/README.md +195 -0
- data/vendor/bundle/ruby/3.4.0/gems/json-2.9.1/json.gemspec +64 -0
- data/vendor/bundle/ruby/3.4.0/gems/logger-1.6.5/README.md +104 -0
- data/vendor/bundle/ruby/3.4.0/gems/logger-1.6.5/logger.gemspec +28 -0
- data/vendor/bundle/ruby/3.4.0/gems/loofah-2.24.0/CHANGELOG.md +591 -0
- data/vendor/bundle/ruby/3.4.0/gems/loofah-2.24.0/MIT-LICENSE.txt +23 -0
- data/vendor/bundle/ruby/3.4.0/gems/loofah-2.24.0/README.md +410 -0
- data/vendor/bundle/ruby/3.4.0/gems/minitest-5.25.4/README.rdoc +835 -0
- data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/CHANGELOG.md +275 -0
- data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/LICENSE.md +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/README.md +121 -0
- data/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.18.1-x86_64-linux-gnu/LICENSE-DEPENDENCIES.md +2224 -0
- data/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.18.1-x86_64-linux-gnu/LICENSE.md +9 -0
- data/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.18.1-x86_64-linux-gnu/README.md +293 -0
- data/vendor/bundle/ruby/3.4.0/gems/public_suffix-6.0.1/CHANGELOG.md +491 -0
- data/vendor/bundle/ruby/3.4.0/gems/public_suffix-6.0.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/public_suffix-6.0.1/README.md +222 -0
- data/vendor/bundle/ruby/3.4.0/gems/racc-1.8.1/ChangeLog +846 -0
- data/vendor/bundle/ruby/3.4.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
- data/vendor/bundle/ruby/3.4.0/gems/racc-1.8.1/README.rdoc +60 -0
- data/vendor/bundle/ruby/3.4.0/gems/rack-3.1.8/CHANGELOG.md +998 -0
- data/vendor/bundle/ruby/3.4.0/gems/rack-3.1.8/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/rack-3.1.8/README.md +328 -0
- data/vendor/bundle/ruby/3.4.0/gems/rack-session-2.1.0/license.md +72 -0
- data/vendor/bundle/ruby/3.4.0/gems/rack-session-2.1.0/readme.md +47 -0
- data/vendor/bundle/ruby/3.4.0/gems/rack-test-2.2.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/rack-test-2.2.0/README.md +139 -0
- data/vendor/bundle/ruby/3.4.0/gems/rails-dom-testing-2.2.0/MIT-LICENSE +23 -0
- data/vendor/bundle/ruby/3.4.0/gems/rails-dom-testing-2.2.0/README.md +91 -0
- data/vendor/bundle/ruby/3.4.0/gems/rails-html-sanitizer-1.6.2/CHANGELOG.md +255 -0
- data/vendor/bundle/ruby/3.4.0/gems/rails-html-sanitizer-1.6.2/MIT-LICENSE +23 -0
- data/vendor/bundle/ruby/3.4.0/gems/rails-html-sanitizer-1.6.2/README.md +267 -0
- data/vendor/bundle/ruby/3.4.0/gems/rake-13.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.4.0/gems/rake-13.2.1/README.rdoc +155 -0
- data/vendor/bundle/ruby/3.4.0/gems/rake-13.2.1/rake.gemspec +101 -0
- data/vendor/bundle/ruby/3.4.0/gems/rake-release-1.3.0/LICENSE +21 -0
- data/vendor/bundle/ruby/3.4.0/gems/rake-release-1.3.0/README.md +107 -0
- data/vendor/bundle/ruby/3.4.0/gems/rake-release-1.3.0/rake-release.gemspec +23 -0
- data/vendor/bundle/ruby/3.4.0/gems/rexml-3.4.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/rexml-3.4.0/README.md +57 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-3.13.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-3.13.0/README.md +47 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-collection_matchers-1.2.1/Changelog.md +68 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-collection_matchers-1.2.1/LICENSE.txt +27 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-collection_matchers-1.2.1/README.md +76 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-collection_matchers-1.2.1/rspec-collection_matchers.gemspec +33 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.2/Changelog.md +2415 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.2/LICENSE.md +26 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.2/README.md +389 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-expectations-3.13.3/Changelog.md +1352 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-expectations-3.13.3/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-expectations-3.13.3/README.md +326 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/Changelog.md +73 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/LICENSE.txt +27 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/README.md +104 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/rspec-its.gemspec +31 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-mocks-3.13.2/Changelog.md +1299 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-mocks-3.13.2/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-mocks-3.13.2/README.md +465 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-support-3.13.2/Changelog.md +408 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-support-3.13.2/LICENSE.md +23 -0
- data/vendor/bundle/ruby/3.4.0/gems/rspec-support-3.13.2/README.md +40 -0
- data/vendor/bundle/ruby/3.4.0/gems/securerandom-0.4.1/README.md +72 -0
- data/vendor/bundle/ruby/3.4.0/gems/thor-1.3.2/LICENSE.md +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/thor-1.3.2/README.md +45 -0
- data/vendor/bundle/ruby/3.4.0/gems/thor-1.3.2/thor.gemspec +33 -0
- data/vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/CHANGELOG.md +410 -0
- data/vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/LICENSE +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/README.md +588 -0
- data/vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/typhoeus.gemspec +25 -0
- data/vendor/bundle/ruby/3.4.0/gems/tzinfo-2.0.6/LICENSE +19 -0
- data/vendor/bundle/ruby/3.4.0/gems/tzinfo-2.0.6/README.md +406 -0
- data/vendor/bundle/ruby/3.4.0/gems/uri-1.0.2/README.md +55 -0
- data/vendor/bundle/ruby/3.4.0/gems/useragent-0.16.11/LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/useragent-0.16.11/README.md +42 -0
- data/vendor/bundle/ruby/3.4.0/gems/webmock-3.24.0/CHANGELOG.md +2104 -0
- data/vendor/bundle/ruby/3.4.0/gems/webmock-3.24.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.4.0/gems/webmock-3.24.0/README.md +1222 -0
- data/vendor/bundle/ruby/3.4.0/specifications/actionpack-8.0.1.gemspec +36 -0
- data/vendor/bundle/ruby/3.4.0/specifications/actionview-8.0.1.gemspec +33 -0
- data/vendor/bundle/ruby/3.4.0/specifications/activemodel-8.0.1.gemspec +26 -0
- data/vendor/bundle/ruby/3.4.0/specifications/activesupport-8.0.1.gemspec +38 -0
- data/vendor/bundle/ruby/3.4.0/specifications/addressable-2.8.7.gemspec +30 -0
- data/vendor/bundle/ruby/3.4.0/specifications/appraisal-2.5.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.4.0/specifications/base64-0.2.0.gemspec +23 -0
- data/vendor/bundle/ruby/3.4.0/specifications/benchmark-0.4.0.gemspec +23 -0
- data/vendor/bundle/ruby/3.4.0/specifications/bigdecimal-3.1.9.gemspec +25 -0
- data/vendor/bundle/ruby/3.4.0/specifications/builder-3.3.0.gemspec +22 -0
- data/vendor/bundle/ruby/3.4.0/specifications/concurrent-ruby-1.3.5.gemspec +24 -0
- data/vendor/bundle/ruby/3.4.0/specifications/connection_pool-2.5.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.4.0/specifications/crack-1.0.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.4.0/specifications/crass-1.0.6.gemspec +27 -0
- data/vendor/bundle/ruby/3.4.0/specifications/diff-lcs-1.5.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.4.0/specifications/drb-2.2.1.gemspec +22 -0
- data/vendor/bundle/ruby/3.4.0/specifications/erubi-1.13.1.gemspec +29 -0
- data/vendor/bundle/ruby/3.4.0/specifications/ethon-0.16.0.gemspec +24 -0
- data/vendor/bundle/ruby/3.4.0/specifications/ffi-1.17.1-x86_64-linux-gnu.gemspec +31 -0
- data/vendor/bundle/ruby/3.4.0/specifications/hashdiff-1.1.2.gemspec +30 -0
- data/vendor/bundle/ruby/3.4.0/specifications/i18n-1.14.6.gemspec +27 -0
- data/vendor/bundle/ruby/3.4.0/specifications/json-2.9.1.gemspec +0 -0
- data/vendor/bundle/ruby/3.4.0/specifications/logger-1.6.5.gemspec +22 -0
- data/vendor/bundle/ruby/3.4.0/specifications/loofah-2.24.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.4.0/specifications/minitest-5.25.4.gemspec +31 -0
- data/vendor/bundle/ruby/3.4.0/specifications/multi_json-1.15.0.gemspec +26 -0
- data/vendor/bundle/ruby/3.4.0/specifications/nokogiri-1.18.1-x86_64-linux-gnu.gemspec +31 -0
- data/vendor/bundle/ruby/3.4.0/specifications/public_suffix-6.0.1.gemspec +24 -0
- data/vendor/bundle/ruby/3.4.0/specifications/racc-1.8.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rack-3.1.8.gemspec +31 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rack-session-2.1.0.gemspec +30 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rack-test-2.2.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rails-dom-testing-2.2.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rails-html-sanitizer-1.6.2.gemspec +27 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rake-13.2.1.gemspec +26 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rake-release-1.3.0.gemspec +26 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rexml-3.4.0.gemspec +25 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rspec-3.13.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rspec-collection_matchers-1.2.1.gemspec +27 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rspec-core-3.13.2.gemspec +39 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rspec-expectations-3.13.3.gemspec +33 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rspec-its-2.0.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rspec-mocks-3.13.2.gemspec +33 -0
- data/vendor/bundle/ruby/3.4.0/specifications/rspec-support-3.13.2.gemspec +29 -0
- data/vendor/bundle/ruby/3.4.0/specifications/securerandom-0.4.1.gemspec +23 -0
- data/vendor/bundle/ruby/3.4.0/specifications/thor-1.3.2.gemspec +28 -0
- data/vendor/bundle/ruby/3.4.0/specifications/typhoeus-1.4.1.gemspec +24 -0
- data/vendor/bundle/ruby/3.4.0/specifications/tzinfo-2.0.6.gemspec +30 -0
- data/vendor/bundle/ruby/3.4.0/specifications/uri-1.0.2.gemspec +23 -0
- data/vendor/bundle/ruby/3.4.0/specifications/useragent-0.16.11.gemspec +25 -0
- data/vendor/bundle/ruby/3.4.0/specifications/webmock-3.24.0.gemspec +45 -0
- metadata +204 -67
@@ -0,0 +1,301 @@
|
|
1
|
+
# Addressable 2.8.7 <a name="v2.8.7">
|
2
|
+
- Allow `public_suffix` 6 ([#535])
|
3
|
+
|
4
|
+
[#535]: https://github.com/sporkmonger/addressable/pull/535
|
5
|
+
|
6
|
+
# Addressable 2.8.6 <a name="v2.8.6">
|
7
|
+
- Memoize regexps for common character classes ([#524])
|
8
|
+
|
9
|
+
[#524]: https://github.com/sporkmonger/addressable/pull/524
|
10
|
+
|
11
|
+
# Addressable 2.8.5 <a name="v2.8.5">
|
12
|
+
- Fix thread safety issue with encoding tables ([#515])
|
13
|
+
- Define URI::NONE as a module to avoid serialization issues ([#509])
|
14
|
+
- Fix YAML serialization ([#508])
|
15
|
+
|
16
|
+
[#508]: https://github.com/sporkmonger/addressable/pull/508
|
17
|
+
[#509]: https://github.com/sporkmonger/addressable/pull/509
|
18
|
+
[#515]: https://github.com/sporkmonger/addressable/pull/515
|
19
|
+
|
20
|
+
# Addressable 2.8.4 <a name="v2.8.4">
|
21
|
+
- Restore `Addressable::IDNA.unicode_normalize_kc` as a deprecated method ([#504])
|
22
|
+
|
23
|
+
[#504]: https://github.com/sporkmonger/addressable/pull/504
|
24
|
+
|
25
|
+
# Addressable 2.8.3 <a name="v2.8.3">
|
26
|
+
- Fix template expand level 2 hash support for non-string objects ([#499], [#498])
|
27
|
+
|
28
|
+
[#499]: https://github.com/sporkmonger/addressable/pull/499
|
29
|
+
[#498]: https://github.com/sporkmonger/addressable/pull/498
|
30
|
+
|
31
|
+
# Addressable 2.8.2 <a name="v2.8.2">
|
32
|
+
- Improve cache hits and JIT friendliness ([#486](https://github.com/sporkmonger/addressable/pull/486))
|
33
|
+
- Improve code style and test coverage ([#482](https://github.com/sporkmonger/addressable/pull/482))
|
34
|
+
- Ensure reset of deferred validation ([#481](https://github.com/sporkmonger/addressable/pull/481))
|
35
|
+
- Resolve normalization differences between `IDNA::Native` and `IDNA::Pure` ([#408](https://github.com/sporkmonger/addressable/issues/408), [#492])
|
36
|
+
- Remove redundant colon in `Addressable::URI::CharacterClasses::AUTHORITY` regex ([#438](https://github.com/sporkmonger/addressable/pull/438)) (accidentally reverted by [#449] merge but [added back](https://github.com/sporkmonger/addressable/pull/492#discussion_r1105125280) in [#492])
|
37
|
+
|
38
|
+
[#492]: https://github.com/sporkmonger/addressable/pull/492
|
39
|
+
|
40
|
+
# Addressable 2.8.1 <a name="v2.8.1">
|
41
|
+
- refactor `Addressable::URI.normalize_path` to address linter offenses ([#430](https://github.com/sporkmonger/addressable/pull/430))
|
42
|
+
- update gemspec to reflect supported Ruby versions ([#466], [#464], [#463])
|
43
|
+
- compatibility w/ public_suffix 5.x ([#466], [#465], [#460])
|
44
|
+
- fixes "invalid byte sequence in UTF-8" exception when unencoding URLs containing non UTF-8 characters ([#459](https://github.com/sporkmonger/addressable/pull/459))
|
45
|
+
- `Ractor` compatibility ([#449])
|
46
|
+
- use the whole string instead of a single line for template match ([#431](https://github.com/sporkmonger/addressable/pull/431))
|
47
|
+
- force UTF-8 encoding only if needed ([#341](https://github.com/sporkmonger/addressable/pull/341))
|
48
|
+
|
49
|
+
[#449]: https://github.com/sporkmonger/addressable/pull/449
|
50
|
+
[#460]: https://github.com/sporkmonger/addressable/pull/460
|
51
|
+
[#463]: https://github.com/sporkmonger/addressable/pull/463
|
52
|
+
[#464]: https://github.com/sporkmonger/addressable/pull/464
|
53
|
+
[#465]: https://github.com/sporkmonger/addressable/pull/465
|
54
|
+
[#466]: https://github.com/sporkmonger/addressable/pull/466
|
55
|
+
|
56
|
+
# Addressable 2.8.0 <a name="v2.8.0">
|
57
|
+
- fixes ReDoS vulnerability in Addressable::Template#match
|
58
|
+
- no longer replaces `+` with spaces in queries for non-http(s) schemes
|
59
|
+
- fixed encoding ipv6 literals
|
60
|
+
- the `:compacted` flag for `normalized_query` now dedupes parameters
|
61
|
+
- fix broken `escape_component` alias
|
62
|
+
- dropping support for Ruby 2.0 and 2.1
|
63
|
+
- adding Ruby 3.0 compatibility for development tasks
|
64
|
+
- drop support for `rack-mount` and remove Addressable::Template#generate
|
65
|
+
- performance improvements
|
66
|
+
- switch CI/CD to GitHub Actions
|
67
|
+
|
68
|
+
# Addressable 2.7.0 <a name="v2.7.0">
|
69
|
+
- added `:compacted` flag to `normalized_query`
|
70
|
+
- `heuristic_parse` handles `mailto:` more intuitively
|
71
|
+
- dropped explicit support for JRuby 9.0.5.0
|
72
|
+
- compatibility w/ public_suffix 4.x
|
73
|
+
- performance improvements
|
74
|
+
|
75
|
+
# Addressable 2.6.0 <a name="v2.6.0">
|
76
|
+
- added `tld=` method to allow assignment to the public suffix
|
77
|
+
- most `heuristic_parse` patterns are now case-insensitive
|
78
|
+
- `heuristic_parse` handles more `file://` URI variations
|
79
|
+
- fixes bug in `heuristic_parse` when uri starts with digit
|
80
|
+
- fixes bug in `request_uri=` with query strings
|
81
|
+
- fixes template issues with `nil` and `?` operator
|
82
|
+
- `frozen_string_literal` pragmas added
|
83
|
+
- minor performance improvements in regexps
|
84
|
+
- fixes to eliminate warnings
|
85
|
+
|
86
|
+
# Addressable 2.5.2 <a name="v2.5.2">
|
87
|
+
- better support for frozen string literals
|
88
|
+
- fixed bug w/ uppercase characters in scheme
|
89
|
+
- IDNA errors w/ emoji URLs
|
90
|
+
- compatibility w/ public_suffix 3.x
|
91
|
+
|
92
|
+
# Addressable 2.5.1 <a name="v2.5.1">
|
93
|
+
- allow unicode normalization to be disabled for URI Template expansion
|
94
|
+
- removed duplicate test
|
95
|
+
|
96
|
+
# Addressable 2.5.0 <a name="v2.5.0">
|
97
|
+
- dropping support for Ruby 1.9
|
98
|
+
- adding support for Ruby 2.4 preview
|
99
|
+
- add support for public suffixes and tld; first runtime dependency
|
100
|
+
- hostname escaping should match RFC; underscores in hostnames no longer escaped
|
101
|
+
- paths beginning with // and missing an authority are now considered invalid
|
102
|
+
- validation now also takes place after setting a path
|
103
|
+
- handle backslashes in authority more like a browser for `heuristic_parse`
|
104
|
+
- unescaped backslashes in host now raise an `InvalidURIError`
|
105
|
+
- `merge!`, `join!`, `omit!` and `normalize!` don't disable deferred validation
|
106
|
+
- `heuristic_parse` now trims whitespace before parsing
|
107
|
+
- host parts longer than 63 bytes will be ignored and not passed to libidn
|
108
|
+
- normalized values always encoded as UTF-8
|
109
|
+
|
110
|
+
# Addressable 2.4.0 <a name="v2.4.0">
|
111
|
+
- support for 1.8.x dropped
|
112
|
+
- double quotes in a host now raises an error
|
113
|
+
- newlines in host will no longer get unescaped during normalization
|
114
|
+
- stricter handling of bogus scheme values
|
115
|
+
- stricter handling of encoded port values
|
116
|
+
- calling `require 'addressable'` will now load both the URI and Template files
|
117
|
+
- assigning to the `hostname` component with an `IPAddr` object is now supported
|
118
|
+
- assigning to the `origin` component is now supported
|
119
|
+
- fixed minor bug where an exception would be thrown for a missing ACE suffix
|
120
|
+
- better partial expansion of URI templates
|
121
|
+
|
122
|
+
# Addressable 2.3.8 <a name="v2.3.8">
|
123
|
+
- fix warnings
|
124
|
+
- update dependency gems
|
125
|
+
- support for 1.8.x officially deprecated
|
126
|
+
|
127
|
+
# Addressable 2.3.7 <a name="v2.3.7">
|
128
|
+
- fix scenario in which invalid URIs don't get an exception until inspected
|
129
|
+
- handle hostnames with two adjacent periods correctly
|
130
|
+
- upgrade of RSpec
|
131
|
+
|
132
|
+
# Addressable 2.3.6 <a name="v2.3.6">
|
133
|
+
- normalization drops empty query string
|
134
|
+
- better handling in template extract for missing values
|
135
|
+
- template modifier for `'?'` now treated as optional
|
136
|
+
- fixed issue where character class parameters were modified
|
137
|
+
- templates can now be tested for equality
|
138
|
+
- added `:sorted` option to normalization of query strings
|
139
|
+
- fixed issue with normalization of hosts given in `'example.com.'` form
|
140
|
+
|
141
|
+
# Addressable 2.3.5 <a name="v2.3.5">
|
142
|
+
- added Addressable::URI#empty? method
|
143
|
+
- Addressable::URI#hostname methods now strip square brackets from IPv6 hosts
|
144
|
+
- compatibility with Net::HTTP in Ruby 2.0.0
|
145
|
+
- Addressable::URI#route_from should always give relative URIs
|
146
|
+
|
147
|
+
# Addressable 2.3.4 <a name="v2.3.4">
|
148
|
+
- fixed issue with encoding altering its inputs
|
149
|
+
- query string normalization now leaves ';' characters alone
|
150
|
+
- FakeFS is detected before attempting to load unicode tables
|
151
|
+
- additional testing to ensure frozen objects don't cause problems
|
152
|
+
|
153
|
+
# Addressable 2.3.3 <a name="v2.3.3">
|
154
|
+
- fixed issue with converting common primitives during template expansion
|
155
|
+
- fixed port encoding issue
|
156
|
+
- removed a few warnings
|
157
|
+
- normalize should now ignore %2B in query strings
|
158
|
+
- the IDNA logic should now be handled by libidn in Ruby 1.9
|
159
|
+
- no template match should now result in nil instead of an empty MatchData
|
160
|
+
- added license information to gemspec
|
161
|
+
|
162
|
+
# Addressable 2.3.2 <a name="v2.3.2">
|
163
|
+
- added Addressable::URI#default_port method
|
164
|
+
- fixed issue with Marshalling Unicode data on Windows
|
165
|
+
- improved heuristic parsing to better handle IPv4 addresses
|
166
|
+
|
167
|
+
# Addressable 2.3.1 <a name="v2.3.1">
|
168
|
+
- fixed missing unicode data file
|
169
|
+
|
170
|
+
# Addressable 2.3.0 <a name="v2.3.0">
|
171
|
+
- updated Addressable::Template to use RFC 6570, level 4
|
172
|
+
- fixed compatibility problems with some versions of Ruby
|
173
|
+
- moved unicode tables into a data file for performance reasons
|
174
|
+
- removing support for multiple query value notations
|
175
|
+
|
176
|
+
# Addressable 2.2.8 <a name="v2.2.8">
|
177
|
+
- fixed issues with dot segment removal code
|
178
|
+
- form encoding can now handle multiple values per key
|
179
|
+
- updated development environment
|
180
|
+
|
181
|
+
# Addressable 2.2.7 <a name="v2.2.7">
|
182
|
+
- fixed issues related to Addressable::URI#query_values=
|
183
|
+
- the Addressable::URI.parse method is now polymorphic
|
184
|
+
|
185
|
+
# Addressable 2.2.6 <a name="v2.2.6">
|
186
|
+
- changed the way ambiguous paths are handled
|
187
|
+
- fixed bug with frozen URIs
|
188
|
+
- https supported in heuristic parsing
|
189
|
+
|
190
|
+
# Addressable 2.2.5 <a name="v2.2.5">
|
191
|
+
- 'parsing' a pre-parsed URI object is now a dup operation
|
192
|
+
- introduced conditional support for libidn
|
193
|
+
- fixed normalization issue on ampersands in query strings
|
194
|
+
- added additional tests around handling of query strings
|
195
|
+
|
196
|
+
# Addressable 2.2.4 <a name="v2.2.4">
|
197
|
+
- added origin support from draft-ietf-websec-origin-00
|
198
|
+
- resolved issue with attempting to navigate below root
|
199
|
+
- fixed bug with string splitting in query strings
|
200
|
+
|
201
|
+
# Addressable 2.2.3 <a name="v2.2.3">
|
202
|
+
- added :flat_array notation for query strings
|
203
|
+
|
204
|
+
# Addressable 2.2.2 <a name="v2.2.2">
|
205
|
+
- fixed issue with percent escaping of '+' character in query strings
|
206
|
+
|
207
|
+
# Addressable 2.2.1 <a name="v2.2.1">
|
208
|
+
- added support for application/x-www-form-urlencoded.
|
209
|
+
|
210
|
+
# Addressable 2.2.0 <a name="v2.2.0">
|
211
|
+
- added site methods
|
212
|
+
- improved documentation
|
213
|
+
|
214
|
+
# Addressable 2.1.2 <a name="v2.1.2">
|
215
|
+
- added HTTP request URI methods
|
216
|
+
- better handling of Windows file paths
|
217
|
+
- validation_deferred boolean replaced with defer_validation block
|
218
|
+
- normalization of percent-encoded paths should now be correct
|
219
|
+
- fixed issue with constructing URIs with relative paths
|
220
|
+
- fixed warnings
|
221
|
+
|
222
|
+
# Addressable 2.1.1 <a name="v2.1.1">
|
223
|
+
- more type checking changes
|
224
|
+
- fixed issue with unicode normalization
|
225
|
+
- added method to find template defaults
|
226
|
+
- symbolic keys are now allowed in template mappings
|
227
|
+
- numeric values and symbolic values are now allowed in template mappings
|
228
|
+
|
229
|
+
# Addressable 2.1.0 <a name="v2.1.0">
|
230
|
+
- refactored URI template support out into its own class
|
231
|
+
- removed extract method due to being useless and unreliable
|
232
|
+
- removed Addressable::URI.expand_template
|
233
|
+
- removed Addressable::URI#extract_mapping
|
234
|
+
- added partial template expansion
|
235
|
+
- fixed minor bugs in the parse and heuristic_parse methods
|
236
|
+
- fixed incompatibility with Ruby 1.9.1
|
237
|
+
- fixed bottleneck in Addressable::URI#hash and Addressable::URI#to_s
|
238
|
+
- fixed unicode normalization exception
|
239
|
+
- updated query_values methods to better handle subscript notation
|
240
|
+
- worked around issue with freezing URIs
|
241
|
+
- improved specs
|
242
|
+
|
243
|
+
# Addressable 2.0.2 <a name="v2.0.2">
|
244
|
+
- fixed issue with URI template expansion
|
245
|
+
- fixed issue with percent escaping characters 0-15
|
246
|
+
|
247
|
+
# Addressable 2.0.1 <a name="v2.0.1">
|
248
|
+
- fixed issue with query string assignment
|
249
|
+
- fixed issue with improperly encoded components
|
250
|
+
|
251
|
+
# Addressable 2.0.0 <a name="v2.0.0">
|
252
|
+
- the initialize method now takes an options hash as its only parameter
|
253
|
+
- added query_values method to URI class
|
254
|
+
- completely replaced IDNA implementation with pure Ruby
|
255
|
+
- renamed Addressable::ADDRESSABLE_VERSION to Addressable::VERSION
|
256
|
+
- completely reworked the Rakefile
|
257
|
+
- changed the behavior of the port method significantly
|
258
|
+
- Addressable::URI.encode_segment, Addressable::URI.unencode_segment renamed
|
259
|
+
- documentation is now in YARD format
|
260
|
+
- more rigorous type checking
|
261
|
+
- to_str method implemented, implicit conversion to Strings now allowed
|
262
|
+
- Addressable::URI#omit method added, Addressable::URI#merge method replaced
|
263
|
+
- updated URI Template code to match v 03 of the draft spec
|
264
|
+
- added a bunch of new specifications
|
265
|
+
|
266
|
+
# Addressable 1.0.4 <a name="v1.0.4">
|
267
|
+
- switched to using RSpec's pending system for specs that rely on IDN
|
268
|
+
- fixed issue with creating URIs with paths that are not prefixed with '/'
|
269
|
+
|
270
|
+
# Addressable 1.0.3 <a name="v1.0.3">
|
271
|
+
- implemented a hash method
|
272
|
+
|
273
|
+
# Addressable 1.0.2 <a name="v1.0.2">
|
274
|
+
- fixed minor bug with the extract_mapping method
|
275
|
+
|
276
|
+
# Addressable 1.0.1 <a name="v1.0.1">
|
277
|
+
- fixed minor bug with the extract_mapping method
|
278
|
+
|
279
|
+
# Addressable 1.0.0 <a name="v1.0.0">
|
280
|
+
- heuristic parse method added
|
281
|
+
- parsing is slightly more strict
|
282
|
+
- replaced to_h with to_hash
|
283
|
+
- fixed routing methods
|
284
|
+
- improved specifications
|
285
|
+
- improved heckle rake task
|
286
|
+
- no surviving heckle mutations
|
287
|
+
|
288
|
+
# Addressable 0.1.2 <a name="v0.1.2">
|
289
|
+
- improved normalization
|
290
|
+
- fixed bug in joining algorithm
|
291
|
+
- updated specifications
|
292
|
+
|
293
|
+
# Addressable 0.1.1 <a name="v0.1.1">
|
294
|
+
- updated documentation
|
295
|
+
- added URI Template variable extraction
|
296
|
+
|
297
|
+
# Addressable 0.1.0 <a name="v0.1.0">
|
298
|
+
- initial release
|
299
|
+
- implementation based on RFC 3986, 3987
|
300
|
+
- support for IRIs via libidn
|
301
|
+
- support for the URI Template draft spec
|
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
@@ -0,0 +1,121 @@
|
|
1
|
+
# Addressable
|
2
|
+
|
3
|
+
<dl>
|
4
|
+
<dt>Homepage</dt><dd><a href="https://github.com/sporkmonger/addressable">github.com/sporkmonger/addressable</a></dd>
|
5
|
+
<dt>Author</dt><dd><a href="mailto:bob@sporkmonger.com">Bob Aman</a></dd>
|
6
|
+
<dt>Copyright</dt><dd>Copyright © Bob Aman</dd>
|
7
|
+
<dt>License</dt><dd>Apache 2.0</dd>
|
8
|
+
</dl>
|
9
|
+
|
10
|
+
[![Gem Version](https://img.shields.io/gem/dt/addressable.svg)][gem]
|
11
|
+
[![Build Status](https://github.com/sporkmonger/addressable/workflows/CI/badge.svg)][actions]
|
12
|
+
[![Test Coverage Status](https://img.shields.io/coveralls/sporkmonger/addressable.svg)][coveralls]
|
13
|
+
[![Documentation Coverage Status](https://inch-ci.org/github/sporkmonger/addressable.svg?branch=master)][inch]
|
14
|
+
|
15
|
+
[gem]: https://rubygems.org/gems/addressable
|
16
|
+
[actions]: https://github.com/sporkmonger/addressable/actions
|
17
|
+
[coveralls]: https://coveralls.io/r/sporkmonger/addressable
|
18
|
+
[inch]: https://inch-ci.org/github/sporkmonger/addressable
|
19
|
+
|
20
|
+
# Description
|
21
|
+
|
22
|
+
Addressable is an alternative implementation to the URI implementation
|
23
|
+
that is part of Ruby's standard library. It is flexible, offers heuristic
|
24
|
+
parsing, and additionally provides extensive support for IRIs and URI templates.
|
25
|
+
|
26
|
+
Addressable closely conforms to RFC 3986, RFC 3987, and RFC 6570 (level 4).
|
27
|
+
|
28
|
+
# Reference
|
29
|
+
|
30
|
+
- {Addressable::URI}
|
31
|
+
- {Addressable::Template}
|
32
|
+
|
33
|
+
# Example usage
|
34
|
+
|
35
|
+
```ruby
|
36
|
+
require "addressable/uri"
|
37
|
+
|
38
|
+
uri = Addressable::URI.parse("http://example.com/path/to/resource/")
|
39
|
+
uri.scheme
|
40
|
+
#=> "http"
|
41
|
+
uri.host
|
42
|
+
#=> "example.com"
|
43
|
+
uri.path
|
44
|
+
#=> "/path/to/resource/"
|
45
|
+
|
46
|
+
uri = Addressable::URI.parse("http://www.詹姆斯.com/")
|
47
|
+
uri.normalize
|
48
|
+
#=> #<Addressable::URI:0xc9a4c8 URI:http://www.xn--8ws00zhy3a.com/>
|
49
|
+
```
|
50
|
+
|
51
|
+
|
52
|
+
# URI Templates
|
53
|
+
|
54
|
+
For more details, see [RFC 6570](https://www.rfc-editor.org/rfc/rfc6570.txt).
|
55
|
+
|
56
|
+
|
57
|
+
```ruby
|
58
|
+
|
59
|
+
require "addressable/template"
|
60
|
+
|
61
|
+
template = Addressable::Template.new("http://example.com/{?query*}")
|
62
|
+
template.expand({
|
63
|
+
"query" => {
|
64
|
+
'foo' => 'bar',
|
65
|
+
'color' => 'red'
|
66
|
+
}
|
67
|
+
})
|
68
|
+
#=> #<Addressable::URI:0xc9d95c URI:http://example.com/?foo=bar&color=red>
|
69
|
+
|
70
|
+
template = Addressable::Template.new("http://example.com/{?one,two,three}")
|
71
|
+
template.partial_expand({"one" => "1", "three" => 3}).pattern
|
72
|
+
#=> "http://example.com/?one=1{&two}&three=3"
|
73
|
+
|
74
|
+
template = Addressable::Template.new(
|
75
|
+
"http://{host}{/segments*}/{?one,two,bogus}{#fragment}"
|
76
|
+
)
|
77
|
+
uri = Addressable::URI.parse(
|
78
|
+
"http://example.com/a/b/c/?one=1&two=2#foo"
|
79
|
+
)
|
80
|
+
template.extract(uri)
|
81
|
+
#=>
|
82
|
+
# {
|
83
|
+
# "host" => "example.com",
|
84
|
+
# "segments" => ["a", "b", "c"],
|
85
|
+
# "one" => "1",
|
86
|
+
# "two" => "2",
|
87
|
+
# "fragment" => "foo"
|
88
|
+
# }
|
89
|
+
```
|
90
|
+
|
91
|
+
# Install
|
92
|
+
|
93
|
+
```console
|
94
|
+
$ gem install addressable
|
95
|
+
```
|
96
|
+
|
97
|
+
You may optionally turn on native IDN support by installing libidn and the
|
98
|
+
idn gem:
|
99
|
+
|
100
|
+
```console
|
101
|
+
$ sudo apt-get install libidn11-dev # Debian/Ubuntu
|
102
|
+
$ brew install libidn # OS X
|
103
|
+
$ gem install idn-ruby
|
104
|
+
```
|
105
|
+
|
106
|
+
# Semantic Versioning
|
107
|
+
|
108
|
+
This project uses [Semantic Versioning](https://semver.org/). You can (and should) specify your
|
109
|
+
dependency using a pessimistic version constraint covering the major and minor
|
110
|
+
values:
|
111
|
+
|
112
|
+
```ruby
|
113
|
+
spec.add_dependency 'addressable', '~> 2.7'
|
114
|
+
```
|
115
|
+
|
116
|
+
If you need a specific bug fix, you can also specify minimum tiny versions
|
117
|
+
without preventing updates to the latest minor release:
|
118
|
+
|
119
|
+
```ruby
|
120
|
+
spec.add_dependency 'addressable', '~> 2.3', '>= 2.3.7'
|
121
|
+
```
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# stub: addressable 2.8.7 ruby lib
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = "addressable".freeze
|
6
|
+
s.version = "2.8.7".freeze
|
7
|
+
|
8
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
|
+
s.metadata = { "changelog_uri" => "https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#v2.8.7" } if s.respond_to? :metadata=
|
10
|
+
s.require_paths = ["lib".freeze]
|
11
|
+
s.authors = ["Bob Aman".freeze]
|
12
|
+
s.date = "2024-06-21"
|
13
|
+
s.description = "Addressable is an alternative implementation to the URI implementation that is\npart of Ruby's standard library. It is flexible, offers heuristic parsing, and\nadditionally provides extensive support for IRIs and URI templates.\n".freeze
|
14
|
+
s.email = "bob@sporkmonger.com".freeze
|
15
|
+
s.extra_rdoc_files = ["README.md".freeze]
|
16
|
+
s.files = ["CHANGELOG.md".freeze, "Gemfile".freeze, "LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "addressable.gemspec".freeze, "data/unicode.data".freeze, "lib/addressable.rb".freeze, "lib/addressable/idna.rb".freeze, "lib/addressable/idna/native.rb".freeze, "lib/addressable/idna/pure.rb".freeze, "lib/addressable/template.rb".freeze, "lib/addressable/uri.rb".freeze, "lib/addressable/version.rb".freeze, "spec/addressable/idna_spec.rb".freeze, "spec/addressable/net_http_compat_spec.rb".freeze, "spec/addressable/security_spec.rb".freeze, "spec/addressable/template_spec.rb".freeze, "spec/addressable/uri_spec.rb".freeze, "spec/spec_helper.rb".freeze, "tasks/clobber.rake".freeze, "tasks/gem.rake".freeze, "tasks/git.rake".freeze, "tasks/metrics.rake".freeze, "tasks/profile.rake".freeze, "tasks/rspec.rake".freeze, "tasks/yard.rake".freeze]
|
17
|
+
s.homepage = "https://github.com/sporkmonger/addressable".freeze
|
18
|
+
s.licenses = ["Apache-2.0".freeze]
|
19
|
+
s.rdoc_options = ["--main".freeze, "README.md".freeze]
|
20
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.2".freeze)
|
21
|
+
s.rubygems_version = "3.5.11".freeze
|
22
|
+
s.summary = "URI Implementation".freeze
|
23
|
+
|
24
|
+
s.specification_version = 4
|
25
|
+
|
26
|
+
s.add_runtime_dependency(%q<public_suffix>.freeze, [">= 2.0.2".freeze, "< 7.0".freeze])
|
27
|
+
s.add_development_dependency(%q<bundler>.freeze, [">= 1.0".freeze, "< 3.0".freeze])
|
28
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2010-2013 thoughtbot, inc.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|