Skip to content

Commit 3134c1f

Browse files
committed
Upgrade RuboCop 0.37.2 -> 0.39.0 for Travis
This also fixes a bug introduced by change in behavior in `parser` 2.3.0.7. See: whitequark/parser#283
1 parent be1d6a9 commit 3134c1f

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
@@ -4,6 +4,6 @@ source 'https://rubygems.org'
44
gem 'coveralls'
55

66
# Pin RuboCop for Travis builds.
7-
gem 'rubocop', '0.37.2'
7+
gem 'rubocop', '0.39.0'
88

99
gemspec

lib/overcommit/hook_loader/plugin_hook_loader.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def create_ad_hoc_hook(hook_name)
7979
# Implement a simple class that executes the command and returns pass/fail
8080
# based on the exit status
8181
hook_class = Class.new(hook_base) do
82-
def run # rubocop:disable Lint/NestedMethodDefinition
82+
def run
8383
result = @context.execute_hook(command)
8484

8585
if result.success?

0 commit comments

Comments
 (0)