Skip to content

Commit

Permalink
dont skip versions of ruby that are not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
rarruda committed Jan 20, 2025
1 parent 59ef765 commit 1be022a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions unleash-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ 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 supported ruby versions. In EOL ruby/jruby, just ignore.
# rubocop:disable Gemspec/RubyVersionGlobalsUsage
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.6') && RUBY_ENGINE != 'jruby'
spec.add_development_dependency "rbs", "~> 2.7"
spec.add_development_dependency "steep", "~> 1.2"
# NOTE: only require rbs/steep in MRI ruby versions. Ignore jruby.
unless RUBY_ENGINE == 'jruby'
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 1be022a

Please sign in to comment.