This is an automated email from the ASF dual-hosted git repository.
curcuru pushed a commit to branch use-ruby-ldap3
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/use-ruby-ldap3 by this push:
new 2325128f TESTING: Use ruby-ldap3 and explicit version number
2325128f is described below
commit 2325128fa5896b0d0f47c10a233d0ed71ce701ef
Author: Shane Curcuru <[email protected]>
AuthorDate: Sun Jan 26 07:27:41 2025 -0500
TESTING: Use ruby-ldap3 and explicit version number
---
CONFIGURE.md | 2 +-
asf.gemspec | 4 ++--
lib/Gemfile | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/CONFIGURE.md b/CONFIGURE.md
index 05820803..2c905b7f 100644
--- a/CONFIGURE.md
+++ b/CONFIGURE.md
@@ -15,7 +15,7 @@ run either in a local environment or with a webserver.
- Puppet (for our [production](DEPLOYMENT.md) deployment)
- A variety of Ruby gems
- [Wunderbar](https://github.com/rubys/wunderbar) - HTML Generator and CGI
application support
- - [Ruby-ldap](https://github.com/bearded/ruby-ldap) - LDAP for Ruby
+ - [Ruby-ldap](https://github.com/Punderthings/ruby-ldap3) - LDAP for Ruby
- [nokogiri](https://github.com/sparklemotion/nokogiri) - HTML parser for
Ruby
- Full gem dependencies in `asf.gemspec`
diff --git a/asf.gemspec b/asf.gemspec
index c305e344..6fdb0903 100644
--- a/asf.gemspec
+++ b/asf.gemspec
@@ -1,5 +1,5 @@
version = File.read(File.expand_path('../asf.version', __FILE__)).strip
-ldapversion =
+ldapversion =
begin
File.read(File.expand_path('../asfldap.version', __FILE__)).strip
rescue Exception => e
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
# relevant versions
s.add_dependency('nokogiri')
s.add_dependency('rack')
- s.add_dependency('ruby-ldap', ldapversion)
+ s.add_dependency('ruby-ldap3', '0.10.1')
s.add_dependency('tzinfo')
s.add_dependency('tzinfo-data')
s.add_dependency('wunderbar')
diff --git a/lib/Gemfile b/lib/Gemfile
index 458a94db..914bd8ca 100644
--- a/lib/Gemfile
+++ b/lib/Gemfile
@@ -11,7 +11,7 @@ end
gem 'json'
gem 'nokogiri'
gem 'rake'
-gem 'ruby-ldap', ldapversion
+gem 'ruby-ldap3', '~> 0.10.1' # Forked version supports ruby 3.x
gem 'wunderbar'
gem 'pdf-reader'