flexirest 1.6.7 → 1.6.8
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 +54 -48
- data/README.md +0 -0
- data/docs/validation.md +30 -1
- data/flexirest.gemspec +1 -0
- data/lib/flexirest.rb +5 -0
- data/lib/flexirest/base.rb +3 -217
- data/lib/flexirest/base_without_validation.rb +219 -0
- data/lib/flexirest/version.rb +1 -1
- data/spec/lib/activemodel_validations_spec.rb +44 -0
- data/spec/lib/associations_spec.rb +5 -5
- data/spec/lib/base_spec.rb +3 -505
- data/spec/lib/base_without_validation_spec.rb +517 -0
- metadata +21 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flexirest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: activemodel
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: multi_json
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -264,6 +278,7 @@ files:
|
|
264
278
|
- lib/flexirest/associations.rb
|
265
279
|
- lib/flexirest/attribute_parsing.rb
|
266
280
|
- lib/flexirest/base.rb
|
281
|
+
- lib/flexirest/base_without_validation.rb
|
267
282
|
- lib/flexirest/caching.rb
|
268
283
|
- lib/flexirest/callbacks.rb
|
269
284
|
- lib/flexirest/configuration.rb
|
@@ -285,9 +300,11 @@ files:
|
|
285
300
|
- lib/flexirest/result_iterator.rb
|
286
301
|
- lib/flexirest/validation.rb
|
287
302
|
- lib/flexirest/version.rb
|
303
|
+
- spec/lib/activemodel_validations_spec.rb
|
288
304
|
- spec/lib/associations_spec.rb
|
289
305
|
- spec/lib/attribute_parsing_spec.rb
|
290
306
|
- spec/lib/base_spec.rb
|
307
|
+
- spec/lib/base_without_validation_spec.rb
|
291
308
|
- spec/lib/caching_spec.rb
|
292
309
|
- spec/lib/callbacks_spec.rb
|
293
310
|
- spec/lib/configuration_spec.rb
|
@@ -337,9 +354,11 @@ summary: This gem is for accessing REST services in a flexible way. ActiveResou
|
|
337
354
|
Rails conventions, it doesn't have in-built caching and it's not as flexible in
|
338
355
|
general.
|
339
356
|
test_files:
|
357
|
+
- spec/lib/activemodel_validations_spec.rb
|
340
358
|
- spec/lib/associations_spec.rb
|
341
359
|
- spec/lib/attribute_parsing_spec.rb
|
342
360
|
- spec/lib/base_spec.rb
|
361
|
+
- spec/lib/base_without_validation_spec.rb
|
343
362
|
- spec/lib/caching_spec.rb
|
344
363
|
- spec/lib/callbacks_spec.rb
|
345
364
|
- spec/lib/configuration_spec.rb
|