capistrano-rsync-bladrak 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/rsync.rb +2 -7
- data/lib/capistrano/rsync/version.rb +1 -1
- 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: 2797fd017d02bdd21cd457f9f7ee120c83e19e1b
|
4
|
+
data.tar.gz: 38d2f16e61d3c2629216b220ef9cfdf2d945cc77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38e130f659680db9664b558f3dd7393c46d5c56d4351ee9db95dad4f344f01a8f2cc395c648e6c0f5704f275bc3f29f1a7872d3cc8925524947933bc45dcdc11
|
7
|
+
data.tar.gz: 28c8d48f95cf56dd8cc7cf46c09d32fec8ff58fc2626610b27d6a9fa08c54046d33a6581037774dc1f4cb281cb139f03a762bf8717e22dee99238de57ac44598
|
data/lib/capistrano/rsync.rb
CHANGED
@@ -12,12 +12,7 @@ set_if_empty :rsync_sparse_checkout, []
|
|
12
12
|
set_if_empty :rsync_checkout_tag, false
|
13
13
|
|
14
14
|
# Option states what to checkout
|
15
|
-
set_if_empty :rsync_checkout, "branch"
|
16
|
-
|
17
|
-
# To be somewhat backward compatible to the previous checkout_tag option
|
18
|
-
if fetch(:rsync_checkout_tag, false)
|
19
|
-
set :rsync_checkout, "tag"
|
20
|
-
end
|
15
|
+
set_if_empty :rsync_checkout, -> { fetch(:rsync_checkout_tag, false) ? "tag" : "branch"}
|
21
16
|
|
22
17
|
# You may not need the whole history, put to false to get it whole
|
23
18
|
set_if_empty :rsync_depth, 1
|
@@ -193,7 +188,7 @@ namespace :rsync do
|
|
193
188
|
|
194
189
|
if fetch(:enable_git_submodules)
|
195
190
|
if fetch(:reset_git_submodules_before_update)
|
196
|
-
execute :git, :submodule, :foreach, "'git reset --hard HEAD && git clean -qfd'"
|
191
|
+
execute :git, :submodule, :foreach, "'git reset --hard HEAD && git clean -qfd && git fetch -t'"
|
197
192
|
end
|
198
193
|
|
199
194
|
execute :git, :submodule, :update
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rsync-bladrak
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hugo Briand, Andri Möll
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09
|
11
|
+
date: 2015-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|