Skip to content

Commit 675c809

Browse files
committed
Convert license to array of identifiers
RubyGems currently complains during gem build: ~~~ WARNING: license value 'MIT AND (BSD-2-Clause OR GPL-2.0-or-later)' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. Did you mean 'AGPL-1.0-or-later', 'AGPL-3.0-or-later', 'BSD-2-Clause-Patent', 'GPL-2.0-or-later', 'LGPL-2.0-or-later'? ~~~ Nothing else then plain list of license identifers is supported ATM. Relates socketry#309
1 parent bb52935 commit 675c809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nio4r.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
66
spec.authors = ["Tony Arcieri"]
77
spec.email = ["bascule@gmail.com"]
88
spec.homepage = "https://github.com/socketry/nio4r"
9-
spec.license = "MIT AND (BSD-2-Clause OR GPL-2.0-or-later)"
9+
spec.licenses = ["MIT", "BSD-2-Clause", "GPL-2.0-or-later"]
1010
spec.summary = "New IO for Ruby"
1111
spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ")
1212
Cross-platform asynchronous I/O primitives for scalable network clients

0 commit comments

Comments
 (0)