This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,7 @@ def supports_taint?
113
113
# or cannot parse source including `:if`.
114
114
# Ripper on JRuby 9.x.x.x < 9.1.17.0 can't handle keyword arguments
115
115
# Neither can JRuby 9.2, e.g. < 9.2.1.0
116
- ripper_requirements . push ( !Ruby . jruby_version . between? ( '9.0.0.0.rc1' , '9.1.16.0' ) )
117
- ripper_requirements . push ( !Ruby . jruby_version . between? ( '9.1.999.0' , '9.1.999.0' ) )
116
+ ripper_requirements . push ( !Ruby . jruby_version . between? ( '9.0.0.0.rc1' , '9.2.0.0' ) )
118
117
end
119
118
120
119
if ripper_requirements . all?
Original file line number Diff line number Diff line change @@ -165,6 +165,9 @@ def ripper_can_parse_source_referencing_keyword_arguments?
165
165
end
166
166
167
167
it 'returns whether Ripper is correctly implemented in the current environment' do
168
+ if RSpec ::Support ::Ruby . jruby? && RSpec ::Support ::Ruby . jruby_version < '9.2.1.0'
169
+ pending "Ripper is not supported on JRuby 9.1.17.0 despite this tests claims"
170
+ end
168
171
expect ( RubyFeatures . ripper_supported? ) . to eq ( ripper_is_implemented? && ripper_works_correctly? )
169
172
end
170
173
You can’t perform that action at this time.
0 commit comments