rspec / rspec-support

Common code needed by the other RSpec gems. Not intended for direct use.
https://rspec.info
MIT License
99 stars 102 forks source link

Ruby 2.7 support #392

Closed JonRowe closed 4 years ago

JonRowe commented 4 years ago

These are some updates, generated from rspec-dev's rake tasks.

JonRowe commented 4 years ago

The major change here is removing the warning by using **kwargs which is not universally compatible, hence the eval (ick) defined methods, I'm open to better solutions here but we are calling keyword arguments and there is no every Ruby parseable way to define this I know of.