thecore_auth_commons 3.5.15 → 3.6.0
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 +4 -4
- data/lib/thecore_auth_commons/version.rb +1 -1
- metadata +11 -6
- data/app/models/concerns/endpoints/ldap_server.rb +0 -78
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b77d8d01f744d28bf89e6901dc7061352926f7f70e386cdd77b90267d7665dfd
|
|
4
|
+
data.tar.gz: f9b35c8d3983fe50ac88d0ac1e73fa61e35f5b592fbe88bfbdaaf8aaab45dd91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad45aad725755827751f9f78588cf7ccc1567f89a07eb1309b6d7c286e3e64e7975725c2b730435c08087026859689bea47bc37888e8c6aa4191fe0a99310e2e
|
|
7
|
+
data.tar.gz: 5853e1509cbd870f63e5e4a2d02c7ab7bd2fe61552760187dcf695306b2d04f27c3a46882f9e4e9cf8166727842736cd8ac7baedb8ff1f5bfeb7fa7f390dd7f0
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thecore_auth_commons
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabriele Tassoni
|
|
@@ -69,16 +69,22 @@ dependencies:
|
|
|
69
69
|
name: devise
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
|
-
- - "
|
|
72
|
+
- - ">="
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: 5.0.4
|
|
75
|
+
- - "<"
|
|
73
76
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: '
|
|
77
|
+
version: '6'
|
|
75
78
|
type: :runtime
|
|
76
79
|
prerelease: false
|
|
77
80
|
version_requirements: !ruby/object:Gem::Requirement
|
|
78
81
|
requirements:
|
|
79
|
-
- - "
|
|
82
|
+
- - ">="
|
|
83
|
+
- !ruby/object:Gem::Version
|
|
84
|
+
version: 5.0.4
|
|
85
|
+
- - "<"
|
|
80
86
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: '
|
|
87
|
+
version: '6'
|
|
82
88
|
- !ruby/object:Gem::Dependency
|
|
83
89
|
name: cancancan
|
|
84
90
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -268,7 +274,6 @@ files:
|
|
|
268
274
|
- app/jobs/background_ldap_import_job.rb
|
|
269
275
|
- app/models/action.rb
|
|
270
276
|
- app/models/concerns/api/ldap_server.rb
|
|
271
|
-
- app/models/concerns/endpoints/ldap_server.rb
|
|
272
277
|
- app/models/concerns/rails_admin/ldap_server.rb
|
|
273
278
|
- app/models/ldap_server.rb
|
|
274
279
|
- app/models/permission.rb
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
class Endpoints::LdapServer < NonCrudEndpoints
|
|
2
|
-
# self.desc 'LdapServer', :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
|