hammer_cli_katello_bridge 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hammer_cli_katello_bridge.rb +2 -2
- data/lib/hammer_cli_katello_bridge/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: 2cba5452eae83c2e4ec8fc2a7b25c37905dd8a4f
|
4
|
+
data.tar.gz: 62be1af6737ff88d329b261d38c7bec0c2d127d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c50fad3d7dbdaf92ee9a5a95676220e249a7a866d871798a30b55ae91d1248be1910d794912476729e1aabbd653edb45bd0734e2887ce9b2146e366c38e264c
|
7
|
+
data.tar.gz: 776b9807c6cc17f9ba2ec9aa5572d6a6fdcbdbc3822ac507f9176d3c364aacc26ea81cd00a0c77df928807cfc8e12386f146b6bfdd4d2f1707ac91539594f410
|
@@ -78,8 +78,8 @@ module HammerCLIKatelloBridge
|
|
78
78
|
end
|
79
79
|
|
80
80
|
|
81
|
-
|
82
|
-
json_file = HammerCLI::Settings.get(:katello_bridge, :cli_description) ||
|
81
|
+
default_json_path = File.realpath(File.join(__FILE__, '../../katello.json'))
|
82
|
+
json_file = HammerCLI::Settings.get(:katello_bridge, :cli_description) || default_json_path
|
83
83
|
raise RuntimeError.new("Path to katello CLI description is not set or file does not exist") unless (json_file && File.exist?(json_file))
|
84
84
|
self.load_commands(File.read(json_file)).each do |command|
|
85
85
|
HammerCLI::MainCommand.subcommand!(command[:name], command[:desc], command[:cls])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_katello_bridge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Bačovský
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|