acfs 1.6.0 → 2.0.0
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/CHANGELOG.md +144 -115
- data/README.md +33 -41
- data/acfs.gemspec +9 -10
- data/lib/acfs/adapter/typhoeus.rb +6 -4
- data/lib/acfs/collections/paginatable.rb +11 -11
- data/lib/acfs/configuration.rb +13 -3
- data/lib/acfs/errors.rb +7 -7
- data/lib/acfs/global.rb +4 -4
- data/lib/acfs/location.rb +2 -2
- data/lib/acfs/operation.rb +1 -1
- data/lib/acfs/request/callbacks.rb +1 -1
- data/lib/acfs/request.rb +1 -1
- data/lib/acfs/resource/attributes/uuid.rb +2 -2
- data/lib/acfs/resource/attributes.rb +1 -1
- data/lib/acfs/resource/dirty.rb +1 -1
- data/lib/acfs/resource/locatable.rb +2 -2
- data/lib/acfs/resource/operational.rb +4 -4
- data/lib/acfs/resource/query_methods.rb +5 -5
- data/lib/acfs/response/status.rb +1 -1
- data/lib/acfs/runner.rb +15 -15
- data/lib/acfs/service/middleware.rb +2 -2
- data/lib/acfs/singleton_resource.rb +2 -2
- data/lib/acfs/stub.rb +35 -30
- data/lib/acfs/version.rb +3 -3
- data/lib/acfs/yard.rb +1 -0
- data/spec/acfs/adapter/typhoeus_spec.rb +4 -4
- data/spec/acfs/collection_spec.rb +66 -41
- data/spec/acfs/configuration_spec.rb +22 -12
- data/spec/acfs/global_spec.rb +14 -12
- data/spec/acfs/location_spec.rb +1 -1
- data/spec/acfs/middleware/json_spec.rb +9 -9
- data/spec/acfs/middleware/{msgpack_spec.rb → message_pack_spec.rb} +7 -7
- data/spec/acfs/operation_spec.rb +4 -3
- data/spec/acfs/request/callbacks_spec.rb +19 -10
- data/spec/acfs/request_spec.rb +15 -19
- data/spec/acfs/resource/attributes/boolean_spec.rb +32 -32
- data/spec/acfs/resource/attributes/date_time_spec.rb +17 -9
- data/spec/acfs/resource/attributes/dict_spec.rb +16 -10
- data/spec/acfs/resource/attributes/float_spec.rb +21 -11
- data/spec/acfs/resource/attributes/integer_spec.rb +11 -6
- data/spec/acfs/resource/attributes/list_spec.rb +13 -8
- data/spec/acfs/resource/attributes/uuid_spec.rb +14 -8
- data/spec/acfs/resource/attributes_spec.rb +33 -32
- data/spec/acfs/resource/dirty_spec.rb +7 -4
- data/spec/acfs/resource/initialization_spec.rb +4 -5
- data/spec/acfs/resource/loadable_spec.rb +3 -1
- data/spec/acfs/resource/locatable_spec.rb +24 -18
- data/spec/acfs/resource/{persistance_spec.rb → persistence_spec.rb} +119 -87
- data/spec/acfs/resource/query_methods_spec.rb +144 -111
- data/spec/acfs/resource/validation_spec.rb +34 -27
- data/spec/acfs/response/formats_spec.rb +8 -8
- data/spec/acfs/response/status_spec.rb +16 -9
- data/spec/acfs/runner_spec.rb +22 -20
- data/spec/acfs/service/middleware_spec.rb +3 -3
- data/spec/acfs/service_spec.rb +5 -4
- data/spec/acfs/singleton_resource_spec.rb +2 -1
- data/spec/acfs/stub_spec.rb +64 -65
- data/spec/acfs_spec.rb +112 -94
- data/spec/spec_helper.rb +10 -6
- data/spec/support/hash.rb +1 -1
- data/spec/support/response.rb +2 -2
- data/spec/support/service.rb +1 -1
- data/spec/support/shared/find_callbacks.rb +14 -10
- 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 +208 -70
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45e81963e8044fcd6dbb2c5b3e8026de90c77d35e8ec5de2e73a8a3afaa839a5
|
|
4
|
+
data.tar.gz: 3507a04d6fcae2bfb6e637c3ef67eeaa9f9d02a154a635fe6b767e0d53669220
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b0fc88443461e879c6c5b10375b7cef376d9690961935165d72be6acc91038a9101ea9073f2ff63f8f3efe1d19656ce7c431b37562ecf4d93deec78a0cbcfc2
|
|
7
|
+
data.tar.gz: 6518c3f15372487c8d3d4af937c0e9cb97e53f6aea08d5f2bd0a18da3043f105e7300c59b85ca154f7f7d20962587fe4812e8dc36e37bda082172c7e06d03223
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
3
|
## Unreleased
|
|
4
|
+
|
|
6
5
|
---
|
|
7
6
|
|
|
8
7
|
### New
|
|
@@ -13,360 +12,390 @@
|
|
|
13
12
|
|
|
14
13
|
### Breaks
|
|
15
14
|
|
|
15
|
+
## 2.0.0 - (2025-01-17)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
### New
|
|
20
|
+
|
|
21
|
+
- Add support for Rails 7.2 and 8.0
|
|
22
|
+
- Add support for Ruby 3.3 and 3.4
|
|
23
|
+
|
|
24
|
+
### Changes
|
|
25
|
+
|
|
26
|
+
- Use newer Ruby syntax for performance and code improvements
|
|
27
|
+
|
|
28
|
+
### Breaks
|
|
29
|
+
|
|
30
|
+
- Require Ruby 3.1+ and Rails 7.0+
|
|
31
|
+
|
|
32
|
+
## 1.7.0 - (2022-01-24)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
### New
|
|
37
|
+
|
|
38
|
+
- Support for Ruby 3.1 and Rails 7.0
|
|
16
39
|
|
|
17
40
|
## 1.6.0 - (2021-01-07)
|
|
41
|
+
|
|
18
42
|
---
|
|
19
43
|
|
|
20
44
|
### New
|
|
21
|
-
* Support Ruby 3.0
|
|
22
|
-
* Use keyword arguments in parameters and when calling methods
|
|
23
45
|
|
|
46
|
+
- Support Ruby 3.0
|
|
47
|
+
- Use keyword arguments in parameters and when calling methods
|
|
24
48
|
|
|
25
49
|
## 1.5.1 - (2020-12-30)
|
|
50
|
+
|
|
26
51
|
---
|
|
27
52
|
|
|
28
53
|
### Changes
|
|
29
|
-
* Revert back to using `::MultiJson`
|
|
30
54
|
|
|
55
|
+
- Revert to using `::MultiJson`
|
|
31
56
|
|
|
32
57
|
## 1.5.0 - (2020-06-19)
|
|
58
|
+
|
|
33
59
|
---
|
|
34
60
|
|
|
35
61
|
### New
|
|
36
|
-
|
|
62
|
+
|
|
63
|
+
- Error classes for more HTTP error responses: `400`, `401`, `403`, `500`, `502`, `503`, `504`.
|
|
37
64
|
|
|
38
65
|
### Changes
|
|
39
|
-
* Replace deprecated MultiJson with core JSON module
|
|
40
66
|
|
|
67
|
+
- Replace deprecated `MultiJson` with core JSON module
|
|
41
68
|
|
|
42
69
|
## 1.4.0 - (2020-06-12)
|
|
70
|
+
|
|
43
71
|
---
|
|
44
72
|
|
|
45
73
|
### New
|
|
46
|
-
* Use strict TCP keepalive probing by default (5s/5s)
|
|
47
|
-
* Adapter accepts curl request opts
|
|
48
74
|
|
|
75
|
+
- Use strict TCP keep alive probing by default (5s/5s)
|
|
76
|
+
- Adapter accepts curl request opts
|
|
49
77
|
|
|
50
78
|
## 1.3.4 - (2020-03-22)
|
|
79
|
+
|
|
51
80
|
---
|
|
52
81
|
|
|
53
82
|
### Fixes
|
|
54
|
-
* Empty package build for Gem release 1.3.3
|
|
55
83
|
|
|
84
|
+
- Empty package build for Gem release 1.3.3
|
|
56
85
|
|
|
57
86
|
## 1.3.3 - (2020-03-22)
|
|
87
|
+
|
|
58
88
|
---
|
|
59
89
|
|
|
60
90
|
### Changes
|
|
61
|
-
* Improved handling of low-level connection errors and timeouts
|
|
62
91
|
|
|
92
|
+
- Improved handling of low-level connection errors and timeouts
|
|
63
93
|
|
|
64
94
|
## 1.3.2 - (2019-09-24)
|
|
65
95
|
|
|
66
|
-
|
|
67
96
|
### Fixes
|
|
68
|
-
* Fix Acfs.on callbacks for empty find_by results (#42)
|
|
69
97
|
|
|
98
|
+
- Fix `Acfs.on` callbacks for empty `find_by` results (#42)
|
|
70
99
|
|
|
71
100
|
---
|
|
72
101
|
|
|
73
102
|
## 1.3.1 - (2019-07-02)
|
|
74
103
|
|
|
75
104
|
### Fixes
|
|
76
|
-
|
|
105
|
+
|
|
106
|
+
- Improve URL argument encoding when building resource requests
|
|
77
107
|
|
|
78
108
|
## 1.3.0
|
|
79
109
|
|
|
80
|
-
|
|
110
|
+
- Change default error messages to a more compact representation to ease integration with error reporting services.
|
|
81
111
|
|
|
82
112
|
## 1.2.1
|
|
83
113
|
|
|
84
|
-
|
|
114
|
+
- Fix issues with resources errors if response payload differs from the expected `field => [messages]`, such as `field => message` or `[messages]`.
|
|
85
115
|
|
|
86
116
|
## 1.2.0
|
|
87
117
|
|
|
88
|
-
|
|
118
|
+
- Add Rails 5.2 compatibility
|
|
89
119
|
|
|
90
120
|
## 1.1.1
|
|
91
121
|
|
|
92
|
-
|
|
122
|
+
- `each_item`: Pass collection to provided block (#40)
|
|
93
123
|
|
|
94
124
|
## 1.1.0
|
|
95
125
|
|
|
96
|
-
|
|
126
|
+
- Add support for Rails 5.1
|
|
97
127
|
|
|
98
128
|
## 1.0.1
|
|
99
129
|
|
|
100
|
-
|
|
130
|
+
- Fix deprecation warnings when using ::Mime
|
|
101
131
|
|
|
102
132
|
## 1.0.0
|
|
103
133
|
|
|
104
|
-
|
|
105
|
-
|
|
134
|
+
- Switch to first non-development major as its long time used in production.
|
|
135
|
+
- Fix NewRelic RPM inference with middleware stack inherited from `ActionDispatch::MiddlewareStack`.
|
|
106
136
|
|
|
107
137
|
## 0.48.0
|
|
108
138
|
|
|
109
|
-
|
|
110
|
-
|
|
139
|
+
- Remove #attribute_types broke since f7e4109 (Sep 2013, v0.23)
|
|
140
|
+
- Fix attribute inheritance on child classes broken since commit 7cf1d11 (Apr 2014, v0.43)
|
|
111
141
|
|
|
112
142
|
## 0.47.0
|
|
113
143
|
|
|
114
|
-
|
|
144
|
+
- Change blank value handling of dict and list type (0a12ef1)
|
|
115
145
|
|
|
116
146
|
## 0.46.0
|
|
117
147
|
|
|
118
|
-
|
|
148
|
+
- Rework types system (#39)
|
|
119
149
|
|
|
120
150
|
## 0.45.0
|
|
121
151
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
152
|
+
- Fetching multiple records (`find(ary)`) is stable now, but untested (#38)
|
|
153
|
+
- Middleware stack is build on `ActionDispatch::MiddlewareStack` now
|
|
154
|
+
- Deprecate legacy middleware names (`xyEncoder`, `xyDecoder`)
|
|
125
155
|
|
|
126
156
|
## 0.44.0
|
|
127
157
|
|
|
128
|
-
|
|
129
|
-
limiting concurrency.
|
|
158
|
+
- Add option to configure adapter creation and pass option to `typhoeus` adapter e.g. limiting concurrency.
|
|
130
159
|
|
|
131
160
|
## 0.43.2
|
|
132
161
|
|
|
133
|
-
|
|
162
|
+
- add `total_count` for paginated collections
|
|
134
163
|
|
|
135
164
|
## 0.43.1
|
|
136
165
|
|
|
137
|
-
|
|
166
|
+
- Fix `:with` condition matching on stubs
|
|
138
167
|
|
|
139
168
|
## 0.43.0
|
|
140
169
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
170
|
+
- Remove `Acfs::Model` (inherit from `Acfs::Resource`)
|
|
171
|
+
- Stub does only a partial match of `:with` attributes now
|
|
172
|
+
- Allow blocks as stub `:return`s
|
|
144
173
|
|
|
145
174
|
## 0.42.0
|
|
146
175
|
|
|
147
|
-
|
|
176
|
+
- Add simple dict attribute type
|
|
148
177
|
|
|
149
178
|
## 0.40.0
|
|
150
179
|
|
|
151
|
-
|
|
180
|
+
- Change `Resource#persisted?` to return true if it is not new
|
|
152
181
|
|
|
153
182
|
## 0.39.1
|
|
154
183
|
|
|
155
|
-
|
|
184
|
+
- Fix automatic path parameter handling for #destroy
|
|
156
185
|
|
|
157
186
|
## 0.39.0
|
|
158
187
|
|
|
159
|
-
|
|
188
|
+
- Add new event `acfs.operation.before_process`
|
|
160
189
|
|
|
161
190
|
## 0.38.0
|
|
162
191
|
|
|
163
|
-
|
|
164
|
-
|
|
192
|
+
- Allow middlewares to abort request processing
|
|
193
|
+
- Allow middlewares to receive the request operation object (via the request)
|
|
165
194
|
|
|
166
195
|
## 0.37.0
|
|
167
196
|
|
|
168
|
-
|
|
197
|
+
- Add `Acfs.on`
|
|
169
198
|
|
|
170
199
|
## 0.36.0
|
|
171
200
|
|
|
172
|
-
|
|
201
|
+
- Add #each_page and #each_item query methods
|
|
173
202
|
|
|
174
203
|
## 0.35.0
|
|
175
204
|
|
|
176
|
-
|
|
205
|
+
- Add instrumentation support
|
|
177
206
|
|
|
178
207
|
## 0.34.1
|
|
179
208
|
|
|
180
|
-
|
|
209
|
+
- Fix leaking failed requests in request queues
|
|
181
210
|
|
|
182
211
|
## 0.34.0
|
|
183
212
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
213
|
+
- Add support for will_paginate view helper used with `Acfs::Collection`s
|
|
214
|
+
- Add support for pagination header added by [paginate-responder](https://github.com/jgraichen/paginate-responder)
|
|
215
|
+
- Improve `Resource#new?` detection by using `loaded?` instead of presence of `:id` attribute
|
|
187
216
|
|
|
188
217
|
## 0.33.0
|
|
189
218
|
|
|
190
|
-
|
|
191
|
-
|
|
219
|
+
- Do not raise errors on unknown attributes by default, add :unknown option.
|
|
220
|
+
- Add support to store unknown attributes
|
|
192
221
|
|
|
193
222
|
## 0.32.1
|
|
194
223
|
|
|
195
|
-
|
|
224
|
+
- Fix multiple callbacks on `QueryMethods#all`
|
|
196
225
|
|
|
197
226
|
## 0.32.0
|
|
198
227
|
|
|
199
|
-
|
|
228
|
+
- Add new attribute type `UUID`
|
|
200
229
|
|
|
201
230
|
## 0.31.0
|
|
202
231
|
|
|
203
|
-
|
|
232
|
+
- Add experimental support for multiple and chained paths with placeholders
|
|
204
233
|
|
|
205
234
|
## 0.30.0
|
|
206
235
|
|
|
207
|
-
|
|
236
|
+
- Add experimental support for multiple operation callbacks (Acfs.add_callback)
|
|
208
237
|
|
|
209
238
|
## 0.29.1
|
|
210
239
|
|
|
211
|
-
|
|
240
|
+
- Fix: rescue `NameError` and `NoMethodError` on invalid type
|
|
212
241
|
|
|
213
242
|
## 0.29.0
|
|
214
243
|
|
|
215
|
-
|
|
244
|
+
- Add find_by!
|
|
216
245
|
|
|
217
246
|
## 0.28.0
|
|
218
247
|
|
|
219
|
-
|
|
248
|
+
- Add find_by
|
|
220
249
|
|
|
221
250
|
## 0.27.0
|
|
222
251
|
|
|
223
|
-
|
|
224
|
-
|
|
252
|
+
- Reset method to clear stubs, request queues, internal state
|
|
253
|
+
- Add RSpec helper to enable stubs and clear state after each spec
|
|
225
254
|
|
|
226
255
|
## 0.26.0
|
|
227
256
|
|
|
228
|
-
|
|
257
|
+
- Add support for singleton resources
|
|
229
258
|
|
|
230
259
|
## 0.25.0
|
|
231
260
|
|
|
232
|
-
|
|
233
|
-
|
|
261
|
+
- Add option to allow blank attribute values (Johannes Jasper)
|
|
262
|
+
- Internal changes
|
|
234
263
|
|
|
235
264
|
## 0.24.0
|
|
236
265
|
|
|
237
|
-
|
|
238
|
-
|
|
266
|
+
- Fix issues with stubs using type inheritance
|
|
267
|
+
- Allow '1' as true value for boolean attributes (Tino Junge)
|
|
239
268
|
|
|
240
269
|
## 0.23.2
|
|
241
270
|
|
|
242
|
-
|
|
271
|
+
- Fix regression in delegator usage by #find due to resource type inheritance.
|
|
243
272
|
|
|
244
273
|
## 0.23.1
|
|
245
274
|
|
|
246
|
-
|
|
275
|
+
- Fix error class name typo
|
|
247
276
|
|
|
248
277
|
## 0.23.0
|
|
249
278
|
|
|
250
|
-
|
|
279
|
+
- Add Resource Type Inheritance
|
|
251
280
|
|
|
252
281
|
## 0.22.2
|
|
253
282
|
|
|
254
|
-
|
|
255
|
-
|
|
283
|
+
- Preserve errors received from service on revalidation (2f1fc178)
|
|
284
|
+
- Fix parameter ordering bug on stubs (1dc78dc8)
|
|
256
285
|
|
|
257
286
|
## 0.22.1
|
|
258
287
|
|
|
259
|
-
|
|
288
|
+
- Fix hash modification on iteration bug on `ActiveModel::Errors` due to string keys in error hash
|
|
260
289
|
|
|
261
290
|
## 0.22.0
|
|
262
291
|
|
|
263
|
-
|
|
292
|
+
- Fill local resource errors hash also on 422 responses when saving resources
|
|
264
293
|
|
|
265
294
|
## 0.21.1
|
|
266
295
|
|
|
267
|
-
|
|
296
|
+
- Fix wrong validation context
|
|
268
297
|
|
|
269
298
|
## 0.21.0
|
|
270
299
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
300
|
+
- Add update_attributes
|
|
301
|
+
- Add validation check to `save` method
|
|
302
|
+
- Inherit attributes to subclasses
|
|
274
303
|
|
|
275
304
|
## 0.20.0
|
|
276
305
|
|
|
277
|
-
|
|
278
|
-
|
|
306
|
+
- Remove messaging
|
|
307
|
+
- Introduce `Acfs::Resource`
|
|
279
308
|
|
|
280
309
|
## 0.19.0
|
|
281
310
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
311
|
+
- Add support for `DateTime` and `Float` attribute types
|
|
312
|
+
- Add experimental list attribute type
|
|
313
|
+
- Allow block usage in stub `with` option
|
|
314
|
+
- Allow testing if operation stubs were called and how often
|
|
315
|
+
- Fix bug on operation stubs
|
|
287
316
|
|
|
288
317
|
## 0.18.0
|
|
289
318
|
|
|
290
|
-
|
|
319
|
+
- Basic DELETE operations
|
|
291
320
|
|
|
292
321
|
## 0.17.0
|
|
293
322
|
|
|
294
|
-
|
|
295
|
-
|
|
323
|
+
- Basic messaging
|
|
324
|
+
- Extensible YARD documentation
|
|
296
325
|
|
|
297
326
|
## 0.16.0
|
|
298
327
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
328
|
+
- Add YAML configuration
|
|
329
|
+
- Add external configuration for services
|
|
330
|
+
- Add Rubinius support
|
|
302
331
|
|
|
303
332
|
## 0.15.0
|
|
304
333
|
|
|
305
|
-
|
|
334
|
+
- Add stubbing capabilities for resources
|
|
306
335
|
|
|
307
336
|
## 0.14.0 & 0.13.0
|
|
308
337
|
|
|
309
|
-
|
|
338
|
+
- Fix response attributes
|
|
310
339
|
|
|
311
340
|
## 0.12.0
|
|
312
341
|
|
|
313
|
-
|
|
314
|
-
|
|
342
|
+
- Add JRuby support
|
|
343
|
+
- Improve handling of error responses (422)
|
|
315
344
|
|
|
316
345
|
## 0.11.0
|
|
317
346
|
|
|
318
|
-
|
|
319
|
-
|
|
347
|
+
- Add Logger Middleware
|
|
348
|
+
- Add handling of error responses
|
|
320
349
|
|
|
321
350
|
## 0.10.0
|
|
322
351
|
|
|
323
|
-
|
|
352
|
+
- Return hash with indifferent access for resource attributes
|
|
324
353
|
|
|
325
354
|
## 0.9.0
|
|
326
355
|
|
|
327
|
-
|
|
356
|
+
- Add create operation
|
|
328
357
|
|
|
329
358
|
## 0.8.0
|
|
330
359
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
360
|
+
- Add save operation (PUT and POST)
|
|
361
|
+
- Add JSON and MessagePack encoder middlewares for encoding request data
|
|
362
|
+
- `ActiveModel::Dirty`
|
|
363
|
+
- Add persistent state methods
|
|
335
364
|
|
|
336
365
|
## 0.7.0
|
|
337
366
|
|
|
338
|
-
|
|
367
|
+
- Per-service middleware stack
|
|
339
368
|
|
|
340
369
|
## 0.6.0
|
|
341
370
|
|
|
342
|
-
|
|
343
|
-
|
|
371
|
+
- Add support for multiple IDs for `.find`
|
|
372
|
+
- Add MessagePack support
|
|
344
373
|
|
|
345
374
|
## 0.5.1
|
|
346
375
|
|
|
347
|
-
|
|
376
|
+
- Fix mime type parsing for mime types with additional parameters (`ActionPack` < 4.0)
|
|
348
377
|
|
|
349
378
|
## 0.5.0
|
|
350
379
|
|
|
351
|
-
|
|
380
|
+
- Add mime type support for responses
|
|
352
381
|
|
|
353
382
|
## 0.4.0
|
|
354
383
|
|
|
355
|
-
|
|
356
|
-
|
|
384
|
+
- Improve JSON response detection
|
|
385
|
+
- Add boolean attribute type
|
|
357
386
|
|
|
358
387
|
## 0.3.0
|
|
359
388
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
389
|
+
- Add tracking for loading state (if resource is loaded or queued)
|
|
390
|
+
- Add JSON middleware to decode responses
|
|
391
|
+
- Add middleware support
|
|
392
|
+
- Add method to fetch single resources or list of resources
|
|
393
|
+
- Use typhoeus as HTTP library for parallel request processing
|
|
365
394
|
|
|
366
395
|
## 0.2.0
|
|
367
396
|
|
|
368
|
-
|
|
397
|
+
- Allow defining resources and attributes
|
|
369
398
|
|
|
370
399
|
## 0.1.0
|
|
371
400
|
|
|
372
|
-
|
|
401
|
+
- Project start
|