capistrano-confirm 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capistrano/confirm.rb +1 -1
- data/lib/capistrano/version.rb +1 -1
- metadata +6 -7
data/lib/capistrano/confirm.rb
CHANGED
@@ -2,7 +2,7 @@ def colorful(str, code="31")
|
|
2
2
|
"\e[#{code}m#{str.upcase}\e[0m"
|
3
3
|
end
|
4
4
|
|
5
|
-
Capistrano::Configuration.instance.load do
|
5
|
+
Capistrano::Configuration.instance(:must_exist).load do
|
6
6
|
namespace :deploy do
|
7
7
|
task :confirm do
|
8
8
|
if (Array[confirm_stages].flatten.map(&:to_s).include?(stage.to_s) rescue true)
|
data/lib/capistrano/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-confirm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jinzhu
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
19
|
-
default_executable:
|
18
|
+
date: 2012-06-24 00:00:00 Z
|
20
19
|
dependencies: []
|
21
20
|
|
22
21
|
description: "Confirm before deploy,\n Make sure you are not deploying the wrong branch, and remind you should deploy it after code review!\n Please use it, because I write it after deployed a wrong branch to our production server! ;(\n "
|
@@ -37,7 +36,6 @@ files:
|
|
37
36
|
- capistrano-confirm.gemspec
|
38
37
|
- lib/capistrano/confirm.rb
|
39
38
|
- lib/capistrano/version.rb
|
40
|
-
has_rdoc: true
|
41
39
|
homepage: https://github.com/jinzhu/capistrano-confirm
|
42
40
|
licenses: []
|
43
41
|
|
@@ -67,9 +65,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
65
|
requirements: []
|
68
66
|
|
69
67
|
rubyforge_project: capistrano-confirm
|
70
|
-
rubygems_version: 1.
|
68
|
+
rubygems_version: 1.8.10
|
71
69
|
signing_key:
|
72
70
|
specification_version: 3
|
73
71
|
summary: Confirm before deploy
|
74
72
|
test_files: []
|
75
73
|
|
74
|
+
has_rdoc:
|