Skip to content

Commit

Permalink
keep hack for ancient rubys
Browse files Browse the repository at this point in the history
  • Loading branch information
rarruda committed Jan 20, 2025
1 parent f2d582e commit cb0ca4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions unleash-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "simplecov", "~> 0.21.2"
spec.add_development_dependency "simplecov-lcov", "~> 0.8.0"

# NOTE: only require rbs/steep in MRI ruby versions. Ignore jruby.
unless RUBY_ENGINE == 'jruby'
# NOTE: only require rbs/steep in supported ruby versions. In EOL ruby/jruby, just ignore.
# rubocop:disable Gemspec/RubyVersionGlobalsUsage
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.1')
spec.add_development_dependency "rbs", "~> 3.8.1"
spec.add_development_dependency "steep", "~> 1.9.3"
end
# rubocop:enable Gemspec/RubyVersionGlobalsUsage
end

0 comments on commit cb0ca4e

Please sign in to comment.