dev 2.1.110 → 2.1.111
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/base/giturl.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 527bb3367abf1d3b84aa52cc78401d7751a01cec62c177f49daee5aa82cc8e6b
|
4
|
+
data.tar.gz: 22cff6f23a5905aa358132f2b88c214aceef62bd57a38bf9271859aaee2f4249
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb9e86501e9d6516a96f9ac84cd42ad69458b9e92fd424fe276efcd1190da85fc1ba71e6d017600cd368d677e80ff922e9d0e64a000b03e255d3ec28a367f170
|
7
|
+
data.tar.gz: 43a1ba45c7e38f7bbef8ac6f0f7d2624fbdf3490d1d7fa603c4893fe3445b1032894c5f84a1e67cd92ecbf008cb445a04b802bc7d1942d3f42b428dafd5351f2
|
data/lib/base/giturl.rb
CHANGED
@@ -26,8 +26,8 @@ class GitUrl
|
|
26
26
|
work_dir = get_work_dir(url,tag)
|
27
27
|
puts "work_dir #{work_dir}"
|
28
28
|
if(!Dir.exists?(work_dir))
|
29
|
-
puts "git clone -b
|
30
|
-
puts `git clone -b
|
29
|
+
puts "git clone -b #{tag} --single-branch --depth 1 #{url} #{work_dir}"
|
30
|
+
puts `git clone -b #{tag} --single-branch --depth 1 #{url} #{work_dir}`
|
31
31
|
end
|
32
32
|
|
33
33
|
Dir.chdir(work_dir) do
|