thecore_ui_commons 2.2.9 → 2.3.0

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: b638942c6068d65239ba5c426ac3d356987a9838d60e443200046df05e8387dc
4
- data.tar.gz: 180e23eba6c2454161f66c323c6d7ebd75fd286155177d77648f0291a4f0a23d
3
+ metadata.gz: 03d1a89997f19015363818b765abead88599d37202e14d2595683bb89eec2da9
4
+ data.tar.gz: c5f39edc2f974aa2ab8961c1d35483d0df0d31d619845584b01933c64c30ec3f
5
5
  SHA512:
6
- metadata.gz: be228ac7b20c0750d2e5200df0355b0c871b7b63fc6fe79fa2844e0cfa8bdfc2cfb4ab3a66e07fba9c9b8a07bffdb288d8557a956e0df9d0b396083fb299fd7e
7
- data.tar.gz: 6dcbb021f056d782ee4cefa3c9c993d492fd0270d46f0b80b023bd825ea4322e7345ded8227fe639c0056272bf8a6a0024f10d4889e54b035f801d2a71f7e840
6
+ metadata.gz: 5570885cde77bb6df53798bd0e1b5ddee4640546bec226cf7c66c6e6b1fa64a2ffc0404aa353864ae9111495c5dc73342127acecee3f572e0718238e9a2be9ba
7
+ data.tar.gz: 5273adc7dc79d7b3055676b92c188480977b353b8b84b84e0ce356b528d086c6754fdf9b3347fe30bdf71e22665ed7a55536ce9c773ea9e12c0dd81c41afaca6
@@ -11,7 +11,7 @@ module ThecoreUiCommonsUser
11
11
  attr_writer :login
12
12
 
13
13
  def login
14
- @login || self.username || self.email
14
+ @login || (self.username rescue self.email)
15
15
  end
16
16
  # Use login
17
17
  def self.find_first_by_auth_conditions(warden_conditions)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.9
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-05 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_background_jobs