From 0bb8bd7623b59bcc9cccc623510775921b00e4b1 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 18 Aug 2020 20:15:20 +0900 Subject: [PATCH] Added the missing licenses field to some default gems --- lib/English.gemspec | 1 + lib/net/http/net-http.gemspec | 1 + lib/net/net-ftp.gemspec | 1 + lib/net/net-imap.gemspec | 1 + lib/net/net-protocol.gemspec | 1 + lib/optparse/optparse.gemspec | 1 + lib/tempfile.gemspec | 1 + lib/tmpdir.gemspec | 1 + 8 files changed, 8 insertions(+) diff --git a/lib/English.gemspec b/lib/English.gemspec index 5d5a378855..d614f12045 100644 --- a/lib/English.gemspec +++ b/lib/English.gemspec @@ -8,6 +8,7 @@ Gem::Specification.new do |spec| spec.description = %q{Require 'English.rb' to reference global variables with less cryptic names.} spec.homepage = "https://github.com/ruby/English" spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/net/http/net-http.gemspec b/lib/net/http/net-http.gemspec index c6952c3c1b..cf7b123533 100644 --- a/lib/net/http/net-http.gemspec +++ b/lib/net/http/net-http.gemspec @@ -17,6 +17,7 @@ Gem::Specification.new do |spec| spec.description = %q{HTTP client api for Ruby.} spec.homepage = "https://github.com/ruby/net-http" spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0") + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/net/net-ftp.gemspec b/lib/net/net-ftp.gemspec index e89ff8af7d..c93d389f09 100644 --- a/lib/net/net-ftp.gemspec +++ b/lib/net/net-ftp.gemspec @@ -17,6 +17,7 @@ Gem::Specification.new do |spec| spec.description = %q{Support for the File Transfer Protocol.} spec.homepage = "https://github.com/ruby/net-ftp" spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/net/net-imap.gemspec b/lib/net/net-imap.gemspec index 7a4556e4aa..7c15437bd3 100644 --- a/lib/net/net-imap.gemspec +++ b/lib/net/net-imap.gemspec @@ -17,6 +17,7 @@ Gem::Specification.new do |spec| spec.description = %q{Ruby client api for Internet Message Access Protocol} spec.homepage = "https://github.com/ruby/net-imap" spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0") + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/net/net-protocol.gemspec b/lib/net/net-protocol.gemspec index 9653ddd378..41fb894def 100644 --- a/lib/net/net-protocol.gemspec +++ b/lib/net/net-protocol.gemspec @@ -17,6 +17,7 @@ Gem::Specification.new do |spec| spec.description = %q{The abstruct interface for net-* client.} spec.homepage = "https://github.com/ruby/net-protocol" spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/optparse/optparse.gemspec b/lib/optparse/optparse.gemspec index 3de0c07f43..afb90420f0 100644 --- a/lib/optparse/optparse.gemspec +++ b/lib/optparse/optparse.gemspec @@ -17,6 +17,7 @@ Gem::Specification.new do |spec| spec.description = %q{OptionParser is a class for command-line option analysis.} spec.homepage = "https://github.com/ruby/optparse" spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0") + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/tempfile.gemspec b/lib/tempfile.gemspec index fc3b156984..6405749ef9 100644 --- a/lib/tempfile.gemspec +++ b/lib/tempfile.gemspec @@ -8,6 +8,7 @@ Gem::Specification.new do |spec| spec.description = %q{A utility class for managing temporary files.} spec.homepage = "https://github.com/ruby/tempfile" spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0") + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/tmpdir.gemspec b/lib/tmpdir.gemspec index 4769afcd7f..a9ab6d9828 100644 --- a/lib/tmpdir.gemspec +++ b/lib/tmpdir.gemspec @@ -8,6 +8,7 @@ Gem::Specification.new do |spec| spec.description = %q{Extends the Dir class to manage the OS temporary file path.} spec.homepage = "https://github.com/ruby/tmpdir" spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage