bogo-cli 0.2.8 → 0.2.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 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88d4e1c6624d0a5e58a560c929df24c9c690d4bc
|
4
|
+
data.tar.gz: e09d33d7d22258aee008239125fa061610854d2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a646cd7ec23063e2a3ccf81b4e5ea16e65144a330cf00663fb84277fef98a6122418ec2e3ddb36e9ec3f12826a9c43feac825d2d8303eb05278385294ff669c1
|
7
|
+
data.tar.gz: 654697ea4cd9e88071cbb8e5b94912618badb548f0e8a4e4fb38af1c7f3942faab5c0a8871b32a3afdc956ad689dc2f990734e1494ea4004a0731d9a46ad69a1
|
data/CHANGELOG.md
CHANGED
data/lib/bogo-cli/command.rb
CHANGED
@@ -83,13 +83,13 @@ module Bogo
|
|
83
83
|
# @return [Hash]
|
84
84
|
def load_config!
|
85
85
|
if(options[:config])
|
86
|
-
config_inst =
|
86
|
+
config_inst = Config.new(options[:config])
|
87
87
|
elsif(self.class.const_defined?(:DEFAULT_CONFIGURATION_FILES))
|
88
88
|
path = self.class.const_get(:DEFAULT_CONFIGURATION_FILES).detect do |check|
|
89
89
|
full_check = File.expand_path(check)
|
90
90
|
File.exists?(full_check)
|
91
91
|
end
|
92
|
-
config_inst =
|
92
|
+
config_inst = Config.new(path) if path
|
93
93
|
end
|
94
94
|
if(config_inst)
|
95
95
|
options.delete(:config)
|
@@ -100,7 +100,7 @@ module Bogo
|
|
100
100
|
defaults.key?(key)
|
101
101
|
end
|
102
102
|
]
|
103
|
-
config_data = config_inst.
|
103
|
+
config_data = config_inst.data
|
104
104
|
config_inst = Smash[
|
105
105
|
config_inst.to_smash.find_all do |key, value|
|
106
106
|
config_data.key?(key)
|
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.2.
|
4
|
+
version: 0.2.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: 2016-
|
11
|
+
date: 2016-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bogo
|
@@ -146,4 +146,3 @@ signing_key:
|
|
146
146
|
specification_version: 4
|
147
147
|
summary: CLI Helper libraries
|
148
148
|
test_files: []
|
149
|
-
has_rdoc:
|