motor-admin 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/motor/build_schema/load_from_rails.rb +1 -14
- data/lib/motor/build_schema/reorder_schema.rb +1 -1
- data/lib/motor/version.rb +1 -1
- data/ui/dist/{main-f7c7f445c53544d2d7b8.css.gz → main-729641083f64367ce9aa.css.gz} +0 -0
- data/ui/dist/main-729641083f64367ce9aa.js.gz +0 -0
- data/ui/dist/manifest.json +2 -5
- metadata +3 -3
- data/ui/dist/main-f7c7f445c53544d2d7b8.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: d4b6ae30f7e0382a7ff6b56e04ef3de41396a89e0cff6c2595af76677af8685c
|
4
|
+
data.tar.gz: 8a6b99fd18067c6b535db0746eaef258da807a57d493e816b2c6b38396d716f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d41941aa4ccefd944c9caa0403d25e91f08e1a6ca7bf3064d49f181a906c9fa052777543a113d0ea079c5d317595b34257a3d7b7ee4540ee79fce4c52e54d8b3
|
7
|
+
data.tar.gz: 5f224df7542462dd74fd22093688351d5edd3fdea2615d51df3aa3a33d5194d6917f28ffc2c53a0298fcdb9c2c56e88bb97d539b18116f81d08a355adac60458
|
@@ -97,19 +97,6 @@ module Motor
|
|
97
97
|
reference_columns + table_columns
|
98
98
|
end
|
99
99
|
|
100
|
-
def build_column(model, column)
|
101
|
-
{
|
102
|
-
name: column.name,
|
103
|
-
display_name: column.name.humanize,
|
104
|
-
column_type: ActiveRecordUtils::Types::UNIFIED_TYPES[column.type.to_s] || column.type.to_s,
|
105
|
-
access_type: COLUMN_NAME_ACCESS_TYPES.fetch(column.name, ColumnAccessTypes::READ_WRITE),
|
106
|
-
default_value: default_attrs[column.name],
|
107
|
-
validators: fetch_validators(model, column.name),
|
108
|
-
reference: fetch_reference(model, column.name),
|
109
|
-
virtual: false
|
110
|
-
}
|
111
|
-
end
|
112
|
-
|
113
100
|
def fetch_reference_columns(model)
|
114
101
|
default_attrs = model.new.attributes
|
115
102
|
|
@@ -122,7 +109,7 @@ module Motor
|
|
122
109
|
next
|
123
110
|
end
|
124
111
|
|
125
|
-
column_name = ref.belongs_to? ? ref.foreign_key : name
|
112
|
+
column_name = ref.belongs_to? ? ref.foreign_key.to_s : name
|
126
113
|
|
127
114
|
next if ref.klass.name == 'ActiveStorage::Blob'
|
128
115
|
|
data/lib/motor/version.rb
CHANGED
File without changes
|
Binary file
|
data/ui/dist/manifest.json
CHANGED
@@ -5,9 +5,6 @@
|
|
5
5
|
"fonts/ionicons.ttf?v=3.0.0-alpha.3": "fonts/ionicons.ttf",
|
6
6
|
"fonts/ionicons.woff2?v=3.0.0-alpha.3": "fonts/ionicons.woff2",
|
7
7
|
"fonts/ionicons.woff?v=3.0.0-alpha.3": "fonts/ionicons.woff",
|
8
|
-
"main
|
9
|
-
"main
|
10
|
-
"main-f7c7f445c53544d2d7b8.js.gz": "main-f7c7f445c53544d2d7b8.js.gz",
|
11
|
-
"main.css": "main-f7c7f445c53544d2d7b8.css",
|
12
|
-
"main.js": "main-f7c7f445c53544d2d7b8.js"
|
8
|
+
"main.css": "main-80be7992f1d3b992e2dc.css",
|
9
|
+
"main.js": "main-80be7992f1d3b992e2dc.js"
|
13
10
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motor-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Matsyburka
|
@@ -213,8 +213,8 @@ files:
|
|
213
213
|
- lib/motor/ui_configs.rb
|
214
214
|
- lib/motor/version.rb
|
215
215
|
- ui/dist/fonts/ionicons.woff2
|
216
|
-
- ui/dist/main-
|
217
|
-
- ui/dist/main-
|
216
|
+
- ui/dist/main-729641083f64367ce9aa.css.gz
|
217
|
+
- ui/dist/main-729641083f64367ce9aa.js.gz
|
218
218
|
- ui/dist/manifest.json
|
219
219
|
homepage:
|
220
220
|
licenses:
|
Binary file
|