capistrano-git-with-submodules 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3acf139c212b71b726cfb207c7449f5532ad5f55
4
- data.tar.gz: b0659e5639292f3bd581427361c9a42fcf0a508f
3
+ metadata.gz: 369fba65acde05c8def4e1f53bf518cae8c6c943
4
+ data.tar.gz: 7a36a19ab3d2a320b0d9883452a31b9dbbbebaa0
5
5
  SHA512:
6
- metadata.gz: db9b5d47492ea5ced029560b16a15a5016b80ddfb4420f3da4fd41aae409a71c70c802b159e569b5fb1bb0238e68a02d23cc80b7acf62c89208c706e6079e731
7
- data.tar.gz: cfc87192787dcc3ea005856f6e5e24619f57b97c9f899190ac4e8cc7c7af5f5ea6c9fe7bd9de6fd4182fc5e9c15ad59985f38cdc5145fd5f4c65333744d02296
6
+ metadata.gz: 2da4ed36202e8f24202999ff4e544b8db8074af1725631c442ceabf244b8433c6ec67d7aaf65f209f9cde9993f8e7b7beffb9fc4eefba6c67a3dac7b50a1188a
7
+ data.tar.gz: 8d7e5f4d77b03eae94c11f7d7eeab54dc1bf36040ed2b9061797594885908e1d9efe0668cf39c8503711ceacee82510a9b46733c28ad782fdba7835d607078b8
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # capistrano-git-with-submodules [![Gem](https://img.shields.io/gem/v/capistrano-git-with-submodules.svg?maxAge=2592000)](https://rubygems.org/gems/capistrano-git-with-submodules) [![Gem](https://img.shields.io/gem/dt/capistrano-git-with-submodules.svg?maxAge=2592000)](https://rubygems.org/gems/capistrano-git-with-submodules)
1
+ # capistrano-git-with-submodules [![Gem](https://img.shields.io/gem/v/capistrano-git-with-submodules.svg?maxAge=86400)](https://rubygems.org/gems/capistrano-git-with-submodules) [![Gem](https://img.shields.io/gem/dt/capistrano-git-with-submodules.svg?maxAge=86400)](https://rubygems.org/gems/capistrano-git-with-submodules)
2
2
 
3
3
  Git submodule support for Capistrano 3.7+
4
4
 
@@ -6,12 +6,11 @@ class Capistrano::SCM::Git::WithSubmodules < Capistrano::SCM::Git
6
6
  def archive_to_release_path
7
7
  origin_archive_to_release_path
8
8
 
9
- return unless backend.test(:test, '-e', release_path) && backend.test("ls -A #{release_path} | read linevar")
9
+ return unless backend.test(:test, '-f', release_path.join('.gitmodules'))
10
10
 
11
11
  submodules_to_release_path
12
-
13
- verbose = Rake.application.options.trace ? 'v' : ''
14
- backend.execute("find #{release_path} -name '.git*' | xargs -I {} rm -rf#{verbose} '{}'")
12
+
13
+ backend.execute("find #{release_path} -name '.git' -printf 'Deleted %p' -delete")
15
14
  end
16
15
 
17
16
  ##
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-git-with-submodules
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Gorbylev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-22 00:00:00.000000000 Z
11
+ date: 2016-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano