dumbwaiter 0.4.2 → 0.4.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: a3d7718c5ed04fbb0968d7137db8b407664c2208
4
- data.tar.gz: 58012f46d1485fc677be218a88accdefe6ea0faa
3
+ metadata.gz: d982d2f214ae14a68e7580cf7fce7ac5c5faab5b
4
+ data.tar.gz: 8c61bcff1b9d5bba3837d0bed4b321758a49e9a3
5
5
  SHA512:
6
- metadata.gz: ca37b421c99a6925f6341f1399e4ec8722d84df5be94bdf7a186da8974beb61bc371bcf3effc5bb22c7ffe6b60d2a5bcfbad8e8695e29caeb96cf10de9af526f
7
- data.tar.gz: 1dc41bf27d1fbacb8459bc4c3953cc9b4f053c2428dcdcd4fda46cbe2ae2551880e1d9e3432f665b51a23b9fc0af1268aebad69eecc6107ce8a46af89c064a53
6
+ metadata.gz: 14c30206fe158fb0da5ef33b546070bc59d14def43685b256bf08334d33648ae34dead8915ae60072bcf4a70a242d6d5d274b704050baf35dc06ddadb634fd2c
7
+ data.tar.gz: d49f8e84274ffbe8e490cd3e2da8a552ebfa310e16dacd31457a949dac7c2188ad882fcf56834a03da343523fccc10e8ad0030d24c34eaf1a4cdedf8f6795a9e
@@ -81,7 +81,7 @@ module Dumbwaiter
81
81
  def layers(stack_name)
82
82
  stack = Stack.find(stack_name)
83
83
  layer_names = stack.layers.map(&:shortname)
84
- Kernel.puts(layer_names.join(', '))
84
+ Kernel.puts(layer_names.join(" "))
85
85
  rescue Dumbwaiter::Stack::NotFound => e
86
86
  raise Thor::Error.new(e.message)
87
87
  end
@@ -1,3 +1,3 @@
1
1
  module Dumbwaiter
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
@@ -113,8 +113,10 @@ describe Dumbwaiter::Cli do
113
113
 
114
114
  describe "#layers" do
115
115
  context "when the stack exists" do
116
+ before { fake_opsworks.make_layer(fake_stack, "handsome", "frijoles") }
117
+
116
118
  it "lists the layers" do
117
- Kernel.should_receive(:puts).with(fake_layer.shortname)
119
+ Kernel.should_receive(:puts).with("beans frijoles")
118
120
  cli.layers("ducks")
119
121
  end
120
122
  end
@@ -168,7 +170,7 @@ describe Dumbwaiter::Cli do
168
170
  context "when the stack exists" do
169
171
  context "when the layer exists" do
170
172
  it "prints custom recipes for a layer event" do
171
- Kernel.should_receive(:puts) { |m| m.should == "ham salami" }
173
+ Kernel.should_receive(:puts).with("ham salami")
172
174
  cli.custom_recipes("ducks", "beans", "setup")
173
175
  end
174
176
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dumbwaiter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doc Ritezel