capistrano-rsync-local 2.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-rsync-local.gemspec +1 -1
- data/lib/capistrano/rsync/scm/svn.rb +4 -1
- data/lib/capistrano/tasks/rsync.cap +2 -0
- 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: 4d41652ac200a22f882d88cddedf6c28c9bb52b9
|
4
|
+
data.tar.gz: 787b6b089fa20a7f8841324d57f30a4d467f0b25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72d6b158bbf6a1e743bc8b1002e75e582b6bc7023569b27e834f1dd0352b20332ccf07d189d7da3db489d652dde3b2e5c49aa910500cf3be6be226784d0cf84f
|
7
|
+
data.tar.gz: 5397c4b75d3e36cbe959949e9c6ad2f8b937019a2293699c75961b959e31a3948ef73886e49691d89beec370fe8130d1e0695cdeddbf351ff423f977dd8c49c5
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'capistrano-rsync-local'
|
3
|
-
gem.version = '2.0'
|
3
|
+
gem.version = '2.0.1'
|
4
4
|
gem.homepage = 'https://github.com/tonkonogov/capistrano-rsync'
|
5
5
|
gem.summary = <<-end.strip.gsub(/\s*\n\s*/, " ")
|
6
6
|
Deploy with Rsync from any local (or remote) repository.
|
@@ -5,7 +5,10 @@ module Capistrano
|
|
5
5
|
attr_reader :context
|
6
6
|
|
7
7
|
def get_current_revision_cmd
|
8
|
-
"svn info
|
8
|
+
temp = "svn info #{context.fetch(:version_url)}"
|
9
|
+
temp += " --username #{context.fetch(:rsync_scm_username)}" if context.fetch(:rsync_scm_username)
|
10
|
+
temp += " --password #{context.fetch(:rsync_scm_password)}" if context.fetch(:rsync_scm_password)
|
11
|
+
temp + " | grep 'Last Changed Rev:' | sed -e 's/Last Changed Rev: //'"
|
9
12
|
end
|
10
13
|
|
11
14
|
def run_cmd(list = [])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rsync-local
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Tonkonogov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|