lhs 6.6.0 → 6.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/lhs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa5cf18487994a26df91043ecaa517405b402252
|
4
|
+
data.tar.gz: ebeb9db697bd0f9473f47b4c7799cce6ec3924b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1e5469075aaf9ed16e0c00bfa3177c4bed573a50bedb29bc2741c77fa94147d021d77e433c0c40d63d6e7b999fe727d4147c05c6cd168cb6b683c49e286bf58
|
7
|
+
data.tar.gz: 255bffac0457942147dce4bccdb6484c455a93ed4c9bfe4a4d6d73d9067d03bb496f300d5af35f22912c7b74827c0a9703b6e3fef182f3f3c8570e0555a3beaf
|
data/README.md
CHANGED
@@ -542,6 +542,9 @@ In case you want to add custom validation errors to an instance of LHS::Record:
|
|
542
542
|
user.errors.add(:name, 'The name you provided is not valid.')
|
543
543
|
```
|
544
544
|
|
545
|
+
### Know issue with `ActiveModel::Validations`
|
546
|
+
If you are using `ActiveModel::Validations` and add errors to the LHS::Record instance - as described above - then those errors will be overwritten by the errors from `ActiveModel::Validations` when using `save` or `valid?`. [Open issue](https://github.com/local-ch/lhs/issues/159)
|
547
|
+
|
545
548
|
## Pagination
|
546
549
|
|
547
550
|
LHS supports paginated APIs and it also supports various pagination strategies and by providing configuration possibilities.
|
data/lib/lhs/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lhs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.6.
|
4
|
+
version: 6.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- https://github.com/local-ch/lhs/graphs/contributors
|
@@ -356,7 +356,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
356
356
|
requirements:
|
357
357
|
- Ruby >= 2.0.0
|
358
358
|
rubyforge_project:
|
359
|
-
rubygems_version: 2.
|
359
|
+
rubygems_version: 2.4.8
|
360
360
|
signing_key:
|
361
361
|
specification_version: 4
|
362
362
|
summary: Rails gem providing an easy, active-record-like interface for http json services
|