acfs 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- metadata +8 -141
- data/CHANGELOG.md +0 -325
- data/LICENSE +0 -22
- data/README.md +0 -334
- data/acfs.gemspec +0 -37
- data/lib/acfs.rb +0 -49
- data/lib/acfs/adapter/base.rb +0 -26
- data/lib/acfs/adapter/typhoeus.rb +0 -60
- data/lib/acfs/collection.rb +0 -27
- data/lib/acfs/collections/paginatable.rb +0 -75
- data/lib/acfs/configuration.rb +0 -113
- data/lib/acfs/errors.rb +0 -106
- data/lib/acfs/global.rb +0 -99
- data/lib/acfs/location.rb +0 -78
- data/lib/acfs/middleware/base.rb +0 -20
- data/lib/acfs/middleware/json.rb +0 -27
- data/lib/acfs/middleware/logger.rb +0 -23
- data/lib/acfs/middleware/msgpack.rb +0 -30
- data/lib/acfs/middleware/print.rb +0 -21
- data/lib/acfs/middleware/serializer.rb +0 -39
- data/lib/acfs/operation.rb +0 -81
- data/lib/acfs/request.rb +0 -36
- data/lib/acfs/request/callbacks.rb +0 -50
- data/lib/acfs/resource.rb +0 -37
- data/lib/acfs/resource/attributes.rb +0 -268
- data/lib/acfs/resource/attributes/base.rb +0 -28
- data/lib/acfs/resource/attributes/boolean.rb +0 -37
- data/lib/acfs/resource/attributes/date_time.rb +0 -31
- data/lib/acfs/resource/attributes/dict.rb +0 -37
- data/lib/acfs/resource/attributes/float.rb +0 -31
- data/lib/acfs/resource/attributes/integer.rb +0 -27
- data/lib/acfs/resource/attributes/list.rb +0 -34
- data/lib/acfs/resource/attributes/string.rb +0 -24
- data/lib/acfs/resource/attributes/uuid.rb +0 -47
- data/lib/acfs/resource/dirty.rb +0 -35
- data/lib/acfs/resource/initialization.rb +0 -29
- data/lib/acfs/resource/loadable.rb +0 -33
- data/lib/acfs/resource/locatable.rb +0 -128
- data/lib/acfs/resource/operational.rb +0 -22
- data/lib/acfs/resource/persistence.rb +0 -257
- data/lib/acfs/resource/query_methods.rb +0 -264
- data/lib/acfs/resource/service.rb +0 -42
- data/lib/acfs/resource/validation.rb +0 -37
- data/lib/acfs/response.rb +0 -28
- data/lib/acfs/response/formats.rb +0 -25
- data/lib/acfs/response/status.rb +0 -31
- data/lib/acfs/rspec.rb +0 -11
- data/lib/acfs/runner.rb +0 -97
- data/lib/acfs/service.rb +0 -91
- data/lib/acfs/service/middleware.rb +0 -56
- data/lib/acfs/service/middleware/stack.rb +0 -63
- data/lib/acfs/singleton_resource.rb +0 -83
- data/lib/acfs/stub.rb +0 -172
- data/lib/acfs/util.rb +0 -20
- data/lib/acfs/version.rb +0 -14
- data/lib/acfs/yard.rb +0 -5
- data/spec/acfs/adapter/typhoeus_spec.rb +0 -28
- data/spec/acfs/collection_spec.rb +0 -155
- data/spec/acfs/configuration_spec.rb +0 -51
- data/spec/acfs/global_spec.rb +0 -137
- data/spec/acfs/location_spec.rb +0 -23
- data/spec/acfs/middleware/json_spec.rb +0 -63
- data/spec/acfs/middleware/msgpack_spec.rb +0 -60
- data/spec/acfs/operation_spec.rb +0 -10
- data/spec/acfs/request/callbacks_spec.rb +0 -46
- data/spec/acfs/request_spec.rb +0 -77
- data/spec/acfs/resource/attributes/boolean_spec.rb +0 -56
- data/spec/acfs/resource/attributes/date_time_spec.rb +0 -49
- data/spec/acfs/resource/attributes/dict_spec.rb +0 -75
- data/spec/acfs/resource/attributes/float_spec.rb +0 -59
- data/spec/acfs/resource/attributes/integer_spec.rb +0 -34
- data/spec/acfs/resource/attributes/list_spec.rb +0 -58
- data/spec/acfs/resource/attributes/uuid_spec.rb +0 -40
- data/spec/acfs/resource/attributes_spec.rb +0 -179
- data/spec/acfs/resource/dirty_spec.rb +0 -47
- data/spec/acfs/resource/initialization_spec.rb +0 -30
- data/spec/acfs/resource/loadable_spec.rb +0 -20
- data/spec/acfs/resource/locatable_spec.rb +0 -116
- data/spec/acfs/resource/persistance_spec.rb +0 -316
- data/spec/acfs/resource/query_methods_spec.rb +0 -541
- data/spec/acfs/resource/validation_spec.rb +0 -127
- data/spec/acfs/response/formats_spec.rb +0 -50
- data/spec/acfs/response/status_spec.rb +0 -69
- data/spec/acfs/runner_spec.rb +0 -97
- data/spec/acfs/service/middleware_spec.rb +0 -33
- data/spec/acfs/service_spec.rb +0 -46
- data/spec/acfs/singleton_resource_spec.rb +0 -15
- data/spec/acfs/stub_spec.rb +0 -343
- data/spec/acfs_spec.rb +0 -203
- data/spec/fixtures/config.yml +0 -14
- data/spec/spec_helper.rb +0 -41
- data/spec/support/hash.rb +0 -9
- data/spec/support/response.rb +0 -10
- data/spec/support/service.rb +0 -91
- data/spec/support/shared/find_callbacks.rb +0 -48
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0acb19bd6d18e4b93032f4524ca80005cc7d8b6c4beff1bc48c7bd4cc3f96f9e
|
|
4
|
+
data.tar.gz: f62b3bb0715a4df057784c44475cd273a64b1d2ddef61d50d9d04189b70c1d05
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ca766572e15eb68818f22f0ef02d3cb3c4ad7177f2eb8b7a0da01b12052adfc118054308790fb0826ebd417022f59e6a64baee1a484f446bc74a1340cb2dca3
|
|
7
|
+
data.tar.gz: d3df90c063afa8ad98672c10beacf350e24bf34c725cc83e0c15fd931080e27fcd0e7726d815aad059ad5de29f5b041f6ccf14733f2a5e4c7ca2c7934a9c1373
|
metadata
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: acfs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Graichen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-03-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
14
|
+
name: actionpack
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
@@ -39,7 +39,7 @@ dependencies:
|
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '4.2'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
42
|
+
name: activesupport
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - ">="
|
|
@@ -110,105 +110,11 @@ dependencies:
|
|
|
110
110
|
version: '0'
|
|
111
111
|
description: API Client For Services
|
|
112
112
|
email:
|
|
113
|
-
-
|
|
113
|
+
- jgraichen@altimos.de
|
|
114
114
|
executables: []
|
|
115
115
|
extensions: []
|
|
116
116
|
extra_rdoc_files: []
|
|
117
|
-
files:
|
|
118
|
-
- CHANGELOG.md
|
|
119
|
-
- LICENSE
|
|
120
|
-
- README.md
|
|
121
|
-
- acfs.gemspec
|
|
122
|
-
- lib/acfs.rb
|
|
123
|
-
- lib/acfs/adapter/base.rb
|
|
124
|
-
- lib/acfs/adapter/typhoeus.rb
|
|
125
|
-
- lib/acfs/collection.rb
|
|
126
|
-
- lib/acfs/collections/paginatable.rb
|
|
127
|
-
- lib/acfs/configuration.rb
|
|
128
|
-
- lib/acfs/errors.rb
|
|
129
|
-
- lib/acfs/global.rb
|
|
130
|
-
- lib/acfs/location.rb
|
|
131
|
-
- lib/acfs/middleware/base.rb
|
|
132
|
-
- lib/acfs/middleware/json.rb
|
|
133
|
-
- lib/acfs/middleware/logger.rb
|
|
134
|
-
- lib/acfs/middleware/msgpack.rb
|
|
135
|
-
- lib/acfs/middleware/print.rb
|
|
136
|
-
- lib/acfs/middleware/serializer.rb
|
|
137
|
-
- lib/acfs/operation.rb
|
|
138
|
-
- lib/acfs/request.rb
|
|
139
|
-
- lib/acfs/request/callbacks.rb
|
|
140
|
-
- lib/acfs/resource.rb
|
|
141
|
-
- lib/acfs/resource/attributes.rb
|
|
142
|
-
- lib/acfs/resource/attributes/base.rb
|
|
143
|
-
- lib/acfs/resource/attributes/boolean.rb
|
|
144
|
-
- lib/acfs/resource/attributes/date_time.rb
|
|
145
|
-
- lib/acfs/resource/attributes/dict.rb
|
|
146
|
-
- lib/acfs/resource/attributes/float.rb
|
|
147
|
-
- lib/acfs/resource/attributes/integer.rb
|
|
148
|
-
- lib/acfs/resource/attributes/list.rb
|
|
149
|
-
- lib/acfs/resource/attributes/string.rb
|
|
150
|
-
- lib/acfs/resource/attributes/uuid.rb
|
|
151
|
-
- lib/acfs/resource/dirty.rb
|
|
152
|
-
- lib/acfs/resource/initialization.rb
|
|
153
|
-
- lib/acfs/resource/loadable.rb
|
|
154
|
-
- lib/acfs/resource/locatable.rb
|
|
155
|
-
- lib/acfs/resource/operational.rb
|
|
156
|
-
- lib/acfs/resource/persistence.rb
|
|
157
|
-
- lib/acfs/resource/query_methods.rb
|
|
158
|
-
- lib/acfs/resource/service.rb
|
|
159
|
-
- lib/acfs/resource/validation.rb
|
|
160
|
-
- lib/acfs/response.rb
|
|
161
|
-
- lib/acfs/response/formats.rb
|
|
162
|
-
- lib/acfs/response/status.rb
|
|
163
|
-
- lib/acfs/rspec.rb
|
|
164
|
-
- lib/acfs/runner.rb
|
|
165
|
-
- lib/acfs/service.rb
|
|
166
|
-
- lib/acfs/service/middleware.rb
|
|
167
|
-
- lib/acfs/service/middleware/stack.rb
|
|
168
|
-
- lib/acfs/singleton_resource.rb
|
|
169
|
-
- lib/acfs/stub.rb
|
|
170
|
-
- lib/acfs/util.rb
|
|
171
|
-
- lib/acfs/version.rb
|
|
172
|
-
- lib/acfs/yard.rb
|
|
173
|
-
- spec/acfs/adapter/typhoeus_spec.rb
|
|
174
|
-
- spec/acfs/collection_spec.rb
|
|
175
|
-
- spec/acfs/configuration_spec.rb
|
|
176
|
-
- spec/acfs/global_spec.rb
|
|
177
|
-
- spec/acfs/location_spec.rb
|
|
178
|
-
- spec/acfs/middleware/json_spec.rb
|
|
179
|
-
- spec/acfs/middleware/msgpack_spec.rb
|
|
180
|
-
- spec/acfs/operation_spec.rb
|
|
181
|
-
- spec/acfs/request/callbacks_spec.rb
|
|
182
|
-
- spec/acfs/request_spec.rb
|
|
183
|
-
- spec/acfs/resource/attributes/boolean_spec.rb
|
|
184
|
-
- spec/acfs/resource/attributes/date_time_spec.rb
|
|
185
|
-
- spec/acfs/resource/attributes/dict_spec.rb
|
|
186
|
-
- spec/acfs/resource/attributes/float_spec.rb
|
|
187
|
-
- spec/acfs/resource/attributes/integer_spec.rb
|
|
188
|
-
- spec/acfs/resource/attributes/list_spec.rb
|
|
189
|
-
- spec/acfs/resource/attributes/uuid_spec.rb
|
|
190
|
-
- spec/acfs/resource/attributes_spec.rb
|
|
191
|
-
- spec/acfs/resource/dirty_spec.rb
|
|
192
|
-
- spec/acfs/resource/initialization_spec.rb
|
|
193
|
-
- spec/acfs/resource/loadable_spec.rb
|
|
194
|
-
- spec/acfs/resource/locatable_spec.rb
|
|
195
|
-
- spec/acfs/resource/persistance_spec.rb
|
|
196
|
-
- spec/acfs/resource/query_methods_spec.rb
|
|
197
|
-
- spec/acfs/resource/validation_spec.rb
|
|
198
|
-
- spec/acfs/response/formats_spec.rb
|
|
199
|
-
- spec/acfs/response/status_spec.rb
|
|
200
|
-
- spec/acfs/runner_spec.rb
|
|
201
|
-
- spec/acfs/service/middleware_spec.rb
|
|
202
|
-
- spec/acfs/service_spec.rb
|
|
203
|
-
- spec/acfs/singleton_resource_spec.rb
|
|
204
|
-
- spec/acfs/stub_spec.rb
|
|
205
|
-
- spec/acfs_spec.rb
|
|
206
|
-
- spec/fixtures/config.yml
|
|
207
|
-
- spec/spec_helper.rb
|
|
208
|
-
- spec/support/hash.rb
|
|
209
|
-
- spec/support/response.rb
|
|
210
|
-
- spec/support/service.rb
|
|
211
|
-
- spec/support/shared/find_callbacks.rb
|
|
117
|
+
files: []
|
|
212
118
|
homepage: https://github.com/jgraichen/acfs
|
|
213
119
|
licenses:
|
|
214
120
|
- MIT
|
|
@@ -228,47 +134,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
228
134
|
- !ruby/object:Gem::Version
|
|
229
135
|
version: '0'
|
|
230
136
|
requirements: []
|
|
231
|
-
rubygems_version: 3.
|
|
137
|
+
rubygems_version: 3.1.2
|
|
232
138
|
signing_key:
|
|
233
139
|
specification_version: 4
|
|
234
140
|
summary: An abstract API base client for service oriented application.
|
|
235
|
-
test_files:
|
|
236
|
-
- spec/acfs/adapter/typhoeus_spec.rb
|
|
237
|
-
- spec/acfs/collection_spec.rb
|
|
238
|
-
- spec/acfs/configuration_spec.rb
|
|
239
|
-
- spec/acfs/global_spec.rb
|
|
240
|
-
- spec/acfs/location_spec.rb
|
|
241
|
-
- spec/acfs/middleware/json_spec.rb
|
|
242
|
-
- spec/acfs/middleware/msgpack_spec.rb
|
|
243
|
-
- spec/acfs/operation_spec.rb
|
|
244
|
-
- spec/acfs/request/callbacks_spec.rb
|
|
245
|
-
- spec/acfs/request_spec.rb
|
|
246
|
-
- spec/acfs/resource/attributes/boolean_spec.rb
|
|
247
|
-
- spec/acfs/resource/attributes/date_time_spec.rb
|
|
248
|
-
- spec/acfs/resource/attributes/dict_spec.rb
|
|
249
|
-
- spec/acfs/resource/attributes/float_spec.rb
|
|
250
|
-
- spec/acfs/resource/attributes/integer_spec.rb
|
|
251
|
-
- spec/acfs/resource/attributes/list_spec.rb
|
|
252
|
-
- spec/acfs/resource/attributes/uuid_spec.rb
|
|
253
|
-
- spec/acfs/resource/attributes_spec.rb
|
|
254
|
-
- spec/acfs/resource/dirty_spec.rb
|
|
255
|
-
- spec/acfs/resource/initialization_spec.rb
|
|
256
|
-
- spec/acfs/resource/loadable_spec.rb
|
|
257
|
-
- spec/acfs/resource/locatable_spec.rb
|
|
258
|
-
- spec/acfs/resource/persistance_spec.rb
|
|
259
|
-
- spec/acfs/resource/query_methods_spec.rb
|
|
260
|
-
- spec/acfs/resource/validation_spec.rb
|
|
261
|
-
- spec/acfs/response/formats_spec.rb
|
|
262
|
-
- spec/acfs/response/status_spec.rb
|
|
263
|
-
- spec/acfs/runner_spec.rb
|
|
264
|
-
- spec/acfs/service/middleware_spec.rb
|
|
265
|
-
- spec/acfs/service_spec.rb
|
|
266
|
-
- spec/acfs/singleton_resource_spec.rb
|
|
267
|
-
- spec/acfs/stub_spec.rb
|
|
268
|
-
- spec/acfs_spec.rb
|
|
269
|
-
- spec/fixtures/config.yml
|
|
270
|
-
- spec/spec_helper.rb
|
|
271
|
-
- spec/support/hash.rb
|
|
272
|
-
- spec/support/response.rb
|
|
273
|
-
- spec/support/service.rb
|
|
274
|
-
- spec/support/shared/find_callbacks.rb
|
|
141
|
+
test_files: []
|
data/CHANGELOG.md
DELETED
|
@@ -1,325 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Unreleased
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
### New
|
|
9
|
-
|
|
10
|
-
### Changes
|
|
11
|
-
|
|
12
|
-
### Fixes
|
|
13
|
-
|
|
14
|
-
### Breaks
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## 1.3.2 - (2019-09-24)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
### Fixes
|
|
21
|
-
* Fix Acfs.on callbacks for empty find_by results (#42)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
## 1.3.1 - (2019-07-02)
|
|
27
|
-
|
|
28
|
-
### Fixes
|
|
29
|
-
* Improve URL argument encoding when building resource requests
|
|
30
|
-
|
|
31
|
-
## 1.3.0
|
|
32
|
-
|
|
33
|
-
* Change default error messages to a more compact representation to ease integration with error reporting services.
|
|
34
|
-
|
|
35
|
-
## 1.2.1
|
|
36
|
-
|
|
37
|
-
* Fix issues with resources errors if response payload differs from the expected `field => [messages]`, such as `field => message` or `[messages]`.
|
|
38
|
-
|
|
39
|
-
## 1.2.0
|
|
40
|
-
|
|
41
|
-
* Add Rails 5.2 compatibility
|
|
42
|
-
|
|
43
|
-
## 1.1.1
|
|
44
|
-
|
|
45
|
-
* `each_item`: Pass collection to provided block (#40)
|
|
46
|
-
|
|
47
|
-
## 1.1.0
|
|
48
|
-
|
|
49
|
-
* Add support for Rails 5.1
|
|
50
|
-
|
|
51
|
-
## 1.0.1
|
|
52
|
-
|
|
53
|
-
* Fix deprecation warnings when using ::Mime
|
|
54
|
-
|
|
55
|
-
## 1.0.0
|
|
56
|
-
|
|
57
|
-
* Switch to first non-development major as it's long time used in production.
|
|
58
|
-
* Fix NewRelic RPM inference with middleware stack inherited from `ActionDispatch::MiddlewareStack`.
|
|
59
|
-
|
|
60
|
-
## 0.48.0
|
|
61
|
-
|
|
62
|
-
* Remove #attribute_types broke since f7e4109 (Sep 2013, v0.23)
|
|
63
|
-
* Fix attribute inheritance on subclassing broken since commit 7cf1d11 (Apr 2014, v0.43)
|
|
64
|
-
|
|
65
|
-
## 0.47.0
|
|
66
|
-
|
|
67
|
-
* Change blank value handling of dict and list type (0a12ef1)
|
|
68
|
-
|
|
69
|
-
## 0.46.0
|
|
70
|
-
|
|
71
|
-
* Rework types system (#39)
|
|
72
|
-
|
|
73
|
-
## 0.45.0
|
|
74
|
-
|
|
75
|
-
* Fetching multiple records (`find(ary)`) is stable now, but untested (#38)
|
|
76
|
-
* Middleware stack is build on ActionDispatch::MiddlewareStack now
|
|
77
|
-
* Deprecate legacy middleware names (xyEncoder, xyDecoder)
|
|
78
|
-
|
|
79
|
-
## 0.44.0
|
|
80
|
-
|
|
81
|
-
* Add option to configure adapter creation and pass option to typhoeus adapter e.g.
|
|
82
|
-
limiting concurrency.
|
|
83
|
-
|
|
84
|
-
## 0.43.2
|
|
85
|
-
|
|
86
|
-
* add `total_count` for paginated collections
|
|
87
|
-
|
|
88
|
-
## 0.43.1
|
|
89
|
-
|
|
90
|
-
* Fix `:with` condition matching on stubs
|
|
91
|
-
|
|
92
|
-
## 0.43.0
|
|
93
|
-
|
|
94
|
-
* Remove `Acfs::Model` (inherit from `Acfs::Resource`)
|
|
95
|
-
* Stub does only a partial match of `:with` attributes now
|
|
96
|
-
* Allow blocks as stub `:return`s
|
|
97
|
-
|
|
98
|
-
## 0.42.0
|
|
99
|
-
|
|
100
|
-
* Add simple dict attribute type
|
|
101
|
-
|
|
102
|
-
## 0.40.0
|
|
103
|
-
|
|
104
|
-
* Change `Resource#persisted?` to return true if it is not new
|
|
105
|
-
|
|
106
|
-
## 0.39.1
|
|
107
|
-
|
|
108
|
-
* Fix automatic path parameter handling for #destroy
|
|
109
|
-
|
|
110
|
-
## 0.39.0
|
|
111
|
-
|
|
112
|
-
* Add new event acfs.operation.before_process
|
|
113
|
-
|
|
114
|
-
## 0.38.0
|
|
115
|
-
|
|
116
|
-
* Allow middlewares to abort request processing
|
|
117
|
-
* Allow middlewares to receive the request operation object (via the request)
|
|
118
|
-
|
|
119
|
-
## 0.37.0
|
|
120
|
-
|
|
121
|
-
* Add Acfs.on
|
|
122
|
-
|
|
123
|
-
## 0.36.0
|
|
124
|
-
|
|
125
|
-
* Add #each_page and #each_item query methods
|
|
126
|
-
|
|
127
|
-
## 0.35.0
|
|
128
|
-
|
|
129
|
-
* Add instrumentation support
|
|
130
|
-
|
|
131
|
-
## 0.34.1
|
|
132
|
-
|
|
133
|
-
* Fix leaking failed requests in request queues
|
|
134
|
-
|
|
135
|
-
## 0.34.0
|
|
136
|
-
|
|
137
|
-
* Add support for will_paginate view helper used with `Acfs::Collection`s
|
|
138
|
-
* Add support for pagination header added by [paginate-responder](https://github.com/jgraichen/paginate-responder)
|
|
139
|
-
* Improve `Resource#new?` detection by using `loaded?` instead of presence of `:id` attribute
|
|
140
|
-
|
|
141
|
-
## 0.33.0
|
|
142
|
-
|
|
143
|
-
* Do not raise errors on unknown attributes by default, add :unknown option.
|
|
144
|
-
* Add support to store unknown attributes
|
|
145
|
-
|
|
146
|
-
## 0.32.1
|
|
147
|
-
|
|
148
|
-
* Fix multiple callbacks on `QueryMethods#all`
|
|
149
|
-
|
|
150
|
-
## 0.32.0
|
|
151
|
-
|
|
152
|
-
* Add new attribute type `UUID`
|
|
153
|
-
|
|
154
|
-
## 0.31.0
|
|
155
|
-
|
|
156
|
-
* Add experimental support for multiple and chained paths with placeholders
|
|
157
|
-
|
|
158
|
-
## 0.30.0
|
|
159
|
-
|
|
160
|
-
* Add experimental support for multiple operation callbacks (Acfs.add_callback)
|
|
161
|
-
|
|
162
|
-
## 0.29.1
|
|
163
|
-
|
|
164
|
-
* Fix: rescue NameError and NoMethodError on invalid type
|
|
165
|
-
|
|
166
|
-
## 0.29.0
|
|
167
|
-
|
|
168
|
-
* Add find_by!
|
|
169
|
-
|
|
170
|
-
## 0.28.0
|
|
171
|
-
|
|
172
|
-
* Add find_by
|
|
173
|
-
|
|
174
|
-
## 0.27.0
|
|
175
|
-
|
|
176
|
-
* Reset method to clear stubs, request queues, internal state
|
|
177
|
-
* Add RSpec helper to enable stubs and clear state after each spec
|
|
178
|
-
|
|
179
|
-
## 0.26.0
|
|
180
|
-
|
|
181
|
-
* Add support for singleton resources
|
|
182
|
-
|
|
183
|
-
## 0.25.0
|
|
184
|
-
|
|
185
|
-
* Add option to allow blank attribute values (Johannes Jasper)
|
|
186
|
-
* Internal changes
|
|
187
|
-
|
|
188
|
-
## 0.24.0
|
|
189
|
-
|
|
190
|
-
* Fix issues with stubs using type inheritance
|
|
191
|
-
* Allow '1' as true value for bool attributes (Tino Junge)
|
|
192
|
-
|
|
193
|
-
## 0.23.2
|
|
194
|
-
|
|
195
|
-
* Fix regression in delegator usage by #find due to resource type inheritance.
|
|
196
|
-
|
|
197
|
-
## 0.23.1
|
|
198
|
-
|
|
199
|
-
* Fix error class name typo
|
|
200
|
-
|
|
201
|
-
## 0.23.0
|
|
202
|
-
|
|
203
|
-
* Add Resource Type Inheritance
|
|
204
|
-
|
|
205
|
-
## 0.22.2
|
|
206
|
-
|
|
207
|
-
* Preserve errors received from service on revalidation (2f1fc178)
|
|
208
|
-
* Fix parameter ordering bug on stubs (1dc78dc8)
|
|
209
|
-
|
|
210
|
-
## 0.22.1
|
|
211
|
-
|
|
212
|
-
* Fix hash modification on iteration bug on ActiveModel::Errors due to string keys in error hash
|
|
213
|
-
|
|
214
|
-
## 0.22.0
|
|
215
|
-
|
|
216
|
-
* Fill local resource errors hash also on 422 responses when saving resources
|
|
217
|
-
|
|
218
|
-
## 0.21.1
|
|
219
|
-
|
|
220
|
-
* Fix wrong validation context
|
|
221
|
-
|
|
222
|
-
## 0.21.0
|
|
223
|
-
|
|
224
|
-
* Add update_attributes
|
|
225
|
-
* Add validation check to `save` method
|
|
226
|
-
* Inherit attributes to subclasses
|
|
227
|
-
|
|
228
|
-
## 0.20.0
|
|
229
|
-
|
|
230
|
-
* Remove messaging
|
|
231
|
-
* Introduce `Acfs::Resource`
|
|
232
|
-
|
|
233
|
-
## 0.19.0
|
|
234
|
-
|
|
235
|
-
* Add support for DateTime and Float attribute types
|
|
236
|
-
* Add experimental list attribute type
|
|
237
|
-
* Allow block usage in stub `with` option
|
|
238
|
-
* Allow to test if operation stubs were called and how often
|
|
239
|
-
* Fix bug on operation stubs
|
|
240
|
-
|
|
241
|
-
## 0.18.0
|
|
242
|
-
|
|
243
|
-
* Basic DELETE operations
|
|
244
|
-
|
|
245
|
-
## 0.17.0
|
|
246
|
-
|
|
247
|
-
* Basic messaging
|
|
248
|
-
* Extensible YARD documentation
|
|
249
|
-
|
|
250
|
-
## 0.16.0
|
|
251
|
-
|
|
252
|
-
* Add YAML configuration
|
|
253
|
-
* Add external configuration for services
|
|
254
|
-
* Add Rubinius support
|
|
255
|
-
|
|
256
|
-
## 0.15.0
|
|
257
|
-
|
|
258
|
-
* Add stubbing capabilities for resources
|
|
259
|
-
|
|
260
|
-
## 0.14.0 & 0.13.0
|
|
261
|
-
|
|
262
|
-
* Fix response attributes
|
|
263
|
-
|
|
264
|
-
## 0.12.0
|
|
265
|
-
|
|
266
|
-
* Add JRuby support
|
|
267
|
-
* Improve handling of error respones (422)
|
|
268
|
-
|
|
269
|
-
## 0.11.0
|
|
270
|
-
|
|
271
|
-
* Add Logger Middleware
|
|
272
|
-
* Add handling of error responses
|
|
273
|
-
|
|
274
|
-
## 0.10.0
|
|
275
|
-
|
|
276
|
-
* Return hash with indifferent access for resource attributes
|
|
277
|
-
|
|
278
|
-
## 0.9.0
|
|
279
|
-
|
|
280
|
-
* Add create operation
|
|
281
|
-
|
|
282
|
-
## 0.8.0
|
|
283
|
-
|
|
284
|
-
* Add save operation (PUT and POST)
|
|
285
|
-
* Add JSON and MessagePack encoder middlewares for encoding request data
|
|
286
|
-
* ActiveModel::Dirty
|
|
287
|
-
* Add persistant state methods
|
|
288
|
-
|
|
289
|
-
## 0.7.0
|
|
290
|
-
|
|
291
|
-
* Per-service middleware stack
|
|
292
|
-
|
|
293
|
-
## 0.6.0
|
|
294
|
-
|
|
295
|
-
* Add support for multiple ids for .find
|
|
296
|
-
* Add MessagePack support
|
|
297
|
-
|
|
298
|
-
## 0.5.1
|
|
299
|
-
|
|
300
|
-
* Fix mime type parsing for mime types with aditional parameters (ActionPack < 4.0)
|
|
301
|
-
|
|
302
|
-
## 0.5.0
|
|
303
|
-
|
|
304
|
-
* Add mime type support for respones
|
|
305
|
-
|
|
306
|
-
## 0.4.0
|
|
307
|
-
|
|
308
|
-
* Improve JSON response detection
|
|
309
|
-
* Add bool attribute type
|
|
310
|
-
|
|
311
|
-
## 0.3.0
|
|
312
|
-
|
|
313
|
-
* Add tracking for loading state (if resource is loaded or queued)
|
|
314
|
-
* Add JSON middleware to decode respones
|
|
315
|
-
* Add middleware support
|
|
316
|
-
* Add method to fetch single resources or list of resources
|
|
317
|
-
* Use typhoeus as http library for parallel request processing
|
|
318
|
-
|
|
319
|
-
## 0.2.0
|
|
320
|
-
|
|
321
|
-
* Allow to define resources and attributes
|
|
322
|
-
|
|
323
|
-
## 0.1.0
|
|
324
|
-
|
|
325
|
-
* Project start
|