Skip to content

Commit

Permalink
Merge pull request #234 from JacobEvelyn/fix-rubocop
Browse files Browse the repository at this point in the history
Pin RuboCop version for Travis tests
  • Loading branch information
JacobEvelyn committed May 16, 2019
2 parents 38e3e82 + 820ebb2 commit f0a44f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ matrix:
- rvm: 2.6
script:
- bundle exec rake test
- gem install --no-document rubocop && rubocop
- gem install --no-document rubocop -v 0.67 && rubocop
env:
- CODE_COVERAGE=true
branches:
Expand Down
2 changes: 1 addition & 1 deletion friends.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
spec.email = ["jacobevelyn@gmail.com"]
spec.summary = "Spend time with the people you care about."
spec.description = "Spend time with the people you care about. "\
"Introvert-tested. Extrovert-approved."
"Introvert-tested. Extrovert-approved."
spec.homepage = "https://github.com/JacobEvelyn/friends"
spec.license = "MIT"
spec.post_install_message = Friends::POST_INSTALL_MESSAGE
Expand Down
4 changes: 2 additions & 2 deletions lib/friends/introvert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,8 @@ def parse_line!(line, line_num:, state:)

begin
instance_variable_get("@#{stage.id}") << stage.klass.deserialize(line)
rescue => e # rubocop:disable Style/RescueStandardError
bad_line(e, line_num)
rescue => ex # rubocop:disable Style/RescueStandardError
bad_line(ex, line_num)
end

state
Expand Down

0 comments on commit f0a44f4

Please sign in to comment.