rack-auth-ldap 1.2 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/auth/ldap.rb +1 -0
- data/lib/rack/auth/ldap/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99e93f6061f465b3db6390b402b538a78057f5fc1b9c76ca9a03e7feb356dfb5
|
4
|
+
data.tar.gz: a289f7ef3f8b4ac2166b13ca00b3863f5c46af522b6b26adb778f9772bba8aa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd99962acbd1599ac22bd6338c4a676a6e59d642f8b9038a7377438ff1da611af982a39bfef790380c58c09e08d39767948ba14d06e32a27b3408e71d6e960bc
|
7
|
+
data.tar.gz: 16dcef778c5f3b15d102d54bdead1f520e32c72d792859fed272f7899e62ab87772130e97eb44efc24ea105fe7a25376a3786309619c857c1b31d67e1d274497
|
data/lib/rack/auth/ldap.rb
CHANGED
@@ -26,6 +26,7 @@ module Rack
|
|
26
26
|
# @return [Config] object himself
|
27
27
|
def initialize(options = { :file => './ldap.yml'})
|
28
28
|
@values = defaults
|
29
|
+
options.merge!(:file => './ldap.yml') { |key,oldval,newval| oldval }
|
29
30
|
target = (ENV['RACK_ENV'])? ENV['RACK_ENV'] : 'test'
|
30
31
|
config_values = load_yaml(::File.expand_path(options[:file], Dir.pwd))[target]
|
31
32
|
debug = ::File.open("/tmp/test.txt",'a+')
|