alpha_omega 1.3.32 → 1.3.33
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/VERSION +1 -1
- data/lib/alpha_omega/config/deploy_challenge.rb +1 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.3.
|
|
1
|
+
1.3.33
|
|
@@ -7,13 +7,12 @@ Capistrano::Configuration.instance(:must_exist).load do |config|
|
|
|
7
7
|
|
|
8
8
|
a, b = rand(10), rand(10)
|
|
9
9
|
if Capistrano::CLI.ui.ask(" -- WARNING: Accessing production, please think: #{a} + #{b} = ").downcase.strip.to_i != (a + b)
|
|
10
|
-
oops
|
|
11
10
|
abort
|
|
12
11
|
else
|
|
13
12
|
sleep(3)
|
|
14
13
|
end
|
|
15
14
|
|
|
16
|
-
unless ENV['FLAGS_tag'] && !ENV['FLAGS_tag'].empty?
|
|
15
|
+
unless ENV['FLAGS_tag'] && !(ENV['FLAGS_tag'].empty? || ENV['FLAGS_tag'] == "HEAD")
|
|
17
16
|
puts "Did not specify a tag for production"
|
|
18
17
|
abort
|
|
19
18
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alpha_omega
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 89
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 1.3.
|
|
9
|
+
- 33
|
|
10
|
+
version: 1.3.33
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- David Nghiem
|