capistrano-bundle_rsync 0.2.6 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -3
- data/capistrano-bundle_rsync.gemspec +1 -1
- data/example/config/deploy.rb +1 -0
- data/lib/capistrano/bundle_rsync/config.rb +1 -1
- 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: 3209e919d097ba80a9ddd2a7f4205c2a41023dc1
|
4
|
+
data.tar.gz: 4f363c2b1a83d843e628a6f759a1addee96271db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e7c413b7fad51f4825b96f425d29b7b3e57767e91abbc16066fe7494c2145d9098acaec65302ae754a7a1cf8d5c03db94f1308b3c8c4b4312d9a0bfca5e8e8a
|
7
|
+
data.tar.gz: 73055daeb8fb33c8193969d108b24919c7bdea7324d5cd0ceea8e8d214834d3a36cf07640bf2be4f2bcb508ebd0150aa6cd81559cb7dd339ed49d220248d5f2c
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
# 0.
|
1
|
+
# 0.3.0 (2014/08/05)
|
2
2
|
|
3
3
|
Enhancements:
|
4
4
|
|
5
5
|
* Add `bundle_rsync_shared_dirs` and `bundle_rsync_shared_rsync_options` options
|
6
6
|
|
7
|
-
|
7
|
+
Fixes:
|
8
8
|
|
9
|
-
|
9
|
+
* Fix `bundle_rsync_config_files`
|
10
10
|
|
11
11
|
# 0.2.4 (2014/07/28)
|
12
12
|
|
@@ -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.
|
7
|
+
spec.version = "0.3.0"
|
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}
|
data/example/config/deploy.rb
CHANGED
@@ -15,6 +15,7 @@ set :scm, :bundle_rsync
|
|
15
15
|
set :bundle_rsync_max_parallels, ENV['PARA']
|
16
16
|
set :bundle_rsync_rsync_bwlimit, ENV['BWLIMIT'] # like 20000
|
17
17
|
set :bundle_rsync_shared_dirs, File.expand_path('..', __dir__) # rsync example to shared/example
|
18
|
+
set :bundle_rsync_shared_rsync_options, "-az --delete --exclude=Capfile"
|
18
19
|
|
19
20
|
namespace :deploy do
|
20
21
|
desc 'Restart web application'
|
@@ -91,7 +91,7 @@ module Capistrano::BundleRsync
|
|
91
91
|
|
92
92
|
def self.shared_rsync_options
|
93
93
|
bwlimit = fetch(:bundle_rsync_rsync_bwlimit) ? " --bwlimit #{fetch(:bundle_rsync_rsync_bwlimit)}" : ""
|
94
|
-
fetch(:
|
94
|
+
fetch(:bundle_rsync_shared_rsync_options) || "-az#{bwlimit}"
|
95
95
|
end
|
96
96
|
|
97
97
|
def self.skip_bundle
|