capistrano-bundle_rsync 0.5.0 → 0.5.1

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: e17c9575785e43b1b0e5cdc309f630592636bea9
4
- data.tar.gz: 044e695958a7943a307ecc9c61ab02cdeec50fe8
3
+ metadata.gz: 7af4c3f436d081b7ce4efac4c8a5525a1b511124
4
+ data.tar.gz: bbd578232ba8e92b1d09ec99efcd653b9a37c247
5
5
  SHA512:
6
- metadata.gz: 2b9394e3eef50ff080e8dc17c1b4b6b1925b0d56013a99871a5142fd770a05f35aa8b1fff861f0b77be598bc4ce76e33a81bfa09894360d8953a0175c55dc5fc
7
- data.tar.gz: fd62806589fc09962c0c6913efcf2f86848a9066a4de9fb223db09c48ec2f5d7b3209191fa6a91b497187a026335b81c2b7d8d3929f6cf899e95f3aec0a4009f
6
+ metadata.gz: 4c71aec43299d3b152117f8ed0ea6643cfc920a0dabe93df802aedebfcffd48e4fb57539481e30f1c8446e355955175c3a26e71e45d79ef5c12790177e092cec
7
+ data.tar.gz: 293588e9cafd91fc994d386f4ae7ced527c93ff8dfc7aeac442124b0740512579ece3556cad974dfd8fb2f417f91dd9f07a677fe4739229ebfe54a13952ace8c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.5.1 (2017/05/29)
2
+
3
+ Changes:
4
+
5
+ * Use git rev-list instead of git rev-parse to get current_version as https://github.com/capistrano/capistrano/pull/1339 (thanks to aeroastro)
6
+
1
7
  # 0.5.0 (2017/04/21)
2
8
 
3
9
  Enhancements:
data/README.md CHANGED
@@ -151,7 +151,7 @@ require 'capistrano/bundle_rsync'
151
151
 
152
152
  # capistrano-3.7+
153
153
  require 'capistrano/bundle_rsync/plugin'
154
- install_plugin Caipstrano::BundleRsync::Plugin
154
+ install_plugin Capistrano::BundleRsync::Plugin
155
155
 
156
156
  # Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
157
157
  Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
@@ -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.5.0"
7
+ spec.version = "0.5.1"
8
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}
@@ -62,7 +62,7 @@ class Capistrano::BundleRsync::Git < Capistrano::BundleRsync::SCM
62
62
 
63
63
  def set_current_revision
64
64
  within config.local_mirror_path do
65
- set :current_revision, capture(:git, "rev-parse --short #{fetch(:branch)}")
65
+ set :current_revision, capture(:git, "rev-list --max-count=1 #{fetch(:branch)}")
66
66
  end
67
67
  end
68
68
  end
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.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-04-21 00:00:00.000000000 Z
12
+ date: 2017-05-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano