pivotal-github 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -101,7 +101,7 @@ In addition, the `--log` option puts the commit messages from the individual com
101
101
 
102
102
  Because of the way options are chained, passing `--ff` or `--no-log` to `git story-merge` will override the `--no-ff` or `--log` flags (respectively) and thus restore the default behavior of `git merge`.
103
103
 
104
- Finally, experience shows that it's easy to forget to mark a story finished when making the final commit. As a reminder, the `git story-merge` command exits with a warning if the most recent commit doesn't contain 'Finishes' or 'Delivers' (or 'Finished' or 'Delivered'). This behavior can be overriden with the `--run` option. (I wanted to use `-f` and `--force`, but those interact badly with the default `git merge` options.)
104
+ Finally, experience shows that it's easy to forget to mark a story finished when making the final commit. As a reminder, the `git story-merge` command exits with a warning if the most recent commit doesn't contain 'Finishes' or 'Delivers' (or 'Finished', 'Delivered', 'Fixes', or 'Fixed'). This behavior can be overriden with the `--run` option. (I wanted to use `-f` and `--force`, but those interact badly with the default `git merge` options.)
105
105
 
106
106
  #### Options
107
107
 
@@ -1,4 +1,4 @@
1
- # By devault, command runs only when story is finished
1
+ # By default, command runs only when story is finished
2
2
  class FinishedCommand < Command
3
3
 
4
4
  def run!
@@ -12,11 +12,11 @@ class FinishedCommand < Command
12
12
  # We look for 'Finishes' or 'Delivers' and issue a warning if neither is
13
13
  # in the most recent commit. (Also supports 'Finished' and 'Delivered'.)
14
14
  def check_finishes
15
- unless `git log -1` =~ /Finishe(s|d)|Deliver(s|ed)/
15
+ unless `git log -1` =~ /Finishe(s|d)|Deliver(s|ed)|Fixe(s|d)/i
16
16
  warning = "Warning: Unfinished story\n"
17
17
  warning += "Run `git commit --amend` to add 'Finishes' or 'Delivers' "
18
18
  warning += "to the commit message\n"
19
- warning += "Use --force to override"
19
+ warning += "Use --run to override"
20
20
  $stderr.puts warning
21
21
  exit 1
22
22
  end
@@ -1,5 +1,5 @@
1
1
  module Pivotal
2
2
  module Github
3
- VERSION = "0.6.5"
3
+ VERSION = "0.6.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal-github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: