validates_timeliness 5.0.0.alpha5 → 5.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/validates_timeliness/version.rb +1 -1
- data/spec/support/model_helpers.rb +1 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa25778ed03195da3bdd16dafc426d3345c2df57a21d225c73b97dd6785045e0
|
4
|
+
data.tar.gz: bd5fd0cc630b48cdd9543be3e79ef11599ec7c92fa7cff7f9acdce4867707e74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fffd3ee1b2e79d67505b1866de6398eddb35bc52024a967b95d83b6e56b8f43a30c03efb89578e7bee7e8458a2ec38566c2048d6671ab3d55aa9e6365eb042a4
|
7
|
+
data.tar.gz: fcdc2d3e74d7e8a6011bc684991c49090e40416a79148af5ac421cef2376c78d683d280ef4998edaa1edd14ac5e5ad61f50b7d38e7ef89df104045db2f16a362
|
@@ -17,8 +17,7 @@ module ModelHelpers
|
|
17
17
|
|
18
18
|
def with_each_person_value(attr_name, values)
|
19
19
|
record = Person.new
|
20
|
-
values
|
21
|
-
values.each do |value|
|
20
|
+
Array.wrap(values).each do |value|
|
22
21
|
record.send("#{attr_name}=", value)
|
23
22
|
yield record, value
|
24
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validates_timeliness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.0.
|
4
|
+
version: 5.0.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Meehan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: timeliness
|
@@ -103,8 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: 1.3.1
|
105
105
|
requirements: []
|
106
|
-
|
107
|
-
rubygems_version: 2.7.6.2
|
106
|
+
rubygems_version: 3.0.3
|
108
107
|
signing_key:
|
109
108
|
specification_version: 4
|
110
109
|
summary: Date and time validation plugin for Rails which allows custom formats
|