git-whistles 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git-whistles (0.8.0)
4
+ git-whistles (0.8.1)
5
5
  pivotal-tracker (~> 0.5.6)
6
6
  term-ansicolor
7
7
 
data/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ git whistles [![Gem Version](https://badge.fury.io/rb/git-whistles.png)](http://badge.fury.io/rb/git-whistles)
2
+ =====
3
+
1
4
  This repository is about sharing helper scripts for the [Git](http://git-scm.com/) version control system.
2
5
 
3
6
  Install with:
@@ -20,13 +20,13 @@ class App < Git::Whistles::App
20
20
  super
21
21
  parse_args!(args)
22
22
 
23
- merges = `git log --merges --first-parent #{options.from} ^#{options.to} | grep 'Merge pull request'`
23
+ merges = `git log --merges --first-parent --oneline #{options.from} ^#{options.to} | grep 'Merge pull request'`
24
24
  return if merges.nil?
25
25
 
26
26
  output = []
27
27
  merges.lines.each do |merge|
28
- merge.match(/(#\d+).*from.*\/(.*)/)
29
- output << $1 + ' ' + $2
28
+ merge.match /(#\d+).*from(.*)/
29
+ output << $1.strip + ' ' + $2.strip
30
30
  end
31
31
 
32
32
  puts options.oneline ? output.join(', ') : output
@@ -4,7 +4,7 @@ require 'pathname'
4
4
 
5
5
  module Git
6
6
  module Whistles
7
- VERSION = "0.8.0"
7
+ VERSION = "0.8.1"
8
8
  GEMDIR = Pathname.new(__FILE__).parent.parent.parent
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-whistles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-11-17 00:00:00.000000000 Z
13
+ date: 2013-11-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -168,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
168
168
  version: '0'
169
169
  segments:
170
170
  - 0
171
- hash: -85854206902681188
171
+ hash: -255167621400502632
172
172
  required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  none: false
174
174
  requirements: