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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aadbece035188e276906c70783eedfd7fecfd18e3de9ea61294bc94139c7ae26
4
- data.tar.gz: f996ec7231a046c9658d0db34dfed71257cf7fe8781e84cc7b337703a994018b
3
+ metadata.gz: 686c782a19dd3b86046c75ac7ec01619ebfe48f2034a78202187629d0b549109
4
+ data.tar.gz: d37da087265f86e72e8eb35676da5b3d86f6c9054a607f34cba59287cd2fd17b
5
5
  SHA512:
6
- metadata.gz: 93bf6af563e8835fcc7c936ad4ba2c77b3d0db0ddd298701c649e82d41eea0a22c6a86cd3fb1af3d2174d00fcf1a5afd986beaf4332b74cde27d8bd6965cfbe2
7
- data.tar.gz: 116cd59c81fa16ba0bc223182556029a149fb4545b3d61a1f875e177a5a3517978cfa627c52cce7c009ca3920be85d228c9cc5d03f3417fb1bede88f4358eca7
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
- true
71
- end
69
+ # def remember_me
70
+ # true
71
+ # end
72
72
 
73
73
  scope :query, ->(param) { where('email ILIKE ?', "%#{param}%") }
74
74
 
@@ -80,7 +80,7 @@ es:
80
80
  activerecord:
81
81
  attributes:
82
82
  user:
83
- remember_me: Mantener sesión abierta
83
+ remember_me: Mantener sesión abierta en este navegador
84
84
  email:
85
85
  from_name: Remitente
86
86
  to: Destinatario
@@ -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="false" aria-live="assertive" aria-atomic="true" role="alert">
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
- <%= f.input :remember_me, as: :hidden if devise_mapping.rememberable? %>
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">
@@ -1,3 +1,4 @@
1
1
  #flash-wrapper.d-flex.justify-content-around
2
2
  #flash.flash.position-relative.w-100.d-flex.justify-content-center
3
3
  = render partial: 'pg_layout/flash'
4
+ / TODO: si hay varios flashes toast, se superponen. habría que hacer un container con position absolute para los toasts
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.0.8-alpha.68'
4
+ VERSION = '7.0.8-alpha.70'
5
5
  end
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.68
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-13 00:00:00.000000000 Z
11
+ date: 2024-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails