summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-14 02:01:36 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-14 02:01:36 +0000
commit4d5c414fcc0cd1c01580a1f9dc05a613c13929b2 (patch)
treeb05b3accbce5cd7aae1cc9f73981aeab281d6578 /ext
parent9ea2102e57114d4c722b90355ab8ffe197938012 (diff)
Update gemspec for gem released versions.
* These are dbm, fcntl, io-console, sdbm, stringio, strscan, zlib, cmath, scanf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/dbm/dbm.gemspec4
-rw-r--r--ext/fcntl/fcntl.gemspec37
-rw-r--r--ext/io/console/io-console.gemspec7
-rw-r--r--ext/sdbm/sdbm.gemspec7
-rw-r--r--ext/stringio/stringio.gemspec2
-rw-r--r--ext/strscan/strscan.gemspec4
-rw-r--r--ext/zlib/zlib.gemspec35
7 files changed, 61 insertions, 35 deletions
diff --git a/ext/dbm/dbm.gemspec b/ext/dbm/dbm.gemspec
index de33108..2354663 100644
--- a/ext/dbm/dbm.gemspec
+++ b/ext/dbm/dbm.gemspec
@@ -1,7 +1,7 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "dbm"
- s.version = '0.5.1'
+ s.version = '1.0.0.beta1'
s.date = '2017-02-08'
s.summary = "Provides a wrapper for the UNIX-style Database Manager Library"
s.description = "Provides a wrapper for the UNIX-style Database Manager Library"
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.authors = ["Yukihiro Matsumoto"]
s.email = ["matz@ruby-lang.org"]
- s.homepage = "https://www.ruby-lang.org"
+ s.homepage = "https://github.com/ruby/dbm"
s.license = "BSD-2-Clause"
s.add_development_dependency "rake-compiler"
diff --git a/ext/fcntl/fcntl.gemspec b/ext/fcntl/fcntl.gemspec
index 09ad387..07922e1 100644
--- a/ext/fcntl/fcntl.gemspec
+++ b/ext/fcntl/fcntl.gemspec
@@ -1,17 +1,26 @@
-Gem::Specification.new do |s|
- s.name = "fcntl"
- s.version = '0.0.1'
- s.date = '2017-02-10'
- s.summary = "Loads constants defined in the OS fcntl.h C header file"
- s.description = "Loads constants defined in the OS fcntl.h C header file"
+# coding: utf-8
+# frozen_string_literal: true
- s.require_path = %w{lib}
- s.files = %w{depend extconf.rb fcntl.c}
- s.extensions = %w{extconf.rb}
- s.required_ruby_version = ">= 2.5.0dev"
+Gem::Specification.new do |spec|
+ spec.name = "fcntl"
+ spec.version = "0.0.1"
+ spec.date = '2017-02-10'
+ spec.authors = ["Yukihiro Matsumoto"]
+ spec.email = ["matz@ruby-lang.org"]
- s.authors = ["Yukihiro Matsumoto"]
- s.email = ["matz@ruby-lang.org"]
- s.homepage = "https://www.ruby-lang.org"
- s.license = "BSD-2-Clause"
+ 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.files = ["ext/fcntl/extconf.rb", "ext/fcntl/fcntl.c"]
+ spec.bindir = "exe"
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.require_paths = ["lib"]
+ spec.extensions = "ext/fcntl/extconf.rb"
+ spec.required_ruby_version = ">= 2.5.0dev"
+
+ spec.add_development_dependency "bundler", "~> 1.14"
+ spec.add_development_dependency "rake", "~> 12"
+ spec.add_development_dependency "rake-compiler"
end
diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
index 27e1a11..fce3c0b 100644
--- a/ext/io/console/io-console.gemspec
+++ b/ext/io/console/io-console.gemspec
@@ -13,9 +13,12 @@ Gem::Specification.new do |s|
s.homepage = "https://www.ruby-lang.org"
s.authors = ["Nobu Nakada"]
s.require_path = %[lib]
- s.files = %w[console.c depend extconf.rb lib/console/size.rb win32_vk.inc]
- s.extensions = %w[extconf.rb]
+ s.files = %w[ext/io/console/console.c ext/io/console/extconf.rb lib/console/size.rb ext/io/console/win32_vk.inc]
+ s.extensions = %w[ext/io/console/extconf.rb]
s.license = "BSD-2-Clause"
s.cert_chain = %w[certs/nobu.pem]
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
+
+ s.add_development_dependency 'rake-compiler'
+ s.add_development_dependency 'rake-compiler-dock', ">= 0.6.1"
end
diff --git a/ext/sdbm/sdbm.gemspec b/ext/sdbm/sdbm.gemspec
index c03695b..14c1072 100644
--- a/ext/sdbm/sdbm.gemspec
+++ b/ext/sdbm/sdbm.gemspec
@@ -7,12 +7,15 @@ Gem::Specification.new do |s|
s.description = "Provides a simple file-based key-value store with String keys and values."
s.require_path = %w{lib}
- s.files = %w{_sdbm.c depend extconf.rb init.c sdbm.h}
- s.extensions = %w{extconf.rb}
+ s.files = %w{ext/sdbm/_sdbm.c ext/sdbm/depend ext/sdbm/extconf.rb ext/sdbm/init.c ext/sdbm/sdbm.h}
+ s.extensions = ["ext/sdbm/extconf.rb"]
s.required_ruby_version = ">= 2.5.0dev"
s.authors = ["Yukihiro Matsumoto"]
s.email = ["matz@ruby-lang.org"]
s.homepage = "https://www.ruby-lang.org"
s.license = "BSD-2-Clause"
+
+ s.add_development_dependency "test-unit"
+ s.add_development_dependency "rake-compiler"
end
diff --git a/ext/stringio/stringio.gemspec b/ext/stringio/stringio.gemspec
index db5c3e0..c0b4fa3 100644
--- a/ext/stringio/stringio.gemspec
+++ b/ext/stringio/stringio.gemspec
@@ -22,4 +22,6 @@ Gem::Specification.new do |s|
s.summary = "Pseudo IO on String".freeze
s.cert_chain = %w[certs/nobu.pem]
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
+
+ s.add_development_dependency 'rake-compiler'
end
diff --git a/ext/strscan/strscan.gemspec b/ext/strscan/strscan.gemspec
index 0f091b7..2a239b4 100644
--- a/ext/strscan/strscan.gemspec
+++ b/ext/strscan/strscan.gemspec
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
s.description = "Provides lexical scanning operations on a String."
s.require_path = %w{lib}
- s.files = %w{depend extconf.rb strscan.c}
+ s.files = %w{ext/strscan/extconf.rb ext/strscan/strscan.c ext/strscan/regenc.h ext/strscan/regint.h}
s.extensions = %w{extconf.rb}
s.required_ruby_version = ">= 2.5.0dev"
@@ -15,4 +15,6 @@ Gem::Specification.new do |s|
s.email = [nil]
s.homepage = "https://www.ruby-lang.org"
s.license = "BSD-2-Clause"
+
+ s.add_development_dependency "rake-compiler"
end
diff --git a/ext/zlib/zlib.gemspec b/ext/zlib/zlib.gemspec
index a073536..a0ac8fa 100644
--- a/ext/zlib/zlib.gemspec
+++ b/ext/zlib/zlib.gemspec
@@ -1,18 +1,25 @@
+# coding: utf-8
# frozen_string_literal: true
-Gem::Specification.new do |s|
- s.name = "zlib"
- s.version = '0.0.1'
- s.date = '2017-02-03'
- s.summary = "An interface for zlib."
- s.description = "An interface for zlib."
+Gem::Specification.new do |spec|
+ spec.name = "zlib"
+ spec.version = "0.1.0"
+ spec.date = '2017-09-13'
+ spec.authors = ["Yukihiro Matsumoto", "UENO Katsuhiro"]
+ spec.email = ["matz@ruby-lang.org", nil]
- s.require_path = %w{lib}
- s.files = %w{depend extconf.rb zlib.c}
- s.extensions = %w{extconf.rb}
- s.required_ruby_version = ">= 2.5.0dev"
+ 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"
- s.authors = ["UENO Katsuhiro"]
- s.email = [nil]
- s.homepage = "https://www.ruby-lang.org"
- s.license = "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"
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.require_paths = ["lib"]
+ spec.extensions = "ext/zlib/extconf.rb"
+ spec.required_ruby_version = ">= 2.5.0dev"
+
+ spec.add_development_dependency "bundler"
+ spec.add_development_dependency "rake"
+ spec.add_development_dependency "rake-compiler"
end