alpha_omega 0.0.106 → 0.0.107

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/alpha_omega/utils.rb +2 -2
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.106
1
+ 0.0.107
@@ -153,8 +153,8 @@ module AlphaOmega
153
153
  branch_type, branch_feature = branch_name.split("/")
154
154
  if %w(feature hotfix).member?(branch_type)
155
155
  branch_name
156
- elsif !branch_feature && allowed.any? {|rx| rx.match(branch_type) }
157
- branch_type
156
+ elsif allowed.any? {|rx| rx.match(branch_name) }
157
+ branch_name
158
158
  else
159
159
  puts "current branch must be #{allowed.join(', ')}, feature/xyz, or hotfix/xyz"
160
160
  abort
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: 203
4
+ hash: 201
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 106
10
- version: 0.0.106
9
+ - 107
10
+ version: 0.0.107
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Nghiem