lhs 6.6.0 → 6.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -0
  3. data/lib/lhs/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03af8ee3ccf17c8a75304d5c3f3ce6e395ef51dc
4
- data.tar.gz: 60292bdfe213362cc375f32ac399bc26945d28d2
3
+ metadata.gz: aa5cf18487994a26df91043ecaa517405b402252
4
+ data.tar.gz: ebeb9db697bd0f9473f47b4c7799cce6ec3924b4
5
5
  SHA512:
6
- metadata.gz: 47a6488f9d1a9dcd99b90e4cc5ef81bc16fdeb1559cf589ecd36fdacdf0d00c173d20f62743bc28b7e114ed64463a694e0709532a4c08d7fca01f8ae41124774
7
- data.tar.gz: 88559585cc42b9f679038c2b8cf9005ce2d7ae3ffe2ab9997028d77105d37153f78647952555a0dfd7b4cb476c4a29a74d49da07b800c746e41974a7c19d38ad
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.
@@ -1,3 +1,3 @@
1
1
  module LHS
2
- VERSION = "6.6.0"
2
+ VERSION = "6.6.1"
3
3
  end
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.0
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.5.1
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