soar-authentication-identity 1.0.0 → 2.0.0

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
  SHA1:
3
- metadata.gz: d0c10321d30cb51dff6520b6593a11f12a3aa6fa
4
- data.tar.gz: a2e413006c1fbede1b6b91ca6a0b02f0ff348fbf
3
+ metadata.gz: 97c6c17fe0a4a822799d760e26e9fe2d2e8ee8b2
4
+ data.tar.gz: 28c2df138f72fa65448b3d46fc136c9b4f42f6a2
5
5
  SHA512:
6
- metadata.gz: a9cf1b43cdb354c07683908a1c84803875126f2c147e2debecb4c94ac547fa42fa0a13b091436bd1b16e5de18b74bd02a336a7c66cf8f1fcf6b9ea4eab74c01b
7
- data.tar.gz: ddbde62e2d3cf33e17cd33586d8bf51d4b723ab755646249f9719c2797599e773ec12243800e807842cf6470bf66780d7eec4f0e0ecf4e005d88e894ad7d9361
6
+ metadata.gz: 6475f142795c9effe3b40bc4147a95d7eb81edb8157c514346f2a43015e0c9e1952ded9dcde51937f103b611bf675f7d88d23e9bfc736411235974529d5f1e91
7
+ data.tar.gz: acf343274730a6030cdbe5a6d1bda1903da2262710a2ee777ac99cc1d2d7b25d9c3b3edc3e23f5a7231d47f16f90ce656ed942853688af52458c93ff584157d9
data/.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "soar-authentication-identity"
3
- spec.version = "1.0.0"
3
+ spec.version = "2.0.0"
4
4
  spec.authors = ["Charles Mulder"]
5
5
  spec.email = ["charles.mulder@hetzner.co.za"]
6
6
 
@@ -10,5 +10,5 @@ Gem::Specification.new do |spec|
10
10
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
11
11
  spec.require_paths = ["lib"]
12
12
 
13
- spec.add_runtime_dependency 'soar-registry-identity', '~> 1.0.2'
13
+ spec.add_runtime_dependency 'soar-registry-identity', '~> 2.0.0'
14
14
  end
data/README.md CHANGED
@@ -12,15 +12,15 @@ Example using the factory.
12
12
  > identity = Soar::Authentication::Identity::Factory.create({
13
13
  authenticated_identifier: 'test@hetzner.co.za',
14
14
  directory_configurations: {
15
- "staff" => {
15
+ staff: {
16
16
  "class" => 'Soar::Registry::Directory::Provider::Stub',
17
17
  "config" => {
18
18
  table: "identity",
19
19
  index: ["uuid", "email"]
20
20
  }
21
21
  },
22
- "customer" => {},
23
- "domain" => {}
22
+ customer: {},
23
+ domain: {}
24
24
  }
25
25
  })
26
26
  > puts identity.uuid
@@ -2,8 +2,8 @@ class: 'Soar::Registry::Directory::Provider::Ldap'
2
2
  config:
3
3
  base: 'dc=hetzner,dc=co,dc=za'
4
4
  index:
5
- - :entryuuid
6
- - :mail
5
+ - 'entryuuid'
6
+ - 'mail'
7
7
  config:
8
8
  host: 'ldap'
9
9
  port: 389
@@ -2,8 +2,8 @@ class: 'Soar::Registry::Directory::Provider::Ldap'
2
2
  config:
3
3
  base: 'dc=hetzner,dc=co,dc=za'
4
4
  index:
5
- - :entryuuid
6
- - :mail
5
+ - 'entryuuid'
6
+ - 'mail'
7
7
  config:
8
8
  host: 'localhost'
9
9
  port: 389
@@ -4,7 +4,6 @@ services:
4
4
  image: nickstenning/slapd
5
5
  expose:
6
6
  - "389"
7
- container_name: soar-authentication-identity-provider-staff-ldap
8
7
  environment:
9
8
  - LDAP_DOMAIN=hetzner.co.za
10
9
  - LDAP_ORGANIZATION=Hetzner
@@ -13,8 +12,6 @@ services:
13
12
  tests:
14
13
  build:
15
14
  context: .
16
- image: soar-authentication-identity-provider-staff
17
- container_name: soar-authentication-identity-provider-staff
18
15
  links:
19
16
  - ldap
20
17
  environment:
@@ -3,8 +3,6 @@ services:
3
3
  tests:
4
4
  build:
5
5
  context: .
6
- image: soar-authentication-identity-provider-stub
7
- container_name: soar-authentication-identity-provider-stub
8
6
  environment:
9
7
  - TEST_ORCHESTRATION_PROVIDER=Stub
10
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar-authentication-identity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Mulder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-09 00:00:00.000000000 Z
11
+ date: 2017-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: soar-registry-identity
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.2
19
+ version: 2.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.2
26
+ version: 2.0.0
27
27
  description:
28
28
  email:
29
29
  - charles.mulder@hetzner.co.za