Closed xinyifly closed 3 years ago
Can you try gem "wechat", git: "https://github.com/Eric-Guo/wechat", branch: :zeitwerk
, I plan to only support Rails 6 and using zeitwerk mode in next release, but still under test.
@Eric-Guo
With gem 'wechat', git: 'https://github.com/Eric-Guo/wechat', branch: :zeitwerk
, the DEPRECATION WARNING still exists.
With bin/spring stop
, with config/initializers/wechat_redis_store.rb
deleted, it exists as well.
See the same issue after upgrading Rails 6.1, but I'm not sure it caused by this gem.
I can not reproduce in Rails 6.1 without Rspec project, but I do see some change suggesting like https://github.com/Sorcery/sorcery/pull/255
@goofansu @xinyifly Not sure if it's works, but seems should be a valid fix, so kindly test?
@Eric-Guo LOL, with latest zeitwerk
branch, the DEPRECATION WARNING disappeared. Nice work, Thank you!
Release 0.13.0 now in zeitwerk mode and support Rails 6.0+ only.
Output
Versions
Notes
gem 'wechat', require: false
in Gemfilerails generate wechat:redis_store