capistrano-rsync-scm 0.0.2 → 0.0.3
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 +4 -4
- data/capistrano-rsync-scm.gemspec +1 -1
- data/lib/capistrano/tasks/rsync_scm.rake +6 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7647c601be66d3a56a722e2e24f42c7125159d3
|
4
|
+
data.tar.gz: 4154fa109602bfa2de458fe2dc5dce46fb6dc3a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05220284eca722ea68977a781fdebd69d734565c11121e4ba75624a10d538d10d16c8ffff75384a23add193a4f814a86c397659887480b3b18749ebf4f909627
|
7
|
+
data.tar.gz: 9a2592f99010f759b334e731910649ce7e9f3b44044eff9e1c1e5aba2f6fa81f11ce405b1d3f43bfe27cd5f28c43972193e2a7acaf5f907cae6c6a028f18efd2
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "capistrano-rsync-scm"
|
7
|
-
spec.version = '0.0.
|
7
|
+
spec.version = '0.0.3'
|
8
8
|
spec.authors = ["Olli Helenius"]
|
9
9
|
spec.email = ["olli.helenius@onesto.fi"]
|
10
10
|
spec.summary = %q{Rsync-based deployment strategy}
|
@@ -32,7 +32,12 @@ namespace :rsync_scm do
|
|
32
32
|
rsync_options = rsync_base_options
|
33
33
|
rsync_options << "--link-dest=#{last_release_path}" if last_release_path
|
34
34
|
|
35
|
-
target =
|
35
|
+
target = if release_role.user.nil? || release_role.user.empty?
|
36
|
+
"#{release_role.hostname}:#{release_path}"
|
37
|
+
else
|
38
|
+
"#{release_role.user}@#{release_role.hostname}:#{release_path}"
|
39
|
+
end
|
40
|
+
|
36
41
|
command = "cd #{source} && git ls-files -z | rsync #{rsync_options.join(' ')} '.' #{target}"
|
37
42
|
|
38
43
|
run_locally do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rsync-scm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Olli Helenius
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.
|
90
|
+
rubygems_version: 2.4.5
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: Rsync-based deployment strategy
|