capistrano-git-submodule-strategy 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/capistrano-git-submodule-strategy.gemspec +1 -1
- data/lib/capistrano/git-submodule-strategy.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTNlMDMwNzY4ODE3MmRhYzI4ODdmN2RmYjFhZjZkYTRmZDA3NjFmNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDc2YTNlMzQ3YjYwMGY3MGE3YTlhZDhmZTc5ZmFjNDE5MDI5Y2YwOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDUzNzZhZTk1YzI5NGFjMTM0ZmViYzQzYTIzYjQzNGY5NmZjYmFkOTIyYjI5
|
10
|
+
OWRhNzQ4NDkzODE3MzQyOGIyODg0YTJhYjkzYjY1Zjc3MzU2NWM1N2I3NGY1
|
11
|
+
NDQzMGE0YWM4NWMyOTkyY2Y4Y2NmMGE2ZTMxZmQwMjYzYjA1ZDI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDNiM2RiMjhiYjIxYjE0NzM3ZmU2YTlhNmJiYzg3Mzg0YzAzMTM5YzFkNjBi
|
14
|
+
MWRjMGM5MzYxNDk1MTZjN2JhZWY5OTBjZTk1ZGZhMmJmMTEwMWM5NzRhZmY0
|
15
|
+
M2UwOTAzYjIzN2NjODQzYTU5MTRkNWQ1ZWRiMjhhMDAxZDc5ZDI=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.13
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "capistrano-git-submodule-strategy"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.13"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Boris Gorbylev"]
|
@@ -37,7 +37,9 @@ class Capistrano::Git
|
|
37
37
|
def release
|
38
38
|
unless context.test(:test, '-e', release_path) && context.test("ls -A #{release_path} | read linevar")
|
39
39
|
git :clone, '--depth=1', '--recursive', '-b', fetch(:branch), "file://#{repo_path}", release_path
|
40
|
-
|
40
|
+
if fetch(:git_keep_meta, false)
|
41
|
+
git :remote, 'set-url', 'origin', repo_url
|
42
|
+
else
|
41
43
|
context.execute("find #{release_path} -name '.git*' -printf '\"%p\"" + '\n' + "' | xargs -I {} rm -rfv {}")
|
42
44
|
end
|
43
45
|
end
|