puppet_pal 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,9 +40,9 @@ module PuppetPal
40
40
  end
41
41
 
42
42
  def copy_module(name, source_path, branch='master')
43
- current_branch = `cd #{source_path} && git symbolic-ref --short HEAD`.strip
43
+ current_branch = `cd #{source_path} && env -u GIT_DIR git symbolic-ref --short HEAD`.strip
44
44
  if current_branch != branch
45
- success = system("cd #{source_path} && git checkout #{branch}")
45
+ success = system("cd #{source_path} && env -u GIT_DIR git checkout #{branch}")
46
46
  raise "git checkout failed" unless success
47
47
  end
48
48
  target = File.join(@module_dir,name)
@@ -1,3 +1,3 @@
1
1
  module PuppetPal
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet_pal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-21 00:00:00.000000000 Z
12
+ date: 2014-05-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler