devise 5.0.0.rc → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/MIT-LICENSE +1 -1
- data/README.md +2 -2
- data/lib/devise/failure_app.rb +3 -1
- data/lib/devise/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c59c4076a4ac0e38c7200826104c1525bff002d6df36b40733c6b011454803c
|
|
4
|
+
data.tar.gz: 24e6a187f45db8fb798b1e4ead4ae0d9c456c689d1bd57a488ea8b6daa5f094d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9a4c77df23aa110e19620d6cf0de5c6585d0c7af4dbb28c71e86b0b67746b753a088796b7951d571d2142133bb6376a614a3c3f6fec587709a0979a7886ca76
|
|
7
|
+
data.tar.gz: 8c9c549e0f6e08950b926f56fdca67c494d94aa0ca17b2af2b95b2b703ac7a2e93750897febfaef8aa4364430d5a3bf4004f8c638d34becd2690e0bcbb8f9542
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
### 5.0.1 - 2026-02-13
|
|
2
|
+
|
|
3
|
+
* bug fixes
|
|
4
|
+
* Fix translation issue with German `E-Mail` on invalid authentication messages caused by previous fix for incorrect grammar [#5822](https://github.com/heartcombo/devise/pull/5822)
|
|
5
|
+
|
|
6
|
+
### 5.0.0 - 2026-01-23
|
|
7
|
+
|
|
8
|
+
no changes
|
|
9
|
+
|
|
1
10
|
### 5.0.0.rc - 2025-12-31
|
|
2
11
|
|
|
3
12
|
* breaking changes
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -151,7 +151,7 @@ BUNDLE_GEMFILE=gemfiles/Gemfile-rails-8-0 DEVISE_ORM=mongoid bin/test
|
|
|
151
151
|
```
|
|
152
152
|
|
|
153
153
|
### Running tests
|
|
154
|
-
Devise uses [
|
|
154
|
+
Devise uses [minitest](https://github.com/seattlerb/minitest) as test framework.
|
|
155
155
|
|
|
156
156
|
* Running all tests:
|
|
157
157
|
```bash
|
|
@@ -770,7 +770,7 @@ https://github.com/wardencommunity/warden
|
|
|
770
770
|
## License
|
|
771
771
|
|
|
772
772
|
MIT License.
|
|
773
|
-
Copyright 2020-
|
|
773
|
+
Copyright 2020-CURRENT Rafael França, Carlos Antonio da Silva.
|
|
774
774
|
Copyright 2009-2019 Plataformatec.
|
|
775
775
|
|
|
776
776
|
The Devise logo is licensed under [Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License](https://creativecommons.org/licenses/by-nc-nd/4.0/).
|
data/lib/devise/failure_app.rb
CHANGED
|
@@ -112,7 +112,9 @@ module Devise
|
|
|
112
112
|
options[:default] = [message]
|
|
113
113
|
auth_keys = scope_class.authentication_keys
|
|
114
114
|
human_keys = (auth_keys.respond_to?(:keys) ? auth_keys.keys : auth_keys).map { |key|
|
|
115
|
-
|
|
115
|
+
# TODO: Remove the fallback and just use `downcase_first` once we drop support for Rails 7.0.
|
|
116
|
+
human_key = scope_class.human_attribute_name(key)
|
|
117
|
+
human_key.respond_to?(:downcase_first) ? human_key.downcase_first : human_key[0].downcase + human_key[1..]
|
|
116
118
|
}
|
|
117
119
|
options[:authentication_keys] = human_keys.join(I18n.t(:"support.array.words_connector"))
|
|
118
120
|
options = i18n_options(options)
|
data/lib/devise/version.rb
CHANGED