ruby-net-ldap icon indicating copy to clipboard operation
ruby-net-ldap copied to clipboard

#431, Add `ostruct` as a dependency to the gemspec

Open Ivanov-Anton opened this issue 1 year ago • 1 comments

Description

This commit adds ostruct as an explicit dependency in the net-ldap gemspec.

With the release of Ruby 3.3.5 and later versions, users of net-ldap may encounter warnings related to the use of ostruct if it is not declared as a dependency. By including ostruct, we aim to enhance clarity regarding the gem's requirements and prevent any runtime issues related to missing dependencies.

Related links

closes #431

Ivanov-Anton avatar Oct 26 '24 14:10 Ivanov-Anton

in our software after updating ruby to 3.3.5 there is warning that require to add the ostruct gem as an explicit dependency

warning example:

warning: .../ostruct.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
Also please contact the author of net-ldap-0.19.0 to request adding ostruct into its gemspec.

Ivanov-Anton avatar Oct 26 '24 14:10 Ivanov-Anton

@HarlemSquirrel Thanks, waiting a new release.

Ivanov-Anton avatar Oct 29 '24 05:10 Ivanov-Anton