Skip to content

Commit 127fc10

Browse files
committed
Update RuboCop 0.43.0 -> 0.44.1 for Travis
1 parent 322523c commit 127fc10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ gem 'travis', '~> 1.7'
1212
gem 'coveralls'
1313

1414
# Pin RuboCop for Travis builds.
15-
gem 'rubocop', '0.43.0'
15+
gem 'rubocop', '0.44.1'
1616

1717
# Prevent errors for Ruby < 2.1
1818
gem 'net-http-persistent', '~> 2.7'

lib/overcommit/hook_context/pre_push.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def pushed_refs
1717
end
1818
end
1919

20-
PushedRef = Struct.new(:local_ref, :local_sha1, :remote_ref, :remote_sha1) do
20+
PushedRef = Struct.new(:local_ref, :local_sha1, :remote_ref, :remote_sha1) do # rubocop:disable Metrics/BlockLength, Metrics/LineLength
2121
def forced?
2222
!(created? || deleted? || overwritten_commits.empty?)
2323
end

0 commit comments

Comments
 (0)