motor-admin 0.2.2 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/locales/en.yml +2 -0
- data/config/locales/es.yml +2 -0
- data/config/locales/pt.yml +2 -0
- data/lib/motor/admin.rb +1 -1
- data/lib/motor/cancan_utils/ability_patch.rb +2 -0
- data/lib/motor/configs/build_ui_app_tag.rb +1 -1
- data/lib/motor/resources/fetch_configured_model.rb +1 -1
- data/lib/motor/version.rb +1 -1
- data/ui/dist/{main-5c903ff9235e54ac03f1.css.gz → main-32da50c51ef9fcddf634.css.gz} +0 -0
- data/ui/dist/main-32da50c51ef9fcddf634.js.gz +0 -0
- data/ui/dist/manifest.json +5 -5
- metadata +4 -4
- data/ui/dist/main-5c903ff9235e54ac03f1.js.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b0f19398ae8e7e11b2d3599dc83707c69acce2ef4731b73a1b7a0c9e006c069
|
4
|
+
data.tar.gz: 6c67d6492965989428dfab23a4b5315790ffb1408f572f2e9c38437385e53f60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38ab5f4be4a8d340f2b2568b1cdfa586243ed895f6abdb39dc3509b14bb8d3556d6b0de22671d87ed3a6f11895eb29add8f10e542038b68975a2b89df6334cb
|
7
|
+
data.tar.gz: a5800734dc28bd4f1e8e0e559bb5a948756f9270cfd1dc873e8a943021a498dd66dd354361abec776113564e5cc97f7afc9f1447c8e78c17c88da792eb165cf0
|
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/pt.yml
CHANGED
data/lib/motor/admin.rb
CHANGED
@@ -13,7 +13,7 @@ module Motor
|
|
13
13
|
module_function
|
14
14
|
|
15
15
|
def call(current_user = nil, current_ability = nil, cache_keys: LoadFromCache.load_cache_keys)
|
16
|
-
CACHE_STORE.fetch("#{I18n.locale}#{cache_keys.hash}#{current_user&.id}") do
|
16
|
+
CACHE_STORE.fetch("#{I18n.locale}#{cache_keys.hash}#{current_user&.id}#{current_ability&.rules_hash}") do
|
17
17
|
CACHE_STORE.clear
|
18
18
|
|
19
19
|
data = build_data(cache_keys, current_user, current_ability)
|
data/lib/motor/version.rb
CHANGED
File without changes
|
Binary file
|
data/ui/dist/manifest.json
CHANGED
@@ -2601,9 +2601,9 @@
|
|
2601
2601
|
"icons/zoom-out.svg.gz": "icons/zoom-out.svg.gz",
|
2602
2602
|
"icons/zoom-question.svg": "icons/zoom-question.svg",
|
2603
2603
|
"icons/zoom-question.svg.gz": "icons/zoom-question.svg.gz",
|
2604
|
-
"main-
|
2605
|
-
"main-
|
2606
|
-
"main-
|
2607
|
-
"main.css": "main-
|
2608
|
-
"main.js": "main-
|
2604
|
+
"main-32da50c51ef9fcddf634.css.gz": "main-32da50c51ef9fcddf634.css.gz",
|
2605
|
+
"main-32da50c51ef9fcddf634.js.LICENSE.txt": "main-32da50c51ef9fcddf634.js.LICENSE.txt",
|
2606
|
+
"main-32da50c51ef9fcddf634.js.gz": "main-32da50c51ef9fcddf634.js.gz",
|
2607
|
+
"main.css": "main-32da50c51ef9fcddf634.css",
|
2608
|
+
"main.js": "main-32da50c51ef9fcddf634.js"
|
2609
2609
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motor-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Matsyburka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord-filter
|
@@ -1523,8 +1523,8 @@ files:
|
|
1523
1523
|
- ui/dist/icons/zoom-money.svg.gz
|
1524
1524
|
- ui/dist/icons/zoom-out.svg.gz
|
1525
1525
|
- ui/dist/icons/zoom-question.svg.gz
|
1526
|
-
- ui/dist/main-
|
1527
|
-
- ui/dist/main-
|
1526
|
+
- ui/dist/main-32da50c51ef9fcddf634.css.gz
|
1527
|
+
- ui/dist/main-32da50c51ef9fcddf634.js.gz
|
1528
1528
|
- ui/dist/manifest.json
|
1529
1529
|
homepage:
|
1530
1530
|
licenses:
|
Binary file
|