motor-admin 0.2.86 → 0.2.89

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: 66662fd858549aae454abda8d2a3f7b033263d95f24f9be49f6d556affbce2b7
4
- data.tar.gz: 2600474115778fe4b20329ef6318c4ad5acba15127e6c06405cb5465a6bcfc45
3
+ metadata.gz: 337b736781c2ac74bdf1e7e4ad54b838cc9030f8bcce3ec4c15744038a2347c0
4
+ data.tar.gz: e2dbb1d836fbce40deed1e37bd3f1524cfaef011c54baf467343b5c6e097d0e5
5
5
  SHA512:
6
- metadata.gz: ef4fbaa29b7a180e4d1654147fb339d3cee60c6be1af09a33fc96e31fc3f5f4ecf274827b001b53aa88e6898b58f02fad28f454eeb0607f79396bc4d19cf9a93
7
- data.tar.gz: ea77d31c186b8ca9c9472b131fd91e2518e67f6f223c72f4de9c90ede4e00108382056bc2677bf1cc52b616bf7f4953b9c330fca89cb2a0ef66ffc7f1e3e9fcc
6
+ metadata.gz: 2146f8f28919b4f20572d37f36bffdccb0093f63fb5b0780f8aa009661aeb40158fdf4faac23a487d6067363b4f4e0308fb8abab198800552a55c862ad57fefe
7
+ data.tar.gz: fbe70524996f58be5aca02c32659c9c9b80aed952422fa8e5ab49ce10226ca4a81b223a4c47639aeb14f9b30e1b09e57474e84362219f85c95f248189a53c832
data/README.md CHANGED
@@ -1,8 +1,13 @@
1
- # ⚡ Motor Admin ⚡
1
+ <div align="center">
2
+
3
+ [![Motor Admin](https://user-images.githubusercontent.com/5418788/140520844-a947845d-b579-4b3f-9b49-c539ad3cf580.png)](https://www.getmotoradmin.com)
4
+
5
+ # Motor Admin
2
6
 
3
7
  Low-code Admin panel and Business intelligence Rails engine **(no DSL - configurable from the UI)**.
4
8
 
5
- 🤓 [Demo App](https://motor-admin.herokuapp.com/demo) | 👀 [Features overview](https://www.youtube.com/watch?v=ngVoci8Hll4&list=PLu7llEMh0KcOkR3Uy_RJT0cXPZQKAYVsq&index=1) | ⭐ [Pro](https://www.getmotoradmin.com/pro)
9
+ 🤓 [Demo App](https://motor-admin.herokuapp.com/demo) | 👀 [Features overview](https://www.youtube.com/watch?v=ngVoci8Hll4&list=PLu7llEMh0KcOkR3Uy_RJT0cXPZQKAYVsq&index=1) | ⭐ [Pro](https://www.getmotoradmin.com/rails)
10
+ </div>
6
11
 
7
12
  [![Admin Panel](https://user-images.githubusercontent.com/5418788/119318538-1f30e300-bc82-11eb-94a4-107c31c93b13.png)](https://motor-admin.herokuapp.com/demo)
8
13
 
@@ -40,18 +45,17 @@ $ rails motor:install && rake db:migrate
40
45
  * [Configurations sync between environments](#configurations-sync)
41
46
  * [Authentication](#authentication)
42
47
 
43
- ## [Pro](https://www.getmotoradmin.com/pro)
48
+ ## [Pro](https://www.getmotoradmin.com/rails)
44
49
 
45
50
  * Multiple databases support
46
51
  * Audit log
47
- * Live collaboration
52
+ * Live collaboration notes
48
53
  * Multi-factor authentication
49
54
  * Custom styling
50
55
  * Personalized report alerts via Slack
51
56
  * Full-text search
52
- * Stripe integration
53
57
  * Shareable forms and reports
54
- * [learn more](https://www.getmotoradmin.com/pro)
58
+ * [learn more](https://www.getmotoradmin.com/rails)
55
59
 
56
60
  ### Customizable CRUD
57
61
 
@@ -14,6 +14,7 @@ module Motor
14
14
  '.js' => 'application/javascript',
15
15
  '.css' => 'text/css',
16
16
  '.svg' => 'image/svg+xml',
17
+ '.png' => 'image/png',
17
18
  '.woff2' => 'font/woff2'
18
19
  }.freeze
19
20
 
@@ -310,6 +310,7 @@ el:
310
310
  total: Total
311
311
  radar_chart: Radar chart
312
312
  show_on_table: Show on table
313
+ map: Map
313
314
  i:
314
315
  locale: el
315
316
  select:
@@ -315,3 +315,4 @@ en:
315
315
  total: Total
316
316
  radar_chart: Radar chart
317
317
  show_on_table: Show on table
318
+ map: Map
@@ -310,6 +310,7 @@ es:
310
310
  total: Total
311
311
  radar_chart: Radar chart
312
312
  show_on_table: Show on table
313
+ map: Map
313
314
  i:
314
315
  locale: es
315
316
  select:
@@ -306,6 +306,7 @@ pt:
306
306
  total: Total
307
307
  radar_chart: Radar chart
308
308
  show_on_table: Show on table
309
+ map: Map
309
310
  i:
310
311
  locale: pt
311
312
  select:
@@ -3,7 +3,7 @@
3
3
  module Motor
4
4
  module ApiQuery
5
5
  module Search
6
- STRING_COLUMN_TYPES = %i[text string].freeze
6
+ STRING_COLUMN_TYPES = %i[text string citext].freeze
7
7
  NUMBER_COLUMN_TYPES = %i[integer float].freeze
8
8
 
9
9
  module_function
@@ -35,11 +35,11 @@ module Motor
35
35
  if STRING_COLUMN_TYPES.include?(column_type)
36
36
  arel_table[name].matches("%#{keyword}%")
37
37
  elsif NUMBER_COLUMN_TYPES.include?(column_type)
38
- arel_table[name].eq(keyword.to_f)
38
+ arel_table[name].eq(keyword.to_f) if keyword.match?(/\A\d/)
39
39
  else
40
40
  arel_table[name].eq(keyword)
41
41
  end
42
- end
42
+ end.compact
43
43
  end
44
44
 
45
45
  def build_arel_or_query(filter_array)
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.86'
4
+ VERSION = '0.2.89'
5
5
  end
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -3961,9 +3961,14 @@
3961
3961
  "icons/zoom-pan.svg.gz": "icons/zoom-pan.svg.gz",
3962
3962
  "icons/zoom-question.svg": "icons/zoom-question.svg",
3963
3963
  "icons/zoom-question.svg.gz": "icons/zoom-question.svg.gz",
3964
- "main-4c76abb31aa349c0fa20.css.gz": "main-4c76abb31aa349c0fa20.css.gz",
3965
- "main-4c76abb31aa349c0fa20.js.LICENSE.txt": "main-4c76abb31aa349c0fa20.js.LICENSE.txt",
3966
- "main-4c76abb31aa349c0fa20.js.gz": "main-4c76abb31aa349c0fa20.js.gz",
3967
- "main.css": "main-4c76abb31aa349c0fa20.css",
3968
- "main.js": "main-4c76abb31aa349c0fa20.js"
3964
+ "images/layers-2x.png": "images/layers-2x.png",
3965
+ "images/layers.png": "images/layers.png",
3966
+ "images/marker-icon-2x.png": "images/marker-icon-2x.png",
3967
+ "images/marker-icon.png": "images/marker-icon.png",
3968
+ "images/marker-shadow.png": "images/marker-shadow.png",
3969
+ "main-9ab802172cd28dcc3df6.css.gz": "main-9ab802172cd28dcc3df6.css.gz",
3970
+ "main-9ab802172cd28dcc3df6.js.LICENSE.txt": "main-9ab802172cd28dcc3df6.js.LICENSE.txt",
3971
+ "main-9ab802172cd28dcc3df6.js.gz": "main-9ab802172cd28dcc3df6.js.gz",
3972
+ "main.css": "main-9ab802172cd28dcc3df6.css",
3973
+ "main.js": "main-9ab802172cd28dcc3df6.js"
3969
3974
  }
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.86
4
+ version: 0.2.89
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-07-09 00:00:00.000000000 Z
11
+ date: 2022-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-filter
@@ -2214,8 +2214,13 @@ files:
2214
2214
  - ui/dist/icons/zoom-out.svg.gz
2215
2215
  - ui/dist/icons/zoom-pan.svg.gz
2216
2216
  - ui/dist/icons/zoom-question.svg.gz
2217
- - ui/dist/main-4c76abb31aa349c0fa20.css.gz
2218
- - ui/dist/main-4c76abb31aa349c0fa20.js.gz
2217
+ - ui/dist/images/layers-2x.png
2218
+ - ui/dist/images/layers.png
2219
+ - ui/dist/images/marker-icon-2x.png
2220
+ - ui/dist/images/marker-icon.png
2221
+ - ui/dist/images/marker-shadow.png
2222
+ - ui/dist/main-9ab802172cd28dcc3df6.css.gz
2223
+ - ui/dist/main-9ab802172cd28dcc3df6.js.gz
2219
2224
  - ui/dist/manifest.json
2220
2225
  homepage:
2221
2226
  licenses:
@@ -2226,9 +2231,10 @@ metadata:
2226
2231
  source_code_uri: https://github.com/motor-admin/motor-admin-rails
2227
2232
  documentation_uri: https://github.com/motor-admin/motor-admin-rails/tree/master/guides
2228
2233
  rubygems_mfa_required: 'true'
2229
- post_install_message: "\n ==================\n Run `rails g motor:upgrade &&
2230
- rake db:migrate`\n to perform data migration and enable the latest features'\n
2231
- \ ==================\n "
2234
+ post_install_message: "\n ==================\n Run `rails g motor:install &&
2235
+ rake db:migrate`\n to configure and start using Motor Admin\n\n Run `rails
2236
+ g motor:upgrade && rake db:migrate`\n to perform data migration and enable the
2237
+ latest features\n ==================\n "
2232
2238
  rdoc_options: []
2233
2239
  require_paths:
2234
2240
  - lib