capistrano-pending 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/pending/tasks/pending.rake +10 -1
- data/lib/capistrano/pending/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a0dd951478a724abf8f99ee449b16db1d377b5f
|
4
|
+
data.tar.gz: 4bf902b93a9d582e19fc101501c0d66934fdc6d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abaf121352a1295d77a26c0820d056142e8810be8cb6df722431c3f2f803dbaa073eb86ed1617ba78ca1984597a7ead1c8b03f9fb61a452794a3e152779e0afc
|
7
|
+
data.tar.gz: 385e7468166637fb2c49a930d622eb06796c9634598eb1457152215bd1b6bd635036e48e4ac194d41ec563be3c1696a75cac60913c3fdd3963d76179e8294973
|
@@ -8,8 +8,17 @@ namespace :deploy do
|
|
8
8
|
task :pending => "deploy:pending:log"
|
9
9
|
|
10
10
|
namespace :pending do
|
11
|
+
def _detect_scm
|
12
|
+
if defined?(Capistrano::SCM::Git)
|
13
|
+
"git"
|
14
|
+
elsif defined?(Capistrano::SCM::Svn)
|
15
|
+
"svn"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
11
19
|
def _scm
|
12
|
-
|
20
|
+
scm = fetch(:scm, _detect_scm)
|
21
|
+
Capistrano::Pending::SCM.load(scm)
|
13
22
|
end
|
14
23
|
|
15
24
|
def _log(from, to)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-pending
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masato Ikeda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -93,9 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
95
|
rubyforge_project:
|
96
|
-
rubygems_version: 2.
|
96
|
+
rubygems_version: 2.6.8
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: Provide deploy:pending task to Capistrano 3.
|
100
100
|
test_files: []
|
101
|
-
has_rdoc:
|