diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/benchmark/benchmark.gemspec | 2 | ||||
-rw-r--r-- | lib/cgi/cgi.gemspec | 2 | ||||
-rw-r--r-- | lib/csv/csv.gemspec | 2 | ||||
-rw-r--r-- | lib/delegate/delegate.gemspec | 2 | ||||
-rw-r--r-- | lib/fileutils.gemspec | 2 | ||||
-rw-r--r-- | lib/forwardable/forwardable.gemspec | 2 | ||||
-rw-r--r-- | lib/getoptlong/getoptlong.gemspec | 2 | ||||
-rw-r--r-- | lib/ipaddr.gemspec | 2 | ||||
-rw-r--r-- | lib/irb/irb.gemspec | 2 | ||||
-rw-r--r-- | lib/logger/logger.gemspec | 2 | ||||
-rw-r--r-- | lib/matrix/matrix.gemspec | 2 | ||||
-rw-r--r-- | lib/mutex_m.gemspec | 2 | ||||
-rw-r--r-- | lib/net/net-pop.gemspec | 2 | ||||
-rw-r--r-- | lib/net/net-smtp.gemspec | 2 | ||||
-rw-r--r-- | lib/observer/observer.gemspec | 2 | ||||
-rw-r--r-- | lib/open3/open3.gemspec | 2 | ||||
-rw-r--r-- | lib/ostruct/ostruct.gemspec | 2 | ||||
-rw-r--r-- | lib/prime.gemspec | 2 | ||||
-rw-r--r-- | lib/pstore/pstore.gemspec | 2 | ||||
-rw-r--r-- | lib/singleton/singleton.gemspec | 2 | ||||
-rw-r--r-- | lib/timeout/timeout.gemspec | 2 | ||||
-rw-r--r-- | lib/tracer/tracer.gemspec | 2 | ||||
-rw-r--r-- | lib/uri/uri.gemspec | 2 | ||||
-rw-r--r-- | lib/weakref/weakref.gemspec | 2 | ||||
-rw-r--r-- | lib/webrick/webrick.gemspec | 2 | ||||
-rw-r--r-- | lib/yaml/yaml.gemspec | 2 |
26 files changed, 26 insertions, 26 deletions
diff --git a/lib/benchmark/benchmark.gemspec b/lib/benchmark/benchmark.gemspec index 773cab19b0..031ccbe34a 100644 --- a/lib/benchmark/benchmark.gemspec +++ b/lib/benchmark/benchmark.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |spec| spec.summary = %q{a performance benchmarking library} spec.description = spec.summary spec.homepage = "https://github.com/ruby/benchmark" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/cgi/cgi.gemspec b/lib/cgi/cgi.gemspec index fbdec5d3d6..1a883934e5 100644 --- a/lib/cgi/cgi.gemspec +++ b/lib/cgi/cgi.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Support for the Common Gateway Interface protocol.} spec.description = %q{Support for the Common Gateway Interface protocol.} spec.homepage = "https://github.com/ruby/cgi" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.required_ruby_version = ">= 2.5.0" spec.metadata["homepage_uri"] = spec.homepage diff --git a/lib/csv/csv.gemspec b/lib/csv/csv.gemspec index fee854f514..f555c4efab 100644 --- a/lib/csv/csv.gemspec +++ b/lib/csv/csv.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = "CSV Reading and Writing" spec.description = "The CSV library provides a complete interface to CSV files and data. It offers tools to enable you to read and write to and from Strings or IO objects, as needed." spec.homepage = "https://github.com/ruby/csv" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] lib_path = "lib" spec.require_paths = [lib_path] diff --git a/lib/delegate/delegate.gemspec b/lib/delegate/delegate.gemspec index bf7dd6600d..05d9ced175 100644 --- a/lib/delegate/delegate.gemspec +++ b/lib/delegate/delegate.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Provides three abilities to delegate method calls to an object.} spec.description = %q{Provides three abilities to delegate method calls to an object.} spec.homepage = "https://github.com/ruby/delegate" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/fileutils.gemspec b/lib/fileutils.gemspec index cd35c09dbc..53c32e7e3e 100644 --- a/lib/fileutils.gemspec +++ b/lib/fileutils.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |s| s.authors = ["Minero Aoki"] s.email = [nil] s.homepage = "https://github.com/ruby/fileutils" - s.license = "BSD-2-Clause" + s.licenses = ["Ruby", "BSD-2-Clause"] s.metadata = { "source_code_uri" => "https://github.com/ruby/fileutils" diff --git a/lib/forwardable/forwardable.gemspec b/lib/forwardable/forwardable.gemspec index 54e54f4c3c..1d5f6eae63 100644 --- a/lib/forwardable/forwardable.gemspec +++ b/lib/forwardable/forwardable.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Provides delegation of specified methods to a designated object.} spec.description = %q{Provides delegation of specified methods to a designated object.} spec.homepage = "https://github.com/ruby/forwardable" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.files = ["forwardable.gemspec", "lib/forwardable.rb", "lib/forwardable/impl.rb", "lib/forwardable/version.rb"] spec.bindir = "exe" diff --git a/lib/getoptlong/getoptlong.gemspec b/lib/getoptlong/getoptlong.gemspec index 123977c1f3..9ebe3aed7e 100644 --- a/lib/getoptlong/getoptlong.gemspec +++ b/lib/getoptlong/getoptlong.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{GetoptLong for Ruby} spec.description = spec.summary spec.homepage = "https://github.com/ruby/getoptlong" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec index 753156af5e..8f8fc4afaa 100644 --- a/lib/ipaddr.gemspec +++ b/lib/ipaddr.gemspec @@ -15,7 +15,7 @@ IPAddr provides a set of methods to manipulate an IP address. Both IPv4 and IPv6 are supported. DESCRIPTION spec.homepage = "https://github.com/ruby/ipaddr" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "ipaddr.gemspec", "lib/ipaddr.rb"] spec.bindir = "exe" diff --git a/lib/irb/irb.gemspec b/lib/irb/irb.gemspec index 658fe813f1..d3a4a26ba9 100644 --- a/lib/irb/irb.gemspec +++ b/lib/irb/irb.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Interactive Ruby command-line tool for REPL (Read Eval Print Loop).} spec.description = %q{Interactive Ruby command-line tool for REPL (Read Eval Print Loop).} spec.homepage = "https://github.com/ruby/irb" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.files = [ ".document", diff --git a/lib/logger/logger.gemspec b/lib/logger/logger.gemspec index 07e0fa16fd..cd6d97de3d 100644 --- a/lib/logger/logger.gemspec +++ b/lib/logger/logger.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Provides a simple logging utility for outputting messages.} spec.description = %q{Provides a simple logging utility for outputting messages.} spec.homepage = "https://github.com/ruby/logger" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.files = Dir.glob("lib/**/*.rb") + ["logger.gemspec"] spec.bindir = "exe" diff --git a/lib/matrix/matrix.gemspec b/lib/matrix/matrix.gemspec index 018963d913..d2ff9ce7c6 100644 --- a/lib/matrix/matrix.gemspec +++ b/lib/matrix/matrix.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{An implementation of Matrix and Vector classes.} spec.description = %q{An implementation of Matrix and Vector classes.} spec.homepage = "https://github.com/ruby/matrix" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.required_ruby_version = ">= 2.5.0" spec.files = [".gitignore", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/matrix.rb", "lib/matrix/eigenvalue_decomposition.rb", "lib/matrix/lup_decomposition.rb", "lib/matrix/version.rb", "matrix.gemspec"] diff --git a/lib/mutex_m.gemspec b/lib/mutex_m.gemspec index 409ed5b7b2..484db2cacf 100644 --- a/lib/mutex_m.gemspec +++ b/lib/mutex_m.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Mixin to extend objects to be handled like a Mutex.} spec.description = %q{Mixin to extend objects to be handled like a Mutex.} spec.homepage = "https://github.com/ruby/mutex_m" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/mutex_m.rb", "mutex_m.gemspec"] spec.bindir = "exe" diff --git a/lib/net/net-pop.gemspec b/lib/net/net-pop.gemspec index 12e633cc77..911af1c527 100644 --- a/lib/net/net-pop.gemspec +++ b/lib/net/net-pop.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Ruby client library for POP3.} spec.description = %q{Ruby client library for POP3.} spec.homepage = "https://github.com/ruby/net-pop" - spec.license = "BSD-2-Clause" + 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-smtp.gemspec b/lib/net/net-smtp.gemspec index c547beb754..79bc9c7986 100644 --- a/lib/net/net-smtp.gemspec +++ b/lib/net/net-smtp.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Simple Mail Transfer Protocol client library for Ruby.} spec.description = %q{Simple Mail Transfer Protocol client library for Ruby.} spec.homepage = "https://github.com/ruby/net-smtp" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.required_ruby_version = ">= 2.5.0" spec.metadata["homepage_uri"] = spec.homepage diff --git a/lib/observer/observer.gemspec b/lib/observer/observer.gemspec index f438f17437..46538e881a 100644 --- a/lib/observer/observer.gemspec +++ b/lib/observer/observer.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Implementation of the Observer object-oriented design pattern.} spec.description = spec.summary spec.homepage = "https://github.com/ruby/observer" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/open3/open3.gemspec b/lib/open3/open3.gemspec index b029c04ee8..72a105a322 100644 --- a/lib/open3/open3.gemspec +++ b/lib/open3/open3.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Popen, but with stderr, too} spec.description = spec.summary spec.homepage = "https://github.com/ruby/open3" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/ostruct/ostruct.gemspec b/lib/ostruct/ostruct.gemspec index e3acace50d..14b0b5e85b 100644 --- a/lib/ostruct/ostruct.gemspec +++ b/lib/ostruct/ostruct.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Class to build custom data structures, similar to a Hash.} spec.description = %q{Class to build custom data structures, similar to a Hash.} spec.homepage = "https://github.com/ruby/ostruct" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.required_ruby_version = ">= 2.5.0" spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/ostruct.rb", "lib/ostruct/version.rb", "ostruct.gemspec"] diff --git a/lib/prime.gemspec b/lib/prime.gemspec index 74f62e3d9b..86247649df 100644 --- a/lib/prime.gemspec +++ b/lib/prime.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Prime numbers and factorization library.} spec.description = %q{Prime numbers and factorization library.} spec.homepage = "https://github.com/ruby/prime" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/prime.rb", "prime.gemspec"] spec.bindir = "exe" diff --git a/lib/pstore/pstore.gemspec b/lib/pstore/pstore.gemspec index d04fddcb0a..8425795afe 100644 --- a/lib/pstore/pstore.gemspec +++ b/lib/pstore/pstore.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Transactional File Storage for Ruby Objects} spec.description = spec.summary spec.homepage = "https://github.com/ruby/pstore" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/ruby/pstore" diff --git a/lib/singleton/singleton.gemspec b/lib/singleton/singleton.gemspec index 2f23233ccf..88d3111b65 100644 --- a/lib/singleton/singleton.gemspec +++ b/lib/singleton/singleton.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{The Singleton module implements the Singleton pattern.} spec.description = spec.summary spec.homepage = "https://github.com/ruby/singleton" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/timeout/timeout.gemspec b/lib/timeout/timeout.gemspec index 12ac062b6d..3dc37f8768 100644 --- a/lib/timeout/timeout.gemspec +++ b/lib/timeout/timeout.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Auto-terminate potentially long-running operations in Ruby.} spec.description = %q{Auto-terminate potentially long-running operations in Ruby.} spec.homepage = "https://github.com/ruby/timeout" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/tracer/tracer.gemspec b/lib/tracer/tracer.gemspec index 63e845cf84..a2275d850c 100644 --- a/lib/tracer/tracer.gemspec +++ b/lib/tracer/tracer.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Outputs a source level execution trace of a Ruby program.} spec.description = %q{Outputs a source level execution trace of a Ruby program.} spec.homepage = "https://github.com/ruby/tracer" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/tracer.rb", "lib/tracer/version.rb", "tracer.gemspec"] spec.bindir = "exe" diff --git a/lib/uri/uri.gemspec b/lib/uri/uri.gemspec index 95cb8e2d42..c4a16f47eb 100644 --- a/lib/uri/uri.gemspec +++ b/lib/uri/uri.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |spec| spec.summary = %q{URI is a module providing classes to handle Uniform Resource Identifiers} spec.description = spec.summary spec.homepage = "https://github.com/ruby/uri" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage diff --git a/lib/weakref/weakref.gemspec b/lib/weakref/weakref.gemspec index 587013a424..acc4e0fbc5 100644 --- a/lib/weakref/weakref.gemspec +++ b/lib/weakref/weakref.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |spec| spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/ruby/weakref" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. diff --git a/lib/webrick/webrick.gemspec b/lib/webrick/webrick.gemspec index 97e93b5ace..5ede24d7ec 100644 --- a/lib/webrick/webrick.gemspec +++ b/lib/webrick/webrick.gemspec @@ -62,7 +62,7 @@ Gem::Specification.new do |s| s.authors = ["TAKAHASHI Masayoshi", "GOTOU YUUZOU", "Eric Wong"] s.email = [nil, nil, 'normal@ruby-lang.org'] s.homepage = "https://www.ruby-lang.org" - s.license = "BSD-2-Clause" + s.licenses = ["Ruby", "BSD-2-Clause"] if s.respond_to?(:metadata=) s.metadata = { diff --git a/lib/yaml/yaml.gemspec b/lib/yaml/yaml.gemspec index ba5027a9b6..7b83f355b9 100644 --- a/lib/yaml/yaml.gemspec +++ b/lib/yaml/yaml.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |spec| spec.summary = "YAML Ain't Markup Language" spec.description = spec.summary spec.homepage = "https://github.com/ruby/yaml" - spec.license = "BSD-2-Clause" + spec.licenses = ["Ruby", "BSD-2-Clause"] spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage |