Skip to content

Commit

Permalink
Make sure method_source stays at 1.0.0 for RUBY < 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
andrehjr committed Apr 16, 2024
1 parent 02c0be9 commit a4706dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Expand Up @@ -9,6 +9,10 @@ gem 'rspec'

gem "psych", '<= 5.1.0'

if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0')
gem 'method_source', '= 1.0.0'
end

# Rubocop supports only >=2.2.0
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.2.0')
gem 'rubocop', '= 0.66.0', require: false
Expand Down

0 comments on commit a4706dc

Please sign in to comment.