ActsAsParanoid / acts_as_paranoid

ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
MIT License
1.46k stars 191 forks source link

update to support rails 7 #262

Closed cloudsbird closed 2 years ago

cloudsbird commented 2 years ago

Rails 7.0.0 is already launch, I update the gemspec and active record dependencies in gemfiles. Hope it helps,

tested in my local environment

gemfile: gem 'acts_as_paranoid', '~> 0.7.3', git: 'https://github.com/cloudsbird/acts_as_paranoid', branch: 'rails_7_support'

ruby: 3.0.0 rails: 7.0.0

cloudsbird commented 2 years ago

Done @mvz

cloudsbird commented 2 years ago

I notice why error.. caused by ruby version I think

cloudsbird commented 2 years ago

@mvz Sorry can run workflow once more hehe..

cloudsbird commented 2 years ago

@mvz okay after researching about jruby, and reason why it is failed it is showed in here https://github.com/jruby/jruby/issues/6878 which it is still not yet support ruby 2.7 and ruby 3.0 So I exclude jruby-9.3 from testing, and wait till jruby-9.4 launched

mvz commented 2 years ago

Thanks, @cloudsbird!