motor-admin 0.1.88 → 0.1.92
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 +3 -0
- data/config/locales/es.yml +3 -0
- data/lib/motor/resources/fetch_configured_model.rb +3 -1
- data/lib/motor/version.rb +1 -1
- data/ui/dist/{main-fbe1b5253d0be9bdb20b.css.gz → main-69f743d211b7997bcec9.css.gz} +0 -0
- data/ui/dist/main-69f743d211b7997bcec9.js.gz +0 -0
- data/ui/dist/manifest.json +5 -5
- metadata +4 -4
- data/ui/dist/main-fbe1b5253d0be9bdb20b.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: 2bcd022ae5a70e624b20a9892c84695378eb2e439d58006d017cc3d537adc1f3
|
4
|
+
data.tar.gz: df6ac5b8b8f3a1e427ccc4ee60a5b3aa34d3195922c28ef7d53ea9f7abeb7fb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0f39cbf5c49589ac5ca5e84638a334892c1fd86e260f55f37a9bef1ce806885c1d988acf5d2d3df051ca2a38ddafc8044a89c393a098aa5093765dfbd426000
|
7
|
+
data.tar.gz: 147d726104667c712e85ceb9813f7dc2a6dca0c223a9188a3fb7aed9a397bac0ae1aec9eaf1e35cd81d8dfcb71b46a3360ce6790b08971239505fd460f39fc53
|
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
@@ -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-69f743d211b7997bcec9.css.gz": "main-69f743d211b7997bcec9.css.gz",
|
2072
|
+
"main-69f743d211b7997bcec9.js.LICENSE.txt": "main-69f743d211b7997bcec9.js.LICENSE.txt",
|
2073
|
+
"main-69f743d211b7997bcec9.js.gz": "main-69f743d211b7997bcec9.js.gz",
|
2074
|
+
"main.css": "main-69f743d211b7997bcec9.css",
|
2075
|
+
"main.js": "main-69f743d211b7997bcec9.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.92
|
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-26 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-69f743d211b7997bcec9.css.gz
|
1504
|
+
- ui/dist/main-69f743d211b7997bcec9.js.gz
|
1505
1505
|
- ui/dist/manifest.json
|
1506
1506
|
homepage:
|
1507
1507
|
licenses:
|
Binary file
|