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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc8aae27f9fd9475943d27f23dc45bffebfd5694
4
- data.tar.gz: b54b1f40f94a46b498fef9a3fa84c73eaf51206a
3
+ metadata.gz: 2797fd017d02bdd21cd457f9f7ee120c83e19e1b
4
+ data.tar.gz: 38d2f16e61d3c2629216b220ef9cfdf2d945cc77
5
5
  SHA512:
6
- metadata.gz: f996776dabc18edc33d5b0bca1e16938d4c705e1a82978a6c3893fe72612cc2261000334ccae505ca731a90af791f163b2ea7489284907707edfdc140c2a5e9e
7
- data.tar.gz: b3180043f1d0494c490512360213b77b9e306cf95e1f5486b9827ad01a2f1e08218af40da96f9b71a9a05725d14fbc945cdbe05076699a93a00e951864228bf9
6
+ metadata.gz: 38e130f659680db9664b558f3dd7393c46d5c56d4351ee9db95dad4f344f01a8f2cc395c648e6c0f5704f275bc3f29f1a7872d3cc8925524947933bc45dcdc11
7
+ data.tar.gz: 28c8d48f95cf56dd8cc7cf46c09d32fec8ff58fc2626610b27d6a9fa08c54046d33a6581037774dc1f4cb281cb139f03a762bf8717e22dee99238de57ac44598
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Rsync
3
- VERSION = "1.3.6"
3
+ VERSION = "1.3.7"
4
4
  end
5
5
  end
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.6
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-29 00:00:00.000000000 Z
11
+ date: 2015-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano