devise 5.0.0 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6098149395656221664418f4c04571e0a9b885d1c632944370ab9c9663a99126
4
- data.tar.gz: 8997f53187491edbb48add69455f2f44b94ea685b9cac274b7cc8f15b1249221
3
+ metadata.gz: 2c59c4076a4ac0e38c7200826104c1525bff002d6df36b40733c6b011454803c
4
+ data.tar.gz: 24e6a187f45db8fb798b1e4ead4ae0d9c456c689d1bd57a488ea8b6daa5f094d
5
5
  SHA512:
6
- metadata.gz: 641db0fc5ca8bb3aa650c458a4b24fc0a891e3eac057b0766415c28d873788c7378d1e7faa754d824446684cc9f185ee9203b57a334b33ae26bf4345c28f8c69
7
- data.tar.gz: e5aad52dcf5c1dfc7bf91d81ba4b1349b67db0f6d8323dc19672574a4570140a9f5de30042ed9d130a1bc5908ae8b956d7a32f68b49d2c913cfd22d5b9687fc7
6
+ metadata.gz: d9a4c77df23aa110e19620d6cf0de5c6585d0c7af4dbb28c71e86b0b67746b753a088796b7951d571d2142133bb6376a614a3c3f6fec587709a0979a7886ca76
7
+ data.tar.gz: 8c9c549e0f6e08950b926f56fdca67c494d94aa0ca17b2af2b95b2b703ac7a2e93750897febfaef8aa4364430d5a3bf4004f8c638d34becd2690e0bcbb8f9542
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
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
+
1
6
  ### 5.0.0 - 2026-01-23
2
7
 
3
8
  no changes
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 [Mini Test](https://github.com/seattlerb/minitest) as test framework.
154
+ Devise uses [minitest](https://github.com/seattlerb/minitest) as test framework.
155
155
 
156
156
  * Running all tests:
157
157
  ```bash
@@ -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
- scope_class.human_attribute_name(key).downcase
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Devise
4
- VERSION = "5.0.0".freeze
4
+ VERSION = "5.0.1".freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Valim