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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: becb4451af48f24199de8e1baf36a6e11c5229f3
4
- data.tar.gz: e340d7d38551c3f87aca4a5ccb383c3f0038e246
3
+ metadata.gz: 1c0a44e3ea8201412df4963d8e42df082f145907
4
+ data.tar.gz: 1eb5071316a79c88e0c0af3b110e722796ef29c0
5
5
  SHA512:
6
- metadata.gz: 025c6cbe443c4d634569e8793dcc659844e16a965dae6646a82ac42dd5bdd3c99513c885165031fd892e18542ad34cd02b84ec67948105827148bfee64de22a4
7
- data.tar.gz: 00c255acec0f3362ea3540306c594099854c89a554e8df59202197b15b79d575ee4ace9f6f95534bba9adedfa0fa4ca0994ff8f4439dabce7525b99fb2fee528
6
+ metadata.gz: e24a7c5f38dead2c8165dc4e8c8e8d378d5e01589952c5110baca9ea73bc71e1f5e76d5f682a908a30938c26bb65a2e0002b3797b34463920c15ef04028342fb
7
+ data.tar.gz: 4517861a997c8459d966c6c90ef86e4bc3a122c2db821b9e0a5acbe6f9b548f2263a97f7c057b56abc76344e6c902be97f4fdd86f025b0abc5eb865a701d670b
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Cmd2Json
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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: 2016-12-08 00:00:00.000000000 Z
11
+ date: 2017-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json