motor-admin 0.2.63 → 0.2.66

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: adbc46b63c4327355c911801cfd4559bcd8233e1ed6747b04b3fdb75d6778822
4
- data.tar.gz: a6eefd47adfd3c12683595b7d08ef2a89bd76a25d7b7d5bc5131872e47c19092
3
+ metadata.gz: 399871db5e31a27973c4c7ba3b21d168b2d0581daf211f25ecbeadaf481cdfc2
4
+ data.tar.gz: fdba5bc869b246e574cc2866d88c5070f4fe21fd1b4b797929ea79578c361897
5
5
  SHA512:
6
- metadata.gz: dca67a3e7f5a7366ff0f0a4c72eed07a632f0e6bc79eaf0db28514aa2569586b1ce615277073f780d085e2d8f3767ec4be953d2a7d8618e3afc0d12b15a53f11
7
- data.tar.gz: 0f3398947be85b3290ec6be7c89698f05ad33ce4f9b33f8522b7ef7bfc649ec9232581725e7a239c9e60472363c0e1508daabf0a27fd905616508997b40c5f12
6
+ metadata.gz: bd3dd275d2f88f2f11b05a15ee3efb6293abda137d88b6dc2a9c80c87344993e7a7c2f4cf1044269f71146ee487fec7e86882387a0775c60b3132ad724cfd54b
7
+ data.tar.gz: 39f3e468d9b05c2ea9712997814a0867b280aa8b64e405937a8c250f7e776073c3544aac81abfd04a56b8fb2e89351cfbc52072bc60be963014a4246aad9d3d1
@@ -302,3 +302,8 @@ en:
302
302
  on_collection: On collection
303
303
  association: Association
304
304
  action_has_been_removed: This action has been removed
305
+ every_5_seconds: Every 5 seconds
306
+ every_30_seconds: Every 30 seconds
307
+ every_minute: Every minute
308
+ every_5_minutes: Every 5 minutes
309
+ do_not_refresh: Do not refresh
@@ -16,7 +16,7 @@ module Motor
16
16
  table_name: model.table_name,
17
17
  primary_key: model.primary_key,
18
18
  display_name: model.model_name.human(count: 2, default: 'Attachments'),
19
- display_column: 'filename',
19
+ display_column: 'id',
20
20
  icon: 'paperclip',
21
21
  columns: [
22
22
  {
@@ -113,6 +113,7 @@ module Motor
113
113
  ],
114
114
  associations: [],
115
115
  scopes: [],
116
+ preferences: {},
116
117
  actions: Motor::BuildSchema::Defaults.actions.reject { |e| e[:name] == 'edit' },
117
118
  tabs: Motor::BuildSchema::Defaults.tabs,
118
119
  visible: false
@@ -14,7 +14,7 @@ module Motor
14
14
  if hash.is_a?(Hash)
15
15
  hash.with_indifferent_access
16
16
  else
17
- hash || {}
17
+ hash.is_a?(FalseClass) ? hash : hash || {}
18
18
  end
19
19
  end
20
20
  end
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.2.63'
4
+ VERSION = '0.2.66'
5
5
  end
@@ -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-04ab2661452b21148d0e.css.gz": "main-04ab2661452b21148d0e.css.gz",
2605
- "main-04ab2661452b21148d0e.js.LICENSE.txt": "main-04ab2661452b21148d0e.js.LICENSE.txt",
2606
- "main-04ab2661452b21148d0e.js.gz": "main-04ab2661452b21148d0e.js.gz",
2607
- "main.css": "main-04ab2661452b21148d0e.css",
2608
- "main.js": "main-04ab2661452b21148d0e.js"
2604
+ "main-1ebc4feb7f2b4c056ad8.css.gz": "main-1ebc4feb7f2b4c056ad8.css.gz",
2605
+ "main-1ebc4feb7f2b4c056ad8.js.LICENSE.txt": "main-1ebc4feb7f2b4c056ad8.js.LICENSE.txt",
2606
+ "main-1ebc4feb7f2b4c056ad8.js.gz": "main-1ebc4feb7f2b4c056ad8.js.gz",
2607
+ "main.css": "main-1ebc4feb7f2b4c056ad8.css",
2608
+ "main.js": "main-1ebc4feb7f2b4c056ad8.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.63
4
+ version: 0.2.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Matsyburka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-11 00:00:00.000000000 Z
11
+ date: 2022-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-filter
@@ -1534,8 +1534,8 @@ files:
1534
1534
  - ui/dist/icons/zoom-money.svg.gz
1535
1535
  - ui/dist/icons/zoom-out.svg.gz
1536
1536
  - ui/dist/icons/zoom-question.svg.gz
1537
- - ui/dist/main-04ab2661452b21148d0e.css.gz
1538
- - ui/dist/main-04ab2661452b21148d0e.js.gz
1537
+ - ui/dist/main-1ebc4feb7f2b4c056ad8.css.gz
1538
+ - ui/dist/main-1ebc4feb7f2b4c056ad8.js.gz
1539
1539
  - ui/dist/manifest.json
1540
1540
  homepage:
1541
1541
  licenses: