motor-admin 0.2.62 → 0.2.65

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: 3af83dbd30f8ccb81fd1cc1d16c225834a303302090f2ae122028342fd0d0db3
4
- data.tar.gz: 8ba049b7a9dec950325609563fbdeb60f6f14d9c96513caf1d13cf27856c2671
3
+ metadata.gz: d988c2448db90f884c97394de1079e3c86f6d46c0772bff8aafc104d726997c1
4
+ data.tar.gz: 0dcafa4a6ef34e5d0cb01a60b79c06714585826fbd1e8e41ec29c1c40fd4134d
5
5
  SHA512:
6
- metadata.gz: 8c7cc675e26e383f83e06c339b1ac32cfd7a008562d507c49235b4881127b80f27e43071d32d2b34697ce71e8af4738b501a56472faf5406128e6bd3c3272446
7
- data.tar.gz: 15e4bda575af9118ee7c0928adb7ea2aef916d7a5e29d3baff420478fee4054d9a387a6e4263ecce82da435ccd29009db3f01304b19448ad0e535e384e747dda
6
+ metadata.gz: 9eefe679ba5afcbcd79fd3a7f4050b227112d7b8e3f337982049c59f3ce935fcf63d3764742d73d28d0033cdaae0fae38eb0a650c379f6f543f9f36dc7f0ac8b
7
+ data.tar.gz: aaad6d3fb9a38492fa71df7c4a2f80c58d4b22161c7f835d81aa58f723e53e71b726a960c3e80f67d6a0ff503aecf5b9ffa9c992ab1c8c259542d4cde67bf571
@@ -302,7 +302,6 @@ el:
302
302
  on_collection: Κατά τη συλλογή
303
303
  association: Σύνδεση
304
304
  action_has_been_removed: Η ενέργεια αυτή έχει καταργηθεί
305
- ask_for_confirmation: Ask for confirmation
306
305
  i:
307
306
  locale: el
308
307
  select:
@@ -302,4 +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
- ask_for_confirmation: Ask for confirmation
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
@@ -302,7 +302,6 @@ es:
302
302
  on_collection: En la colección
303
303
  association: Asociación
304
304
  action_has_been_removed: Esta acción ha sido eliminada
305
- ask_for_confirmation: Ask for confirmation
306
305
  i:
307
306
  locale: es
308
307
  select:
@@ -298,7 +298,6 @@ pt:
298
298
  on_collection: Na coleção
299
299
  association: Associação
300
300
  action_has_been_removed: Esta ação foi removida
301
- ask_for_confirmation: Ask for confirmation
302
301
  i:
303
302
  locale: pt
304
303
  select:
@@ -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
@@ -28,7 +28,7 @@ module Motor
28
28
  name: 'remove',
29
29
  display_name: I18n.t('motor.remove'),
30
30
  action_type: BuildSchema::DEFAULT_TYPE,
31
- preferences: { with_confirmation: true },
31
+ preferences: {},
32
32
  apply_on: 'member',
33
33
  visible: true
34
34
  }
@@ -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.62'
4
+ VERSION = '0.2.65'
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-265b4aa51a29111030df.css.gz": "main-265b4aa51a29111030df.css.gz",
2605
- "main-265b4aa51a29111030df.js.LICENSE.txt": "main-265b4aa51a29111030df.js.LICENSE.txt",
2606
- "main-265b4aa51a29111030df.js.gz": "main-265b4aa51a29111030df.js.gz",
2607
- "main.css": "main-265b4aa51a29111030df.css",
2608
- "main.js": "main-265b4aa51a29111030df.js"
2604
+ "main-dd37c08915724e2219f5.css.gz": "main-dd37c08915724e2219f5.css.gz",
2605
+ "main-dd37c08915724e2219f5.js.LICENSE.txt": "main-dd37c08915724e2219f5.js.LICENSE.txt",
2606
+ "main-dd37c08915724e2219f5.js.gz": "main-dd37c08915724e2219f5.js.gz",
2607
+ "main.css": "main-dd37c08915724e2219f5.css",
2608
+ "main.js": "main-dd37c08915724e2219f5.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.62
4
+ version: 0.2.65
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-09 00:00:00.000000000 Z
11
+ date: 2022-04-13 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-265b4aa51a29111030df.css.gz
1538
- - ui/dist/main-265b4aa51a29111030df.js.gz
1537
+ - ui/dist/main-dd37c08915724e2219f5.css.gz
1538
+ - ui/dist/main-dd37c08915724e2219f5.js.gz
1539
1539
  - ui/dist/manifest.json
1540
1540
  homepage:
1541
1541
  licenses: