chake 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/examples/test/Rakefile +1 -1
- data/lib/chake/backend.rb +9 -1
- data/lib/chake/version.rb +1 -1
- metadata +13 -23
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: eaf1beb73ca3efd51a016661d2fd07ad929c89a1
|
4
|
+
data.tar.gz: edd6171ade32fbd563abecbb9de5ec2cf25ef50d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5bf5d1a372980d208546537b3d30e852937ebfe9e348d2e9972fd096c617c9990f868eb4cbce8eb0c8ab0ef8e4e0ccc7db0234b1d7b9655a9224c00b0e2e55f3
|
7
|
+
data.tar.gz: 172b995947fd0af278e5f7d0cbe28c11add0ec04dff96df6d3c284bf3fc827518c7bcbd4cbe8c602570f8ef0ef6be2825611140e2723d9a9c2ff016c602448f6
|
data/examples/test/Rakefile
CHANGED
data/lib/chake/backend.rb
CHANGED
@@ -8,9 +8,17 @@ module Chake
|
|
8
8
|
|
9
9
|
def run(cmd)
|
10
10
|
puts "#{node.hostname}: $ #{cmd}"
|
11
|
-
IO.popen(command_runner + [cmd])
|
11
|
+
output = IO.popen(command_runner + [cmd])
|
12
|
+
output.each_line do |line|
|
12
13
|
puts [node.hostname, line.strip].join(': ')
|
13
14
|
end
|
15
|
+
output.close
|
16
|
+
if $?
|
17
|
+
status = $?.exitstatus
|
18
|
+
if status != 0
|
19
|
+
puts [node.hostname, 'FAILED with exit status %d' % status].join(': ')
|
20
|
+
end
|
21
|
+
end
|
14
22
|
end
|
15
23
|
|
16
24
|
def run_as_root(cmd)
|
data/lib/chake/version.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Antonio Terceiro
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-04-01 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,49 +27,43 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rake
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rake
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
description: chake provides a set of rake tasks that you can use to manage any number
|
@@ -108,27 +99,26 @@ files:
|
|
108
99
|
homepage: https://github.com/terceiro/chake
|
109
100
|
licenses:
|
110
101
|
- MIT
|
102
|
+
metadata: {}
|
111
103
|
post_install_message:
|
112
104
|
rdoc_options: []
|
113
105
|
require_paths:
|
114
106
|
- lib
|
115
107
|
required_ruby_version: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
108
|
requirements:
|
118
|
-
- -
|
109
|
+
- - '>='
|
119
110
|
- !ruby/object:Gem::Version
|
120
111
|
version: '0'
|
121
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
113
|
requirements:
|
124
|
-
- -
|
114
|
+
- - '>='
|
125
115
|
- !ruby/object:Gem::Version
|
126
116
|
version: '0'
|
127
117
|
requirements: []
|
128
118
|
rubyforge_project:
|
129
|
-
rubygems_version:
|
119
|
+
rubygems_version: 2.0.14
|
130
120
|
signing_key:
|
131
|
-
specification_version:
|
121
|
+
specification_version: 4
|
132
122
|
summary: Simple host management with chef and rake. No chef server required.
|
133
123
|
test_files:
|
134
124
|
- spec/chake/backend/local_spec.rb
|