diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-14 02:01:36 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-14 02:01:36 +0000 |
commit | 4d5c414fcc0cd1c01580a1f9dc05a613c13929b2 (patch) | |
tree | b05b3accbce5cd7aae1cc9f73981aeab281d6578 | |
parent | 9ea2102e57114d4c722b90355ab8ffe197938012 (diff) | |
download | ruby-4d5c414fcc0cd1c01580a1f9dc05a613c13929b2.tar.gz |
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
-rw-r--r-- | ext/dbm/dbm.gemspec | 4 | ||||
-rw-r--r-- | ext/fcntl/fcntl.gemspec | 37 | ||||
-rw-r--r-- | ext/io/console/io-console.gemspec | 7 | ||||
-rw-r--r-- | ext/sdbm/sdbm.gemspec | 7 | ||||
-rw-r--r-- | ext/stringio/stringio.gemspec | 2 | ||||
-rw-r--r-- | ext/strscan/strscan.gemspec | 4 | ||||
-rw-r--r-- | ext/zlib/zlib.gemspec | 35 | ||||
-rw-r--r-- | lib/cmath.gemspec | 33 | ||||
-rw-r--r-- | lib/scanf.gemspec | 34 |
9 files changed, 102 insertions, 61 deletions
diff --git a/ext/dbm/dbm.gemspec b/ext/dbm/dbm.gemspec index de331089e2..235466380b 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 09ad38706b..07922e1c25 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 27e1a11e3a..fce3c0bef3 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 c03695bda9..14c1072788 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 db5c3e035c..c0b4fa35fc 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 0f091b781c..2a239b4839 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 a073536f24..a0ac8fa423 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 diff --git a/lib/cmath.gemspec b/lib/cmath.gemspec index 661e4de78b..28ae2549f3 100644 --- a/lib/cmath.gemspec +++ b/lib/cmath.gemspec @@ -1,17 +1,24 @@ +# coding: utf-8 # frozen_string_literal: true -Gem::Specification.new do |s| - s.name = "cmath" - s.version = '0.0.1' - s.date = '2017-02-02' - s.summary = "Provides Trigonometric and Transcendental functions for complex numbers" - s.description = "CMath is a library that provides trigonometric and transcendental functions for complex numbers. The functions in this module accept integers, floating-point numbers or complex numbers as arguments." - s.require_path = %w{lib} - s.files = %w{cmath.rb} - s.required_ruby_version = ">= 2.5.0dev" +Gem::Specification.new do |spec| + spec.name = "cmath" + spec.version = "0.0.1" + spec.date = '2017-02-02' + spec.authors = ["Tadayoshi Funaba"] + spec.email = [nil] - s.authors = ["Tadayoshi Funaba"] - s.email = [nil] - s.homepage = "https://www.ruby-lang.org" - s.license = "BSD-2-Clause" + spec.summary = "Provides Trigonometric and Transcendental functions for complex numbers" + spec.description = "CMath is a library that provides trigonometric and transcendental functions for complex numbers. The functions in this module accept integers, floating-point numbers or complex numbers as arguments." + spec.homepage = "https://github.com/ruby/cmath" + spec.license = "BSD-2-Clause" + + spec.files = "lib/cmath.rb" + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] + spec.required_ruby_version = ">= 2.5.0dev" + + spec.add_development_dependency "bundler" + spec.add_development_dependency "rake" end diff --git a/lib/scanf.gemspec b/lib/scanf.gemspec index cd0c495e38..d861f78e28 100644 --- a/lib/scanf.gemspec +++ b/lib/scanf.gemspec @@ -1,17 +1,25 @@ +# coding: utf-8 # frozen_string_literal: true -Gem::Specification.new do |s| - s.name = "scanf" - s.version = '0.0.1' - s.date = '2017-02-14' - s.summary = "scanf is an implementation of the C function scanf(3)." - s.description = "scanf is an implementation of the C function scanf(3)." - s.require_path = %w{lib} - s.files = %w{scanf.rb} - s.required_ruby_version = ">= 2.5.0dev" +Gem::Specification.new do |spec| + spec.name = "scanf" + spec.version = "0.0.1" + spec.date = '2017-02-14' + spec.authors = ["David Alan Black"] + spec.email = ['dblack@superlink.net'] - s.authors = ["David Alan Black"] - s.email = ['dblack@superlink.net'] - s.homepage = "https://www.ruby-lang.org" - s.license = "BSD-2-Clause" + spec.summary = "scanf is an implementation of the C function scanf(3)." + spec.description = "scanf is an implementation of the C function scanf(3)." + spec.homepage = "https://github.com/ruby/scanf" + spec.license = "BSD-2-Clause" + + spec.files = ["lib/scanf.rb"] + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] + spec.required_ruby_version = ">= 2.5.0dev" + + spec.add_development_dependency "bundler", "~> 1.14" + spec.add_development_dependency "rake", "~> 10.0" + spec.add_development_dependency "test-unit" end |