Skip to content

Commit 97870dd

Browse files
committed
Upgrade Rubocop to 0.28.0 for Travis builds
Change-Id: I8694b2f3aebe0fcfa52d27fc97d2eb04a7661186 Reviewed-on: http://gerrit.causes.com/45333 Tested-by: jenkins <jenkins@brigade.com> Reviewed-by: Shane da Silva <shane.dasilva@brigade.com>
1 parent 7957fa4 commit 97870dd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source 'https://rubygems.org'
22

33
# Pin Rubocop for Travis builds.
4-
gem 'rubocop', '0.27.1'
4+
gem 'rubocop', '0.28.0'
55

66
gemspec

lib/overcommit/git_repo.rb

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ def extract_modified_lines(file_path, options)
2323

2424
`git diff --no-ext-diff -U0 #{flags} -- #{file_path}`.
2525
scan(DIFF_HUNK_REGEX) do |start_line, lines_added|
26-
2726
lines_added = (lines_added || 1).to_i # When blank, one line was added
2827
cur_line = start_line.to_i
2928

0 commit comments

Comments
 (0)