git_tracker 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +58 -0
- data/README.md +3 -2
- data/lib/git_tracker/commit_message.rb +1 -1
- data/lib/git_tracker/version.rb +1 -1
- data/spec/git_tracker/commit_message_spec.rb +1 -1
- metadata +3 -2
data/CHANGELOG.md
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
### dev
|
2
|
+
[full changelog](https://github.com/highgroove/git_tracker/compare/v1.3.0...master)
|
3
|
+
|
4
|
+
### 1.3.1 / 2012-04-23
|
5
|
+
[full changelog](https://github.com/highgroove/git_tracker/compare/v1.3.0...v1.3.1)
|
6
|
+
|
7
|
+
Bug fixes
|
8
|
+
|
9
|
+
* Bring back fourth Pivotal Tracker keyword, `delivered`
|
10
|
+
|
11
|
+
### 1.3.0 / 2012-04-23
|
12
|
+
[full changelog](https://github.com/highgroove/git_tracker/compare/v1.2.0...v1.3.0)
|
13
|
+
|
14
|
+
Enhancements
|
15
|
+
|
16
|
+
* Allow all three Pivotal Tracker keyword states: `fixed`, `completed`, and `finished`
|
17
|
+
|
18
|
+
Bug fixes
|
19
|
+
|
20
|
+
* Pivotal Tracker keywords are case-insensitive
|
21
|
+
|
22
|
+
### 1.2.0 / 2012-04-21
|
23
|
+
[full changelog](https://github.com/highgroove/git_tracker/compare/v1.1.0...v1.2.0)
|
24
|
+
|
25
|
+
Enhancements
|
26
|
+
|
27
|
+
* Allow Pivotal Tracker keyword states: `Delivers` and `Fixes` [KensoDev](https://github.com/KensoDev)
|
28
|
+
|
29
|
+
Bug fixes
|
30
|
+
|
31
|
+
* Exit with non-zero status code when a commit exists [issue
|
32
|
+
#3](https://github.com/highgroove/git_tracker/issues/3)
|
33
|
+
* Exit with non-zero status code with not in a Git repository
|
34
|
+
|
35
|
+
### 1.1.0 / 2012-04-03
|
36
|
+
[full changelog](https://github.com/highgroove/git_tracker/compare/v1.0.0...v1.1.0)
|
37
|
+
|
38
|
+
Enhancements
|
39
|
+
|
40
|
+
* The hash preceding the story number is optional [CraigWilliams](https://github.com/CraigWilliams)
|
41
|
+
|
42
|
+
Bug fixes
|
43
|
+
|
44
|
+
* Fix case-sensitivity issue w/English library
|
45
|
+
* Exit with non-zero status code with not in a Git repository [issue
|
46
|
+
#1](https://github.com/highgroove/git_tracker/issues/1)
|
47
|
+
|
48
|
+
### 1.0.0 / 2012-03-31
|
49
|
+
[full changelog](https://github.com/highgroove/git_tracker/compare/v0.0.1...v1.0.0)
|
50
|
+
|
51
|
+
Enhancements
|
52
|
+
|
53
|
+
* Hook can install itself in a Git repository
|
54
|
+
|
55
|
+
### 0.0.1 / 2012-03-23
|
56
|
+
[full changelog](https://github.com/highgroove/git_tracker/compare/5fbbe061e721c1f86fdd5d78a4bfb4c61a0eaf5c...v0.0.1)
|
57
|
+
|
58
|
+
* Initial release
|
data/README.md
CHANGED
@@ -106,8 +106,9 @@ Results in this commit message:
|
|
106
106
|
### Keywords
|
107
107
|
You can use the custom keywords that Pivotal Tracker provide with the API.
|
108
108
|
|
109
|
-
The keywords are `fixed`, `completed`, and `
|
110
|
-
may also use different cases forms of these verbs, such as `Fix`
|
109
|
+
The keywords are `fixed`, `completed`, `finshed`, and `delivered` in square
|
110
|
+
brackets. You may also use different cases forms of these verbs, such as `Fix`
|
111
|
+
or `FIXES`.
|
111
112
|
|
112
113
|
If you use those keywords in your commit message, the keyword will be prepended
|
113
114
|
to the story ID in the commit message.
|
@@ -11,7 +11,7 @@ module GitTracker
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def keyword
|
14
|
-
@message =~ /\[(fix|fixes|fixed|complete|completes|completed|finish|finishes|finished)\]/io
|
14
|
+
@message =~ /\[(fix|fixes|fixed|complete|completes|completed|finish|finishes|finished|deliver|delivers|delivered)\]/io
|
15
15
|
$1
|
16
16
|
end
|
17
17
|
|
data/lib/git_tracker/version.rb
CHANGED
@@ -17,7 +17,7 @@ describe GitTracker::CommitMessage do
|
|
17
17
|
end
|
18
18
|
|
19
19
|
describe '#keyword' do
|
20
|
-
%w[fix Fixed FIXES Complete completed completes FINISH finished Finishes].each do |keyword|
|
20
|
+
%w[fix Fixed FIXES Complete completed completes FINISH finished Finishes Deliver delivered DELIVERS].each do |keyword|
|
21
21
|
it "detects the #{keyword} keyword" do
|
22
22
|
stub_commit_message("Did the darn thing. [#{keyword}]")
|
23
23
|
subject.keyword.should == keyword
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_tracker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -103,6 +103,7 @@ files:
|
|
103
103
|
- .gitignore
|
104
104
|
- .rspec
|
105
105
|
- .travis.yml
|
106
|
+
- CHANGELOG.md
|
106
107
|
- Gemfile
|
107
108
|
- LICENSE
|
108
109
|
- README.md
|