capistrano-bundle_rsync 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/capistrano-bundle_rsync.gemspec +1 -1
- data/lib/capistrano/bundle_rsync/local_git.rb +5 -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: 6e2272c0917be88fe7b2d61b89942628ee818d18
|
4
|
+
data.tar.gz: 306a9a7fe26593790c0b606463df5a190cd9a2d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d79a46b6a720e4a4239178123029f8aaa6eac9ceda6ddfacb9a6eb2fc2b8ac149030c21ef82178c8dbca782f192beb615032068df68e480039af0a2eb30bf29e
|
7
|
+
data.tar.gz: cd4831d0ecc67a598c2499fe8591e564db547a2aa954e493437915ef76eb4803a2bd21c836cd9c0f1836947087593475524b4dd6cc7c1155f99f20d233296ada
|
data/CHANGELOG.md
CHANGED
@@ -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-bundle_rsync"
|
7
|
-
spec.version = "0.4.
|
7
|
+
spec.version = "0.4.6"
|
8
8
|
spec.authors = ["sonots", "tohae"]
|
9
9
|
spec.email = ["sonots@gmail.com", "tohaechan@gmail.com"]
|
10
10
|
spec.description = %q{Deploy an application and bundled gems via rsync}
|
@@ -22,7 +22,11 @@ class Capistrano::BundleRsync::LocalGit < Capistrano::BundleRsync::SCM
|
|
22
22
|
rsync_options = config.rsync_options
|
23
23
|
Parallel.each(hosts, in_threads: config.max_parallels(hosts)) do |host|
|
24
24
|
ssh = config.build_ssh_command(host)
|
25
|
-
|
25
|
+
if tree = fetch(:repo_tree)
|
26
|
+
execute :rsync, "#{rsync_options} --rsh='#{ssh}' #{repo_url}/#{tree}/ #{host}:#{release_path}/"
|
27
|
+
else
|
28
|
+
execute :rsync, "#{rsync_options} --rsh='#{ssh}' #{repo_url}/ #{host}:#{release_path}/"
|
29
|
+
end
|
26
30
|
end
|
27
31
|
end
|
28
32
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-bundle_rsync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sonots
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-02-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
137
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.
|
138
|
+
rubygems_version: 2.5.1
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Deploy an application and bundled gems via rsync.
|