motor-admin 0.2.82 → 0.2.83

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: b6bb267f8a1b95c26fb3287b0de89b0fe1bac61a7c8b40bb4a14e94e13307b51
4
+ data.tar.gz: 47a405ff506d4ae274e3089b693d53dfdb28e1a93cb46bb5d6579bdf0dd4a7b8
5
5
  SHA512:
6
- metadata.gz: 317b043c335148f596b8546e86a10f6617ae7051808957d75eb5cead20098ddc71f21b24e811e8363d2f15b1dd5fffa9195bd8bc05a7d2aafb1044bd1e2c5fa3
7
- data.tar.gz: efae47873a4cfc175cc40229bec7c658c584505802c56e06c5ed7ec58990093051849901ec262adaf5f088c778ceb1f77923a0349fad3abee0426c5acc38bb7b
6
+ metadata.gz: b3e9d5f0f4ea651f781788d468a4752e7be48524d94289f6d8155382f053971c043a3e1dfdba8eff243bfc7101953c871bed4a19676ba0ac54291e526fa26164
7
+ data.tar.gz: 862f4c50d07d9a57fd993c9a1edcae55ae9c98deb6cc108e23d78a7a9809cbc385bf44f5e4b75f77639e48cbb7ab8cd7a8bcaafce25e440396a887eb7ec92318
@@ -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,7 @@ el:
308
308
  send_file_url: Send file URL
309
309
  rating: Rating
310
310
  total: Total
311
+ radar_chart: Radar chart
311
312
  i:
312
313
  locale: el
313
314
  select:
@@ -313,3 +313,4 @@ en:
313
313
  send_file_url: Send file URL
314
314
  rating: Rating
315
315
  total: Total
316
+ radar_chart: Radar chart
@@ -308,6 +308,7 @@ es:
308
308
  send_file_url: Send file URL
309
309
  rating: Rating
310
310
  total: Total
311
+ radar_chart: Radar chart
311
312
  i:
312
313
  locale: es
313
314
  select:
@@ -304,6 +304,7 @@ pt:
304
304
  send_file_url: Send file URL
305
305
  rating: Rating
306
306
  total: Total
307
+ radar_chart: Radar chart
307
308
  i:
308
309
  locale: pt
309
310
  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.83'
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-cccd6dc032d7d5255cf4.css.gz": "main-cccd6dc032d7d5255cf4.css.gz",
3965
+ "main-cccd6dc032d7d5255cf4.js.LICENSE.txt": "main-cccd6dc032d7d5255cf4.js.LICENSE.txt",
3966
+ "main-cccd6dc032d7d5255cf4.js.gz": "main-cccd6dc032d7d5255cf4.js.gz",
3967
+ "main.css": "main-cccd6dc032d7d5255cf4.css",
3968
+ "main.js": "main-cccd6dc032d7d5255cf4.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.83
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-07 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-cccd6dc032d7d5255cf4.css.gz
2218
+ - ui/dist/main-cccd6dc032d7d5255cf4.js.gz
2219
2219
  - ui/dist/manifest.json
2220
2220
  homepage:
2221
2221
  licenses: