capistrano-bundle_rsync 0.4.8 → 0.4.9

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: 3c0c8651abf14f451f737192b9c7c01b629d1632
4
- data.tar.gz: b2931092137c80806f698f832a524f42ea5eeddc
3
+ metadata.gz: a7594b1078fdf480d2e847d848efa73363594c64
4
+ data.tar.gz: f504a03d2768476c2cbd844c22892be1471291c2
5
5
  SHA512:
6
- metadata.gz: 072564e65047116693817e4b686f24f4d0af169477aef403c137004d828168ad7f364645cb280e3a9f520cdf61ee8e480cf4ef854a5007b37c870d78ec586866
7
- data.tar.gz: 6d8224dd7c87286706691203ebf29979648e8c636b0f992be91b52fd5bc4f6b836eba6ec51163dfbf16fea6341cfa42ca07b0fd0228ed6b524926e908a515e49
6
+ metadata.gz: 1b836a7f4306bab3819067d57662b741ef80ce52bc6825f6d1dc5ff01164e0773f9068e43c6d88b0a295bf180f59226bf046fab8da9a5de89104cb847550e5e4
7
+ data.tar.gz: 41d0a1609a75149613f732f1398955313ed50119965134f3245e2f6a07417ce80aeb9f8ebc527caba1ecc106b7b308aacd0699a3c5ecc37520c375dda2d8e5bb
@@ -1,3 +1,9 @@
1
+ # 0.4.9 (2017/02/26)
2
+
3
+ Fixes:
4
+
5
+ * Fix `local_git` was not working because of a change in 0.4.7 (thanks to hkobayash)
6
+
1
7
  # 0.4.8 (2016/11/18)
2
8
 
3
9
  Enhancements:
data/README.md CHANGED
@@ -55,7 +55,7 @@ bundle_rsync_scm | `git` | SCM Strategy inside `bundle_rsync`. `git` uses git. `
55
55
  bundle_rsync_local_base_path | `$(pwd)/.local_repo` | The base directory to clone repository
56
56
  bundle_rsync_local_mirror_path | `#{base_path}/mirror"` | Path where to mirror your repository
57
57
  bundle_rsync_local_releases_path | `"#{base_path}/releases"` | The releases base directory to checkout your repository
58
- bundle_rsync_local_release_path | `"#{releases_path}/#{datetime}"` | The full path directory to checkout your repository. If you specify this, `keep_releases` for local releases path is disabled because `datetime` directories are no longer created.
58
+ bundle_rsync_local_release_path | `"#{releases_path}/#{datetime}"` | The full path directory to checkout your repository. If you specify this, `keep_releases` for local releases path is disabled because `datetime` directories are no longer created. This parameter is set as `repo_url` in the case of `local_git` as default.
59
59
  bundle_rsync_local_bundle_path | `"#{base_path}/bundle"` | Path where to bundle install gems.
60
60
  bundle_rsync_ssh_options | `ssh_options` | Configuration of ssh for rsync. Default uses the value of `ssh_options`
61
61
  bundle_rsync_keep_releases | `keep_releases` | The number of releases to keep on .local_repo
@@ -4,8 +4,8 @@ $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.8"
8
- spec.authors = ["sonots", "tohae"]
7
+ spec.version = "0.4.9"
8
+ spec.authors = ["Naotoshi Seo", "tohae"]
9
9
  spec.email = ["sonots@gmail.com", "tohaechan@gmail.com"]
10
10
  spec.description = %q{Deploy an application and bundled gems via rsync}
11
11
  spec.summary = %q{Deploy an application and bundled gems via rsync.}
@@ -17,7 +17,7 @@ class Capistrano::BundleRsync::Git < Capistrano::BundleRsync::SCM
17
17
 
18
18
  def update
19
19
  within config.local_mirror_path do
20
- execute :git, :remote, :update
20
+ execute :git, :remote, :update, '--prune'
21
21
  end
22
22
  end
23
23
 
@@ -17,6 +17,7 @@ namespace :bundle_rsync do
17
17
  @bundle_rsync_scm ||=
18
18
  if fetch(:bundle_rsync_scm).to_s == 'local_git'
19
19
  require 'capistrano/bundle_rsync/local_git'
20
+ set :bundle_rsync_local_release_path, repo_url
20
21
  Capistrano::BundleRsync::LocalGit.new(self)
21
22
  else
22
23
  require 'capistrano/bundle_rsync/git'
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-bundle_rsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
- - sonots
7
+ - Naotoshi Seo
8
8
  - tohae
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-18 00:00:00.000000000 Z
12
+ date: 2017-02-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano