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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe123a584f3bade6baea0b74efcc5a258e5c3bc3
4
- data.tar.gz: 8f8917a50a6269c199d89c3cb79f14c82329ec31
3
+ metadata.gz: 1ee552b4d718c25c82a1611e07d848fb8704fe9f
4
+ data.tar.gz: 92b731aef58fc95e2470159ab7abb67156891eca
5
5
  SHA512:
6
- metadata.gz: 614455754889a6e57ad0edc36edcf086b84d0171450f1c5dd86932024b23906e306611049ad3af71eac5721e8050b21e4fc207ef043df5a77a7018f59088f88d
7
- data.tar.gz: b03e1193eb9d2f353465bfa5726098e01a6a27265c1953455dad7885429233dccf3f6fd334092bbfd24b250d29a5544f3239edb8facbd399198e736ae6e27275
6
+ metadata.gz: 54823835a82fb256d0154d5aee8963761c9987918a87b48727be2e823b97ba7e9a75da2dff3ab76c95b36b04291d0e4484f5eaa69fa1701baaa7e27787ec5c15
7
+ data.tar.gz: 56824ead6ce44e6d80f4142b6fe1b0d3b9a900988790257adf519f2f045aae7511aee1ded25d0243d9b1afa145868520b1312f8091dc419a4778f24b1ac816e7
@@ -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::Tasks::Base).edit(Hyrb::DEFAULT_PATH)
12
+ Commands::Pipeline.new(Hyrb::Task).edit(Hyrb::DEFAULT_PATH)
13
13
  end
14
14
 
15
15
  subc :defaults, "Manage Hyrb defaults"
@@ -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
@@ -24,7 +24,9 @@ module Hyrb
24
24
  class Build < Task
25
25
  depends Init
26
26
 
27
- Hyrb::Models::Creds.keys.each { |key| prompt :creds, key, always: true }
27
+ Hyrb::Models::Creds.keys.each do |key|
28
+ prompt :creds, key, always: true
29
+ end
28
30
  end
29
31
 
30
32
  class Edit < Task
@@ -1,3 +1,3 @@
1
1
  module Hyrb
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Leavitt