motor-admin 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/app/controllers/motor/data_controller.rb +1 -1
- data/app/models/motor/application_record.rb +1 -1
- data/lib/motor/resources/fetch_configured_model.rb +1 -1
- data/lib/motor/version.rb +1 -1
- data/ui/dist/{main-94c4b9cbc80e23602ab9.css.gz → main-ef8d17c17507c8301bda.css.gz} +0 -0
- data/ui/dist/main-ef8d17c17507c8301bda.js.gz +0 -0
- data/ui/dist/manifest.json +5 -5
- metadata +4 -4
- data/ui/dist/main-94c4b9cbc80e23602ab9.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: 7d3a3e923ca22e7fdf83117a4b7c0bd380ffb345f747d99de9eecceb171ceabc
|
|
4
|
+
data.tar.gz: fb8239b1a4177781480dc59014c525aa84731eb9baaf63edb72072a81698fbd4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2effaa91317c2c4b48fbaf9008c4e006419c31e7266effe444ade006a7928b0c436596eeac20510a995b5c194ebbb66ce12edef1acb4c062a3bdef66fb35a5e6
|
|
7
|
+
data.tar.gz: 002f44a7671b4fc529d7973cf66ef533eb00b1a7603b2d788a81f93f48daa0db56aa76f7040571901423352e29956b15b11116948d5f1fb9cb598cf7e2f04590
|
data/README.md
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
Low-code Admin panel and Business intelligence Rails engine **(no DSL - configurable from the UI)**.
|
|
8
8
|
|
|
9
|
-
🤓 [Demo App](https://
|
|
9
|
+
🤓 [Demo App](https://app.getmotoradmin.com/demo/) | 👀 [Features overview](https://www.youtube.com/watch?v=ngVoci8Hll4&list=PLu7llEMh0KcOkR3Uy_RJT0cXPZQKAYVsq&index=1) | ⭐ [Pro](https://www.getmotoradmin.com/ruby-on-rails)
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
|
-
[](https://
|
|
12
|
+
[](https://app.getmotoradmin.com/demo/)
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
15
15
|
Add this line to your application's Gemfile:
|
|
@@ -109,7 +109,7 @@ Queries can include embedded variables via `{{variable}}` syntax ([mustache](htt
|
|
|
109
109
|
|
|
110
110
|

|
|
111
111
|
|
|
112
|
-
Data from the SQL query can be represented as:
|
|
112
|
+
Data from the SQL query can be represented as: table, number, line chart, bar chart, pie chart, funnel, markdown.
|
|
113
113
|
|
|
114
114
|
### Dashboards
|
|
115
115
|
|
|
@@ -64,7 +64,7 @@ module Motor
|
|
|
64
64
|
|
|
65
65
|
def execute
|
|
66
66
|
resource_preferences = Motor::Resource.find_by(name: @resource.class.name.underscore).preferences
|
|
67
|
-
resource_action = resource_preferences[:actions].find { |a| a
|
|
67
|
+
resource_action = resource_preferences[:actions].find { |a| a.dig(:preferences, :method_name) == params[:method] }
|
|
68
68
|
|
|
69
69
|
authorize!(resource_action[:name].to_sym, @resource)
|
|
70
70
|
|
data/lib/motor/version.rb
CHANGED
|
File without changes
|
|
Binary file
|
data/ui/dist/manifest.json
CHANGED
|
@@ -3964,9 +3964,9 @@
|
|
|
3964
3964
|
"images/layers-2x.png": "images/layers-2x.png",
|
|
3965
3965
|
"images/layers.png": "images/layers.png",
|
|
3966
3966
|
"images/marker-icon.png": "images/marker-icon.png",
|
|
3967
|
-
"main-
|
|
3968
|
-
"main-
|
|
3969
|
-
"main-
|
|
3970
|
-
"main.css": "main-
|
|
3971
|
-
"main.js": "main-
|
|
3967
|
+
"main-ef8d17c17507c8301bda.css.gz": "main-ef8d17c17507c8301bda.css.gz",
|
|
3968
|
+
"main-ef8d17c17507c8301bda.js.LICENSE.txt": "main-ef8d17c17507c8301bda.js.LICENSE.txt",
|
|
3969
|
+
"main-ef8d17c17507c8301bda.js.gz": "main-ef8d17c17507c8301bda.js.gz",
|
|
3970
|
+
"main.css": "main-ef8d17c17507c8301bda.css",
|
|
3971
|
+
"main.js": "main-ef8d17c17507c8301bda.js"
|
|
3972
3972
|
}
|
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.4.
|
|
4
|
+
version: 0.4.3
|
|
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-12-
|
|
11
|
+
date: 2022-12-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ar_lazy_preload
|
|
@@ -2235,8 +2235,8 @@ files:
|
|
|
2235
2235
|
- ui/dist/images/layers-2x.png
|
|
2236
2236
|
- ui/dist/images/layers.png
|
|
2237
2237
|
- ui/dist/images/marker-icon.png
|
|
2238
|
-
- ui/dist/main-
|
|
2239
|
-
- ui/dist/main-
|
|
2238
|
+
- ui/dist/main-ef8d17c17507c8301bda.css.gz
|
|
2239
|
+
- ui/dist/main-ef8d17c17507c8301bda.js.gz
|
|
2240
2240
|
- ui/dist/manifest.json
|
|
2241
2241
|
homepage:
|
|
2242
2242
|
licenses:
|
|
Binary file
|