soar_sc_routing 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soar_sc_routing/router_meta.rb +4 -0
- data/lib/soar_sc_routing/version.rb +1 -1
- data/soar_sc_routing.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bb5b77df2fb8f3b1a5352c9abce94530bb34a4d
|
4
|
+
data.tar.gz: 43176feaf8552a434ca11b645d73e404305ac0b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1167b8da800031cda89b3bc39d6a9d0a4f6bfc2abac6ddf25c91c0286a4eb9378e1ae29179b03d5eff36096b8043d0b7a846bc7841f9462970bba556363c61b
|
7
|
+
data.tar.gz: 7117035eb57ccd0b878880209477d99922ff92c4cd162b2870325c5f6d4a96aff812fa3364897c103e965cf828b091bca619b724b40444879e6b8423a42b143f
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'json'
|
2
|
+
require 'soar/authorization/access_manager'
|
2
3
|
require 'soar_authorization'
|
3
4
|
require 'jsender'
|
4
5
|
require 'soar_aspects'
|
@@ -31,6 +32,9 @@ module SoarScRouting
|
|
31
32
|
end
|
32
33
|
|
33
34
|
def access_manager
|
35
|
+
# TODO: Remove coupling to SoarSc::service_registry
|
36
|
+
provider = Soar::Authorization::AccessManager::Provider::ServiceRegistry.new(SoarSc::service_registry)
|
37
|
+
@policy_am ||= Soar::Authorization::AccessManager.new(provider)
|
34
38
|
@policy_am
|
35
39
|
end
|
36
40
|
|
data/soar_sc_routing.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soar_sc_routing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ernst Van Graan
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.1.7
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: soar-authorization-access_manager
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.0.1
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.0.1
|
55
69
|
description: base router and router meta library for soar_sc
|
56
70
|
email:
|
57
71
|
- ernst.van.graan@hetzner.co.za
|