pg_rails 7.0.8.pre.alpha.61 → 7.0.8.pre.alpha.62

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: 8848d2ec40bf17d44818d3f7c7b0f995d27928796938009d520c42a08067dc7f
4
- data.tar.gz: 1064716fdafdb011dc4968fac27f5801c4c6378d02d1ed5d9fd1716b2dc54e8b
3
+ metadata.gz: afcf64379ab25a58e3b1d626f71371cc63448503880d182b8ad1e1164dbccf7e
4
+ data.tar.gz: 9917f1be640ccdbabbc1d7c12ca561d5714f1b4227e3899c3c1cc96749157284
5
5
  SHA512:
6
- metadata.gz: 9ac17d43ca0881a1a21a509eb2003b24829aa78f1f1b0b493ccddda06b4914516d300d55db8d1db95d49e81cee675ae19b200c95516ba44c98c77b56aa986fcd
7
- data.tar.gz: 023e7a19edc3f622c57ea622d9a184012b547ad89816745f07b8d048a0b208b9bedca6c8f483021eca02a041d554d73a29f803bf2766654b1915c028a4843f3e
6
+ metadata.gz: a620ba16efe37ac2794a11676bcecb89ad101053abcb04147a246b2c3d074de03799b01d1d0ad7578855d05347f793aec52a62a6722a4e755ee161aa156a98bf
7
+ data.tar.gz: 8d63151e40a4a105137d3a097b9ec09690c159b2130620d078bc5c428895522631c5ffc732acd20b4cd32094470f2e72aca5a05050e13cfc8381207662d61c2a
@@ -66,6 +66,10 @@ class User < ApplicationRecord
66
66
  !persisted? || !password.nil? || !password_confirmation.nil?
67
67
  end
68
68
 
69
+ def remember_me
70
+ true
71
+ end
72
+
69
73
  scope :query, ->(param) { where('email ILIKE ?', "%#{param}%") }
70
74
 
71
75
  def to_s
@@ -164,7 +164,7 @@ Devise.setup do |config|
164
164
 
165
165
  # ==> Configuration for :rememberable
166
166
  # The time the user will be remembered without asking for credentials again.
167
- config.remember_for = 60.days
167
+ config.remember_for = 40.days
168
168
 
169
169
  # Invalidates all the remember me tokens when the user signs out.
170
170
  config.expire_all_remember_me_on_sign_out = true
@@ -81,8 +81,11 @@ es:
81
81
  attributes:
82
82
  user:
83
83
  remember_me: Mantener sesión abierta
84
-
85
-
84
+ email:
85
+ from_name: Remitente
86
+ to: Destinatario
87
+ subject: Asunto
88
+ body_input: Mensaje
86
89
 
87
90
 
88
91
  # es:
@@ -10,7 +10,7 @@
10
10
  <%= f.input :password,
11
11
  required: false,
12
12
  input_html: { autocomplete: "current-password" } %>
13
- <%#= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
13
+ <%= f.input :remember_me, as: :hidden if devise_mapping.rememberable? %>
14
14
  </div>
15
15
 
16
16
  <div class="form-actions">
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.0.8-alpha.61'
4
+ VERSION = '7.0.8-alpha.62'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.61
4
+ version: 7.0.8.pre.alpha.62
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso