capistrano-bundle_rsync 0.2.5 → 0.2.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 +5 -1
- data/capistrano-bundle_rsync.gemspec +1 -1
- data/lib/capistrano/bundle_rsync/bundler.rb +0 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daaf67d8cab94d4f1d79f861785f3fb8e4cd5340
|
4
|
+
data.tar.gz: a5965a5a9e3f285a0dc2b066a8134417d6ed89a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b91db67a5c67438f04f0fb40114657e7da1b0221340dc4b171b318e67a7d73280ebae942801093102546c8266ce34d1920776b291e91b1c4d4ad32cb1aeab95
|
7
|
+
data.tar.gz: 271296dbde43833a73aa7b438aa05e1b855c752f95fce6da7406db9e83797c78d42c40a601c8fed56a7ce526e27040ad54909145bd5df79a94ca6071d9dc8ce2
|
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.2.
|
7
|
+
spec.version = "0.2.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}
|
@@ -30,13 +30,6 @@ BUNDLE_BIN: #{release_path.join('bin')}
|
|
30
30
|
rsync_options = config.rsync_options
|
31
31
|
Parallel.each(hosts, in_threads: config.max_parallels(hosts)) do |host|
|
32
32
|
ssh = config.build_ssh_command(host)
|
33
|
-
if config_files = config.config_files
|
34
|
-
config_files.each do |config_file|
|
35
|
-
basename = File.basename(config_file)
|
36
|
-
execute :rsync, "#{rsync_options} --rsh='#{ssh}' #{config_file} #{host}:#{release_path}/config/#{basename}"
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
33
|
execute :rsync, "#{rsync_options} --rsh='#{ssh}' #{config.local_bundle_path}/ #{host}:#{shared_path}/bundle/"
|
41
34
|
execute :rsync, "#{rsync_options} --rsh='#{ssh}' #{bundle_config_path} #{host}:#{release_path}/.bundle/config"
|
42
35
|
end
|