dev 2.1.63 → 2.1.64

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/apps/git.rb +3 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19ab3d3ab4e81f08b132d665659fb08a6d8bb18f
4
- data.tar.gz: 2881866cdd835b72593395d20f256e93a113be87
3
+ metadata.gz: 67f1e323be08f5d8d87b481a89335fca1121cd49
4
+ data.tar.gz: 8c3a42e0490358d560db856852d7d7c6dfb5b25a
5
5
  SHA512:
6
- metadata.gz: b404ea9d537ef6613e6b805be94a88247fcc18d46b60f49a8c308a0730408b79463158a8843109556472a756e1bd19c6b116409348a5ecdd1b55b56cb47c1b26
7
- data.tar.gz: ebf69d5f48ceac42df0128c9a3d664c807938e2cc66db293732b34a0974f0b41923b203493fb4e9043b94574fe0a29b891e4724099136f2349d724708fa45537
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.63
4
+ version: 2.1.64
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow