Skip to content

Commit

Permalink
Require parser 3.0
Browse files Browse the repository at this point in the history
This updates the dependency on parser to ~> 3.0.0.

Allowing parser 3.0 is necessary to allow concurrent installation with
RuboCop 1.8.0.

Versions below 3.0 are disallowed because:

- On Ruby 3.0, users should not install Parser versions below 3.0, since
  they do not officially support 3.0's syntax.
- Parser 3.0 supports all versions of Ruby that Reek supports.
  • Loading branch information
mvz committed Jan 9, 2021
1 parent e9ce126 commit 6f933de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reek.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Gem::Specification.new do |s|
}

s.add_runtime_dependency 'kwalify', '~> 0.7.0'
s.add_runtime_dependency 'parser', '< 2.8', '>= 2.5.0.0', '!= 2.5.1.1'
s.add_runtime_dependency 'parser', '~> 3.0.0'
s.add_runtime_dependency 'psych', '~> 3.1'
s.add_runtime_dependency 'rainbow', '>= 2.0', '< 4.0'
end

0 comments on commit 6f933de

Please sign in to comment.