Closed voxik closed 10 months ago
Thanks ☺️
@voxik Just trying to understand this PR, as it breaks my pipeline.
The gem nio4r
uses libev
, which was distributed under the BSD license. But, this fact was not reflected in nio4r
gem metadata, since it was added in https://github.com/socketry/nio4r/commit/15cab7a09350eb49ed2804f56041585c58dfec35, 2011?
My pipeline checks dependencies for license and decisions, using https://rubygems.org/gems/license_finder. And before this change MIT
was permitted, but now the nio4r
license is different.
Also, as I understand, libev
is not used in all cases?
Thank you for clarifications.
The gem
nio4r
useslibev
, which was distributed under the BSD license. But, this fact was not reflected innio4r
gem metadata, since it was added in 15cab7a, 2011?
Right
Also, as I understand,
libev
is not used in all cases?
Not expert, but I assume that if you use NIO4R_PURE=true
env variable, then libev is not used. Nonetheless, it is still installed.
@voxik Ok, thanks for these clarifications.
Could you please change the licenses
spec to an array, as it is documented in Ruby gem specification reference?
https://guides.rubygems.org/specification-reference/#licenses=
Because, using one string with multiple licenses is not distinguishable for automated processes, like license_finder.
So, it should be: spec.license ["MIT", "BSD-2-Clause", "GPL-2.0-or-later"]
Thank you in advance.
Add libev licenses (BSD-2-Clause OR GPL-2.0-or-later) into gem metadata.
Types of Changes
Contribution