You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the release of Ruby 3.3.5, users are now receiving warnings when using libraries that utilize ostruct without explicitly declaring it as a dependency in their gemspec. This change highlights the need for better clarity on dependencies and may lead to confusion among users regarding the operational aspects of the net-ldap gem.
The current version of net-ldap (0.19.0) does not include ostruct in its gemspec file, which can cause warning messages when used in Ruby environments upgraded to version 3.3.5 or later.
Proposed Change:
I recommend reaching out to the maintainers of net-ldap to request that they add ostruct as a dependency in the gemspec. This addition would help prevent warnings for users while ensuring clear communication regarding the required components of the library.
Example Implementation:
In the net-ldap.gemspec file, adding the following line would suffice:
s.add_dependency("ostruct")
The text was updated successfully, but these errors were encountered:
Ivanov-Anton
added a commit
to Ivanov-Anton/ruby-net-ldap
that referenced
this issue
Oct 26, 2024
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.
Background:
With the release of Ruby 3.3.5, users are now receiving warnings when using libraries that utilize ostruct without explicitly declaring it as a dependency in their gemspec. This change highlights the need for better clarity on dependencies and may lead to confusion among users regarding the operational aspects of the net-ldap gem.
The current version of net-ldap (0.19.0) does not include ostruct in its gemspec file, which can cause warning messages when used in Ruby environments upgraded to version 3.3.5 or later.
Proposed Change:
I recommend reaching out to the maintainers of net-ldap to request that they add ostruct as a dependency in the gemspec. This addition would help prevent warnings for users while ensuring clear communication regarding the required components of the library.
Example Implementation:
In the net-ldap.gemspec file, adding the following line would suffice:
The text was updated successfully, but these errors were encountered: