motor-admin 0.1.90 → 0.1.91

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: 78ecb940a3d86048f74ce138667c5d4a177ee7f3723851bdc7fdad3262320c75
4
- data.tar.gz: c477191b28e107db375a0f515b5dae46b03baca59bffd763222af1f40fe4805c
3
+ metadata.gz: 119b0f42fed9f9340e573ad039a1d063e90937865d0024e5fd009d98d844d52b
4
+ data.tar.gz: d1c4b84d64149c9bc2f088e68d51bd061a7723c0f99c52e3b096e9b0d7670dd8
5
5
  SHA512:
6
- metadata.gz: fab5e380787c45a89d40c920a2b8b5c109338c757236803adfe6cac3a02eaecc920ddaf7f2c5033e9c66c15fb8fa1d8263eba195edf7cafb59883e307660cf96
7
- data.tar.gz: 9cc9e667b8fe90e8038f7f493fe9ae7f4ae396d6cf2ed6058199e6eb8cf9a9e0cf5b9219f89bd5dcfd35f74b037f4042497518309e24dc8ecd33fba2a0c09d36
6
+ metadata.gz: 0fbcc5c8b50532057315532810aa8f8e2fff92a0d7267e2ea1fa68470e5d298ba9fe9261b2092ec3d5a1866dd9ae45e798f2012c7d81a9ff570857fa4751e909
7
+ data.tar.gz: 7832ce74081e4e1de624b82b320398daaec9fe698e813a35a35ee0fe6bb0de7425892f8fc9ed1a16efbab744e0fa2ee3c91515bf3ce082b2a2f5cf0576ea9629
@@ -249,3 +249,6 @@ en:
249
249
  source: Source
250
250
  resource: Resource
251
251
  add_association: Add Association
252
+ there_are_unsaved_changes_from: "There are unsaved changes from %{timestamp}"
253
+ clear: Clear
254
+ restore: Restore
@@ -249,6 +249,9 @@ 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
252
255
  i:
253
256
  locale: es
254
257
  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,
data/lib/motor/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Motor
4
- VERSION = '0.1.90'
4
+ VERSION = '0.1.91'
5
5
  end
@@ -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-3af8fa3cc8c04a20887d.css.gz": "main-3af8fa3cc8c04a20887d.css.gz",
2072
- "main-3af8fa3cc8c04a20887d.js.LICENSE.txt": "main-3af8fa3cc8c04a20887d.js.LICENSE.txt",
2073
- "main-3af8fa3cc8c04a20887d.js.gz": "main-3af8fa3cc8c04a20887d.js.gz",
2074
- "main.css": "main-3af8fa3cc8c04a20887d.css",
2075
- "main.js": "main-3af8fa3cc8c04a20887d.js",
2071
+ "main-f6e2f79f58515974478f.css.gz": "main-f6e2f79f58515974478f.css.gz",
2072
+ "main-f6e2f79f58515974478f.js.LICENSE.txt": "main-f6e2f79f58515974478f.js.LICENSE.txt",
2073
+ "main-f6e2f79f58515974478f.js.gz": "main-f6e2f79f58515974478f.js.gz",
2074
+ "main.css": "main-f6e2f79f58515974478f.css",
2075
+ "main.js": "main-f6e2f79f58515974478f.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.90
4
+ version: 0.1.91
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-18 00:00:00.000000000 Z
11
+ date: 2021-07-25 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-3af8fa3cc8c04a20887d.css.gz
1504
- - ui/dist/main-3af8fa3cc8c04a20887d.js.gz
1503
+ - ui/dist/main-f6e2f79f58515974478f.css.gz
1504
+ - ui/dist/main-f6e2f79f58515974478f.js.gz
1505
1505
  - ui/dist/manifest.json
1506
1506
  homepage:
1507
1507
  licenses: