capistrano-bundle_rsync 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/capistrano-bundle_rsync.gemspec +1 -1
- data/lib/capistrano/bundle_rsync/git.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7af4c3f436d081b7ce4efac4c8a5525a1b511124
|
|
4
|
+
data.tar.gz: bbd578232ba8e92b1d09ec99efcd653b9a37c247
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c71aec43299d3b152117f8ed0ea6643cfc920a0dabe93df802aedebfcffd48e4fb57539481e30f1c8446e355955175c3a26e71e45d79ef5c12790177e092cec
|
|
7
|
+
data.tar.gz: 293588e9cafd91fc994d386f4ae7ced527c93ff8dfc7aeac442124b0740512579ece3556cad974dfd8fb2f417f91dd9f07a677fe4739229ebfe54a13952ace8c
|
data/CHANGELOG.md
CHANGED
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
|
|
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.
|
|
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-
|
|
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.
|
|
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-
|
|
12
|
+
date: 2017-05-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capistrano
|