tramway-admin 1.26.1 → 1.26.1.1

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: 75ba7ea302dbcf40204001ef1b1c4da36d8770e03e9ddc66003599675a3dfc60
4
- data.tar.gz: 90dcc8b1b71bc8736f355fb460f66262ce3068bbf7781470215901c28902a18e
3
+ metadata.gz: 261075e424f3e32ae7e9fdcd8dee49effe2bceb4a180ca07276f238a9407df91
4
+ data.tar.gz: a8dd65b6dee78514b51f9d2abbfd4243ef0097c928080abe7ca78a10edefb81e
5
5
  SHA512:
6
- metadata.gz: fdcb05da2908890b5febaaedc3fc5766126a3713d323d88f664eccb950b539af3850af9437aa77933a80993a2b1d65ff03d463388f9499cfea0956b8545f8c74
7
- data.tar.gz: 9f436e8682481b4ecfd29ce785317fb2b192d939881b04708578db204ccc701e14ed2ad70a25c6cbb0d28319da325eb2d6597ac40c9d76db58c265fed55890dd
6
+ metadata.gz: 84bd41cc6f2945dcc5e1df3f27ed2c8ab0696cfe16816d168b5797d975ee7e75f72d2fb88ebd7d7289952d0a7692c143981a8349efbb676206b996fb4483513c
7
+ data.tar.gz: 1297688f9d6bfc72fff4cf04896de67ca411c1e1408bc2b4afe6fb6636313a5cef2a1d792c1bdc62a51999c457053e6b10963586dd45e97fd222f3d658a6fcab
@@ -4,10 +4,9 @@ module Tramway::Admin::Navbar
4
4
  end
5
5
 
6
6
  def navbar_items_for(project, role:)
7
- @singleton_models_for ||= singleton_models_for(project, role: role)
8
- @available_models_for ||= available_models_for(project, role: role)
9
- @navbar_structure ||= {}
10
- @navbar_structure.map do |item|
7
+ @singleton_models_for = singleton_models_for(project, role: role)
8
+ @available_models_for = available_models_for(project, role: role)
9
+ navbar_structure.map do |item|
11
10
  if item.is_a? Class
12
11
  should_be_in_navbar_as item
13
12
  elsif item.is_a? Hash
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Admin
5
- VERSION = '1.26.1'
5
+ VERSION = '1.26.1.1'
6
6
  end
7
7
  end
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: 1.26.1
4
+ version: 1.26.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: 2020-02-29 00:00:00.000000000 Z
11
+ date: 2020-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-kaminari-views