Use the released version of responders v3.1.0

Unfortunately we can't enforce the version in the gemspec because
responders only supports Rails 5.2 now, and Devise still supports
previous versions.

We'll drop support for those in a future major release, so for now I'm
not adding any version.

This also adds a warning in case someone is using an older version of
responders and tries to set the error/redirect statuses via Devise, so
that they know what to do (upgrade responders) in that case.
This commit is contained in:
Carlos Antonio da Silva
2023-02-03 13:37:26 -03:00
parent 88625d488f
commit 0d392fa49f
8 changed files with 25 additions and 17 deletions

View File

@@ -11,7 +11,7 @@ gem "rdoc"
gem "rails-controller-testing", github: "rails/rails-controller-testing"
gem "responders", github: "heartcombo/responders", branch: "main"
gem "responders", "~> 3.1"
group :test do
gem "nokogiri", "< 1.13"