capistrano-commit 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/lib/capistrano/commit/caps/commit.cap +6 -2
- data/lib/capistrano/commit/version.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: 0f7b860448c6fd4f272e2613fbd054c580a1faf6
|
4
|
+
data.tar.gz: 0beca7af63b26458276d825854fcc1ddb0f8b7fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99d8dabf593d0707518fb248ba1d5d858774105e48e32c4683e79e0ddfda8ded36d91969d065abef3e519f840d1d5f2503f569fe17a70420db893a3df97b68ac
|
7
|
+
data.tar.gz: e8b033e0f52aacb0d197ffa3910d83f238441e5d9ffbb2b0743a8a467c63490238851b9ada91984d93a372e275b275025bd0b41cd427c7f10aaedcfe5f2d97ce
|
data/.gitignore
CHANGED
@@ -1,11 +1,15 @@
|
|
1
1
|
namespace :deploy do
|
2
2
|
namespace :commit do
|
3
3
|
|
4
|
+
def capistrano_commit_roles
|
5
|
+
fetch(:capistrano_commit_role, :all)
|
6
|
+
end
|
7
|
+
|
4
8
|
desc <<-DESC
|
5
9
|
Save information about deployed revisions into database.
|
6
10
|
DESC
|
7
11
|
task :save do
|
8
|
-
on roles(
|
12
|
+
on roles(capistrano_commit_roles) do |host|
|
9
13
|
|
10
14
|
invoke 'deploy:set_current_revision'
|
11
15
|
rev = fetch(:current_revision)
|
@@ -25,7 +29,7 @@ namespace :deploy do
|
|
25
29
|
Show information about deployed revisions.
|
26
30
|
DESC
|
27
31
|
task :show do
|
28
|
-
on roles(
|
32
|
+
on roles(capistrano_commit_roles) do |host|
|
29
33
|
|
30
34
|
invoke 'deploy:set_current_revision'
|
31
35
|
rev = fetch(:current_revision)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-commit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Gonchar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|