morse_fields_validator 1.1.0 → 1.1.1

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: 480146ad3c18a4216a22a2ee7dde7fb982b591fc
4
- data.tar.gz: 15c5cbb863e93f848a2b6df97a814d4f2126a78c
3
+ metadata.gz: 648381c8f30abf6f577accf239901cefabd0ff52
4
+ data.tar.gz: 83144a168a3ad384915b96bec365e98b6c350aaf
5
5
  SHA512:
6
- metadata.gz: 1813a4f7e25ea9d86a5c21f766f291590a4eb344c61d167b7f1c0ff3a6b4ee7900c076a123028d31aa77cd5539c1488e30b1e542fab739aca03043b5d17732c3
7
- data.tar.gz: 5eedb850fdacb13cc7f61347e15f0605957f437c96b61b73a3aaf4393cc097bd24a2b2b242719dc9e2353cd1c0d779b31de81eeba998d1867f7ba5597124dc38
6
+ metadata.gz: a3cb0d7d93da4f96972ae85a7722337caeb78104cce0e5d6853320ea72ac7de0be7b77f13caf8f57a5f19e36a0dc019ef91337e3dc83b22a3ae516b207ff2858
7
+ data.tar.gz: b5914ad02533d63ee6701e6c3e41fb409a4b3836a3e5820717371f891defa6e0c8b6ce16d2e1537adc94dcfe16e42aac4f1b219ac358a2f2e3600a334660144a
@@ -14,11 +14,11 @@ module FieldsValidator
14
14
  end
15
15
 
16
16
  def required_attributes
17
- defined?(super) ? super : []
17
+ defined?(super) and super.is_a?(Array) ? super : []
18
18
  end
19
19
 
20
20
  def required_database_fields
21
- defined?(super) ? super : []
21
+ defined?(super) and super.is_a?(Array) ? super : []
22
22
  end
23
23
 
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module MorseFieldsValidator
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
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.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry S
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-30 00:00:00.000000000 Z
12
+ date: 2015-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel