bogo-cli 0.1.8 → 0.1.10
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 +3 -3
- 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: 6496e4592603ec28d442abc2f66c5d39a4c51469
|
4
|
+
data.tar.gz: fd61579ed6f641e2d7e66fb2984d1ac1865c8a5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 407792bce6252ae2c5dca9670f49c366e58881e7a8e05331546ae05a8a45292ebdcf3b2d0a5b319ca3973f34a6f835c81abfd3d44d50e24273d91b6428f94d64
|
7
|
+
data.tar.gz: f7883b46ead57227688a85df247ae9be02c3a39d71d1fdfed6e08137841bdff5389239c5e64c0cc5101fc3888b705a294d2b5c4a949501878650196139cd229c
|
data/CHANGELOG.md
CHANGED
data/lib/bogo-cli/command.rb
CHANGED
@@ -17,14 +17,14 @@ module Bogo
|
|
17
17
|
# Build new command instance
|
18
18
|
#
|
19
19
|
# @return [self]
|
20
|
-
def initialize(
|
21
|
-
@options =
|
20
|
+
def initialize(cli_opts, args)
|
21
|
+
@options = cli_opts.to_hash.to_smash(:snake)
|
22
22
|
@arguments = args
|
23
23
|
ui_args = Smash.new(
|
24
24
|
:app_name => options.fetch(:app_name,
|
25
25
|
self.class.name.split('::').first
|
26
26
|
)
|
27
|
-
).merge(
|
27
|
+
).merge(opts)
|
28
28
|
@ui = options.delete(:ui) || Ui.new(ui_args)
|
29
29
|
load_config!
|
30
30
|
end
|
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.10
|
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-03-
|
11
|
+
date: 2015-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bogo
|