motor-admin 0.2.82 → 0.2.85

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: eef552e9fd6d300208e5102f18b6a1a20807af50fe5fde1c3d6a989b8e70f6a5
4
- data.tar.gz: 4e50cc4c81956407e070d7fa4f9fe72c3c392d9499d473bd79d56e4fb8be7738
3
+ metadata.gz: d7ba1d19de2467656ed0efb08b9b405f6dd564aec7d0f65af0a41757c6b16aac
4
+ data.tar.gz: 8aea07b93dfc908385da59e8323a9847ff6e1bd3e4ffd711708ee1229424629a
5
5
  SHA512:
6
- metadata.gz: 317b043c335148f596b8546e86a10f6617ae7051808957d75eb5cead20098ddc71f21b24e811e8363d2f15b1dd5fffa9195bd8bc05a7d2aafb1044bd1e2c5fa3
7
- data.tar.gz: efae47873a4cfc175cc40229bec7c658c584505802c56e06c5ed7ec58990093051849901ec262adaf5f088c778ceb1f77923a0349fad3abee0426c5acc38bb7b
6
+ metadata.gz: 14e1d08856f2f3490684e2c7cf98737d7cc10cd644f0ee27710419959cbb1f82aed28566644b8b5909aa89f1ca941c8b172fca7f9dd22c71f71592696437abcc
7
+ data.tar.gz: 3363b2d9f9f064d0401651755e701346812a1c1f870b1342c96d13061bd47dff3c8ad79cf22c5053ab4d61e64539cb960d8aaded43e48a3b6f2ddf13a5cb35a6
@@ -4,6 +4,13 @@ module Motor
4
4
  class SessionsController < ApiBaseController
5
5
  skip_authorization_check
6
6
 
7
+ def show
8
+ render json: {
9
+ current_user_email: current_user&.email,
10
+ current_user_id: current_user&.id
11
+ }
12
+ end
13
+
7
14
  def destroy
8
15
  session.clear
9
16
 
@@ -308,6 +308,8 @@ el:
308
308
  send_file_url: Send file URL
309
309
  rating: Rating
310
310
  total: Total
311
+ radar_chart: Radar chart
312
+ show_on_table: Show on table
311
313
  i:
312
314
  locale: el
313
315
  select:
@@ -313,3 +313,5 @@ en:
313
313
  send_file_url: Send file URL
314
314
  rating: Rating
315
315
  total: Total
316
+ radar_chart: Radar chart
317
+ show_on_table: Show on table
@@ -308,6 +308,8 @@ es:
308
308
  send_file_url: Send file URL
309
309
  rating: Rating
310
310
  total: Total
311
+ radar_chart: Radar chart
312
+ show_on_table: Show on table
311
313
  i:
312
314
  locale: es
313
315
  select:
@@ -304,6 +304,8 @@ pt:
304
304
  send_file_url: Send file URL
305
305
  rating: Rating
306
306
  total: Total
307
+ radar_chart: Radar chart
308
+ show_on_table: Show on table
307
309
  i:
308
310
  locale: pt
309
311
  select:
data/config/routes.rb CHANGED
@@ -22,7 +22,7 @@ Motor::Admin.routes.draw do
22
22
  resources :icons, only: %i[index]
23
23
  resources :active_storage_attachments, only: %i[create], path: 'data/active_storage__attachments'
24
24
  resources :audits, only: %i[index]
25
- resource :session, only: %i[destroy]
25
+ resource :session, only: %i[show destroy]
26
26
  resources :resources, path: '/data/:resource',
27
27
  only: %i[index show update create destroy],
28
28
  controller: 'data',
@@ -121,7 +121,6 @@ module Motor
121
121
  reference = column[:reference]
122
122
 
123
123
  next if reference.blank?
124
- next unless reference[:virtual]
125
124
 
126
125
  if reference[:reference_type] == 'belongs_to'
127
126
  define_belongs_to_reflection(klass, reference)
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.82'
4
+ VERSION = '0.2.85'
5
5
  end
@@ -3961,9 +3961,9 @@
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-4792ed0966f9c3dc4198.css.gz": "main-4792ed0966f9c3dc4198.css.gz",
3965
- "main-4792ed0966f9c3dc4198.js.LICENSE.txt": "main-4792ed0966f9c3dc4198.js.LICENSE.txt",
3966
- "main-4792ed0966f9c3dc4198.js.gz": "main-4792ed0966f9c3dc4198.js.gz",
3967
- "main.css": "main-4792ed0966f9c3dc4198.css",
3968
- "main.js": "main-4792ed0966f9c3dc4198.js"
3964
+ "main-0ac59c67cb7b91820288.css.gz": "main-0ac59c67cb7b91820288.css.gz",
3965
+ "main-0ac59c67cb7b91820288.js.LICENSE.txt": "main-0ac59c67cb7b91820288.js.LICENSE.txt",
3966
+ "main-0ac59c67cb7b91820288.js.gz": "main-0ac59c67cb7b91820288.js.gz",
3967
+ "main.css": "main-0ac59c67cb7b91820288.css",
3968
+ "main.js": "main-0ac59c67cb7b91820288.js"
3969
3969
  }
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.82
4
+ version: 0.2.85
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-06-29 00:00:00.000000000 Z
11
+ date: 2022-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-filter
@@ -2214,8 +2214,8 @@ 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-4792ed0966f9c3dc4198.css.gz
2218
- - ui/dist/main-4792ed0966f9c3dc4198.js.gz
2217
+ - ui/dist/main-0ac59c67cb7b91820288.css.gz
2218
+ - ui/dist/main-0ac59c67cb7b91820288.js.gz
2219
2219
  - ui/dist/manifest.json
2220
2220
  homepage:
2221
2221
  licenses: