tomykaira / rspec-parameterized

RSpec::Parameterized supports simple parameterized test syntax in rspec.
MIT License
417 stars 28 forks source link

table_syntax.rb Refinement#include is deprecated and will be removed in Ruby 3.2 #80

Closed hamilton-keisuke closed 1 year ago

hamilton-keisuke commented 2 years ago

Hi.

In using this gem, I encounterd such warning with environment variable "RUBYOPT=-W:deprecated".

/home/keisuke/work/app/vendor/bundle/ruby/3.1.0/gems/rspec-parameterized-0.5.2/lib/rspec/parameterized/table_syntax.rb:29: warning: Refinement#include is deprecated and will be removed in Ruby 3.2
/home/keisuke/work/app/vendor/bundle/ruby/3.1.0/gems/rspec-parameterized-0.5.2/lib/rspec/parameterized/table_syntax.rb:34: warning: Refinement#include is deprecated and will be removed in Ruby 3.2
/home/keisuke/work/app/vendor/bundle/ruby/3.1.0/gems/rspec-parameterized-0.5.2/lib/rspec/parameterized/table_syntax.rb:47: warning: Refinement#include is deprecated and will be removed in Ruby 3.2
/home/keisuke/work/app/vendor/bundle/ruby/3.1.0/gems/rspec-parameterized-0.5.2/lib/rspec/parameterized/table_syntax.rb:51: warning: Refinement#include is deprecated and will be removed in Ruby 3.2
/home/keisuke/work/app/vendor/bundle/ruby/3.1.0/gems/rspec-parameterized-0.5.2/lib/rspec/parameterized/table_syntax.rb:55: warning: Refinement#include is deprecated and will be removed in Ruby 3.2
/home/keisuke/work/app/vendor/bundle/ruby/3.1.0/gems/rspec-parameterized-0.5.2/lib/rspec/parameterized/table_syntax.rb:59: warning: Refinement#include is deprecated and will be removed in Ruby 3.2

Do you have any plans to remove Refinement#include from table_syntax?

sue445 commented 1 year ago

Added Ruby 3.2 support in v0.5.3 https://github.com/tomykaira/rspec-parameterized/blob/master/CHANGELOG.md#v053-2022-12-29