soar-registry-directory 2.0.1 → 3.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: f8fc37329cb604910b73547c7fca3ad7fe6f39ff
4
- data.tar.gz: de37ddcb439fe8fbafb8a9395eb5bc32b69507d4
3
+ metadata.gz: 7a61da3957b7f33045f60bf7ac5dddd9d726d80b
4
+ data.tar.gz: 5524c36351bfa5556b9e8aa104171b5639d949dc
5
5
  SHA512:
6
- metadata.gz: 77ddb080426ce0d95c55c489668303108ff57e872982cba993b2702b48a6ecb71d0778c608f89ca2cfbf41cbb607e7cd54e1cf7c261156cfc90c674b23907908
7
- data.tar.gz: e047c942762f85c70aacb7d4702fe89a2f631f406fc326e2c618bbd6db12ee80b152e6bd3fd6b383570fb66c4f9d05af96079c4dfff8fa688c35ebf1367ea12b
6
+ metadata.gz: 267d7e64a4fcd9b4d1db8aed8c0215ea4c3fcb1198d738542e3456f12b665dba531edcf401d6830ba416b3b21c19be3d048194ecd8272671b363cbeb8fd4e21f
7
+ data.tar.gz: c7b15f5f7b810f33ee57477dd23e517a3fb37077ce02231ffbf770a269ed8d3bd4e6a704139793a59ee988d6ef26b6f26d6f4fab907b55d993be6837543f27f9
data/README.md CHANGED
@@ -35,7 +35,7 @@ Create an instance of the stub provider by passing in the name, primary key and
35
35
  },
36
36
  table: "mytable",
37
37
  index: ['uuid', 'email'],
38
- configuration: {
38
+ config: {
39
39
  region: 'us-west-2'
40
40
  endpoint: 'http://localhost:8000'
41
41
  }
@@ -16,7 +16,7 @@ module Soar
16
16
  ##
17
17
  def initialize(config: , base: , attributes: , index: , credentials: )
18
18
  @base = base
19
- @index = index
19
+ @index = index.map { |x| x.to_sym }
20
20
  @attributes = attributes
21
21
  @config = {
22
22
  host: config[:host],
@@ -11,7 +11,7 @@ module Soar
11
11
  def initialize
12
12
  @configuration = YAML.load_file("config/#{ENV['CONFIG_FILE']}")
13
13
  @base = @configuration['provider']['config']['base']
14
- @index = @configuration['provider']['config']['index']
14
+ @index = @configuration['provider']['config']['index'].map { |x| x.to_sym }
15
15
  @entries = [{
16
16
  dn: "cn=John Smith,#{@base}",
17
17
  attributes: {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar-registry-directory
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Mulder