bogo-cli 0.1.16 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/bogo-cli/command.rb +13 -2
- data/lib/bogo-cli/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: a8b142eb9d7f9f1c5e83a2ea527c7d3531f225e2
|
4
|
+
data.tar.gz: 3f276dedb32b03bc8648eb5c5e96f5efe52189bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc5177c59dcbe6c5e3ad85f51798130bec38c218cf6b3a48296b4fb71a0466ad3c7d74668c211cf8fc4ebc0f923a0c3b41f06af44afae116fd9f80ac10fd6dd0
|
7
|
+
data.tar.gz: 62a0c714d2eca671c20fcd7fd80d6d3a340dcf6c6980b84c957916fc0984e698ec671dd1d9f4ef5ce3ed8d18db84c05312eccaa03e8c21745b39227a7c0e69c2
|
data/CHANGELOG.md
CHANGED
data/lib/bogo-cli/command.rb
CHANGED
@@ -50,9 +50,20 @@ module Bogo
|
|
50
50
|
|
51
51
|
# Command specific options
|
52
52
|
#
|
53
|
-
# @return [
|
53
|
+
# @return [Smash]
|
54
54
|
def opts
|
55
|
-
|
55
|
+
Smash[
|
56
|
+
options.fetch(
|
57
|
+
Bogo::Utility.snake(
|
58
|
+
self.class.name.split('::').last
|
59
|
+
),
|
60
|
+
Hash.new
|
61
|
+
).map{|k,v|
|
62
|
+
unless(v.nil?)
|
63
|
+
[k,v]
|
64
|
+
end
|
65
|
+
}.compact
|
66
|
+
]
|
56
67
|
end
|
57
68
|
|
58
69
|
# Load configuration file and merge opts
|
data/lib/bogo-cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bogo-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bogo
|