thecore_auth_commons 3.0.9 → 3.0.10

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: f3ccd6b97ae712679baaee1d4efc1668af4dac8c5b274e1f8d5a3dd4a3390cf0
4
- data.tar.gz: 926c41659cb41f08f6f7dae8dcf2f48a48749cbaad7bf58aa1bf19c2770d9af4
3
+ metadata.gz: da21829f96bdeba3dc9336fdce604b5dedb850113c3f0b6c526bb18ffa9222f8
4
+ data.tar.gz: 052bbf5d6913b0ebfdd5dab4ab9de5b3384c5b5066cbe1810c66a59de16bef85
5
5
  SHA512:
6
- metadata.gz: 3899810844e5abbe770adefd9919837e3d2239b93ac4be5707c67f0135dd14c607d781335af09c6315c9f9466597111ce82981ba3458549cf770be68a25b31a8
7
- data.tar.gz: f3ef98ce1fe31ea4b914a3abed4e2d89cd418473e5d795ee864dcce9e5a846d8cfdbc2ccd9ec60d4960763d7905b229778ecfc7762496e9e978392cdb38eafaa
6
+ metadata.gz: 6222dff7f14dca92bc168b03fbde4ea2131d092e9a9d21d3d234d5664092073cc84e98ab8621cc23895da265c03af923aa8b3c28fd6344cc9757baaf54a86dc3
7
+ data.tar.gz: 30d52a0f47cf832e32954689c423d8cdd871eeb004051271d25e207e1d795ab99f5112cf6edaa581de40da3dfab0eb18935ca3bd5df71d9469006078908d8a73
@@ -13,7 +13,6 @@ it:
13
13
  attributes:
14
14
  user:
15
15
  email: E-Mail
16
- username: Nome Utente
17
16
  code: Codice
18
17
  roles: Ruoli
19
18
  admin: Amministratore?
data/db/seeds.rb CHANGED
@@ -4,7 +4,6 @@ psswd = ENV["ADMIN_PASSWORD"].presence || "changeme"
4
4
 
5
5
  unless User.where(admin: true).exists?
6
6
  u = User.find_or_initialize_by(email: email)
7
- u.username = "Administrator" if u.respond_to? :username=
8
7
  u.password = u.password_confirmation = psswd
9
8
  u.admin = true
10
9
  u.save(validate: false)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_auth_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.9
4
+ version: 3.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni