evnt 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/evnt/validator.rb +1 -9
- data/lib/evnt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0db0ec5e816f260aec22fafce15157c977a7049e
|
4
|
+
data.tar.gz: 11724ef2038b70663bd77f75082f45ebca3fbde6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d04d6350a5c1ae9a25884ec74b0f101a47ef94cb30c2c786a770d2ce21b20598267fd180899069b41c04f2379bf80d18e5e7fa801c6dec6410df8bf6008e763
|
7
|
+
data.tar.gz: 3d327824989463e5aec34a10833cf6683dcdbd89c098cfd97434b0bb38ea0aa95d3b4b51ee4f988616b281532a5b59a66bdc982b6dd83d971513de8670b3c2bd
|
data/lib/evnt/validator.rb
CHANGED
@@ -202,15 +202,7 @@ module Evnt
|
|
202
202
|
end
|
203
203
|
|
204
204
|
def validates_type_date(param)
|
205
|
-
|
206
|
-
return true if is_date
|
207
|
-
|
208
|
-
begin
|
209
|
-
Date.parse(param)
|
210
|
-
true
|
211
|
-
rescue StandardError
|
212
|
-
false
|
213
|
-
end
|
205
|
+
param.instance_of?(Date)
|
214
206
|
end
|
215
207
|
|
216
208
|
end
|
data/lib/evnt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evnt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ideonetwork
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|