pg_rails 7.6.26 → 7.6.27

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: 4b2c5672f192482e718fb6f12e66e7cfcd376e916c7663f13931aa526d931f42
4
- data.tar.gz: cb427f6f6dd542648c697f53b3ddc688f8506919a809bfff3e32c6119612b1a4
3
+ metadata.gz: 01d6c43a4f1804b0b45e92ebaeea5411deb1fa6dafd9a886d3ca6fe9f5151fb3
4
+ data.tar.gz: 0b1eaf69bc0fd4d9164329b90c45ed1e206195a411b060cb0ab41ec28e3eae62
5
5
  SHA512:
6
- metadata.gz: e98643fa17d81bcdfa0993cd66dbf532d36a6e1935a0144f88e67f2b54dad6e0ec81795fb9a5be9c35c42f6737e1ff8a51ed77f871104f691e711d8a16a8ffb5
7
- data.tar.gz: df1e9eae5424d3ea481be959d24f33b09a5433ce0660f2bdc55ddda5595926ae753c7489c6ac90cc0956219b0909b0d6dd82cb784b2538d00f80820eb654d7cf
6
+ metadata.gz: d2521275d846111b2386211c36524c21b0d13de8db05cc0e28fd713021ece959a0f9deb7887d9d0ec8cf20229509dff6c1feed6d67cc14934beeb44fd38feed9
7
+ data.tar.gz: 90fc3ad22510450edc3d19c0bc11f9dfba1de6471a42c2478541d4808abe69eb668f3506b44137dd815e4067d81f632ed91bdb457145eec6d11d508ae310239f
@@ -123,6 +123,10 @@ class User < ApplicationRecord
123
123
  end
124
124
 
125
125
  def to_s
126
+ nombre_completo_o_email
127
+ end
128
+
129
+ def nombre_completo_o_email
126
130
  nombre_completo.strip.presence || email
127
131
  end
128
132
 
@@ -9,13 +9,6 @@
9
9
  .fs-1
10
10
  = @account
11
11
 
12
- / h6
13
- |> Administrado por:
14
- = @account.owner.nombre_completo
15
- |< (
16
- = @account.owner.email
17
- | )
18
-
19
12
  - if @user_account.membership_status.ms_disabled?
20
13
  p.text-danger Deshabilitado
21
14
 
@@ -37,8 +37,8 @@
37
37
 
38
38
  FactoryBot.define do
39
39
  factory :user, class: 'User' do
40
- nombre { Faker::Name.first_name }
41
- apellido { Faker::Name.last_name }
40
+ nombre { '' }
41
+ apellido { '' }
42
42
  email { Faker::Internet.email }
43
43
  password { "password#{rand(99_999)}" }
44
44
  confirmed_at { Faker::Date.backward }
@@ -2,6 +2,6 @@
2
2
 
3
3
  # :nocov:
4
4
  module PgRails
5
- VERSION = '7.6.26'
5
+ VERSION = '7.6.27'
6
6
  end
7
7
  # :nocov:
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.6.26
4
+ version: 7.6.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso