Skip to content

Commit 1be022a

Browse files
committed
dont skip versions of ruby that are not supported
1 parent 59ef765 commit 1be022a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

unleash-client.gemspec

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,9 @@ Gem::Specification.new do |spec|
4040
spec.add_development_dependency "simplecov", "~> 0.21.2"
4141
spec.add_development_dependency "simplecov-lcov", "~> 0.8.0"
4242

43-
# NOTE: only require rbs/steep in supported ruby versions. In EOL ruby/jruby, just ignore.
44-
# rubocop:disable Gemspec/RubyVersionGlobalsUsage
45-
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.6') && RUBY_ENGINE != 'jruby'
46-
spec.add_development_dependency "rbs", "~> 2.7"
47-
spec.add_development_dependency "steep", "~> 1.2"
43+
# NOTE: only require rbs/steep in MRI ruby versions. Ignore jruby.
44+
unless RUBY_ENGINE == 'jruby'
45+
spec.add_development_dependency "rbs", "~> 3.8.1"
46+
spec.add_development_dependency "steep", "~> 1.9.3"
4847
end
49-
# rubocop:enable Gemspec/RubyVersionGlobalsUsage
5048
end

0 commit comments

Comments
 (0)