Skip to content

Commit f0a44f4

Browse files
authored
Merge pull request #234 from JacobEvelyn/fix-rubocop
Pin RuboCop version for Travis tests
2 parents 38e3e82 + 820ebb2 commit f0a44f4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ matrix:
1212
- rvm: 2.6
1313
script:
1414
- bundle exec rake test
15-
- gem install --no-document rubocop && rubocop
15+
- gem install --no-document rubocop -v 0.67 && rubocop
1616
env:
1717
- CODE_COVERAGE=true
1818
branches:

friends.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
1313
spec.email = ["jacobevelyn@gmail.com"]
1414
spec.summary = "Spend time with the people you care about."
1515
spec.description = "Spend time with the people you care about. "\
16-
"Introvert-tested. Extrovert-approved."
16+
"Introvert-tested. Extrovert-approved."
1717
spec.homepage = "https://github.com/JacobEvelyn/friends"
1818
spec.license = "MIT"
1919
spec.post_install_message = Friends::POST_INSTALL_MESSAGE

lib/friends/introvert.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -710,8 +710,8 @@ def parse_line!(line, line_num:, state:)
710710

711711
begin
712712
instance_variable_get("@#{stage.id}") << stage.klass.deserialize(line)
713-
rescue => e # rubocop:disable Style/RescueStandardError
714-
bad_line(e, line_num)
713+
rescue => ex # rubocop:disable Style/RescueStandardError
714+
bad_line(ex, line_num)
715715
end
716716

717717
state

0 commit comments

Comments
 (0)