motor-admin 0.2.48 → 0.2.49

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: 8e0b70a3838f3f4f4df56cc8caf0aacf3c07b9826395ee81bad390d6a8952ab1
4
- data.tar.gz: cc40b2bdb4a214abcea419ba94781d9dcfcca7d716ae6674ba3497b031adac8d
3
+ metadata.gz: d1454fff2b666e21bca8bff4acf49f1be8d5cbeae176356c051a879f46f78226
4
+ data.tar.gz: 8c027639c95b04a69e337b8cd5749ed65babeb0df755855fd6ba423cbe8214e5
5
5
  SHA512:
6
- metadata.gz: 95bbf8cc2ae3d25b68a1841ac7d1dac45fa798c1da7f0fba031d542a35e6bb28da1e2ee9d27b58b80d9f14ddfb684f2070d47fd53b7e537b3edcc52f01dd5619
7
- data.tar.gz: d0cd3d7425e55a43c5a6e774b59aaa89767e78acdbb846a5f52f230cfe7b8d748f7bcdb0ed65d24cf121d7374500fa205a46c4e23a00e6b3caed17ba912252b4
6
+ metadata.gz: b6e22434dd4b722606f31ecfdc5ed2e0c6e547b115b097dc8f00e885765649cd45be069d19984d72ac8e2cca91544b3fd7c16d8393c7e4aa801e3c77a88c5fa5
7
+ data.tar.gz: 77839d0bfb147200dfaf46b8e4b105b15ed1230c5fd85cab0954bccd454b76c83229d8fd7cd09a56c558741657be25372eac5c9411d982133d57fc9f117eefc8
@@ -299,3 +299,4 @@ en:
299
299
  url: URL
300
300
  expand: Expand
301
301
  add_api: Add API
302
+ on_collection: On collection
@@ -299,6 +299,7 @@ es:
299
299
  url: URL
300
300
  expand: Expandir
301
301
  add_api: De API
302
+ on_collection: En la colección
302
303
  i:
303
304
  locale: es
304
305
  select:
@@ -295,6 +295,7 @@ pt:
295
295
  url: URL
296
296
  expand: Expandir
297
297
  add_api: De API
298
+ on_collection: Na coleção
298
299
  i:
299
300
  locale: pt
300
301
  select:
@@ -13,6 +13,7 @@ module Motor
13
13
  display_name: I18n.t('motor.create'),
14
14
  action_type: BuildSchema::DEFAULT_TYPE,
15
15
  preferences: {},
16
+ apply_on: 'collection',
16
17
  visible: true
17
18
  },
18
19
  {
@@ -20,6 +21,7 @@ module Motor
20
21
  display_name: I18n.t('motor.edit'),
21
22
  action_type: BuildSchema::DEFAULT_TYPE,
22
23
  preferences: {},
24
+ apply_on: 'member',
23
25
  visible: true
24
26
  },
25
27
  {
@@ -27,6 +29,7 @@ module Motor
27
29
  display_name: I18n.t('motor.remove'),
28
30
  action_type: BuildSchema::DEFAULT_TYPE,
29
31
  preferences: {},
32
+ apply_on: 'member',
30
33
  visible: true
31
34
  }
32
35
  ].freeze
@@ -70,6 +70,7 @@ module Motor
70
70
 
71
71
  ACTION_DEFAULTS = {
72
72
  visible: true,
73
+ apply_on: 'member',
73
74
  preferences: {}
74
75
  }.with_indifferent_access
75
76
 
@@ -9,7 +9,7 @@ module Motor
9
9
  ASSOCIATION_ATTRS = %w[name display_name model_name icon visible foreign_key primary_key options virtual
10
10
  polymorphic slug].freeze
11
11
  SCOPE_ATTRS = %w[name display_name scope_type preferences visible].freeze
12
- ACTION_ATTRS = %w[name display_name action_type preferences visible].freeze
12
+ ACTION_ATTRS = %w[name display_name action_type preferences apply_on visible].freeze
13
13
  TAB_ATTRS = %w[name display_name tab_type preferences visible].freeze
14
14
  end
15
15
  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.48'
4
+ VERSION = '0.2.49'
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-6fcd302ba30a65b4d436.css.gz": "main-6fcd302ba30a65b4d436.css.gz",
2605
- "main-6fcd302ba30a65b4d436.js.LICENSE.txt": "main-6fcd302ba30a65b4d436.js.LICENSE.txt",
2606
- "main-6fcd302ba30a65b4d436.js.gz": "main-6fcd302ba30a65b4d436.js.gz",
2607
- "main.css": "main-6fcd302ba30a65b4d436.css",
2608
- "main.js": "main-6fcd302ba30a65b4d436.js"
2604
+ "main-405235dcc7061ef18101.css.gz": "main-405235dcc7061ef18101.css.gz",
2605
+ "main-405235dcc7061ef18101.js.LICENSE.txt": "main-405235dcc7061ef18101.js.LICENSE.txt",
2606
+ "main-405235dcc7061ef18101.js.gz": "main-405235dcc7061ef18101.js.gz",
2607
+ "main.css": "main-405235dcc7061ef18101.css",
2608
+ "main.js": "main-405235dcc7061ef18101.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.48
4
+ version: 0.2.49
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-12-30 00:00:00.000000000 Z
11
+ date: 2022-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-filter
@@ -1532,8 +1532,8 @@ files:
1532
1532
  - ui/dist/icons/zoom-money.svg.gz
1533
1533
  - ui/dist/icons/zoom-out.svg.gz
1534
1534
  - ui/dist/icons/zoom-question.svg.gz
1535
- - ui/dist/main-6fcd302ba30a65b4d436.css.gz
1536
- - ui/dist/main-6fcd302ba30a65b4d436.js.gz
1535
+ - ui/dist/main-405235dcc7061ef18101.css.gz
1536
+ - ui/dist/main-405235dcc7061ef18101.js.gz
1537
1537
  - ui/dist/manifest.json
1538
1538
  homepage:
1539
1539
  licenses: