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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e1b31c3c581bb221734015655f831538c5a83c6
4
- data.tar.gz: f443ff26b43d5a6138fee451d4f977d0c4bd6da0
3
+ metadata.gz: 6e2272c0917be88fe7b2d61b89942628ee818d18
4
+ data.tar.gz: 306a9a7fe26593790c0b606463df5a190cd9a2d0
5
5
  SHA512:
6
- metadata.gz: 0b570dd79cc62ac32e4ea1309b46edfa3b273a083e8e777b53729f7343caf9a9da1e8c8a5de596fa102eda52e113ecc971eae3e2df6bacbfd0960b2dad0c68df
7
- data.tar.gz: 837b4087b1eee2491263402676623ce072da92644777122a105e46a5c0265d6deb11eeaed0fbd08339c94355ab9a5e26090fab5bbde762211634dc939edde54f
6
+ metadata.gz: d79a46b6a720e4a4239178123029f8aaa6eac9ceda6ddfacb9a6eb2fc2b8ac149030c21ef82178c8dbca782f192beb615032068df68e480039af0a2eb30bf29e
7
+ data.tar.gz: cd4831d0ecc67a598c2499fe8591e564db547a2aa954e493437915ef76eb4803a2bd21c836cd9c0f1836947087593475524b4dd6cc7c1155f99f20d233296ada
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.4.6 (2016/02/03)
2
+
3
+ Enhancements:
4
+
5
+ * Support repo_tree with local_git (thanks to @mizzy)
6
+
1
7
  # 0.4.5 (2015/08/06)
2
8
 
3
9
  Enhancements:
@@ -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.5"
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
- execute :rsync, "#{rsync_options} --rsh='#{ssh}' #{repo_url}/ #{host}:#{release_path}/"
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.5
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: 2015-08-06 00:00:00.000000000 Z
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.2.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.