puppet_pal 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/puppet_pal/pal.rb +2 -2
- data/lib/puppet_pal/version.rb +1 -1
- metadata +2 -2
data/lib/puppet_pal/pal.rb
CHANGED
|
@@ -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)
|
data/lib/puppet_pal/version.rb
CHANGED
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.
|
|
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-
|
|
12
|
+
date: 2014-05-05 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|