tracker_git_hook 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c2eada90f17a42b0debf03936a46cb83c033b7f
4
- data.tar.gz: 6b4e425eccc6cb3bd2364531b038230cd9de58cf
3
+ metadata.gz: 5481c0fada5a0a27f9441650230dca836041dbbe
4
+ data.tar.gz: 3dc152d194a5fee4c8e00825ab10c87e6b131127
5
5
  SHA512:
6
- metadata.gz: 20487b9a032c334e005b9f2daaf1d8260f7b7711e69a026b231d7f25b1aa9bd7c82d6acdb58582c69a22b7e7f66ed409f10283454de8a92ad27a28a847517023
7
- data.tar.gz: dfc9b2b1f58c2127d596a648ae823b8ce4176e596069d5eeffd31d0a98fafe1e98f028da5d113f88ddb5e9b3aaba65eabdf64b449c6bb034439243b05e0c600f
6
+ metadata.gz: 851e0dba37952bda3a4daa98a382f53563a6523fa39b0756cb0e8e0ddca33b2423ed9e3d82d4f46107d3676e79ee4d549b7834d565cca19d6d1499dbcbdd2ec7
7
+ data.tar.gz: 6d100f31d8a78134d3f2d0e383fda6edd5576640593385c0abb8ef3b19888d4a931a895409c96461eafa212373c861651fd4ff0c83ee354e39a5ff9ea2064efc
@@ -5,7 +5,7 @@ module TrackerGitHook
5
5
  end
6
6
 
7
7
  def check(message)
8
- if contains_completion_keyword?(message) && contains_current_story_id?(message)
8
+ if repo.current_story_id && contains_completion_keyword?(message) && contains_current_story_id?(message)
9
9
  repo.clear_story_id
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tracker_git_hook
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - August Toman-Yih
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-31 00:00:00.000000000 Z
12
+ date: 2015-04-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  version: '0'
62
62
  requirements: []
63
63
  rubyforge_project:
64
- rubygems_version: 2.4.5
64
+ rubygems_version: 2.2.2
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Simple command-line tool to tag stories from Pivotal Tracker in git commits