hyrb 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hyrb/cli.rb +1 -1
- data/lib/hyrb/command.rb +2 -2
- data/lib/hyrb/tasks/creds.rb +3 -1
- data/lib/hyrb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ee552b4d718c25c82a1611e07d848fb8704fe9f
|
4
|
+
data.tar.gz: 92b731aef58fc95e2470159ab7abb67156891eca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54823835a82fb256d0154d5aee8963761c9987918a87b48727be2e823b97ba7e9a75da2dff3ab76c95b36b04291d0e4484f5eaa69fa1701baaa7e27787ec5c15
|
7
|
+
data.tar.gz: 56824ead6ce44e6d80f4142b6fe1b0d3b9a900988790257adf519f2f045aae7511aee1ded25d0243d9b1afa145868520b1312f8091dc419a4778f24b1ac816e7
|
data/lib/hyrb/cli.rb
CHANGED
@@ -9,7 +9,7 @@ module Hyrb
|
|
9
9
|
|
10
10
|
desc "edit", "Open the configuration dir in your default editor"
|
11
11
|
def edit
|
12
|
-
Pipeline.new(Hyrb::
|
12
|
+
Commands::Pipeline.new(Hyrb::Task).edit(Hyrb::DEFAULT_PATH)
|
13
13
|
end
|
14
14
|
|
15
15
|
subc :defaults, "Manage Hyrb defaults"
|
data/lib/hyrb/command.rb
CHANGED
@@ -17,7 +17,7 @@ module Hyrb
|
|
17
17
|
|
18
18
|
module Commands
|
19
19
|
Hyrb.autoload_each self, "hyrb/commands", %w( ansible creds defaults developers digital_ocean environment github hipchat project provision rackspace )
|
20
|
-
|
20
|
+
|
21
21
|
class Pipeline < Hyrb::Pipeline
|
22
22
|
def initialize(task_class)
|
23
23
|
super
|
@@ -35,7 +35,7 @@ module Hyrb
|
|
35
35
|
|
36
36
|
if options.delete(:always)
|
37
37
|
options[:default] = hash[key] if hash[key]
|
38
|
-
ask(prompt, options)
|
38
|
+
hash[key] = ask(prompt, options)
|
39
39
|
else
|
40
40
|
hash[key].blank? ? hash[key] = ask(prompt, options) : hash[key]
|
41
41
|
end
|
data/lib/hyrb/tasks/creds.rb
CHANGED
data/lib/hyrb/version.rb
CHANGED