soar-authentication-identity 0.0.3 → 0.0.4

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: dd63186e2e111e388f77b75ee26c8a6ad7f3ad53
4
- data.tar.gz: b4371252fb201b45d1ee376becf04f3b7ee764ff
3
+ metadata.gz: d09d351f81f95fcf888670bb84a842c5f8b50a11
4
+ data.tar.gz: 51f85731282feaa517637f3682bdbc45cf4f04b1
5
5
  SHA512:
6
- metadata.gz: 5fec6812042d56be91618783df2a0a70443806f7c235541dac6ffa083a305065692126236348df5b91682005f6d3e8efd0f1cd9ab9c64797eb4af17258098888
7
- data.tar.gz: 727d9ded2e75656b3decce1c203cfa52201273df265305d9630305e82c7d61deebf2d69c92013ac3ea00175a6c0ea0f0c2a9e22d28e68886dd5ee121bdae45a3
6
+ metadata.gz: 043a70f535c62f941bc8f99ce504fb73a90b782d50db798c04449b9ad988a0094a0e0bf14869162fd49ce23f67844ef8c6e0dc9281c42c08c8122f1a7e74ec2e
7
+ data.tar.gz: ce26f4e84c8a95113106a2a76dedbb98ee023dd595b20adea3b8e0fa47f8571503f4645ed82be474d4f65efc5f979b273bd44f8ef88366bd1cf60fc6331e6aca
data/.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "soar-authentication-identity"
3
- spec.version = "0.0.3"
3
+ spec.version = "0.0.4"
4
4
  spec.authors = ["Charles Mulder"]
5
5
  spec.email = ["charles.mulder@hetzner.co.za"]
6
6
 
data/README.md CHANGED
@@ -13,7 +13,7 @@ Example using the factory.
13
13
  authenticated_identifier: 'test@hetzner.co.za',
14
14
  directory_configurations: {
15
15
  "staff" => {
16
- "provider" => 'Soar::Registry::Directory::Provider::Stub',
16
+ "class" => 'Soar::Registry::Directory::Provider::Stub',
17
17
  "config" => {
18
18
  "table" => "identity",
19
19
  "primary_key" =>"uuid",
@@ -27,7 +27,7 @@ module Soar
27
27
  # @raise [KeyError] if config is missing provider and config keys
28
28
  ##
29
29
  def self.get_directory(config)
30
- provider_class = Object.const_get(config.fetch('provider'))
30
+ provider_class = Object.const_get(config.fetch('class'))
31
31
  provider = provider_class.new(config.fetch('config').symbolize_keys)
32
32
  Soar::Registry::Directory.new(provider)
33
33
  end
@@ -17,7 +17,7 @@ module Soar
17
17
  authenticated_identifier: @entry["email"],
18
18
  directory_configurations: {
19
19
  "staff" => {
20
- "provider" => 'Soar::Registry::Directory::Provider::Stub',
20
+ "class" => 'Soar::Registry::Directory::Provider::Stub',
21
21
  "config" => {
22
22
  "table" => "identity",
23
23
  "primary_key" =>"uuid",
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: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Mulder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-08 00:00:00.000000000 Z
11
+ date: 2016-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: soar-registry-identity