alpha_omega 0.0.128 → 0.0.129

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/alpha_omega/utils.rb +1 -1
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.128
1
+ 0.0.129
@@ -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: 287
4
+ hash: 285
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 128
10
- version: 0.0.128
9
+ - 129
10
+ version: 0.0.129
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Nghiem