From: Eric Wong Date: Tue, 26 Feb 2013 03:14:26 +0000 (+0000) Subject: gemspec: set licenses= attribute X-Git-Tag: v4.5.0~7 X-Git-Url: https://repo.or.cz/w/rainbows.git/commitdiff_plain/83a3b49dd3a1f1885ca56e9889ff22aa7b7c6136 gemspec: set licenses= attribute Old versions of RubyGems which could not handle this attribute are likely no longer in use. --- diff --git a/rainbows.gemspec b/rainbows.gemspec index c29f308..bcbbf5b 100644 --- a/rainbows.gemspec +++ b/rainbows.gemspec @@ -53,6 +53,7 @@ Gem::Specification.new do |s| # NeverBlock, currently only available on http://gems.github.com/ # s.add_dependency(%q, ["~> 0.1.6.1"]) - # accessor not compatible with older RubyGems - # s.licenses = %w(GPLv3 GPLv2 Ruby) + # We inherited the Ruby 1.8 license from Mongrel, so we're stuck with it. + # GPLv3 is preferred. + s.licenses = ["GPLv2", "GPLv3", "Ruby 1.8"] end