vindetta 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vindetta/cli.rb +3 -1
- data/lib/vindetta/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 045ea11f936070763a5697375633ef5728d463c6
|
4
|
+
data.tar.gz: 18378b1d362e4b06879dea15b944cd3a421de99a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a029ba9d2dbacb6d90fa98ebd5d390e09753c7172ef96c3a80f66d98794af683ce1b0792b0e87a88ccea34ba5969d58cc25090174cc02ef7e2064e9962d505e
|
7
|
+
data.tar.gz: 4441fb64d3779acb4915067110a7f45ccb155949ce6550b8ada4ec5b9a0fbea46b4212205130186627216d6717094dffb6b17c066c607a539b6223ef01605935
|
data/lib/vindetta/cli.rb
CHANGED
@@ -27,7 +27,9 @@ module Vindetta
|
|
27
27
|
desc "Decodes a VIN"
|
28
28
|
command %i[decode d] do |c|
|
29
29
|
c.action do |_global, _options, _args|
|
30
|
-
vin =
|
30
|
+
vin = _args.first
|
31
|
+
|
32
|
+
exit_now!("vin is required") if vin.nil?
|
31
33
|
|
32
34
|
puts Vindetta::Decoder.decode_vin(vin).to_json
|
33
35
|
end
|
data/lib/vindetta/version.rb
CHANGED