acfs 1.6.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (258) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +144 -115
  3. data/README.md +33 -41
  4. data/acfs.gemspec +9 -10
  5. data/lib/acfs/adapter/typhoeus.rb +6 -4
  6. data/lib/acfs/collections/paginatable.rb +11 -11
  7. data/lib/acfs/configuration.rb +13 -3
  8. data/lib/acfs/errors.rb +7 -7
  9. data/lib/acfs/global.rb +4 -4
  10. data/lib/acfs/location.rb +2 -2
  11. data/lib/acfs/operation.rb +1 -1
  12. data/lib/acfs/request/callbacks.rb +1 -1
  13. data/lib/acfs/request.rb +1 -1
  14. data/lib/acfs/resource/attributes/uuid.rb +2 -2
  15. data/lib/acfs/resource/attributes.rb +1 -1
  16. data/lib/acfs/resource/dirty.rb +1 -1
  17. data/lib/acfs/resource/locatable.rb +2 -2
  18. data/lib/acfs/resource/operational.rb +4 -4
  19. data/lib/acfs/resource/query_methods.rb +5 -5
  20. data/lib/acfs/response/status.rb +1 -1
  21. data/lib/acfs/runner.rb +15 -15
  22. data/lib/acfs/service/middleware.rb +2 -2
  23. data/lib/acfs/singleton_resource.rb +2 -2
  24. data/lib/acfs/stub.rb +35 -30
  25. data/lib/acfs/version.rb +3 -3
  26. data/lib/acfs/yard.rb +1 -0
  27. data/spec/acfs/adapter/typhoeus_spec.rb +4 -4
  28. data/spec/acfs/collection_spec.rb +66 -41
  29. data/spec/acfs/configuration_spec.rb +22 -12
  30. data/spec/acfs/global_spec.rb +14 -12
  31. data/spec/acfs/location_spec.rb +1 -1
  32. data/spec/acfs/middleware/json_spec.rb +9 -9
  33. data/spec/acfs/middleware/{msgpack_spec.rb → message_pack_spec.rb} +7 -7
  34. data/spec/acfs/operation_spec.rb +4 -3
  35. data/spec/acfs/request/callbacks_spec.rb +19 -10
  36. data/spec/acfs/request_spec.rb +15 -19
  37. data/spec/acfs/resource/attributes/boolean_spec.rb +32 -32
  38. data/spec/acfs/resource/attributes/date_time_spec.rb +17 -9
  39. data/spec/acfs/resource/attributes/dict_spec.rb +16 -10
  40. data/spec/acfs/resource/attributes/float_spec.rb +21 -11
  41. data/spec/acfs/resource/attributes/integer_spec.rb +11 -6
  42. data/spec/acfs/resource/attributes/list_spec.rb +13 -8
  43. data/spec/acfs/resource/attributes/uuid_spec.rb +14 -8
  44. data/spec/acfs/resource/attributes_spec.rb +33 -32
  45. data/spec/acfs/resource/dirty_spec.rb +7 -4
  46. data/spec/acfs/resource/initialization_spec.rb +4 -5
  47. data/spec/acfs/resource/loadable_spec.rb +3 -1
  48. data/spec/acfs/resource/locatable_spec.rb +24 -18
  49. data/spec/acfs/resource/{persistance_spec.rb → persistence_spec.rb} +119 -87
  50. data/spec/acfs/resource/query_methods_spec.rb +144 -111
  51. data/spec/acfs/resource/validation_spec.rb +34 -27
  52. data/spec/acfs/response/formats_spec.rb +8 -8
  53. data/spec/acfs/response/status_spec.rb +16 -9
  54. data/spec/acfs/runner_spec.rb +22 -20
  55. data/spec/acfs/service/middleware_spec.rb +3 -3
  56. data/spec/acfs/service_spec.rb +5 -4
  57. data/spec/acfs/singleton_resource_spec.rb +2 -1
  58. data/spec/acfs/stub_spec.rb +64 -65
  59. data/spec/acfs_spec.rb +112 -94
  60. data/spec/spec_helper.rb +10 -6
  61. data/spec/support/hash.rb +1 -1
  62. data/spec/support/response.rb +2 -2
  63. data/spec/support/service.rb +1 -1
  64. data/spec/support/shared/find_callbacks.rb +14 -10
  65. data/vendor/bundle/ruby/3.4.0/bundler/gems/rubocop-config-67802c9d1826/LICENSE +21 -0
  66. data/vendor/bundle/ruby/3.4.0/bundler/gems/rubocop-config-67802c9d1826/README.md +23 -0
  67. data/vendor/bundle/ruby/3.4.0/bundler/gems/rubocop-config-67802c9d1826/rubocop-config.gemspec +31 -0
  68. data/vendor/bundle/ruby/3.4.0/gems/actionpack-8.0.1/CHANGELOG.md +205 -0
  69. data/vendor/bundle/ruby/3.4.0/gems/actionpack-8.0.1/MIT-LICENSE +21 -0
  70. data/vendor/bundle/ruby/3.4.0/gems/actionpack-8.0.1/README.rdoc +57 -0
  71. data/vendor/bundle/ruby/3.4.0/gems/actionview-8.0.1/CHANGELOG.md +67 -0
  72. data/vendor/bundle/ruby/3.4.0/gems/actionview-8.0.1/MIT-LICENSE +21 -0
  73. data/vendor/bundle/ruby/3.4.0/gems/actionview-8.0.1/README.rdoc +40 -0
  74. data/vendor/bundle/ruby/3.4.0/gems/activemodel-8.0.1/CHANGELOG.md +110 -0
  75. data/vendor/bundle/ruby/3.4.0/gems/activemodel-8.0.1/MIT-LICENSE +21 -0
  76. data/vendor/bundle/ruby/3.4.0/gems/activemodel-8.0.1/README.rdoc +266 -0
  77. data/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/CHANGELOG.md +157 -0
  78. data/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/MIT-LICENSE +20 -0
  79. data/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/README.rdoc +40 -0
  80. data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/CHANGELOG.md +301 -0
  81. data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/LICENSE.txt +202 -0
  82. data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/README.md +121 -0
  83. data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/addressable.gemspec +28 -0
  84. data/vendor/bundle/ruby/3.4.0/gems/appraisal-2.5.0/MIT-LICENSE +21 -0
  85. data/vendor/bundle/ruby/3.4.0/gems/appraisal-2.5.0/README.md +243 -0
  86. data/vendor/bundle/ruby/3.4.0/gems/appraisal-2.5.0/appraisal.gemspec +29 -0
  87. data/vendor/bundle/ruby/3.4.0/gems/base64-0.2.0/LICENSE.txt +22 -0
  88. data/vendor/bundle/ruby/3.4.0/gems/base64-0.2.0/README.md +48 -0
  89. data/vendor/bundle/ruby/3.4.0/gems/benchmark-0.4.0/README.md +138 -0
  90. data/vendor/bundle/ruby/3.4.0/gems/benchmark-0.4.0/benchmark.gemspec +32 -0
  91. data/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.1.9/LICENSE +56 -0
  92. data/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.1.9/bigdecimal.gemspec +57 -0
  93. data/vendor/bundle/ruby/3.4.0/gems/builder-3.3.0/MIT-LICENSE +20 -0
  94. data/vendor/bundle/ruby/3.4.0/gems/builder-3.3.0/README.md +258 -0
  95. data/vendor/bundle/ruby/3.4.0/gems/builder-3.3.0/builder.gemspec +49 -0
  96. data/vendor/bundle/ruby/3.4.0/gems/concurrent-ruby-1.3.5/CHANGELOG.md +603 -0
  97. data/vendor/bundle/ruby/3.4.0/gems/concurrent-ruby-1.3.5/LICENSE.txt +21 -0
  98. data/vendor/bundle/ruby/3.4.0/gems/concurrent-ruby-1.3.5/README.md +407 -0
  99. data/vendor/bundle/ruby/3.4.0/gems/connection_pool-2.5.0/LICENSE +20 -0
  100. data/vendor/bundle/ruby/3.4.0/gems/connection_pool-2.5.0/README.md +167 -0
  101. data/vendor/bundle/ruby/3.4.0/gems/connection_pool-2.5.0/connection_pool.gemspec +24 -0
  102. data/vendor/bundle/ruby/3.4.0/gems/crack-1.0.0/LICENSE +20 -0
  103. data/vendor/bundle/ruby/3.4.0/gems/crack-1.0.0/README.md +43 -0
  104. data/vendor/bundle/ruby/3.4.0/gems/crass-1.0.6/LICENSE +18 -0
  105. data/vendor/bundle/ruby/3.4.0/gems/crass-1.0.6/README.md +192 -0
  106. data/vendor/bundle/ruby/3.4.0/gems/crass-1.0.6/crass.gemspec +31 -0
  107. data/vendor/bundle/ruby/3.4.0/gems/diff-lcs-1.5.1/License.md +41 -0
  108. data/vendor/bundle/ruby/3.4.0/gems/diff-lcs-1.5.1/README.rdoc +84 -0
  109. data/vendor/bundle/ruby/3.4.0/gems/drb-2.2.1/LICENSE.txt +22 -0
  110. data/vendor/bundle/ruby/3.4.0/gems/drb-2.2.1/drb.gemspec +41 -0
  111. data/vendor/bundle/ruby/3.4.0/gems/erubi-1.13.1/CHANGELOG +111 -0
  112. data/vendor/bundle/ruby/3.4.0/gems/erubi-1.13.1/MIT-LICENSE +21 -0
  113. data/vendor/bundle/ruby/3.4.0/gems/erubi-1.13.1/README.rdoc +151 -0
  114. data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/CHANGELOG.md +375 -0
  115. data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/LICENSE +20 -0
  116. data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/README.md +118 -0
  117. data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/ethon.gemspec +26 -0
  118. data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu/CHANGELOG.md +465 -0
  119. data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu/LICENSE +24 -0
  120. data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu/LICENSE.SPECS +22 -0
  121. data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu/README.md +137 -0
  122. data/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu/ffi.gemspec +42 -0
  123. data/vendor/bundle/ruby/3.4.0/gems/hashdiff-1.1.2/LICENSE +19 -0
  124. data/vendor/bundle/ruby/3.4.0/gems/hashdiff-1.1.2/README.md +298 -0
  125. data/vendor/bundle/ruby/3.4.0/gems/hashdiff-1.1.2/changelog.md +119 -0
  126. data/vendor/bundle/ruby/3.4.0/gems/hashdiff-1.1.2/hashdiff.gemspec +39 -0
  127. data/vendor/bundle/ruby/3.4.0/gems/i18n-1.14.6/MIT-LICENSE +20 -0
  128. data/vendor/bundle/ruby/3.4.0/gems/i18n-1.14.6/README.md +127 -0
  129. data/vendor/bundle/ruby/3.4.0/gems/json-2.9.1/README.md +195 -0
  130. data/vendor/bundle/ruby/3.4.0/gems/json-2.9.1/json.gemspec +64 -0
  131. data/vendor/bundle/ruby/3.4.0/gems/logger-1.6.5/README.md +104 -0
  132. data/vendor/bundle/ruby/3.4.0/gems/logger-1.6.5/logger.gemspec +28 -0
  133. data/vendor/bundle/ruby/3.4.0/gems/loofah-2.24.0/CHANGELOG.md +591 -0
  134. data/vendor/bundle/ruby/3.4.0/gems/loofah-2.24.0/MIT-LICENSE.txt +23 -0
  135. data/vendor/bundle/ruby/3.4.0/gems/loofah-2.24.0/README.md +410 -0
  136. data/vendor/bundle/ruby/3.4.0/gems/minitest-5.25.4/README.rdoc +835 -0
  137. data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/CHANGELOG.md +275 -0
  138. data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/LICENSE.md +20 -0
  139. data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/README.md +121 -0
  140. data/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.18.1-x86_64-linux-gnu/LICENSE-DEPENDENCIES.md +2224 -0
  141. data/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.18.1-x86_64-linux-gnu/LICENSE.md +9 -0
  142. data/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.18.1-x86_64-linux-gnu/README.md +293 -0
  143. data/vendor/bundle/ruby/3.4.0/gems/public_suffix-6.0.1/CHANGELOG.md +491 -0
  144. data/vendor/bundle/ruby/3.4.0/gems/public_suffix-6.0.1/LICENSE.txt +22 -0
  145. data/vendor/bundle/ruby/3.4.0/gems/public_suffix-6.0.1/README.md +222 -0
  146. data/vendor/bundle/ruby/3.4.0/gems/racc-1.8.1/ChangeLog +846 -0
  147. data/vendor/bundle/ruby/3.4.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
  148. data/vendor/bundle/ruby/3.4.0/gems/racc-1.8.1/README.rdoc +60 -0
  149. data/vendor/bundle/ruby/3.4.0/gems/rack-3.1.8/CHANGELOG.md +998 -0
  150. data/vendor/bundle/ruby/3.4.0/gems/rack-3.1.8/MIT-LICENSE +20 -0
  151. data/vendor/bundle/ruby/3.4.0/gems/rack-3.1.8/README.md +328 -0
  152. data/vendor/bundle/ruby/3.4.0/gems/rack-session-2.1.0/license.md +72 -0
  153. data/vendor/bundle/ruby/3.4.0/gems/rack-session-2.1.0/readme.md +47 -0
  154. data/vendor/bundle/ruby/3.4.0/gems/rack-test-2.2.0/MIT-LICENSE.txt +20 -0
  155. data/vendor/bundle/ruby/3.4.0/gems/rack-test-2.2.0/README.md +139 -0
  156. data/vendor/bundle/ruby/3.4.0/gems/rails-dom-testing-2.2.0/MIT-LICENSE +23 -0
  157. data/vendor/bundle/ruby/3.4.0/gems/rails-dom-testing-2.2.0/README.md +91 -0
  158. data/vendor/bundle/ruby/3.4.0/gems/rails-html-sanitizer-1.6.2/CHANGELOG.md +255 -0
  159. data/vendor/bundle/ruby/3.4.0/gems/rails-html-sanitizer-1.6.2/MIT-LICENSE +23 -0
  160. data/vendor/bundle/ruby/3.4.0/gems/rails-html-sanitizer-1.6.2/README.md +267 -0
  161. data/vendor/bundle/ruby/3.4.0/gems/rake-13.2.1/MIT-LICENSE +21 -0
  162. data/vendor/bundle/ruby/3.4.0/gems/rake-13.2.1/README.rdoc +155 -0
  163. data/vendor/bundle/ruby/3.4.0/gems/rake-13.2.1/rake.gemspec +101 -0
  164. data/vendor/bundle/ruby/3.4.0/gems/rake-release-1.3.0/LICENSE +21 -0
  165. data/vendor/bundle/ruby/3.4.0/gems/rake-release-1.3.0/README.md +107 -0
  166. data/vendor/bundle/ruby/3.4.0/gems/rake-release-1.3.0/rake-release.gemspec +23 -0
  167. data/vendor/bundle/ruby/3.4.0/gems/rexml-3.4.0/LICENSE.txt +22 -0
  168. data/vendor/bundle/ruby/3.4.0/gems/rexml-3.4.0/README.md +57 -0
  169. data/vendor/bundle/ruby/3.4.0/gems/rspec-3.13.0/LICENSE.md +27 -0
  170. data/vendor/bundle/ruby/3.4.0/gems/rspec-3.13.0/README.md +47 -0
  171. data/vendor/bundle/ruby/3.4.0/gems/rspec-collection_matchers-1.2.1/Changelog.md +68 -0
  172. data/vendor/bundle/ruby/3.4.0/gems/rspec-collection_matchers-1.2.1/LICENSE.txt +27 -0
  173. data/vendor/bundle/ruby/3.4.0/gems/rspec-collection_matchers-1.2.1/README.md +76 -0
  174. data/vendor/bundle/ruby/3.4.0/gems/rspec-collection_matchers-1.2.1/rspec-collection_matchers.gemspec +33 -0
  175. data/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.2/Changelog.md +2415 -0
  176. data/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.2/LICENSE.md +26 -0
  177. data/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.2/README.md +389 -0
  178. data/vendor/bundle/ruby/3.4.0/gems/rspec-expectations-3.13.3/Changelog.md +1352 -0
  179. data/vendor/bundle/ruby/3.4.0/gems/rspec-expectations-3.13.3/LICENSE.md +25 -0
  180. data/vendor/bundle/ruby/3.4.0/gems/rspec-expectations-3.13.3/README.md +326 -0
  181. data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/Changelog.md +73 -0
  182. data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/LICENSE.txt +27 -0
  183. data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/README.md +104 -0
  184. data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/rspec-its.gemspec +31 -0
  185. data/vendor/bundle/ruby/3.4.0/gems/rspec-mocks-3.13.2/Changelog.md +1299 -0
  186. data/vendor/bundle/ruby/3.4.0/gems/rspec-mocks-3.13.2/LICENSE.md +25 -0
  187. data/vendor/bundle/ruby/3.4.0/gems/rspec-mocks-3.13.2/README.md +465 -0
  188. data/vendor/bundle/ruby/3.4.0/gems/rspec-support-3.13.2/Changelog.md +408 -0
  189. data/vendor/bundle/ruby/3.4.0/gems/rspec-support-3.13.2/LICENSE.md +23 -0
  190. data/vendor/bundle/ruby/3.4.0/gems/rspec-support-3.13.2/README.md +40 -0
  191. data/vendor/bundle/ruby/3.4.0/gems/securerandom-0.4.1/README.md +72 -0
  192. data/vendor/bundle/ruby/3.4.0/gems/thor-1.3.2/LICENSE.md +20 -0
  193. data/vendor/bundle/ruby/3.4.0/gems/thor-1.3.2/README.md +45 -0
  194. data/vendor/bundle/ruby/3.4.0/gems/thor-1.3.2/thor.gemspec +33 -0
  195. data/vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/CHANGELOG.md +410 -0
  196. data/vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/LICENSE +22 -0
  197. data/vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/README.md +588 -0
  198. data/vendor/bundle/ruby/3.4.0/gems/typhoeus-1.4.1/typhoeus.gemspec +25 -0
  199. data/vendor/bundle/ruby/3.4.0/gems/tzinfo-2.0.6/LICENSE +19 -0
  200. data/vendor/bundle/ruby/3.4.0/gems/tzinfo-2.0.6/README.md +406 -0
  201. data/vendor/bundle/ruby/3.4.0/gems/uri-1.0.2/README.md +55 -0
  202. data/vendor/bundle/ruby/3.4.0/gems/useragent-0.16.11/LICENSE +20 -0
  203. data/vendor/bundle/ruby/3.4.0/gems/useragent-0.16.11/README.md +42 -0
  204. data/vendor/bundle/ruby/3.4.0/gems/webmock-3.24.0/CHANGELOG.md +2104 -0
  205. data/vendor/bundle/ruby/3.4.0/gems/webmock-3.24.0/LICENSE +20 -0
  206. data/vendor/bundle/ruby/3.4.0/gems/webmock-3.24.0/README.md +1222 -0
  207. data/vendor/bundle/ruby/3.4.0/specifications/actionpack-8.0.1.gemspec +36 -0
  208. data/vendor/bundle/ruby/3.4.0/specifications/actionview-8.0.1.gemspec +33 -0
  209. data/vendor/bundle/ruby/3.4.0/specifications/activemodel-8.0.1.gemspec +26 -0
  210. data/vendor/bundle/ruby/3.4.0/specifications/activesupport-8.0.1.gemspec +38 -0
  211. data/vendor/bundle/ruby/3.4.0/specifications/addressable-2.8.7.gemspec +30 -0
  212. data/vendor/bundle/ruby/3.4.0/specifications/appraisal-2.5.0.gemspec +31 -0
  213. data/vendor/bundle/ruby/3.4.0/specifications/base64-0.2.0.gemspec +23 -0
  214. data/vendor/bundle/ruby/3.4.0/specifications/benchmark-0.4.0.gemspec +23 -0
  215. data/vendor/bundle/ruby/3.4.0/specifications/bigdecimal-3.1.9.gemspec +25 -0
  216. data/vendor/bundle/ruby/3.4.0/specifications/builder-3.3.0.gemspec +22 -0
  217. data/vendor/bundle/ruby/3.4.0/specifications/concurrent-ruby-1.3.5.gemspec +24 -0
  218. data/vendor/bundle/ruby/3.4.0/specifications/connection_pool-2.5.0.gemspec +28 -0
  219. data/vendor/bundle/ruby/3.4.0/specifications/crack-1.0.0.gemspec +27 -0
  220. data/vendor/bundle/ruby/3.4.0/specifications/crass-1.0.6.gemspec +27 -0
  221. data/vendor/bundle/ruby/3.4.0/specifications/diff-lcs-1.5.1.gemspec +37 -0
  222. data/vendor/bundle/ruby/3.4.0/specifications/drb-2.2.1.gemspec +22 -0
  223. data/vendor/bundle/ruby/3.4.0/specifications/erubi-1.13.1.gemspec +29 -0
  224. data/vendor/bundle/ruby/3.4.0/specifications/ethon-0.16.0.gemspec +24 -0
  225. data/vendor/bundle/ruby/3.4.0/specifications/ffi-1.17.1-x86_64-linux-gnu.gemspec +31 -0
  226. data/vendor/bundle/ruby/3.4.0/specifications/hashdiff-1.1.2.gemspec +30 -0
  227. data/vendor/bundle/ruby/3.4.0/specifications/i18n-1.14.6.gemspec +27 -0
  228. data/vendor/bundle/ruby/3.4.0/specifications/json-2.9.1.gemspec +0 -0
  229. data/vendor/bundle/ruby/3.4.0/specifications/logger-1.6.5.gemspec +22 -0
  230. data/vendor/bundle/ruby/3.4.0/specifications/loofah-2.24.0.gemspec +27 -0
  231. data/vendor/bundle/ruby/3.4.0/specifications/minitest-5.25.4.gemspec +31 -0
  232. data/vendor/bundle/ruby/3.4.0/specifications/multi_json-1.15.0.gemspec +26 -0
  233. data/vendor/bundle/ruby/3.4.0/specifications/nokogiri-1.18.1-x86_64-linux-gnu.gemspec +31 -0
  234. data/vendor/bundle/ruby/3.4.0/specifications/public_suffix-6.0.1.gemspec +24 -0
  235. data/vendor/bundle/ruby/3.4.0/specifications/racc-1.8.1.gemspec +28 -0
  236. data/vendor/bundle/ruby/3.4.0/specifications/rack-3.1.8.gemspec +31 -0
  237. data/vendor/bundle/ruby/3.4.0/specifications/rack-session-2.1.0.gemspec +30 -0
  238. data/vendor/bundle/ruby/3.4.0/specifications/rack-test-2.2.0.gemspec +29 -0
  239. data/vendor/bundle/ruby/3.4.0/specifications/rails-dom-testing-2.2.0.gemspec +28 -0
  240. data/vendor/bundle/ruby/3.4.0/specifications/rails-html-sanitizer-1.6.2.gemspec +27 -0
  241. data/vendor/bundle/ruby/3.4.0/specifications/rake-13.2.1.gemspec +26 -0
  242. data/vendor/bundle/ruby/3.4.0/specifications/rake-release-1.3.0.gemspec +26 -0
  243. data/vendor/bundle/ruby/3.4.0/specifications/rexml-3.4.0.gemspec +25 -0
  244. data/vendor/bundle/ruby/3.4.0/specifications/rspec-3.13.0.gemspec +31 -0
  245. data/vendor/bundle/ruby/3.4.0/specifications/rspec-collection_matchers-1.2.1.gemspec +27 -0
  246. data/vendor/bundle/ruby/3.4.0/specifications/rspec-core-3.13.2.gemspec +39 -0
  247. data/vendor/bundle/ruby/3.4.0/specifications/rspec-expectations-3.13.3.gemspec +33 -0
  248. data/vendor/bundle/ruby/3.4.0/specifications/rspec-its-2.0.0.gemspec +27 -0
  249. data/vendor/bundle/ruby/3.4.0/specifications/rspec-mocks-3.13.2.gemspec +33 -0
  250. data/vendor/bundle/ruby/3.4.0/specifications/rspec-support-3.13.2.gemspec +29 -0
  251. data/vendor/bundle/ruby/3.4.0/specifications/securerandom-0.4.1.gemspec +23 -0
  252. data/vendor/bundle/ruby/3.4.0/specifications/thor-1.3.2.gemspec +28 -0
  253. data/vendor/bundle/ruby/3.4.0/specifications/typhoeus-1.4.1.gemspec +24 -0
  254. data/vendor/bundle/ruby/3.4.0/specifications/tzinfo-2.0.6.gemspec +30 -0
  255. data/vendor/bundle/ruby/3.4.0/specifications/uri-1.0.2.gemspec +23 -0
  256. data/vendor/bundle/ruby/3.4.0/specifications/useragent-0.16.11.gemspec +25 -0
  257. data/vendor/bundle/ruby/3.4.0/specifications/webmock-3.24.0.gemspec +45 -0
  258. metadata +208 -70
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46dc13b234cd5b704b67a731292b06ad8b32ee3fafb0a7a0af2a1003824e6df8
4
- data.tar.gz: a35249f8e2a7a6cc49351b62c75b3fe641b26691132f4fb70b0a183ab041a380
3
+ metadata.gz: 45e81963e8044fcd6dbb2c5b3e8026de90c77d35e8ec5de2e73a8a3afaa839a5
4
+ data.tar.gz: 3507a04d6fcae2bfb6e637c3ef67eeaa9f9d02a154a635fe6b767e0d53669220
5
5
  SHA512:
6
- metadata.gz: 07132ad9797084fccd7fdeb31cc9f51572ddda1eb9dc88aaf875cd244000d15823223d3c6c503f0af7ac4cc1f59cb0b748eea75d8592323b807001e82c93d781
7
- data.tar.gz: 6d6d15b6841820ae2ee672eec742b417113523ce613f1a7c7d493eeed50232b0915d7edcbf3df1b7060c5ced484bb82f59904e34fe6e17f70babe3b5ddf0a4e7
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
- * Error classes for more HTTP error responses: `400`, `401`, `403`, `500`, `502`, `503`, `504`.
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
- * Improve URL argument encoding when building resource requests
105
+
106
+ - Improve URL argument encoding when building resource requests
77
107
 
78
108
  ## 1.3.0
79
109
 
80
- * Change default error messages to a more compact representation to ease integration with error reporting services.
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
- * Fix issues with resources errors if response payload differs from the expected `field => [messages]`, such as `field => message` or `[messages]`.
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
- * Add Rails 5.2 compatibility
118
+ - Add Rails 5.2 compatibility
89
119
 
90
120
  ## 1.1.1
91
121
 
92
- * `each_item`: Pass collection to provided block (#40)
122
+ - `each_item`: Pass collection to provided block (#40)
93
123
 
94
124
  ## 1.1.0
95
125
 
96
- * Add support for Rails 5.1
126
+ - Add support for Rails 5.1
97
127
 
98
128
  ## 1.0.1
99
129
 
100
- * Fix deprecation warnings when using ::Mime
130
+ - Fix deprecation warnings when using ::Mime
101
131
 
102
132
  ## 1.0.0
103
133
 
104
- * Switch to first non-development major as it's long time used in production.
105
- * Fix NewRelic RPM inference with middleware stack inherited from `ActionDispatch::MiddlewareStack`.
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
- * Remove #attribute_types broke since f7e4109 (Sep 2013, v0.23)
110
- * Fix attribute inheritance on subclassing broken since commit 7cf1d11 (Apr 2014, v0.43)
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
- * Change blank value handling of dict and list type (0a12ef1)
144
+ - Change blank value handling of dict and list type (0a12ef1)
115
145
 
116
146
  ## 0.46.0
117
147
 
118
- * Rework types system (#39)
148
+ - Rework types system (#39)
119
149
 
120
150
  ## 0.45.0
121
151
 
122
- * Fetching multiple records (`find(ary)`) is stable now, but untested (#38)
123
- * Middleware stack is build on ActionDispatch::MiddlewareStack now
124
- * Deprecate legacy middleware names (xyEncoder, xyDecoder)
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
- * Add option to configure adapter creation and pass option to typhoeus adapter e.g.
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
- * add `total_count` for paginated collections
162
+ - add `total_count` for paginated collections
134
163
 
135
164
  ## 0.43.1
136
165
 
137
- * Fix `:with` condition matching on stubs
166
+ - Fix `:with` condition matching on stubs
138
167
 
139
168
  ## 0.43.0
140
169
 
141
- * Remove `Acfs::Model` (inherit from `Acfs::Resource`)
142
- * Stub does only a partial match of `:with` attributes now
143
- * Allow blocks as stub `:return`s
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
- * Add simple dict attribute type
176
+ - Add simple dict attribute type
148
177
 
149
178
  ## 0.40.0
150
179
 
151
- * Change `Resource#persisted?` to return true if it is not new
180
+ - Change `Resource#persisted?` to return true if it is not new
152
181
 
153
182
  ## 0.39.1
154
183
 
155
- * Fix automatic path parameter handling for #destroy
184
+ - Fix automatic path parameter handling for #destroy
156
185
 
157
186
  ## 0.39.0
158
187
 
159
- * Add new event acfs.operation.before_process
188
+ - Add new event `acfs.operation.before_process`
160
189
 
161
190
  ## 0.38.0
162
191
 
163
- * Allow middlewares to abort request processing
164
- * Allow middlewares to receive the request operation object (via the request)
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
- * Add Acfs.on
197
+ - Add `Acfs.on`
169
198
 
170
199
  ## 0.36.0
171
200
 
172
- * Add #each_page and #each_item query methods
201
+ - Add #each_page and #each_item query methods
173
202
 
174
203
  ## 0.35.0
175
204
 
176
- * Add instrumentation support
205
+ - Add instrumentation support
177
206
 
178
207
  ## 0.34.1
179
208
 
180
- * Fix leaking failed requests in request queues
209
+ - Fix leaking failed requests in request queues
181
210
 
182
211
  ## 0.34.0
183
212
 
184
- * Add support for will_paginate view helper used with `Acfs::Collection`s
185
- * Add support for pagination header added by [paginate-responder](https://github.com/jgraichen/paginate-responder)
186
- * Improve `Resource#new?` detection by using `loaded?` instead of presence of `:id` attribute
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
- * Do not raise errors on unknown attributes by default, add :unknown option.
191
- * Add support to store unknown attributes
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
- * Fix multiple callbacks on `QueryMethods#all`
224
+ - Fix multiple callbacks on `QueryMethods#all`
196
225
 
197
226
  ## 0.32.0
198
227
 
199
- * Add new attribute type `UUID`
228
+ - Add new attribute type `UUID`
200
229
 
201
230
  ## 0.31.0
202
231
 
203
- * Add experimental support for multiple and chained paths with placeholders
232
+ - Add experimental support for multiple and chained paths with placeholders
204
233
 
205
234
  ## 0.30.0
206
235
 
207
- * Add experimental support for multiple operation callbacks (Acfs.add_callback)
236
+ - Add experimental support for multiple operation callbacks (Acfs.add_callback)
208
237
 
209
238
  ## 0.29.1
210
239
 
211
- * Fix: rescue NameError and NoMethodError on invalid type
240
+ - Fix: rescue `NameError` and `NoMethodError` on invalid type
212
241
 
213
242
  ## 0.29.0
214
243
 
215
- * Add find_by!
244
+ - Add find_by!
216
245
 
217
246
  ## 0.28.0
218
247
 
219
- * Add find_by
248
+ - Add find_by
220
249
 
221
250
  ## 0.27.0
222
251
 
223
- * Reset method to clear stubs, request queues, internal state
224
- * Add RSpec helper to enable stubs and clear state after each spec
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
- * Add support for singleton resources
257
+ - Add support for singleton resources
229
258
 
230
259
  ## 0.25.0
231
260
 
232
- * Add option to allow blank attribute values (Johannes Jasper)
233
- * Internal changes
261
+ - Add option to allow blank attribute values (Johannes Jasper)
262
+ - Internal changes
234
263
 
235
264
  ## 0.24.0
236
265
 
237
- * Fix issues with stubs using type inheritance
238
- * Allow '1' as true value for bool attributes (Tino Junge)
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
- * Fix regression in delegator usage by #find due to resource type inheritance.
271
+ - Fix regression in delegator usage by #find due to resource type inheritance.
243
272
 
244
273
  ## 0.23.1
245
274
 
246
- * Fix error class name typo
275
+ - Fix error class name typo
247
276
 
248
277
  ## 0.23.0
249
278
 
250
- * Add Resource Type Inheritance
279
+ - Add Resource Type Inheritance
251
280
 
252
281
  ## 0.22.2
253
282
 
254
- * Preserve errors received from service on revalidation (2f1fc178)
255
- * Fix parameter ordering bug on stubs (1dc78dc8)
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
- * Fix hash modification on iteration bug on ActiveModel::Errors due to string keys in error hash
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
- * Fill local resource errors hash also on 422 responses when saving resources
292
+ - Fill local resource errors hash also on 422 responses when saving resources
264
293
 
265
294
  ## 0.21.1
266
295
 
267
- * Fix wrong validation context
296
+ - Fix wrong validation context
268
297
 
269
298
  ## 0.21.0
270
299
 
271
- * Add update_attributes
272
- * Add validation check to `save` method
273
- * Inherit attributes to subclasses
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
- * Remove messaging
278
- * Introduce `Acfs::Resource`
306
+ - Remove messaging
307
+ - Introduce `Acfs::Resource`
279
308
 
280
309
  ## 0.19.0
281
310
 
282
- * Add support for DateTime and Float attribute types
283
- * Add experimental list attribute type
284
- * Allow block usage in stub `with` option
285
- * Allow to test if operation stubs were called and how often
286
- * Fix bug on operation stubs
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
- * Basic DELETE operations
319
+ - Basic DELETE operations
291
320
 
292
321
  ## 0.17.0
293
322
 
294
- * Basic messaging
295
- * Extensible YARD documentation
323
+ - Basic messaging
324
+ - Extensible YARD documentation
296
325
 
297
326
  ## 0.16.0
298
327
 
299
- * Add YAML configuration
300
- * Add external configuration for services
301
- * Add Rubinius support
328
+ - Add YAML configuration
329
+ - Add external configuration for services
330
+ - Add Rubinius support
302
331
 
303
332
  ## 0.15.0
304
333
 
305
- * Add stubbing capabilities for resources
334
+ - Add stubbing capabilities for resources
306
335
 
307
336
  ## 0.14.0 & 0.13.0
308
337
 
309
- * Fix response attributes
338
+ - Fix response attributes
310
339
 
311
340
  ## 0.12.0
312
341
 
313
- * Add JRuby support
314
- * Improve handling of error respones (422)
342
+ - Add JRuby support
343
+ - Improve handling of error responses (422)
315
344
 
316
345
  ## 0.11.0
317
346
 
318
- * Add Logger Middleware
319
- * Add handling of error responses
347
+ - Add Logger Middleware
348
+ - Add handling of error responses
320
349
 
321
350
  ## 0.10.0
322
351
 
323
- * Return hash with indifferent access for resource attributes
352
+ - Return hash with indifferent access for resource attributes
324
353
 
325
354
  ## 0.9.0
326
355
 
327
- * Add create operation
356
+ - Add create operation
328
357
 
329
358
  ## 0.8.0
330
359
 
331
- * Add save operation (PUT and POST)
332
- * Add JSON and MessagePack encoder middlewares for encoding request data
333
- * ActiveModel::Dirty
334
- * Add persistant state methods
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
- * Per-service middleware stack
367
+ - Per-service middleware stack
339
368
 
340
369
  ## 0.6.0
341
370
 
342
- * Add support for multiple ids for .find
343
- * Add MessagePack support
371
+ - Add support for multiple IDs for `.find`
372
+ - Add MessagePack support
344
373
 
345
374
  ## 0.5.1
346
375
 
347
- * Fix mime type parsing for mime types with aditional parameters (ActionPack < 4.0)
376
+ - Fix mime type parsing for mime types with additional parameters (`ActionPack` < 4.0)
348
377
 
349
378
  ## 0.5.0
350
379
 
351
- * Add mime type support for respones
380
+ - Add mime type support for responses
352
381
 
353
382
  ## 0.4.0
354
383
 
355
- * Improve JSON response detection
356
- * Add bool attribute type
384
+ - Improve JSON response detection
385
+ - Add boolean attribute type
357
386
 
358
387
  ## 0.3.0
359
388
 
360
- * Add tracking for loading state (if resource is loaded or queued)
361
- * Add JSON middleware to decode respones
362
- * Add middleware support
363
- * Add method to fetch single resources or list of resources
364
- * Use typhoeus as http library for parallel request processing
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
- * Allow to define resources and attributes
397
+ - Allow defining resources and attributes
369
398
 
370
399
  ## 0.1.0
371
400
 
372
- * Project start
401
+ - Project start