pg_rails 7.0.8.pre.alpha.68 → 7.0.8.pre.alpha.70
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/pg_engine/app/models/user.rb +3 -3
- data/pg_engine/config/locales/es.yml +1 -1
- data/pg_layout/app/javascript/utils/utils.ts +1 -1
- data/pg_layout/app/views/devise/sessions/new.html.erb +2 -1
- data/pg_layout/app/views/pg_layout/_flash_container.html.slim +1 -0
- data/pg_rails/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 686c782a19dd3b86046c75ac7ec01619ebfe48f2034a78202187629d0b549109
|
4
|
+
data.tar.gz: d37da087265f86e72e8eb35676da5b3d86f6c9054a607f34cba59287cd2fd17b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee1e4d4612d52f2cb9e77e1bf622b6d9b0ce3a726356bf1093a0629f35d775a4f26ec19f74f6b9ec00ff8133cc69f98465bf2285e99f0cfa2bb9ede4a36d6b33
|
7
|
+
data.tar.gz: aead26ec923a49105ccde5e242671f72dab206124a6ea56a98e55f5b0a70dc476659a2ae67ffaaab33d882379f2c8e31f7190f7df785794f5b9cb7b7f976541c
|
@@ -66,9 +66,9 @@ class User < ApplicationRecord
|
|
66
66
|
!persisted? || !password.nil? || !password_confirmation.nil?
|
67
67
|
end
|
68
68
|
|
69
|
-
def remember_me
|
70
|
-
|
71
|
-
end
|
69
|
+
# def remember_me
|
70
|
+
# true
|
71
|
+
# end
|
72
72
|
|
73
73
|
scope :query, ->(param) { where('email ILIKE ?', "%#{param}%") }
|
74
74
|
|
@@ -49,7 +49,7 @@ export function flashMessage (message, flashType = 'warning', toast = false) {
|
|
49
49
|
|
50
50
|
el.innerHTML = `
|
51
51
|
<div class="alert alert-dismissible mt-2 d-flex align-items-center alert-${alertClassSuffix} ${toastClasses}"
|
52
|
-
data-turbo-temporary="true" data-bs-autohide="
|
52
|
+
data-turbo-temporary="true" data-bs-autohide="true" aria-live="assertive" aria-atomic="true" role="alert">
|
53
53
|
|
54
54
|
<span class="${iconClasses}"></span>
|
55
55
|
${message}
|
@@ -10,7 +10,8 @@
|
|
10
10
|
<%= f.input :password,
|
11
11
|
required: false,
|
12
12
|
input_html: { autocomplete: "current-password" } %>
|
13
|
-
|
13
|
+
<%#= f.input :remember_me, as: :hidden if devise_mapping.rememberable? %>
|
14
|
+
<%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
|
14
15
|
</div>
|
15
16
|
|
16
17
|
<div class="form-actions">
|
data/pg_rails/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.8.pre.alpha.
|
4
|
+
version: 7.0.8.pre.alpha.70
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martín Rosso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|