cmd2json 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/cmd2json +1 -1
- data/lib/cmd2json/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: 1c0a44e3ea8201412df4963d8e42df082f145907
|
4
|
+
data.tar.gz: 1eb5071316a79c88e0c0af3b110e722796ef29c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e24a7c5f38dead2c8165dc4e8c8e8d378d5e01589952c5110baca9ea73bc71e1f5e76d5f682a908a30938c26bb65a2e0002b3797b34463920c15ef04028342fb
|
7
|
+
data.tar.gz: 4517861a997c8459d966c6c90ef86e4bc3a122c2db821b9e0a5acbe6f9b548f2263a97f7c057b56abc76344e6c902be97f4fdd86f025b0abc5eb865a701d670b
|
data/bin/cmd2json
CHANGED
@@ -18,7 +18,7 @@ BANNER
|
|
18
18
|
opts.on("-t", "--timestamp", "add @timestamp") { options[:timestamp] = true }
|
19
19
|
opts.on("--host", "add host") { options[:host] = true }
|
20
20
|
opts.on("-h", "--help", "Show this.") { puts opts; exit }
|
21
|
-
opts.on('-v', '--version', 'Show Version'){ puts Cmd2Json::VERSION; exit 0 }
|
21
|
+
opts.on('-v', '--version', 'Show Version'){ require 'cmd2json/version'; puts Cmd2Json::VERSION; exit 0 }
|
22
22
|
end
|
23
23
|
|
24
24
|
argv = ARGV.dup
|
data/lib/cmd2json/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmd2json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|