dev 2.1.63 → 2.1.64
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apps/git.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67f1e323be08f5d8d87b481a89335fca1121cd49
|
4
|
+
data.tar.gz: 8c3a42e0490358d560db856852d7d7c6dfb5b25a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e60e3dcbeb44812d9f6f24bcc5c58c04e238322c92c01cc56ebe8d18a40f4574002d7f3d6b6fc44c6e37b0417604907a6ba213b84a87876dec5a895ebe5058e4
|
7
|
+
data.tar.gz: 6052fc3d5c291fcb6c7144ffdf79426418a43aa195c09d3d96363ee2333e31dddc28b72b5cd79fc37223f8608ccf7323a5dfc1191e6e82742f6b999aca378d4e
|
data/lib/apps/git.rb
CHANGED
@@ -186,12 +186,15 @@ class Git
|
|
186
186
|
temp_dir = Dir.mktmpdir
|
187
187
|
begin
|
188
188
|
puts `git clone #{url} #{temp_dir}`
|
189
|
+
puts "cd #{temp_dir}"
|
189
190
|
Dir.chdir(temp_dir) do
|
190
191
|
puts `git checkout #{branch}`
|
192
|
+
puts "glob #{glob}"
|
191
193
|
Dir.glob(glob).each{|f|
|
192
194
|
relative_filename=f.gsub(glob_search,glob_replace)
|
193
195
|
dest="#{File.dirname(__FILE__)}/#{destination_directory}/#{relative_filename}"
|
194
196
|
FileUtils.mkdir_p File.dirname(dest) if(!Dir.exists?(File.dirname(dest)))
|
197
|
+
puts "copying #{f} to #{dest}"
|
195
198
|
FileUtils.copy(f,dest)
|
196
199
|
}
|
197
200
|
end
|