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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGM3NDUzYmNlNjAyYTE2NzZjMWJhZDU5NWI2M2I4MWQ1NzZiZDBkMA==
4
+ OTNlMDMwNzY4ODE3MmRhYzI4ODdmN2RmYjFhZjZkYTRmZDA3NjFmNA==
5
5
  data.tar.gz: !binary |-
6
- ODJjNjYzMTA5ZTM0YWQ4YjBiMGJlM2YwOTA5ZDRmZDhkZmZmNDQ0Yg==
6
+ ZDc2YTNlMzQ3YjYwMGY3MGE3YTlhZDhmZTc5ZmFjNDE5MDI5Y2YwOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDdhZjNjMjEwNGNlYjVhNDVlMjNmNThjODA3OGUzZDI5MzVmMzllZTFjNmI1
10
- OTYwNjYwOWFiM2FiNmU2NDQ0MDg3YTZjYjlkNmE4ODY4NzljYjJlY2VmYTZm
11
- MzMyNzBkZmQ1ZTQ2YmJlZmNiNzkyYzJkZThhYmRhYjNhYjFkNzk=
9
+ NDUzNzZhZTk1YzI5NGFjMTM0ZmViYzQzYTIzYjQzNGY5NmZjYmFkOTIyYjI5
10
+ OWRhNzQ4NDkzODE3MzQyOGIyODg0YTJhYjkzYjY1Zjc3MzU2NWM1N2I3NGY1
11
+ NDQzMGE0YWM4NWMyOTkyY2Y4Y2NmMGE2ZTMxZmQwMjYzYjA1ZDI=
12
12
  data.tar.gz: !binary |-
13
- YjJjOGY2NzkwMjU0NjQxNTNjMGI4NTc5ZDE2ODgwMTEyZDM5OWZmZTM4Y2Ex
14
- ODdkMzAxYzkzZDY2NGRmOWU4ZTEwYTNiMTMwNjAyNDg5MmViMGY4MWMxNzAz
15
- YjIwZTA4MzkxMjlmMDAxMjBlOGVkZDBhODU4N2QxM2JjMWU2ZGE=
13
+ ZDNiM2RiMjhiYjIxYjE0NzM3ZmU2YTlhNmJiYzg3Mzg0YzAzMTM5YzFkNjBi
14
+ MWRjMGM5MzYxNDk1MTZjN2JhZWY5OTBjZTk1ZGZhMmJmMTEwMWM5NzRhZmY0
15
+ M2UwOTAzYjIzN2NjODQzYTU5MTRkNWQ1ZWRiMjhhMDAxZDc5ZDI=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.12
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.12"
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
- unless fetch(:git_keep_meta, false)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-git-submodule-strategy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Gorbylev