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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c614ff852c7ef5f4f8a19ce048a1ad9027597703b530b9fdb03b3d5ad097bdd3
4
- data.tar.gz: a9c46106a887c06284704f0597691da982be281443a831491a827613cff2e84c
3
+ metadata.gz: 2c59c4076a4ac0e38c7200826104c1525bff002d6df36b40733c6b011454803c
4
+ data.tar.gz: 24e6a187f45db8fb798b1e4ead4ae0d9c456c689d1bd57a488ea8b6daa5f094d
5
5
  SHA512:
6
- metadata.gz: 8f1bea0a5222a43eff7ff9757d7269818002bd8dfc8b2e9128a257360f0b1fbbb94787694b0c4d9a37706a6ed5209534c8e8fb4566eb44ccb661c2635f8b1fb7
7
- data.tar.gz: 97218c88847c8d46a8009cd863d31fe38c5e7d1f94094b9d30b48bf2db2f67e289121d6b83a1ae2f80ab9e1c784067c715b335561c5118c627f921d1f824cf79
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2020-2025 Rafael França, Carlos Antonio da Silva
1
+ Copyright (c) 2020-CURRENT Rafael França, Carlos Antonio da Silva
2
2
  Copyright (c) 2009-2019 Plataformatec
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person obtaining
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
@@ -770,7 +770,7 @@ https://github.com/wardencommunity/warden
770
770
  ## License
771
771
 
772
772
  MIT License.
773
- Copyright 2020-2025 Rafael França, Carlos Antonio da Silva.
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/).
@@ -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.rc".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.rc
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Valim