motor-admin 0.2.20 → 0.2.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/concerns/motor/current_ability.rb +1 -1
- data/config/locales/en.yml +2 -0
- data/config/locales/es.yml +2 -0
- data/config/locales/pt.yml +2 -0
- data/lib/motor/api_query/filter.rb +4 -0
- data/lib/motor/build_schema/load_from_rails.rb +4 -1
- data/lib/motor/queries/run_query.rb +1 -1
- data/lib/motor/version.rb +1 -1
- data/ui/dist/{main-3053b6cb9c0fbea51e36.css.gz → main-8421aae2289372e89a1d.css.gz} +0 -0
- data/ui/dist/main-8421aae2289372e89a1d.js.gz +0 -0
- data/ui/dist/manifest.json +5 -5
- metadata +4 -4
- data/ui/dist/main-3053b6cb9c0fbea51e36.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: 676aa441a86219350a066d51023aa10a7765c93dd155008feca17a76eec74177
|
4
|
+
data.tar.gz: 83c5d373aac0a44407c8f805ea01aee8d8e178802f0efc22121c879e3885d9b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbd445e4805615320ed932974aac218d7ae2092c8751d18762e36550139027cb2f683006c4e419c4f21fff230e3e4c5c6dc837cbb682361b09e9c7ed285a8be8
|
7
|
+
data.tar.gz: 0c5b84920c042f7a55353b6c4e6e9f43366bbc2b044cdd9e6924eddcdcf8b7caf1224c17040bb7003710935528608ff6f83aec9bba9fd8e9cff66920e10b7e4c
|
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/pt.yml
CHANGED
@@ -142,7 +142,10 @@ module Motor
|
|
142
142
|
|
143
143
|
return { select_options: enum.keys } if enum
|
144
144
|
|
145
|
-
return {
|
145
|
+
return {} if column.name == 'year'
|
146
|
+
|
147
|
+
return { number_format: true } if !column.name.match?(/_(?:id|year)\z/) &&
|
148
|
+
%i[integer float].include?(column.type)
|
146
149
|
|
147
150
|
{}
|
148
151
|
end
|
@@ -157,7 +157,7 @@ module Motor
|
|
157
157
|
expresion = table.project(table[Arel.star])
|
158
158
|
expresion = expresion.where(arel_filters) if arel_filters.present?
|
159
159
|
|
160
|
-
expresion.take(limit.to_i).to_sql
|
160
|
+
expresion.take(limit.to_i).to_sql.delete('"')
|
161
161
|
end
|
162
162
|
|
163
163
|
# @param filters [Hash]
|
data/lib/motor/version.rb
CHANGED
File without changes
|
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-8421aae2289372e89a1d.css.gz": "main-8421aae2289372e89a1d.css.gz",
|
2605
|
+
"main-8421aae2289372e89a1d.js.LICENSE.txt": "main-8421aae2289372e89a1d.js.LICENSE.txt",
|
2606
|
+
"main-8421aae2289372e89a1d.js.gz": "main-8421aae2289372e89a1d.js.gz",
|
2607
|
+
"main.css": "main-8421aae2289372e89a1d.css",
|
2608
|
+
"main.js": "main-8421aae2289372e89a1d.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.24
|
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-11-
|
11
|
+
date: 2021-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord-filter
|
@@ -1525,8 +1525,8 @@ files:
|
|
1525
1525
|
- ui/dist/icons/zoom-money.svg.gz
|
1526
1526
|
- ui/dist/icons/zoom-out.svg.gz
|
1527
1527
|
- ui/dist/icons/zoom-question.svg.gz
|
1528
|
-
- ui/dist/main-
|
1529
|
-
- ui/dist/main-
|
1528
|
+
- ui/dist/main-8421aae2289372e89a1d.css.gz
|
1529
|
+
- ui/dist/main-8421aae2289372e89a1d.js.gz
|
1530
1530
|
- ui/dist/manifest.json
|
1531
1531
|
homepage:
|
1532
1532
|
licenses:
|
Binary file
|