morse_fields_validator 1.1.9 → 1.1.10

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: da527e66cd32bd0328e9822e45654d6ce5d790ae
4
- data.tar.gz: 3f4b08bc0c1d0030151100f0c21da54986e70021
3
+ metadata.gz: 66d826370e9d7e4c7ac884703d89688ae01031ad
4
+ data.tar.gz: f697391723655835ca4d69e61132472cb768e166
5
5
  SHA512:
6
- metadata.gz: 8593ec61422230fa5fa832936416c6998a8f641a7539afcb19b32eaa896d1dbe472c141a940db5e9e8cbf6dd083f4a7cd03b0ddebbc1032eaa653e5b4ec26f5e
7
- data.tar.gz: efe6627064c3bb65df316f89881c785df9a8b32a5306ed7f6c0d8831fdf7f120247447b9051cc6dac5fd7fcf919c3adbfe1201089d768b9407e32c967da70125
6
+ metadata.gz: f00e22ac2472f33666784cd8ee54c3f40bd6c57bd09bfc9549063a20f6766d87375618868945459e0cf39ba2725e225681d90aae64eec73fe846657184f408cd
7
+ data.tar.gz: 35bd421cc83b06f3dfe542445570cfedb3e813b95a4d9aac871626cee9054af24abf1cb71fbfa7d2e31638c600c45640c38e1f042d272341d67cfcaaa516f15f
@@ -29,7 +29,7 @@ module FieldsValidator
29
29
 
30
30
  def validate_column_names
31
31
  if self.class.required_database_fields and self.class.required_database_fields.any?
32
- self.class.required_database_fields.each { |rdf| errors.add(rdf, "does not have a column in the database.") unless self.class.column_names.include?(rdf)} if self.class.required_database_fields.any?
32
+ self.class.required_database_fields.each { |rdf| errors.add(rdf, "does not have a column in the database.") unless self.class.column_names.include?(rdf.to_s)} if self.class.required_database_fields.any?
33
33
  end
34
34
  end
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module MorseFieldsValidator
2
- VERSION = "1.1.9"
2
+ VERSION = "1.1.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morse_fields_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry S