Skip to content

Commit d5a0518

Browse files
Bump rake dev dependency to 13
Quiet a GitHub alert about GHSA-jppv-gw3r-w3q8
1 parent e25b881 commit d5a0518

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/net/ldap/connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def setup_encryption(args, timeout=nil)
181181
# have to call it, but perhaps it will come in handy someday.
182182
#++
183183
def close
184-
return if @conn.nil?
184+
return if !defined?(@conn) || @conn.nil?
185185
@conn.close
186186
@conn = nil
187187
end

net-ldap.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ the most recent LDAP RFCs (4510-4519, plutions of 4520-4532).}
3030
s.summary = %q{Net::LDAP for Ruby (also called net-ldap) implements client access for the Lightweight Directory Access Protocol (LDAP), an IETF standard protocol for accessing distributed directory services}
3131

3232
s.add_development_dependency("flexmock", "~> 1.3")
33-
s.add_development_dependency("rake", "~> 10.0")
33+
s.add_development_dependency("rake", "~> 13.0")
3434
s.add_development_dependency("rubocop", "~> 0.49.0")
3535
s.add_development_dependency("test-unit")
3636
s.add_development_dependency("byebug")

0 commit comments

Comments
 (0)