motor-admin 0.1.89 → 0.1.93
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 +4 -0
- data/config/locales/es.yml +4 -0
- data/lib/motor/resources/fetch_configured_model.rb +3 -1
- data/lib/motor/version.rb +1 -1
- data/ui/dist/{main-3af8fa3cc8c04a20887d.css.gz → main-c4ace020d904a7af49a0.css.gz} +0 -0
- data/ui/dist/main-c4ace020d904a7af49a0.js.gz +0 -0
- data/ui/dist/manifest.json +5 -5
- metadata +4 -4
- data/ui/dist/main-3af8fa3cc8c04a20887d.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: 873aaf9ea64c158b7079000c6ccfa2c649a1b55a53550b5c60e7cb487197e2dc
|
4
|
+
data.tar.gz: f39f5222455c05b651c29009525590f53fb96cbc201c1444e7b5da2a7b823ef0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41f23810248736f2163fb36ac189f02049336685afb0e4dfd95a15ab417a6b07d5c9024507c8ee95c1cef9441a1011aed662a306b7a38fe602dcfde1dd2c88de
|
7
|
+
data.tar.gz: 5fc8c69f0ab4cb0ff38020c79eade4305e824b635d04cf1bf536799853fbe7147876f9de5d3247190f1b49f648fd52fe1bc2f3d2dad41417545cf0c5756266ae
|
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
@@ -249,6 +249,10 @@ es:
|
|
249
249
|
source: Fuente
|
250
250
|
resource: Recurso
|
251
251
|
add_association: Añadir Asociación
|
252
|
+
there_are_unsaved_changes_from: "Hay cambios sin guardar de %{timestamp}"
|
253
|
+
clear: Quitar
|
254
|
+
restore: Restaurar
|
255
|
+
more: Más
|
252
256
|
i:
|
253
257
|
locale: es
|
254
258
|
select:
|
@@ -10,6 +10,8 @@ module Motor
|
|
10
10
|
def call(model, cache_key:)
|
11
11
|
configs = Motor::Configs::LoadFromCache.load_resources(cache_key: cache_key)
|
12
12
|
|
13
|
+
return model if configs.blank?
|
14
|
+
|
13
15
|
maybe_fetch_from_cache(
|
14
16
|
model,
|
15
17
|
cache_key,
|
@@ -176,7 +178,7 @@ module Motor
|
|
176
178
|
end
|
177
179
|
|
178
180
|
def maybe_fetch_from_cache(model, cache_key, miss_cache_block, postprocess_block)
|
179
|
-
return
|
181
|
+
return miss_cache_block.call unless cache_key
|
180
182
|
|
181
183
|
if CACHE_HASH[model.name] && CACHE_HASH[model.name][:key] == cache_key
|
182
184
|
CACHE_HASH[model.name][:value]
|
data/lib/motor/version.rb
CHANGED
Binary file
|
Binary file
|
data/ui/dist/manifest.json
CHANGED
@@ -2068,11 +2068,11 @@
|
|
2068
2068
|
"mail-opened.svg": "icons/mail-opened.svg",
|
2069
2069
|
"mail.svg": "icons/mail.svg",
|
2070
2070
|
"mailbox.svg": "icons/mailbox.svg",
|
2071
|
-
"main-
|
2072
|
-
"main-
|
2073
|
-
"main-
|
2074
|
-
"main.css": "main-
|
2075
|
-
"main.js": "main-
|
2071
|
+
"main-c4ace020d904a7af49a0.css.gz": "main-c4ace020d904a7af49a0.css.gz",
|
2072
|
+
"main-c4ace020d904a7af49a0.js.LICENSE.txt": "main-c4ace020d904a7af49a0.js.LICENSE.txt",
|
2073
|
+
"main-c4ace020d904a7af49a0.js.gz": "main-c4ace020d904a7af49a0.js.gz",
|
2074
|
+
"main.css": "main-c4ace020d904a7af49a0.css",
|
2075
|
+
"main.js": "main-c4ace020d904a7af49a0.js",
|
2076
2076
|
"man.svg": "icons/man.svg",
|
2077
2077
|
"manual-gearbox.svg": "icons/manual-gearbox.svg",
|
2078
2078
|
"map-2.svg": "icons/map-2.svg",
|
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.1.
|
4
|
+
version: 0.1.93
|
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-07-
|
11
|
+
date: 2021-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord-filter
|
@@ -1500,8 +1500,8 @@ files:
|
|
1500
1500
|
- ui/dist/icons/zoom-money.svg.gz
|
1501
1501
|
- ui/dist/icons/zoom-out.svg.gz
|
1502
1502
|
- ui/dist/icons/zoom-question.svg.gz
|
1503
|
-
- ui/dist/main-
|
1504
|
-
- ui/dist/main-
|
1503
|
+
- ui/dist/main-c4ace020d904a7af49a0.css.gz
|
1504
|
+
- ui/dist/main-c4ace020d904a7af49a0.js.gz
|
1505
1505
|
- ui/dist/manifest.json
|
1506
1506
|
homepage:
|
1507
1507
|
licenses:
|
Binary file
|