pivotal-cli 0.0.6 → 0.0.7

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.
Files changed (3) hide show
  1. data/bin/pivotal +1 -1
  2. data/lib/pivotal_cli/version.rb +1 -1
  3. metadata +1 -1
@@ -173,7 +173,7 @@ command :commit do |c|
173
173
  ensure_setup_complete
174
174
 
175
175
  git = Git.open(Dir.pwd)
176
- branch = git.branches.local[0].to_s
176
+ branch = git.branches.local.find {|branch| branch.current }.to_s
177
177
 
178
178
  matches = branch.match(/.+-pv-(?<story_id>\d+)/)
179
179
  if matches && matches['story_id']
@@ -1,3 +1,3 @@
1
1
  module PivotalCli
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: