tramway-admin 1.28.1.2 → 1.28.1.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: 1eaf6736a55197014a2f9be040eed59def4c6bffc77db3c9e010ac8b8d438834
4
- data.tar.gz: 4a05c4cfb244c5e1e14d8fbf6daa5f719d6cfe7c6b9657882d82c58a87f9de72
3
+ metadata.gz: 474716ba43d049e3a7388bb8b7d7a7bafb77bc1d8d837c7e71ddf13f71f7ebd6
4
+ data.tar.gz: f55d54e7b8cd0e6e2050c1f4b0bc2b5b6fa1a8fb61345cfec03a18f8c10d6c58
5
5
  SHA512:
6
- metadata.gz: 6ac5db4fbf47c090f2e0632271f8c9308e3fb4048bb84f1f6ddecca66aeeb28be426941cf7c04e9a474f115d6ffd89d8992227670bebd00f0ba14740703c1131
7
- data.tar.gz: df4c738f20b556e5706f4eb28810536510f05dd48512b2aada734780e0e1fb54eca92da67576e9dc8d5ea17e866cf469c01c0f9c2cd3c487c71dd26f69025e5c
6
+ metadata.gz: e6230da724ef6e223b32821a1c5c96fd7e9e35bae62e641de6a6d49c17deba13661b7804d127f44d8efcce70a2bba37323e60e201994f33767029944e215e3cb
7
+ data.tar.gz: bbb1e236e0d13ce025211fec30e8cbac7d51acdab18803d66efa3285aa9d9dca07dbdc0bd1f0fdc529d6a4c883a66eedc64a710562835951f18f243dd5189d62
@@ -89,7 +89,7 @@ module Tramway
89
89
  # :tramway, :admin, :application_controller, :form_given, :model_not_included_to_tramway_admin,
90
90
  # model: params[:model]
91
91
  #)
92
- raise "Looks like model #{params[:model]} is not included to tramway-admin. Add it in the `config/initializers/tramway.rb`. This way `Tramway::Admin.set_available_models(#{params[:model]})`"
92
+ raise "Looks like model #{params[:model]} is not included to tramway-admin for `#{current_user.role}` role. Add it in the `config/initializers/tramway.rb`. This way `Tramway::Admin.set_available_models(#{params[:model]})`"
93
93
  Tramway::Admin.forms.include? params[:form].underscore.sub(%r{^admin/}, '').sub(/_form$/, '')
94
94
  end
95
95
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Admin
5
- VERSION = '1.28.1.2'
5
+ VERSION = '1.28.1.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.28.1.2
4
+ version: 1.28.1.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-03-26 00:00:00.000000000 Z
11
+ date: 2020-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-kaminari-views