validates_overlap 0.8.5 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38ef7498030765282456178f6a164c640d0e7b59
4
- data.tar.gz: a6898d04aad43edbdf84eb20c3e7cd218bcd23be
3
+ metadata.gz: 887de1441f7986508de96a9fa513847b67ff47fb
4
+ data.tar.gz: 98ff051afa57c042628eefa246b48d53717babfb
5
5
  SHA512:
6
- metadata.gz: a01249ba72562d30a58c0a7bbea823647b3071fb9df5cef9af15fd8057e33e64a23ab655d6db6e668c92f031976650b5acc2b32b6af6906fb93a8964afb93911
7
- data.tar.gz: 7efe310283751b308851d8ccbdd3589b33a66e376a764c2cb2d321782bb1ccce4fb492395f31bb08b37e2fdcf627746628fb6ad246b33d1be4495b79289a251d
6
+ metadata.gz: 302740541f1b75fc706bb98e9c26da12c9a2b966842240cca98f0aeeecf1ea801c9849da260453867d373f2d00c06390be87bd955d8253ecb103c088b53b6a33
7
+ data.tar.gz: 225d5db1e766e50af82cb0ebddc11f79b965ccc12fe8c3ca2d7a3ccd05603c289a4e01d2696245e28696cb7234f5ed3ed809833f0108ed8a2d4fdb431c5e24f8
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.5
1
+ 0.8.6
@@ -189,7 +189,7 @@ class OverlapValidator < ActiveModel::EachValidator
189
189
  end
190
190
 
191
191
  def is_enum_attribute?(record, attr_name)
192
- implement_enum? && record.class.defined_enums[attr_name].present?
192
+ implement_enum? && record.class.defined_enums[attr_name.to_s].present?
193
193
  end
194
194
 
195
195
  def implement_enum?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_overlap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Bortlik