motor-admin 0.2.65 → 0.2.68
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/motor/data_controller.rb +1 -1
- data/config/locales/el.yml +2 -0
- data/config/locales/en.yml +2 -0
- data/config/locales/es.yml +2 -0
- data/config/locales/pt.yml +2 -0
- data/lib/motor/build_schema/load_from_rails.rb +1 -0
- data/lib/motor/build_schema.rb +2 -1
- data/lib/motor/resources.rb +1 -1
- data/lib/motor/version.rb +1 -1
- data/ui/dist/{main-dd37c08915724e2219f5.css.gz → main-f0622588acc207c89190.css.gz} +0 -0
- data/ui/dist/main-f0622588acc207c89190.js.gz +0 -0
- data/ui/dist/manifest.json +5 -5
- metadata +5 -5
- data/ui/dist/main-dd37c08915724e2219f5.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: bb174ffc114c2f0f9ecdb0d1b03d81747ba71fee2d332dab70730256b59543c7
|
4
|
+
data.tar.gz: 3bd3a2c65424ab782bf5e67985e9cc01638f516dd0bb16b8d04c9c43cf6358c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5034a5834c324421487fffcb23e4f33fc487366996c4692b718a11df579022ee7feb596503100e03251846da7e73ca00e5ce08e0ceae072534c3c42971cadd6
|
7
|
+
data.tar.gz: 954f0668eba4b17c52e58a4bfb7175ca92dc6e9c97638056aa2c850b2b5469b6bd064cbbfdeac657bde9daf23067633aeb555340a2ccff19198f6f086ade7549
|
@@ -31,7 +31,7 @@ module Motor
|
|
31
31
|
|
32
32
|
@resource = @associated_resource
|
33
33
|
else
|
34
|
-
@resource.public_send(params[:association].to_sym).create!(
|
34
|
+
@resource.public_send(params[:association].to_sym).create!(resource_params) do |resource|
|
35
35
|
@resource = resource
|
36
36
|
end
|
37
37
|
end
|
data/config/locales/el.yml
CHANGED
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/pt.yml
CHANGED
data/lib/motor/build_schema.rb
CHANGED
data/lib/motor/resources.rb
CHANGED
@@ -5,7 +5,7 @@ module Motor
|
|
5
5
|
RESOURCE_ATTRS = %w[display_name display_column icon custom_sql visible display_primary_key
|
6
6
|
searchable_columns].freeze
|
7
7
|
COLUMN_ATTRS = %w[name display_name column_type access_type default_value reference virtual format
|
8
|
-
validators].freeze
|
8
|
+
validators description].freeze
|
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
|
data/lib/motor/version.rb
CHANGED
Binary file
|
Binary file
|
data/ui/dist/manifest.json
CHANGED
@@ -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-
|
2605
|
-
"main-
|
2606
|
-
"main-
|
2607
|
-
"main.css": "main-
|
2608
|
-
"main.js": "main-
|
2604
|
+
"main-f0622588acc207c89190.css.gz": "main-f0622588acc207c89190.css.gz",
|
2605
|
+
"main-f0622588acc207c89190.js.LICENSE.txt": "main-f0622588acc207c89190.js.LICENSE.txt",
|
2606
|
+
"main-f0622588acc207c89190.js.gz": "main-f0622588acc207c89190.js.gz",
|
2607
|
+
"main.css": "main-f0622588acc207c89190.css",
|
2608
|
+
"main.js": "main-f0622588acc207c89190.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.
|
4
|
+
version: 0.2.68
|
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-
|
11
|
+
date: 2022-05-22 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-
|
1538
|
-
- ui/dist/main-
|
1537
|
+
- ui/dist/main-f0622588acc207c89190.css.gz
|
1538
|
+
- ui/dist/main-f0622588acc207c89190.js.gz
|
1539
1539
|
- ui/dist/manifest.json
|
1540
1540
|
homepage:
|
1541
1541
|
licenses:
|
@@ -1558,7 +1558,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1558
1558
|
- !ruby/object:Gem::Version
|
1559
1559
|
version: '0'
|
1560
1560
|
requirements: []
|
1561
|
-
rubygems_version: 3.
|
1561
|
+
rubygems_version: 3.3.3
|
1562
1562
|
signing_key:
|
1563
1563
|
specification_version: 4
|
1564
1564
|
summary: Low-code Admin panel and Business intelligence
|
Binary file
|