knife-spork 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'knife-spork'
5
- gem.version = '1.0.7'
5
+ gem.version = '1.0.8'
6
6
  gem.authors = ["Jon Cowie"]
7
7
  gem.email = 'jonlives@gmail.com'
8
8
  gem.homepage = 'https://github.com/jonlives/knife-spork'
@@ -66,7 +66,7 @@ module KnifeSpork
66
66
  def git_pull(path)
67
67
  if is_repo?(path)
68
68
  ui.msg "Git: Pulling latest changes from #{path}"
69
- output = IO.popen ("git pull 2>&1")
69
+ output = IO.popen("git pull 2>&1")
70
70
  Process.wait
71
71
  exit_code = $?
72
72
  if !exit_code.exitstatus == 0
@@ -79,7 +79,7 @@ module KnifeSpork
79
79
  def git_pull_submodules(path)
80
80
  if is_repo?(path)
81
81
  ui.msg "Pulling latest changes from git submodules (if any)"
82
- output = IO.popen ("git submodule foreach git pull 2>&1")
82
+ output = IO.popen("git submodule foreach git pull 2>&1")
83
83
  Process.wait
84
84
  exit_code = $?
85
85
  if !exit_code.exitstatus == 0
@@ -92,7 +92,7 @@ module KnifeSpork
92
92
  def git_add(filepath,filename)
93
93
  if is_repo?(filepath)
94
94
  ui.msg "Git add'ing #{filepath}/#{filename}"
95
- output = IO.popen ("cd #{filepath} && git add #{filename}")
95
+ output = IO.popen("cd #{filepath} && git add #{filename}")
96
96
  Process.wait
97
97
  exit_code = $?
98
98
  if !exit_code.exitstatus == 0
@@ -129,7 +129,7 @@ module KnifeSpork
129
129
  end
130
130
 
131
131
  def is_repo?(path)
132
- output = IO.popen ("cd #{path} && git rev-parse --git-dir 2>&1")
132
+ output = IO.popen("cd #{path} && git rev-parse --git-dir 2>&1")
133
133
  Process.wait
134
134
  if $? != 0
135
135
  ui.warn "#{path} is not a git repo, skipping..."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-spork
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-09-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
16
- requirement: &70276956227680 !ruby/object:Gem::Requirement
16
+ requirement: &70234682141100 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.10.4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70276956227680
24
+ version_requirements: *70234682141100
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: git
27
- requirement: &70276956227060 !ruby/object:Gem::Requirement
27
+ requirement: &70234682140540 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.2.5
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70276956227060
35
+ version_requirements: *70234682140540
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: app_conf
38
- requirement: &70276956226600 !ruby/object:Gem::Requirement
38
+ requirement: &70234682140080 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 0.4.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70276956226600
46
+ version_requirements: *70234682140080
47
47
  description: A workflow plugin to help many devs work with the same chef repo/server
48
48
  email: jonlives@gmail.com
49
49
  executables: []