capistrano-confirm 0.0.4 → 0.0.5
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.
- data/lib/capistrano/confirm.rb +1 -1
- data/lib/capistrano/version.rb +1 -1
- metadata +3 -3
data/lib/capistrano/confirm.rb
CHANGED
|
@@ -27,7 +27,7 @@ Answer the below question to make sure you are not drunk!
|
|
|
27
27
|
if (answer =~ /^\s*\d+\s*$/) && (answer.to_i == result)
|
|
28
28
|
Capistrano::CLI.ui.say colorful("Deploying#{"."*71}", 33)
|
|
29
29
|
else
|
|
30
|
-
Capistrano::CLI.ui.say colorful("
|
|
30
|
+
Capistrano::CLI.ui.say colorful("Stopping#{"."*73}", 33)
|
|
31
31
|
Capistrano::CLI.ui.say colorful("Difficult question for you? Your math must be taught by National Bureau of Statistics!") if (answer =~ /^\s*\d+\s*$/)
|
|
32
32
|
abort
|
|
33
33
|
end
|
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: 21
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.0.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jinzhu
|