chake 0.15 → 0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +6 -0
- data/lib/chake/backend.rb +1 -1
- data/lib/chake/version.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c5de6dc187e73f8e32845104205dfae9f7c1c67
|
4
|
+
data.tar.gz: 264ee4d200a5b7147ba63148486fa4b081cf9e41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b61161a7cb9a9dfc42c7debd8928f3af11bc83020ac83b7552b7c66e7169b77ecfd3d890de1c7bc5e0665455329e1366bd5eaa685acae84214f3a62f3e0f8fb5
|
7
|
+
data.tar.gz: c8f177faaae5b431527ba22030c264613d24b14230a805da08950a596565fe023f9394456ea3d02c2b01a40dec0149afd465908a0765181ef7a31d785d165e4f
|
data/ChangeLog.md
CHANGED
data/lib/chake/backend.rb
CHANGED
@@ -23,7 +23,7 @@ module Chake
|
|
23
23
|
|
24
24
|
def run(cmd)
|
25
25
|
printf "%#{Node.max_node_name_length}s: $ %s\n", node.hostname, cmd
|
26
|
-
output = IO.popen(command_runner + [cmd])
|
26
|
+
output = IO.popen(command_runner + [cmd], err: [:child, :out])
|
27
27
|
output.each_line do |line|
|
28
28
|
printf "%#{Node.max_node_name_length}s: %s\n", node.hostname, line.strip
|
29
29
|
end
|
data/lib/chake/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -20,7 +20,7 @@ shared_examples "Chake::Backend" do |backend_class|
|
|
20
20
|
|
21
21
|
it('runs commands') do
|
22
22
|
io = StringIO.new("line 1\nline 2\n")
|
23
|
-
expect(IO).to receive(:popen).with(backend.command_runner + ['something']).and_return(io)
|
23
|
+
expect(IO).to receive(:popen).with(backend.command_runner + ['something'], Hash).and_return(io)
|
24
24
|
expect(backend).to receive(:printf).with(anything, "myhost", "something")
|
25
25
|
expect(backend).to receive(:printf).with(anything, "myhost", "line 1")
|
26
26
|
expect(backend).to receive(:printf).with(anything, "myhost", "line 2")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.16'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antonio Terceiro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.5.
|
148
|
+
rubygems_version: 2.5.2
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: serverless configuration management tool for chef
|