git_tracker 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +3 -0
- data/README.md +1 -1
- data/Rakefile +4 -0
- data/git_tracker.gemspec +2 -1
- data/lib/git_tracker/repository.rb +1 -1
- data/lib/git_tracker/version.rb +1 -1
- data/spec/git_tracker/repository_spec.rb +2 -0
- metadata +23 -11
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# GitTracker
|
2
2
|
|
3
3
|
*GitTracker*, or *git-tracker*, is a Git hook that will scan your current
|
4
|
-
branch
|
4
|
+
branch name looking for something it recognizes as a [Pivotal Tracker][pt]
|
5
5
|
story number. If it finds one, it will automagically add it, in the [special
|
6
6
|
format][pt-format], to your commit message.
|
7
7
|
|
data/Rakefile
CHANGED
data/git_tracker.gemspec
CHANGED
@@ -13,10 +13,11 @@ Gem::Specification.new do |gem|
|
|
13
13
|
better... and easier... um, besier!
|
14
14
|
EOF
|
15
15
|
|
16
|
-
gem.add_development_dependency "rspec", "~> 2.0"
|
16
|
+
gem.add_development_dependency "rspec", "~> 2.9.0"
|
17
17
|
gem.add_development_dependency "rspec-spies", "~> 2.0"
|
18
18
|
gem.add_development_dependency "pry", "~> 0.9.8"
|
19
19
|
gem.add_development_dependency "activesupport", "~> 3.2"
|
20
|
+
gem.add_development_dependency "rake"
|
20
21
|
|
21
22
|
gem.files = `git ls-files`.split("\n")
|
22
23
|
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
data/lib/git_tracker/version.rb
CHANGED
@@ -6,7 +6,9 @@ describe GitTracker::Repository do
|
|
6
6
|
describe '.root' do
|
7
7
|
let(:git_command) { 'git rev-parse --show-toplevel' }
|
8
8
|
before do
|
9
|
+
allow_message_expectations_on_nil
|
9
10
|
subject.stub(:`).with(git_command) { "/path/to/git/repo/root\n" }
|
11
|
+
$?.stub(:exitstatus) { 0 }
|
10
12
|
end
|
11
13
|
|
12
14
|
it "gets the path to the local Repository's top-level directory" do
|
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.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70259311488380 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 2.9.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70259311488380
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rspec-spies
|
27
|
-
requirement: &
|
27
|
+
requirement: &70259311487380 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '2.0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70259311487380
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: pry
|
38
|
-
requirement: &
|
38
|
+
requirement: &70259311486360 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.9.8
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70259311486360
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: activesupport
|
49
|
-
requirement: &
|
49
|
+
requirement: &70259311479440 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,18 @@ dependencies:
|
|
54
54
|
version: '3.2'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70259311479440
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: rake
|
60
|
+
requirement: &70259311478460 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70259311478460
|
58
69
|
description: ! " Some simple tricks that make working with Pivotal Tracker even\n
|
59
70
|
\ better... and easier... um, besier!\n"
|
60
71
|
email:
|
@@ -66,6 +77,7 @@ extra_rdoc_files: []
|
|
66
77
|
files:
|
67
78
|
- .gitignore
|
68
79
|
- .rspec
|
80
|
+
- .travis.yml
|
69
81
|
- Gemfile
|
70
82
|
- LICENSE
|
71
83
|
- README.md
|