tramway-admin 4.1.1 → 4.1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52f598a393f67ead5da2a67ef98a7b721edea4cda7c5968dcc5fe2224c75ba11
4
- data.tar.gz: 4ea29fb442be1e667e843c813dd4dba340672add79d93437abd3226852e6f8a8
3
+ metadata.gz: 6c2958bb2c4d589dbd96ba4fda743bf07db1c9edfa2ac2eeb76a9bd9abdaa752
4
+ data.tar.gz: bc0e26d6d14388987f8d1b107013553ed29f9b29c9cb11a9d4f4cde288fdbc11
5
5
  SHA512:
6
- metadata.gz: 00645c93a5d1e36ad76fe059a9fd775146614cb8be7046c119f186bf9f81b00aefe636af0e56cebdebbe8abee5b4b288d3e3f0156bff8e35d336a574c13b555c
7
- data.tar.gz: cdc9339fac651475ea6853d70096cf2ad3c7826d80668d61feb96012749e16e3f37d09310fbe4dfdedaf58a2457cae8b794ad82be98ea9b1895032d60f12fae6
6
+ metadata.gz: 48586d888af6d540411509a5b60941a8a05c76d5178158a6366118de16bdd0300bf109e6232ec63b40b02de1ac96a30ad28a87db58c9f6d3d94b1fba30013833
7
+ data.tar.gz: 14ad23a6e151bf9c86e390e2b8b14ab7bc04e3bdbd0cf166e25e5425bd01ada302d5ffcf08b487410ec57eccee4365e611d7ef0dc2fc2c0686fce39801d4c782
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Admin
5
- VERSION = '4.1.1'
5
+ VERSION = '4.1.1.1'
6
6
  end
7
7
  end
data/lib/tramway/admin.rb CHANGED
@@ -81,11 +81,12 @@ module Tramway
81
81
  end
82
82
 
83
83
  def admin_model
84
- @@auth_config.first[:user_model]
84
+ auth_config.first[:user_model]
85
85
  end
86
86
 
87
87
  def auth_config
88
88
  @@auth_config ||= [{ user_model: ::Tramway::User::User, auth_attributes: :email }]
89
+ @@auth_config
89
90
  end
90
91
 
91
92
  def auth_config=(params)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
4
+ version: 4.1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-18 00:00:00.000000000 Z
11
+ date: 2022-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tramway-core