capistrano-git-with-submodules 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -9
- data/lib/capistrano/scm/git-with-submodules.rb +3 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3acf139c212b71b726cfb207c7449f5532ad5f55
|
4
|
+
data.tar.gz: b0659e5639292f3bd581427361c9a42fcf0a508f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db9b5d47492ea5ced029560b16a15a5016b80ddfb4420f3da4fd41aae409a71c70c802b159e569b5fb1bb0238e68a02d23cc80b7acf62c89208c706e6079e731
|
7
|
+
data.tar.gz: cfc87192787dcc3ea005856f6e5e24619f57b97c9f899190ac4e8cc7c7af5f5ea6c9fe7bd9de6fd4182fc5e9c15ad59985f38cdc5145fd5f4c65333744d02296
|
data/README.md
CHANGED
@@ -6,12 +6,18 @@ For Capistrano 3.0-3.6 use old [capistrano-git-submodule-strategy](https://githu
|
|
6
6
|
|
7
7
|
## Using
|
8
8
|
|
9
|
-
####Gemfile
|
9
|
+
#### Gemfile
|
10
|
+
From rubygems.org (recommended)
|
10
11
|
```ruby
|
11
|
-
gem 'capistrano-git-with-submodules', '~> 1.
|
12
|
+
gem 'capistrano-git-with-submodules', '~> 1.2'
|
12
13
|
```
|
13
14
|
|
14
|
-
|
15
|
+
Latest revision from github
|
16
|
+
```ruby
|
17
|
+
gem 'capistrano-git-with-submodules', '~> 1.2', :github => 'ekho/capistrano-git-with-submodules'
|
18
|
+
```
|
19
|
+
|
20
|
+
#### Capfile
|
15
21
|
Change default
|
16
22
|
```ruby
|
17
23
|
require "capistrano/scm/git"
|
@@ -23,12 +29,6 @@ require "capistrano/scm/git-with-submodules"
|
|
23
29
|
install_plugin Capistrano::SCM::Git::WithSubmodules
|
24
30
|
```
|
25
31
|
|
26
|
-
####deploy.rb
|
27
|
-
Optionally you can keep git metadata (.git directory)
|
28
|
-
```ruby
|
29
|
-
set :git_keep_meta, true
|
30
|
-
```
|
31
|
-
|
32
32
|
## Contributing to capistrano-git-with-submodules
|
33
33
|
|
34
34
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
@@ -9,11 +9,9 @@ class Capistrano::SCM::Git::WithSubmodules < Capistrano::SCM::Git
|
|
9
9
|
return unless backend.test(:test, '-e', release_path) && backend.test("ls -A #{release_path} | read linevar")
|
10
10
|
|
11
11
|
submodules_to_release_path
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
backend.execute("find #{release_path} -name '.git*' | xargs -I {} rm -rf#{verbose} '{}'")
|
16
|
-
end
|
12
|
+
|
13
|
+
verbose = Rake.application.options.trace ? 'v' : ''
|
14
|
+
backend.execute("find #{release_path} -name '.git*' | xargs -I {} rm -rf#{verbose} '{}'")
|
17
15
|
end
|
18
16
|
|
19
17
|
##
|
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.
|
4
|
+
version: 1.2.0
|
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-
|
11
|
+
date: 2016-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|