chake 0.1.3 → 0.1.4

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: eaf1beb73ca3efd51a016661d2fd07ad929c89a1
4
- data.tar.gz: edd6171ade32fbd563abecbb9de5ec2cf25ef50d
3
+ metadata.gz: 3c3f9cb42309d38c8bb0535e44ed6781139b8b8d
4
+ data.tar.gz: 54cff1db866813ef1bbe5ae70af3f8fbce1bfd9c
5
5
  SHA512:
6
- metadata.gz: 5bf5d1a372980d208546537b3d30e852937ebfe9e348d2e9972fd096c617c9990f868eb4cbce8eb0c8ab0ef8e4e0ccc7db0234b1d7b9655a9224c00b0e2e55f3
7
- data.tar.gz: 172b995947fd0af278e5f7d0cbe28c11add0ec04dff96df6d3c284bf3fc827518c7bcbd4cbe8c602570f8ef0ef6be2825611140e2723d9a9c2ff016c602448f6
6
+ metadata.gz: 1633c7030a1a41c683575c0418c80745cbaaad4fee918671e5631f0c36804ca3844ccf32bb7cb03fa627da821ecb1685c7d03de8025c229ec5181f9d42aacb8b
7
+ data.tar.gz: 2b6e6f43d475839158e2f507fe1775c362faa436f797a04d56f7f3fd6d967515295091ce083f4f4b0bbc1c62f4fac4f804287a0d770c894d65ec51d39d052d08
data/chake.gemspec CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.5"
22
- spec.add_development_dependency "rake"
23
22
  spec.add_development_dependency "rspec"
24
23
 
25
24
  spec.add_dependency "rake"
data/lib/chake/backend.rb CHANGED
@@ -25,7 +25,7 @@ module Chake
25
25
  if node.username == 'root'
26
26
  run(cmd)
27
27
  else
28
- run('sudo ' + cmd)
28
+ run('sudo sh -c "' + cmd + '"')
29
29
  end
30
30
  end
31
31
 
data/lib/chake/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Chake
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -16,7 +16,7 @@ shared_examples "Chake::Backend" do |backend_class|
16
16
  end
17
17
 
18
18
  it('runs as root') do
19
- backend.should_receive(:run).with('sudo something')
19
+ backend.should_receive(:run).with('sudo sh -c "something"')
20
20
  backend.run_as_root('something')
21
21
  end
22
22
 
metadata CHANGED
@@ -1,69 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antonio Terceiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-01 00:00:00.000000000 Z
11
+ date: 2014-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rspec
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - '>='
31
+ - - ">="
46
32
  - !ruby/object:Gem::Version
47
33
  version: '0'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - '>='
38
+ - - ">="
53
39
  - !ruby/object:Gem::Version
54
40
  version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - '>='
45
+ - - ">="
60
46
  - !ruby/object:Gem::Version
61
47
  version: '0'
62
48
  type: :runtime
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - '>='
52
+ - - ">="
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0'
69
55
  description: chake provides a set of rake tasks that you can use to manage any number
@@ -75,7 +61,7 @@ executables: []
75
61
  extensions: []
76
62
  extra_rdoc_files: []
77
63
  files:
78
- - .gitignore
64
+ - ".gitignore"
79
65
  - Gemfile
80
66
  - LICENSE.txt
81
67
  - README.md
@@ -106,17 +92,17 @@ require_paths:
106
92
  - lib
107
93
  required_ruby_version: !ruby/object:Gem::Requirement
108
94
  requirements:
109
- - - '>='
95
+ - - ">="
110
96
  - !ruby/object:Gem::Version
111
97
  version: '0'
112
98
  required_rubygems_version: !ruby/object:Gem::Requirement
113
99
  requirements:
114
- - - '>='
100
+ - - ">="
115
101
  - !ruby/object:Gem::Version
116
102
  version: '0'
117
103
  requirements: []
118
104
  rubyforge_project:
119
- rubygems_version: 2.0.14
105
+ rubygems_version: 2.2.2
120
106
  signing_key:
121
107
  specification_version: 4
122
108
  summary: Simple host management with chef and rake. No chef server required.
@@ -126,3 +112,4 @@ test_files:
126
112
  - spec/chake/backend_spec.rb
127
113
  - spec/chake/node_spec.rb
128
114
  - spec/spec_helper.rb
115
+ has_rdoc: