Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #427 from bjfish/ripper-supported-truffleruby-true
Browse files Browse the repository at this point in the history
Update ripper_supported? for TruffleRuby to true
  • Loading branch information
JonRowe committed Oct 23, 2020
1 parent 3bfd8f5 commit babc386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rspec/support/ruby_features.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def supports_taint?
end
ripper_requirements = [ComparableVersion.new(RUBY_VERSION) >= '1.9.2']

ripper_requirements.push(false) if Ruby.rbx? || Ruby.truffleruby?
ripper_requirements.push(false) if Ruby.rbx?

if Ruby.jruby?
ripper_requirements.push(Ruby.jruby_version >= '1.7.5')
Expand Down
2 changes: 1 addition & 1 deletion spec/rspec/support/ruby_features_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def ripper_can_parse_source_referencing_keyword_arguments?
in_sub_process_if_possible do
require 'ripper'
# It doesn't matter if keyword arguments don't exist.
if Ruby.mri? || Ruby.jruby?
if Ruby.mri? || Ruby.jruby? || Ruby.truffleruby?
if RUBY_VERSION < '2.0'
true
else
Expand Down

0 comments on commit babc386

Please sign in to comment.