evnt 3.6.1 → 3.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/evnt/command.rb +3 -1
- data/lib/evnt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 534a7e52f3d1e1e0639241b4576f13ddf3d84f5d27661653a7f54b8ab6282b87
|
4
|
+
data.tar.gz: 269c77c39c3475b5514f6bb72b6d0177bb6d0e7707de349ad40613feb2bae9ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5ba0c448849c4d6b6288b7158c8ce32ac2a532829257207f371567fc39e070495ad25e69d2ad2c9d1d5e222d3b6d5ce9b2cd9a430c0a87680675b692ab9913e
|
7
|
+
data.tar.gz: 000fb5ac286e63df864ddbad79759e12829b02f627bb2fab61b8631a75db1f43dc127b9637dc3183988b961a6d100345303c1fd4b66cee0cea3c45768029a462
|
data/lib/evnt/command.rb
CHANGED
@@ -147,7 +147,9 @@ module Evnt
|
|
147
147
|
if validator.passed?
|
148
148
|
@params[val[:param]] = validator.value
|
149
149
|
else
|
150
|
-
|
150
|
+
error = val[:options][:err] || "#{val[:param].capitalize} value not accepted"
|
151
|
+
err_code = val[:options][:err_code] || val[:param].to_sym
|
152
|
+
err(error, code: err_code)
|
151
153
|
break
|
152
154
|
end
|
153
155
|
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: 3.6.
|
4
|
+
version: 3.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ideonetwork
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|