summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-08-18 20:15:59 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-08-18 20:26:39 +0900
commit8fb02b7a97317090e3946e6f2d4a7d034f9699f1 (patch)
tree6c8e1792a904f8689b0b1e9cf5089ae70b24847d /ext
parent0bb8bd7623b59bcc9cccc623510775921b00e4b1 (diff)
Update the license for the default gems to dual licenses
Diffstat (limited to 'ext')
-rw-r--r--ext/date/date.gemspec2
-rw-r--r--ext/dbm/dbm.gemspec2
-rw-r--r--ext/etc/etc.gemspec2
-rw-r--r--ext/fcntl/fcntl.gemspec2
-rw-r--r--ext/fiddle/fiddle.gemspec2
-rw-r--r--ext/gdbm/gdbm.gemspec2
-rw-r--r--ext/io/console/io-console.gemspec2
-rw-r--r--ext/readline/readline-ext.gemspec2
-rw-r--r--ext/stringio/stringio.gemspec2
-rw-r--r--ext/strscan/strscan.gemspec2
-rw-r--r--ext/zlib/zlib.gemspec2
11 files changed, 11 insertions, 11 deletions
diff --git a/ext/date/date.gemspec b/ext/date/date.gemspec
index f5649f8daa1..a5accd29e6f 100644
--- a/ext/date/date.gemspec
+++ b/ext/date/date.gemspec
@@ -17,5 +17,5 @@ Gem::Specification.new do |s|
s.authors = ["Tadayoshi Funaba"]
s.email = [nil]
s.homepage = "https://github.com/ruby/date"
- s.license = "BSD-2-Clause"
+ s.licenses = ["Ruby", "BSD-2-Clause"]
end
diff --git a/ext/dbm/dbm.gemspec b/ext/dbm/dbm.gemspec
index 02d4990ecbc..0ff036f712f 100644
--- a/ext/dbm/dbm.gemspec
+++ b/ext/dbm/dbm.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.authors = ["Yukihiro Matsumoto"]
s.email = ["matz@ruby-lang.org"]
s.homepage = "https://github.com/ruby/dbm"
- s.license = "BSD-2-Clause"
+ s.licenses = ["Ruby", "BSD-2-Clause"]
s.add_development_dependency "rake-compiler"
s.add_development_dependency "test-unit"
diff --git a/ext/etc/etc.gemspec b/ext/etc/etc.gemspec
index 1b39a6d59a5..7d687e3b99a 100644
--- a/ext/etc/etc.gemspec
+++ b/ext/etc/etc.gemspec
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
spec.summary = %q{Provides access to information typically stored in UNIX /etc directory.}
spec.description = spec.summary
spec.homepage = "https://github.com/ruby/etc"
- spec.license = "BSD-2-Clause"
+ spec.licenses = ["Ruby", "BSD-2-Clause"]
spec.files = %w[
LICENSE.txt
diff --git a/ext/fcntl/fcntl.gemspec b/ext/fcntl/fcntl.gemspec
index c27a03d47a7..645c507a4d4 100644
--- a/ext/fcntl/fcntl.gemspec
+++ b/ext/fcntl/fcntl.gemspec
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
spec.summary = "Loads constants defined in the OS fcntl.h C header file"
spec.description = "Loads constants defined in the OS fcntl.h C header file"
spec.homepage = "https://github.com/ruby/fcntl"
- spec.license = "BSD-2-Clause"
+ spec.licenses = ["Ruby", "BSD-2-Clause"]
spec.files = ["ext/fcntl/extconf.rb", "ext/fcntl/fcntl.c"]
spec.bindir = "exe"
diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec
index da57ea7dc7a..a92955cceca 100644
--- a/ext/fiddle/fiddle.gemspec
+++ b/ext/fiddle/fiddle.gemspec
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
spec.summary = %q{A libffi wrapper for Ruby.}
spec.description = %q{A libffi wrapper for Ruby.}
spec.homepage = "https://github.com/ruby/fiddle"
- spec.license = "BSD-2-Clause"
+ spec.licenses = ["Ruby", "BSD-2-Clause"]
spec.files = [
"LICENSE.txt",
diff --git a/ext/gdbm/gdbm.gemspec b/ext/gdbm/gdbm.gemspec
index da074b01809..3ecb3121fef 100644
--- a/ext/gdbm/gdbm.gemspec
+++ b/ext/gdbm/gdbm.gemspec
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
spec.summary = "Ruby extension for GNU dbm."
spec.description = "Ruby extension for GNU dbm."
spec.homepage = "https://github.com/ruby/gdbm"
- spec.license = "BSD-2-Clause"
+ spec.licenses = ["Ruby", "BSD-2-Clause"]
spec.files = ["ext/gdbm/extconf.rb", "ext/gdbm/gdbm.c"]
spec.bindir = "exe"
diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
index 297c994de91..743e5e965d2 100644
--- a/ext/io/console/io-console.gemspec
+++ b/ext/io/console/io-console.gemspec
@@ -21,5 +21,5 @@ Gem::Specification.new do |s|
lib/io/console/size.rb
]
s.extensions = %w[ext/io/console/extconf.rb]
- s.license = "BSD-2-Clause"
+ s.licenses = ["Ruby", "BSD-2-Clause"]
end
diff --git a/ext/readline/readline-ext.gemspec b/ext/readline/readline-ext.gemspec
index b85e07dd93a..66db14d14af 100644
--- a/ext/readline/readline-ext.gemspec
+++ b/ext/readline/readline-ext.gemspec
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
spec.summary = %q{Provides an interface for GNU Readline and Edit Line (libedit).}
spec.description = %q{Provides an interface for GNU Readline and Edit Line (libedit).}
spec.homepage = "https://github.com/ruby/readline-ext"
- spec.license = "BSD-2-Clause"
+ spec.licenses = ["Ruby", "BSD-2-Clause"]
spec.extensions = %w[ext/readline/extconf.rb]
spec.metadata["homepage_uri"] = spec.homepage
diff --git a/ext/stringio/stringio.gemspec b/ext/stringio/stringio.gemspec
index 4849481786b..c765242f352 100644
--- a/ext/stringio/stringio.gemspec
+++ b/ext/stringio/stringio.gemspec
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
s.extensions = ["ext/stringio/extconf.rb"]
s.files = ["README.md", "ext/stringio/extconf.rb", "ext/stringio/stringio.c"]
s.homepage = "https://github.com/ruby/stringio"
- s.licenses = ["BSD-2-Clause"]
+ s.licenses = ["Ruby", "BSD-2-Clause"]
s.required_ruby_version = ">= 2.5"
s.summary = "Pseudo IO on String"
diff --git a/ext/strscan/strscan.gemspec b/ext/strscan/strscan.gemspec
index 4759c6c8604..1228e808043 100644
--- a/ext/strscan/strscan.gemspec
+++ b/ext/strscan/strscan.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.authors = ["Minero Aoki", "Sutou Kouhei"]
s.email = [nil, "kou@cozmixng.org"]
s.homepage = "https://github.com/ruby/strscan"
- s.license = "BSD-2-Clause"
+ s.licenses = ["Ruby", "BSD-2-Clause"]
s.add_development_dependency "rake-compiler"
s.add_development_dependency "benchmark-driver"
diff --git a/ext/zlib/zlib.gemspec b/ext/zlib/zlib.gemspec
index 4a77ae325e3..ae1f24143d5 100644
--- a/ext/zlib/zlib.gemspec
+++ b/ext/zlib/zlib.gemspec
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
spec.summary = %q{Ruby interface for the zlib compression/decompression library}
spec.description = %q{Ruby interface for the zlib compression/decompression library}
spec.homepage = "https://github.com/ruby/zlib"
- 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", "ext/zlib/extconf.rb", "ext/zlib/zlib.c", "zlib.gemspec"]
spec.bindir = "exe"