tramway-admin 1.24.0.2 → 1.24.0.3

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: f7578bdb449595a98bf13522e94573b4bf9ec921698aa938d27e636d0ac0d49d
4
- data.tar.gz: 83d5ad568477120abc3c21c54360bae2b60aab71c4f845a735fb748e41859794
3
+ metadata.gz: 8eda1f6e8bd50ccd58ecd499430f865dc8a7a3eea2ffb1111bd54c401926f03a
4
+ data.tar.gz: e0cabe64036fbaa4ce9372ca6941c11d62a124f44c257213a9baec475b4e3d20
5
5
  SHA512:
6
- metadata.gz: 7f64cb2ae55b85fd7e8ee10c1b2845bec4e6717be06f4d56f0e90dd3862c773f3c4eca5ae6b8a140d125abcde9e390d81177c5a0076f8ef1020de8367ee14ddc
7
- data.tar.gz: 837040c4d56f0dacff5bc315564faaafa5a665469e18e13b01024f35fa1e9929a2b332165605c615fdd998bbfcf52c846a49ef69af97de6ca3d5c6ec712de602
6
+ metadata.gz: ee933112ded2c183e5bb5fe0fc8237cd366874fded372b50691cc66392eb8c8a45f75a353697486376daf3cd1fffe77369f03abe093ba10330ebc62bb3fba618
7
+ data.tar.gz: 3ac64984136c06f798cbccf50361ef4de7079454749bfed95db827b12c624abd279346a23692c63057f7e8faba782d1d094589c371c7c1ffbb0a1a60dc2dcd5b
@@ -10,9 +10,9 @@
10
10
  - if signed_in?
11
11
  %ul.navbar-nav
12
12
  - ::Tramway::Admin.singleton_models_for(@application_engine || @application.name, role: current_user.role)&.each do |model|
13
- = model_menu_item model: model, route: ::Tramway::Admin::Engine.routes.url_helpers.singleton_path(model: model)
13
+ = model_menu_item model: model, route: ::Tramway::Admin::Engine.routes.url_helpers.singleton_path(model: model), pluralize: plural(model.model_name).capitalize
14
14
  - ::Tramway::Admin.available_models_for(@application_engine || @application.name, role: current_user.role)&.each do |model|
15
- = model_menu_item model: model, route: ::Tramway::Admin::Engine.routes.url_helpers.records_path(model: model, scope: decorator_class(model).collections.first)
15
+ = model_menu_item model: model, route: ::Tramway::Admin::Engine.routes.url_helpers.records_path(model: model, scope: decorator_class(model).collections.first), pluralize: plural(model.model_name).capitalize
16
16
  %ul.nav.navbar-nav.ml-auto
17
17
  - if signed_in?
18
18
  - if @notifications_count > 0
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Admin
5
- VERSION = '1.24.0.2'
5
+ VERSION = '1.24.0.3'
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.24.0.2
4
+ version: 1.24.0.3
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-24 00:00:00.000000000 Z
11
+ date: 2020-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-kaminari-views
@@ -140,6 +140,20 @@ dependencies:
140
140
  - - ">="
141
141
  - !ruby/object:Gem::Version
142
142
  version: '1.0'
143
+ - !ruby/object:Gem::Dependency
144
+ name: trap
145
+ requirement: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - '='
148
+ - !ruby/object:Gem::Version
149
+ version: '2.2'
150
+ type: :runtime
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - '='
155
+ - !ruby/object:Gem::Version
156
+ version: '2.2'
143
157
  description: Engine for admin
144
158
  email:
145
159
  - kalashnikovisme@gmail.com