effective_bootstrap 0.11.19 → 0.11.20
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b17b0b143dc410da0e359a4b406f05f7607c888a8ab40915b1b9ef2222a7b0e
|
4
|
+
data.tar.gz: 5aeb0b56cbc7c04581c762e190c40ab0abf3e1234a1fd3769832379f2198c22e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fcb532a43efc45d16ad110070caed501efed1221a73825079c69030b40eb6d66f6eece93c3ea50662bb05f29fcfb697d2a80f38003b24cfab440d537cfabb40
|
7
|
+
data.tar.gz: cfc958e31b2e6e0d7397c6cd9248d6ecd89b34f65dab6ebbd52cd717563a57daceba6965af1a06735d0c739a420b48b01856108a86dd1c1aed83cda6bb27be15
|
@@ -27,7 +27,8 @@ module Effective
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def multiple?
|
30
|
-
|
30
|
+
return @multiple unless @multiple.nil?
|
31
|
+
@multiple = options.key?(:multiple) ? options.delete(:multiple) : (name.to_s.pluralize == name.to_s)
|
31
32
|
end
|
32
33
|
|
33
34
|
def required_presence?(obj, name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|