git_tracker 1.6.1 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c53e651fd8a607936d9362324e0e0a948fce44fa
4
- data.tar.gz: 761261599941040c85cdd2b04194e62e2c185623
3
+ metadata.gz: 3c0f0d6230bbd58a9cd887307a49954075816b47
4
+ data.tar.gz: a28db4cb15a1c3215bb65500a3c1c92af05f4d09
5
5
  SHA512:
6
- metadata.gz: 5d53880b86ae7fc0ac8321e6c6afad45fb88c25305440852b5620ceefb18bec96b64ae11d1e7705ae5d00d5dd23dd50f046232d5b5f326e05afde3666afd1faf
7
- data.tar.gz: 6b133468ef83173e980f8d93a6c6480882668ea7acf10764ad0728368fd063b2a37e9d786593e99c516b0a10dd442f7a13b8d8edb26871bdecc693c3430147f1
6
+ metadata.gz: 12e7efe81727277061d3b6b1896913c1ebe31786938bdce09ac83d4c50be4e26b0c8dafd12d59dfdbdb46815f0a9519237410e551cd3064ddb8bf0a023db077b
7
+ data.tar.gz: a60b92d7b082fba1a2ed38ef9873c09c6ec3353c3e39a0913dfa71a7285151a6be195b6d0562d0817818a77796638f166d4baea2e54002bbbc71f8ef805d7cc7
data/.gitignore CHANGED
@@ -1,5 +1,6 @@
1
1
  *.gem
2
2
  .bundle
3
+ .ruby-version
3
4
  Gemfile.lock
4
5
  coverage
5
6
  doc/
@@ -9,5 +10,3 @@ pkg
9
10
  rdoc
10
11
  tmp
11
12
  tags
12
- .rvmrc
13
- .rbenv-version
data/.travis.yml CHANGED
@@ -4,3 +4,8 @@ rvm:
4
4
  - 1.9.2
5
5
  - 1.9.3
6
6
  - 2.0.0
7
+ - 2.1.0
8
+ - 2.1.1
9
+ addons:
10
+ code_climate:
11
+ repo_token: d08131691091072810c086f65d42c36ba7ea3241629c643caa363cbc966bbb23
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  ### dev
2
- [full changelog](https://github.com/stevenharman/git_tracker/compare/v1.6.1...master)
2
+ [full changelog](https://github.com/stevenharman/git_tracker/compare/v1.6.2...master)
3
+
4
+
5
+
6
+ ### 1.6.2 / 2014-03-26
7
+ [full changelog](https://github.com/stevenharman/git_tracker/compare/v1.6.1...v1.6.2)
8
+
9
+ Bug Fixes
10
+
11
+ * Restrict Tracker story numbers to be 6-10 digits long. [Issue
12
+ #16](https://github.com/stevenharman/git_tracker/pull/16) ([Benjamin
13
+ Darfler](https://github.com/bdarfler))
3
14
 
4
15
  ### 1.6.1 / 2013-08-12
5
16
  [full changelog](https://github.com/stevenharman/git_tracker/compare/v1.6.0...v1.6.1)
@@ -56,7 +67,8 @@ Bug fixes
56
67
 
57
68
  Enhancements
58
69
 
59
- * Allow Pivotal Tracker keyword states: `Delivers` and `Fixes` [KensoDev](https://github.com/KensoDev)
70
+ * Allow Pivotal Tracker keyword states: `Delivers` and `Fixes`
71
+ ([KensoDev](https://github.com/KensoDev))
60
72
 
61
73
  Bug fixes
62
74
 
data/Gemfile CHANGED
@@ -2,3 +2,9 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in git_tracker.gemspec
4
4
  gemspec
5
+
6
+ gem 'codeclimate-test-reporter', :group => :test, :require => nil
7
+
8
+ # Require Simplecov explicitly. Remove this explicit dependency when
9
+ # the following is fixed: https://github.com/colszowka/simplecov/issues/281
10
+ gem 'simplecov', '~> 0.7.1'
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # GitTracker
2
2
 
3
- [![Build Status](https://secure.travis-ci.org/stevenharman/git_tracker.png)](http://travis-ci.org/stevenharman/git_tracker)
4
- [![Dependency Status](https://gemnasium.com/stevenharman/git_tracker.png)](https://gemnasium.com/stevenharman/git_tracker)
5
- [![Code Climate](https://codeclimate.com/github/stevenharman/git_tracker.png)](https://codeclimate.com/github/stevenharman/git_tracker)
3
+ [![Gem Version](http://img.shields.io/gem/v/git_tracker.svg)](https://rubygems.org/gems/git_tracker)
4
+ [![Build Status](https://img.shields.io/travis/stevenharman/git_tracker.svg)](https://travis-ci.org/stevenharman/git_tracker)
5
+ [![Code Climate](http://img.shields.io/codeclimate/github/stevenharman/git_tracker.svg)](https://codeclimate.com/github/stevenharman/git_tracker)
6
+ [![Dependency Status](https://img.shields.io/gemnasium/stevenharman/git_tracker.svg)](https://gemnasium.com/stevenharman/git_tracker)
6
7
 
7
8
  *GitTracker*, or *git-tracker*, is a Git hook that will scan your current
8
9
  branch name looking for something it recognizes as a [Pivotal Tracker][pt]
data/Rakefile CHANGED
@@ -44,7 +44,7 @@ namespace :standalone do
44
44
  sh 'git pull -q origin master'
45
45
 
46
46
  formula_file = 'Library/Formula/git-tracker.rb'
47
- sha = `curl -#L https://github.com/stevenharman/git_tracker/tarball/v#{GitTracker::VERSION} | shasum`.split(/\s+/).first
47
+ sha = `curl -#L https://github.com/stevenharman/git_tracker/archive/v#{GitTracker::VERSION}.tar.gz | shasum`.split(/\s+/).first
48
48
  abort unless $?.success? and sha.length == 40
49
49
 
50
50
  formula = File.read formula_file
@@ -58,7 +58,7 @@ namespace :standalone do
58
58
  sh "git push -u stevenharman #{branch}"
59
59
  sh "hub pull-request 'upgrade git-tracker to v#{GitTracker::VERSION}'"
60
60
 
61
- sh "git checkout -q master"
61
+ sh 'git checkout -q master'
62
62
  end
63
63
  end
64
64
  end
data/bin/autospec ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'autospec' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('rspec-core', 'autospec')
data/bin/rspec ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'rspec' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('rspec-core', 'rspec')
data/git_tracker.gemspec CHANGED
@@ -2,24 +2,25 @@
2
2
  require File.expand_path('../lib/git_tracker/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.name = "git_tracker"
5
+ gem.name = 'git_tracker'
6
6
  gem.version = GitTracker::VERSION
7
- gem.authors = ["Steven Harman"]
8
- gem.email = ["steveharman@gmail.com"]
9
- gem.homepage = "https://github.com/stevenharman/git_tracker"
7
+ gem.authors = ['Steven Harman']
8
+ gem.email = ['steven@harmanly.com']
9
+ gem.homepage = 'https://github.com/stevenharman/git_tracker'
10
10
  gem.summary = %q{Teaching Git about Pivotal Tracker.}
11
11
  gem.description = <<-EOF
12
12
  Some simple tricks that make working with Pivotal Tracker even
13
13
  better... and easier... um, besier!
14
14
  EOF
15
15
 
16
- gem.add_development_dependency "rspec", "~> 2.14"
17
- gem.add_development_dependency "activesupport", "~> 3.2"
18
- gem.add_development_dependency "pry", "~> 0.9.11"
19
- gem.add_development_dependency "rake"
16
+ gem.add_development_dependency 'rspec', '~> 2.14'
17
+ gem.add_development_dependency 'activesupport', '~> 3.2'
18
+ gem.add_development_dependency 'pry', '~> 0.9.11'
19
+ # Use Rake < 10.2 (requires Ruby 1.9+) until we drop Ruby 1.8.7 support
20
+ gem.add_development_dependency 'rake', '~> 10.1.1'
20
21
 
21
22
  gem.files = `git ls-files`.split("\n")
22
23
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
23
24
  gem.executables = %w(git-tracker)
24
- gem.require_paths = ["lib"]
25
+ gem.require_paths = ['lib']
25
26
  end
@@ -4,7 +4,7 @@ require 'git_tracker/repository'
4
4
  module GitTracker
5
5
  module Branch
6
6
  def self.story_number
7
- current[/#?(\d+)/, 1]
7
+ current[/#?(\d{6,10})/, 1]
8
8
  end
9
9
 
10
10
  def self.current
@@ -1,5 +1,6 @@
1
1
  require 'git_tracker/prepare_commit_message'
2
2
  require 'git_tracker/hook'
3
+ require 'git_tracker/version'
3
4
 
4
5
  module GitTracker
5
6
  module Runner
@@ -19,7 +20,7 @@ module GitTracker
19
20
  end
20
21
 
21
22
  def self.install
22
- puts "`git-tracker install` is deprecated. Please use `git-tracker init`"
23
+ puts '`git-tracker install` is deprecated. Please use `git-tracker init`'
23
24
  self.init
24
25
  end
25
26
 
@@ -1,3 +1,3 @@
1
1
  module GitTracker
2
- VERSION = '1.6.1'
2
+ VERSION = '1.6.2'
3
3
  end
@@ -6,21 +6,21 @@ describe GitTracker::Branch do
6
6
 
7
7
  def stub_branch(ref, exit_status = 0)
8
8
  allow_message_expectations_on_nil
9
- branch.stub(:`) { ref }
10
- $?.stub(:exitstatus) { exit_status }
9
+ allow(branch).to receive(:`) { ref }
10
+ allow($?).to receive(:exitstatus) { exit_status }
11
11
  end
12
12
 
13
13
  describe '.current' do
14
14
  it 'shells out to git, looking for the current HEAD' do
15
15
  stub_branch('refs/heads/herpty_derp_de')
16
- branch.should_receive('`').with('git symbolic-ref HEAD')
16
+ expect(branch).to receive('`').with('git symbolic-ref HEAD')
17
17
  branch.current
18
18
  end
19
19
 
20
20
  it 'ensures in a Git repository when looking for HEAD exits with non-zero status' do
21
21
  stub_branch('', 128)
22
22
 
23
- GitTracker::Repository.should_receive(:ensure_exists)
23
+ expect(GitTracker::Repository).to receive(:ensure_exists)
24
24
  branch.current
25
25
  end
26
26
  end
@@ -46,6 +46,18 @@ describe GitTracker::Branch do
46
46
  stub_branch('refs/heads/stevenharman/got-her-number-8675309')
47
47
  expect(branch.story_number).to eq('8675309')
48
48
  end
49
+
50
+ it 'finds the story in a branch with a version number' do
51
+ stub_branch('refs/heads/stevenharman/v2.0-got-her-number-8675309')
52
+ expect(branch.story_number).to eq('8675309')
53
+ end
54
+ end
55
+
56
+ context 'The current branch has a number that is not a story' do
57
+ it 'finds no story' do
58
+ stub_branch('refs/heads/a_very_descriptive_name_with_some_a_version_number_v2.0')
59
+ expect(branch.story_number).to_not be
60
+ end
49
61
  end
50
62
 
51
63
  context 'The current branch does not have a story number' do
@@ -13,7 +13,7 @@ describe GitTracker::CommitMessage do
13
13
  end
14
14
 
15
15
  def stub_commit_message(story_text)
16
- File.stub(:read).with(file) { example_commit_message(story_text) }
16
+ allow(File).to receive(:read).with(file) { example_commit_message(story_text) }
17
17
  end
18
18
 
19
19
  describe '#keyword' do
@@ -92,10 +92,10 @@ describe GitTracker::CommitMessage do
92
92
  describe '#append' do
93
93
  let(:fake_file) { GitTracker::FakeFile.new }
94
94
  before do
95
- File.stub(:open).and_yield(fake_file)
95
+ allow(File).to receive(:open).and_yield(fake_file)
96
96
  end
97
97
  def stub_original_commit_message(message)
98
- File.stub(:read) { message }
98
+ allow(File).to receive(:read) { message }
99
99
  end
100
100
 
101
101
  it 'handles no existing message' do
@@ -9,8 +9,8 @@ describe GitTracker::Hook do
9
9
 
10
10
  describe '.init' do
11
11
  before do
12
- GitTracker::Repository.stub(:root) { root }
13
- hook.stub(:init_at)
12
+ allow(GitTracker::Repository).to receive(:root) { root }
13
+ allow(hook).to receive(:init_at)
14
14
  end
15
15
 
16
16
  it 'initializes to the root of the Git repository' do
@@ -22,7 +22,7 @@ describe GitTracker::Hook do
22
22
  describe '.init_at' do
23
23
  let(:fake_file) { GitTracker::FakeFile.new }
24
24
  before do
25
- File.stub(:open).and_yield(fake_file)
25
+ allow(File).to receive(:open).and_yield(fake_file)
26
26
  end
27
27
 
28
28
  it 'writes the hook into the hooks directory' do
@@ -7,11 +7,11 @@ describe GitTracker::PrepareCommitMessage do
7
7
  describe '.run' do
8
8
  let(:hook) { double('PrepareCommitMessage') }
9
9
  before do
10
- prepare_commit_message.stub(:new) { hook }
10
+ allow(prepare_commit_message).to receive(:new) { hook }
11
11
  end
12
12
 
13
13
  it 'runs the hook' do
14
- hook.should_receive(:run)
14
+ expect(hook).to receive(:run)
15
15
  prepare_commit_message.run('FILE1', 'hook_source', 'sha1234')
16
16
  end
17
17
  end
@@ -40,8 +40,8 @@ describe GitTracker::PrepareCommitMessage do
40
40
  let(:commit_message) { double('CommitMessage', :append => nil) }
41
41
 
42
42
  before do
43
- GitTracker::Branch.stub(:story_number) { story }
44
- GitTracker::CommitMessage.stub(:new) { commit_message }
43
+ allow(GitTracker::Branch).to receive(:story_number) { story }
44
+ allow(GitTracker::CommitMessage).to receive(:new) { commit_message }
45
45
  end
46
46
 
47
47
  context 'with an existing commit (via `-c`, `-C`, or `--amend` options)' do
@@ -64,8 +64,8 @@ describe GitTracker::PrepareCommitMessage do
64
64
  context 'branch name with a Pivotal Tracker story number' do
65
65
  let(:story) { '8675309' }
66
66
  before do
67
- commit_message.stub(:mentions_story?) { false }
68
- commit_message.stub(:keyword) { nil }
67
+ allow(commit_message).to receive(:mentions_story?) { false }
68
+ allow(commit_message).to receive(:keyword) { nil }
69
69
  end
70
70
 
71
71
  it 'appends the number to the commit message' do
@@ -75,7 +75,7 @@ describe GitTracker::PrepareCommitMessage do
75
75
 
76
76
  context 'keyword mentioned in the commit message' do
77
77
  before do
78
- commit_message.stub(:keyword) { 'Delivers' }
78
+ allow(commit_message).to receive(:keyword) { 'Delivers' }
79
79
  end
80
80
 
81
81
  it 'appends the keyword and the story number' do
@@ -86,7 +86,7 @@ describe GitTracker::PrepareCommitMessage do
86
86
 
87
87
  context 'number already mentioned in the commit message' do
88
88
  before do
89
- commit_message.stub(:mentions_story?).with('8675309') { true }
89
+ allow(commit_message).to receive(:mentions_story?).with('8675309') { true }
90
90
  end
91
91
 
92
92
  it 'exits without updating the commit message' do
@@ -6,25 +6,25 @@ describe GitTracker::Repository do
6
6
  let(:git_command) { 'git rev-parse --show-toplevel' }
7
7
  before do
8
8
  allow_message_expectations_on_nil
9
- repository.stub(:`).with(git_command) { "/path/to/git/repo/root\n" }
9
+ allow(repository).to receive(:`).with(git_command) { "/path/to/git/repo/root\n" }
10
10
  end
11
11
 
12
12
  describe '.root' do
13
13
 
14
14
  it 'gets the path to the top-level directory of the local Repository' do
15
- $?.stub(:exitstatus) { 0 }
15
+ allow($?).to receive(:exitstatus) { 0 }
16
16
  expect(repository.root).to eq('/path/to/git/repo/root')
17
17
  end
18
18
 
19
19
  it 'aborts when not in a git repository' do
20
- $?.stub(:exitstatus) { 128 }
20
+ allow($?).to receive(:exitstatus) { 128 }
21
21
  expect { repository.root }.to_not succeed
22
22
  end
23
23
  end
24
24
 
25
25
  describe '.ensure_exists' do
26
26
  it 'aborts when not in a git repository' do
27
- $?.stub(:exitstatus) { 128 }
27
+ allow($?).to receive(:exitstatus) { 128 }
28
28
  expect { repository.root }.to_not succeed
29
29
  end
30
30
  end
@@ -6,37 +6,41 @@ describe GitTracker::Runner do
6
6
  let(:args) { ['a_file', 'the_source', 'sha1234'] }
7
7
 
8
8
  describe '.execute' do
9
+ include OutputHelper
10
+
9
11
  before do
10
- runner.stub(:prepare_commit_msg) { true }
12
+ allow(runner).to receive(:prepare_commit_msg) { true }
11
13
  end
12
14
 
13
15
  it 'runs the hook, passing the args' do
14
- runner.should_receive(:prepare_commit_msg).with(*args) { true }
16
+ expect(runner).to receive(:prepare_commit_msg).with(*args) { true }
15
17
  runner.execute('prepare-commit-msg', *args)
16
18
  end
17
19
 
18
- # TODO: stop the abort from writing to stderr during tests?
19
20
  it 'does not run hooks we do not know about' do
20
- expect { runner.execute('non-existent-hook', *args) }.to_not succeed
21
+ errors = capture_stderr do
22
+ expect { runner.execute('non-existent-hook', *args) }.to_not succeed
23
+ end
24
+ expect(errors.chomp).to eq("[git_tracker] command: 'non-existent-hook' does not exist.")
21
25
  end
22
26
  end
23
27
 
24
28
  describe '.prepare_commit_msg' do
25
29
  it 'runs the hook, passing the args' do
26
- GitTracker::PrepareCommitMessage.should_receive(:run).with(*args) { true }
30
+ expect(GitTracker::PrepareCommitMessage).to receive(:run).with(*args) { true }
27
31
  runner.prepare_commit_msg(*args)
28
32
  end
29
33
  end
30
34
 
31
35
  describe '.init' do
32
36
  it 'tells the hook to initialize itself' do
33
- GitTracker::Hook.should_receive(:init)
37
+ expect(GitTracker::Hook).to receive(:init)
34
38
  runner.init
35
39
  end
36
40
  end
37
41
 
38
42
  it '.help reports that it was run' do
39
- runner.should_receive(:puts).with(/git-tracker #{GitTracker::VERSION} is installed\./)
43
+ expect(runner).to receive(:puts).with(/git-tracker #{GitTracker::VERSION} is installed\./)
40
44
  runner.execute('help')
41
45
  end
42
46
 
@@ -68,17 +68,17 @@ describe GitTracker::Standalone do
68
68
  describe '#ruby_executable' do
69
69
  subject(:standalone) { described_class }
70
70
  before do
71
- RbConfig::CONFIG.stub(:[]).with('bindir') { '/some/other/bin' }
72
- RbConfig::CONFIG.stub(:[]).with('ruby_install_name') { 'ruby' }
71
+ allow(RbConfig::CONFIG).to receive(:[]).with('bindir') { '/some/other/bin' }
72
+ allow(RbConfig::CONFIG).to receive(:[]).with('ruby_install_name') { 'ruby' }
73
73
  end
74
74
 
75
75
  it 'uses user-level ruby binary when it is executable' do
76
- File.stub(:executable?).with('/usr/bin/ruby') { true }
76
+ allow(File).to receive(:executable?).with('/usr/bin/ruby') { true }
77
77
  expect(standalone.ruby_executable).to eq('/usr/bin/ruby')
78
78
  end
79
79
 
80
80
  it 'uses rbconfig ruby when user-level ruby binary not executable' do
81
- File.stub(:executable?).with('/usr/bin/ruby') { false }
81
+ allow(File).to receive(:executable?).with('/usr/bin/ruby') { false }
82
82
  expect(standalone.ruby_executable).to eq('/some/other/bin/ruby')
83
83
  end
84
84
  end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,9 @@
1
- require 'fake_file'
2
- require 'commit_message_helper'
3
- require 'matchers/exit_code_matchers'
1
+ if (RUBY_VERSION >= '1.9') && ENV['CODECLIMATE_REPO_TOKEN']
2
+ require 'codeclimate-test-reporter'
3
+ CodeClimate::TestReporter.start
4
+ end
5
+
6
+ Dir[File.dirname(__FILE__) + '/support/**/*.rb'].each {|f| require f }
4
7
 
5
8
  RSpec.configure do |config|
6
9
  config.treat_symbols_as_metadata_keys_with_true_values = true
@@ -0,0 +1,12 @@
1
+ require 'stringio'
2
+
3
+ module OutputHelper
4
+ def capture_stderr
5
+ old_out, new_out = $stderr, StringIO.new
6
+ $stderr = new_out
7
+ yield
8
+ ensure
9
+ $stderr = old_out
10
+ return new_out.string
11
+ end
12
+ end
metadata CHANGED
@@ -1,90 +1,92 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_tracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Harman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-12 00:00:00.000000000 Z
11
+ date: 2014-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.14'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.14'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.2'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.9.11
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.9.11
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 10.1.1
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: 10.1.1
69
69
  description: |2
70
70
  Some simple tricks that make working with Pivotal Tracker even
71
71
  better... and easier... um, besier!
72
72
  email:
73
- - steveharman@gmail.com
73
+ - steven@harmanly.com
74
74
  executables:
75
75
  - git-tracker
76
76
  extensions: []
77
77
  extra_rdoc_files: []
78
78
  files:
79
- - .gitignore
80
- - .rspec
81
- - .travis.yml
79
+ - ".gitignore"
80
+ - ".rspec"
81
+ - ".travis.yml"
82
82
  - CHANGELOG.md
83
83
  - Gemfile
84
84
  - LICENSE
85
85
  - README.md
86
86
  - Rakefile
87
+ - bin/autospec
87
88
  - bin/git-tracker
89
+ - bin/rspec
88
90
  - git_tracker.gemspec
89
91
  - lib/git_tracker.rb
90
92
  - lib/git_tracker/branch.rb
@@ -107,6 +109,7 @@ files:
107
109
  - spec/support/commit_message_helper.rb
108
110
  - spec/support/fake_file.rb
109
111
  - spec/support/matchers/exit_code_matchers.rb
112
+ - spec/support/output_helper.rb
110
113
  homepage: https://github.com/stevenharman/git_tracker
111
114
  licenses: []
112
115
  metadata: {}
@@ -116,17 +119,17 @@ require_paths:
116
119
  - lib
117
120
  required_ruby_version: !ruby/object:Gem::Requirement
118
121
  requirements:
119
- - - '>='
122
+ - - ">="
120
123
  - !ruby/object:Gem::Version
121
124
  version: '0'
122
125
  required_rubygems_version: !ruby/object:Gem::Requirement
123
126
  requirements:
124
- - - '>='
127
+ - - ">="
125
128
  - !ruby/object:Gem::Version
126
129
  version: '0'
127
130
  requirements: []
128
131
  rubyforge_project:
129
- rubygems_version: 2.0.5
132
+ rubygems_version: 2.2.2
130
133
  signing_key:
131
134
  specification_version: 4
132
135
  summary: Teaching Git about Pivotal Tracker.
@@ -142,3 +145,5 @@ test_files:
142
145
  - spec/support/commit_message_helper.rb
143
146
  - spec/support/fake_file.rb
144
147
  - spec/support/matchers/exit_code_matchers.rb
148
+ - spec/support/output_helper.rb
149
+ has_rdoc: