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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 648381c8f30abf6f577accf239901cefabd0ff52
|
4
|
+
data.tar.gz: 83144a168a3ad384915b96bec365e98b6c350aaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
12
|
+
date: 2015-07-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|