thecore_ui_rails_admin 3.8.5 → 3.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3cce655cf01d79276de58536e3ad7117adb4b4644d9053169d54dcc70b9a199
|
|
4
|
+
data.tar.gz: 01fc2c2453ca170b3e5a7eb04144418bc14e065f2597a4977c3d9139cca73893
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e44c022e4fa8eeea666e41f435eb7d4089f4b8be9e5b7d4ecf088be0655ae3521fb55cf90adad1a84efdfd705724f7d14dec8fdfc42ec651b4a76a032cc8c4d4
|
|
7
|
+
data.tar.gz: 79dadd4cebcf8a010bbb0c835e5fc22d3556a9c01aacadea57a6a18e452a653dcbbadf1d2526496552959a3e34584081fe8348b98deb26b06610d187ce12930e
|
|
@@ -12,7 +12,7 @@ module Api::UserPreference
|
|
|
12
12
|
# - methods: include the result of some method defined in the model
|
|
13
13
|
# - include: include associated models, it's an object {} which also accepts the keys described here
|
|
14
14
|
cattr_accessor :json_attrs
|
|
15
|
-
self.json_attrs = ::
|
|
15
|
+
self.json_attrs = ::ThecoreBackendCommons.smart_merge (json_attrs || {}), {}
|
|
16
16
|
|
|
17
17
|
# Custom action callable by the API must be defined in /app/models/concerns/endpoints/
|
|
18
18
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thecore_ui_rails_admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.8.
|
|
4
|
+
version: 3.8.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabriele Tassoni
|
|
@@ -57,14 +57,14 @@ dependencies:
|
|
|
57
57
|
requirements:
|
|
58
58
|
- - ">="
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: '3.
|
|
60
|
+
version: '3.8'
|
|
61
61
|
type: :runtime
|
|
62
62
|
prerelease: false
|
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
65
|
- - ">="
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: '3.
|
|
67
|
+
version: '3.8'
|
|
68
68
|
description: Holds all base dependencies and configurations to have a thecore integrated
|
|
69
69
|
with Rails Admin.
|
|
70
70
|
email:
|
|
@@ -109,7 +109,6 @@ files:
|
|
|
109
109
|
- app/assets/stylesheets/rails_admin/custom/theming.scss
|
|
110
110
|
- app/assets/stylesheets/rails_admin/custom/variables.scss
|
|
111
111
|
- app/models/concerns/api/user_preference.rb
|
|
112
|
-
- app/models/concerns/endpoints/user_preference.rb
|
|
113
112
|
- app/models/concerns/rails_admin/user_preference.rb
|
|
114
113
|
- app/models/saved_filter.rb
|
|
115
114
|
- app/models/user_preference.rb
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
class Endpoints::UserPreference < NonCrudEndpoints
|
|
2
|
-
# self.desc 'UserPreference', :test, {
|
|
3
|
-
# # Define the action name using openapi swagger format
|
|
4
|
-
# get: {
|
|
5
|
-
# summary: "Test API Custom Action",
|
|
6
|
-
# description: "This is a test API custom action",
|
|
7
|
-
# operationId: "test",
|
|
8
|
-
# tags: ["Test"],
|
|
9
|
-
# parameters: [
|
|
10
|
-
# {
|
|
11
|
-
# name: "explain",
|
|
12
|
-
# in: "query",
|
|
13
|
-
# description: "Explain the action by returning this openapi schema",
|
|
14
|
-
# required: true,
|
|
15
|
-
# schema: {
|
|
16
|
-
# type: "boolean"
|
|
17
|
-
# }
|
|
18
|
-
# }
|
|
19
|
-
# ],
|
|
20
|
-
# responses: {
|
|
21
|
-
# 200 => {
|
|
22
|
-
# description: "The openAPI json schema for this action",
|
|
23
|
-
# content: {
|
|
24
|
-
# "application/json": {
|
|
25
|
-
# schema: {
|
|
26
|
-
# type: "object",
|
|
27
|
-
# additionalProperties: true
|
|
28
|
-
# }
|
|
29
|
-
# }
|
|
30
|
-
# }
|
|
31
|
-
# },
|
|
32
|
-
# 501 => {
|
|
33
|
-
# error: :string,
|
|
34
|
-
# }
|
|
35
|
-
# }
|
|
36
|
-
# },
|
|
37
|
-
# post: {
|
|
38
|
-
# summary: "Test API Custom Action",
|
|
39
|
-
# description: "This is a test API custom action",
|
|
40
|
-
# operationId: "test",
|
|
41
|
-
# tags: ["Test"],
|
|
42
|
-
# requestBody: {
|
|
43
|
-
# required: true,
|
|
44
|
-
# content: {
|
|
45
|
-
# "application/json": {}
|
|
46
|
-
# }
|
|
47
|
-
# },
|
|
48
|
-
# responses: {
|
|
49
|
-
# 200 => {
|
|
50
|
-
# description: "The openAPI json schema for this action",
|
|
51
|
-
# # This will return the object with a message string and a params object
|
|
52
|
-
# content: {
|
|
53
|
-
# "application/json": {
|
|
54
|
-
# schema: {
|
|
55
|
-
# type: "object",
|
|
56
|
-
# properties: {
|
|
57
|
-
# message: {
|
|
58
|
-
# type: "string"
|
|
59
|
-
# },
|
|
60
|
-
# params: {
|
|
61
|
-
# type: "object",
|
|
62
|
-
# additionalProperties: true
|
|
63
|
-
# }
|
|
64
|
-
# }
|
|
65
|
-
# }
|
|
66
|
-
# }
|
|
67
|
-
# }
|
|
68
|
-
# },
|
|
69
|
-
# 501 => {
|
|
70
|
-
# error: :string,
|
|
71
|
-
# }
|
|
72
|
-
# }
|
|
73
|
-
# }
|
|
74
|
-
# }
|
|
75
|
-
# def test(params)
|
|
76
|
-
# return { message: "Hello World From Test API Custom Action called test", params: params }, 200
|
|
77
|
-
# end
|
|
78
|
-
end
|