grit-ext 0.0.4 → 0.0.5

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.
@@ -7,7 +7,7 @@ module Grit
7
7
  alias_method :count, :added_count
8
8
 
9
9
  def initialize(hunk_header)
10
- groups = hunk_header.split('-').last.split('+')
10
+ groups = hunk_header.split('-')[1].split('+')
11
11
 
12
12
  removed = groups.first.strip
13
13
  added = groups.last.sub(' @@', '').strip
@@ -1,5 +1,5 @@
1
1
  module Grit
2
2
  module Ext
3
- VERSION = '0.0.4'
3
+ VERSION = '0.0.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grit-ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: