ons-ldap 1.1.0 → 1.1.1

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: 318abe639b4cf840e6af859cb719ed3af355841f
4
- data.tar.gz: 64a36ab8ac6206948e509a6f82aaf5c632292df9
3
+ metadata.gz: a26677d48b299687a9befb8db90b15e9790303d6
4
+ data.tar.gz: 1d1e6bcafbe9e33d41ce8156b37f14d64fdd8107
5
5
  SHA512:
6
- metadata.gz: a4beaf49ed2ac8584a74296d3a7777d2cf3961f7f27cf9433004f8a37564ee492a2c32a1b75c9f707d076a8d2a82abe53ea004a8d63119d7d3905945d108e789
7
- data.tar.gz: 07f785d601d34bf5d360dd534f08f75fbac527770cc66bfca49a592dca9b460d85d112f8ec1446392e459736b559dec8fc3ca4f0996c489b6de84e66e435c5ba
6
+ metadata.gz: c5ddbab2503dc7bee8b79d481809817f906140d0ffa674aab7ad2eeb13e8e8b55850a228030e110a70fb897aa0ba7f6611aecbead273d09ac24a8d6f16472a53
7
+ data.tar.gz: 1008bd795276fda4543e7bcac6f3096061ea36e926e0001c8fea5e7dae1690de0634b019062915dbb73b5e66662e0cd37d3ea5d5a68f718e0cc5ac4e8ec9055d
@@ -29,7 +29,7 @@ class LDAPConnection
29
29
  # Have to use the username DN format below for the bind operation to succeed.
30
30
  auth = { method: :simple, username: "uid=#{username},ou=Users,#{self.class.base}", password: password }
31
31
 
32
- Net::LDAP.open(host: self.class.host, port: self.class.port, self.class.base, auth: auth) do |ldap|
32
+ Net::LDAP.open(host: self.class.host, port: self.class.port, base: self.class.base, auth: auth) do |ldap|
33
33
  ldap.encryption = :simple_tls if self.class.encrypted?
34
34
  unless ldap.bind
35
35
  result = ldap.get_operation_result
@@ -2,7 +2,7 @@ module ONSLDAP
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
- TINY = 0
5
+ TINY = 1
6
6
  end
7
7
  VERSION = [Version::MAJOR, Version::MINOR, Version::TINY].compact * '.'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ons-ldap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Topley