alpha_omega 0.0.128 → 0.0.129
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/alpha_omega/utils.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.129
|
data/lib/alpha_omega/utils.rb
CHANGED
@@ -141,7 +141,7 @@ module AlphaOmega
|
|
141
141
|
end
|
142
142
|
|
143
143
|
def self.what_branch (allowed = %w(production staging master develop) + [%r(/)])
|
144
|
-
current = `cat .git/HEAD`.strip
|
144
|
+
current = `cat .git/HEAD`.strip.split(" ")
|
145
145
|
if current[0] == "ref:"
|
146
146
|
branch_name = current[1].split("/")[2..-1].join("/")
|
147
147
|
if allowed.any? {|rx| rx.match(branch_name) }
|
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: 285
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 129
|
10
|
+
version: 0.0.129
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Nghiem
|