rgitflow 0.1.0.pre.alpha.pre.13 → 0.1.0.pre.alpha.pre.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2YwNzMyMmE2ZTQ2YjVhNWJmNzc1YWJjYWMyZDMzZGFmZTY3ZDIwNg==
4
+ YzQ2MzQ2ZjdkOTY0YWNmMWVhZjZhMTI1YmEzN2IxNTJlY2JjNGFiNw==
5
5
  data.tar.gz: !binary |-
6
- NGI4NjQ1NjJlNGQyYzAzNjI0NzM0YTBlNjVhY2ZiOGYxZjhhZDBmYw==
6
+ ZTVlM2E3Mzg3MDQ2Y2RiODQ3NDQwMzM5NzBhNjI5ZWVmZGU0ZDE1MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTczYWM0ODllZDNhMGE2ZTUxYTVhMmZkMzBjNWFlZjJiNzdkZjcxYTY0ZmE2
10
- MGQwMDZiMTQxYjk4ZDAwNTM1MDE3OWUzMmFlODU5YzRiNzk2MTVjYTI0Mjlm
11
- NWM0NjRiOGZhZGExYmM3OGM1N2NjMTZiNzc0ODIzY2QxMjc1Y2I=
9
+ ODA3MjZkZTY0MWNhNzVhZWQ1ZWMzN2I5ZWE1ODNkYmY1OWFjMWExNDE0YWVj
10
+ ZTlkMGE0MTNjOTc0YjkwYjI5ZTZhOGYzOTI3ODE1YjdjZmIyZjkzODU1YmFh
11
+ MWI3ZWNiYzc1ZWE1MzQxMWYwMTg1NmQ0ZDE3NTgyNGUwMThhNjc=
12
12
  data.tar.gz: !binary |-
13
- NmU5NjYzNmM4ZDc3NzMyNTdjYjllMWNmOGZmZDQzNGUzYjRjZjA4MGI1NWU4
14
- M2IxNzYxYmM5Nzg2YThkOWJkOGEyZGNiNTg4ZjM0ODA0MzdkYjFiM2NlMTBm
15
- MjZiMzc3MjEwYmM2ODQ4ZGFkM2QxMTc5YjE0ODFiZDZjNTE4YTE=
13
+ ZmYzZTdjNmQwMjRiMGMzMjU2NDhjNWQ3MWNjMzM3ZGQ0MTgzMzc2NGM2NWVl
14
+ Nzk3NzUyOTE4NWIzZTU3NmE3ODFjYWM2OTBhODAxMDc2ZjkzMmQ2ODIyYjg5
15
+ OGNiNmZlY2NiNjRiMDZmZTUxOTY1YzhlZTA4MTFjMzVlZTM5MjQ=
@@ -13,6 +13,11 @@ module RGitFlow
13
13
  def run
14
14
  status 'Starting feature branch...'
15
15
 
16
+ unless @git.current_branch == RGitFlow::Config.options[:develop]
17
+ error 'Cannot create feature branch unless on development branch'
18
+ abort
19
+ end
20
+
16
21
  branch = ENV['BRANCH']
17
22
 
18
23
  while branch.blank?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgitflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.alpha.pre.13
4
+ version: 0.1.0.pre.alpha.pre.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Harrah