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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5743beb843869cb039a5007f7ef2ed7787612a43
4
- data.tar.gz: 12c347e20764ba89c54534b3d500504ad1622d8c
3
+ metadata.gz: 0db0ec5e816f260aec22fafce15157c977a7049e
4
+ data.tar.gz: 11724ef2038b70663bd77f75082f45ebca3fbde6
5
5
  SHA512:
6
- metadata.gz: 1bf390c6af6ddd639107fc025df2e9d72ed60e6e7ce767500c0328adf3ceb7cb5aafcc034f9dd77474ea5231726f1e5d67e7498bbcd3731832d1282cced709ea
7
- data.tar.gz: 4aefe2b569c630440e9cb7d8d2e911aa3fc3e524448b36cb89d9f4f115c88234a2782ce590777b31f2b2e34599556993c8dd874f790601b15c82fcf9f0d79eac
6
+ metadata.gz: 3d04d6350a5c1ae9a25884ec74b0f101a47ef94cb30c2c786a770d2ce21b20598267fd180899069b41c04f2379bf80d18e5e7fa801c6dec6410df8bf6008e763
7
+ data.tar.gz: 3d327824989463e5aec34a10833cf6683dcdbd89c098cfd97434b0bb38ea0aa95d3b4b51ee4f988616b281532a5b59a66bdc982b6dd83d971513de8670b3c2bd
@@ -202,15 +202,7 @@ module Evnt
202
202
  end
203
203
 
204
204
  def validates_type_date(param)
205
- is_date = param.instance_of?(Date)
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
@@ -5,6 +5,6 @@ module Evnt
5
5
  ##
6
6
  # Constant containing the current gem version.
7
7
  ##
8
- VERSION = '2.1.4'
8
+ VERSION = '2.1.5'
9
9
 
10
10
  end
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
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-09 00:00:00.000000000 Z
11
+ date: 2017-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler