motor-admin 0.2.81 → 0.2.84

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: da078ff1a768cfd840bc95b76b6a4c3697e5eeca215d83623e1b72f05ebd3058
4
- data.tar.gz: 5b322fdd899e6cbf80fa727afcb730a303703e0698f7b428b0766d354a32ea93
3
+ metadata.gz: 406c4b467e119c4d7ee24df7757aaf22a337e169e87d7c33f83eb38861b66381
4
+ data.tar.gz: 67cf069a4167e8e83f3cd375357669f09e4b260607e703dbf4556577130b7747
5
5
  SHA512:
6
- metadata.gz: 3d1f8bad1cf1f199de4f075bb48aa71a93a0dc677dd6c2b88397af664f5e3821f1a7335e86f0c6d6a2bb10d65feeab52c1ac25aff50f7b8da44e404f3e8cd030
7
- data.tar.gz: b7a47b541405b70e8294de701c0a35e77be21506e348ed60527480301add81dab8126ff7eeeee2bffef7a430ec9008eefa32765667622d7ef5e715df4768979a
6
+ metadata.gz: c5107b46ca226397adccb03a9a17bd59fa1af1fce93277d67ebfbd5b4e4dd294198c724ff1a083da589fc0e8c696f7bf70f64d5a7402ec16dce8035e0b29ed87
7
+ data.tar.gz: 980e055008d374f1ee15584a409f4a92ddbae76a9f8864b2cf3c69662c4e66ef0938958112df8199bc5b718d6111da0005a8879a4619752287e188c638061b5b
@@ -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.81'
4
+ VERSION = '0.2.84'
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-debd2ed9f328fcea487c.css.gz": "main-debd2ed9f328fcea487c.css.gz",
3965
- "main-debd2ed9f328fcea487c.js.LICENSE.txt": "main-debd2ed9f328fcea487c.js.LICENSE.txt",
3966
- "main-debd2ed9f328fcea487c.js.gz": "main-debd2ed9f328fcea487c.js.gz",
3967
- "main.css": "main-debd2ed9f328fcea487c.css",
3968
- "main.js": "main-debd2ed9f328fcea487c.js"
3964
+ "main-e368e8b2f88f0a818296.css.gz": "main-e368e8b2f88f0a818296.css.gz",
3965
+ "main-e368e8b2f88f0a818296.js.LICENSE.txt": "main-e368e8b2f88f0a818296.js.LICENSE.txt",
3966
+ "main-e368e8b2f88f0a818296.js.gz": "main-e368e8b2f88f0a818296.js.gz",
3967
+ "main.css": "main-e368e8b2f88f0a818296.css",
3968
+ "main.js": "main-e368e8b2f88f0a818296.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.81
4
+ version: 0.2.84
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-debd2ed9f328fcea487c.css.gz
2218
- - ui/dist/main-debd2ed9f328fcea487c.js.gz
2217
+ - ui/dist/main-e368e8b2f88f0a818296.css.gz
2218
+ - ui/dist/main-e368e8b2f88f0a818296.js.gz
2219
2219
  - ui/dist/manifest.json
2220
2220
  homepage:
2221
2221
  licenses: