ruby-changes:47755
From: hsbt <ko1@a...>
Date: Thu, 14 Sep 2017 11:01:40 +0900 (JST)
Subject: [ruby-changes:47755] hsbt:r59873 (trunk): Update gemspec for gem released versions.
hsbt 2017-09-14 11:01:36 +0900 (Thu, 14 Sep 2017) New Revision: 59873 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59873 Log: Update gemspec for gem released versions. * These are dbm, fcntl, io-console, sdbm, stringio, strscan, zlib, cmath, scanf. Modified files: trunk/ext/dbm/dbm.gemspec trunk/ext/fcntl/fcntl.gemspec trunk/ext/io/console/io-console.gemspec trunk/ext/sdbm/sdbm.gemspec trunk/ext/stringio/stringio.gemspec trunk/ext/strscan/strscan.gemspec trunk/ext/zlib/zlib.gemspec trunk/lib/cmath.gemspec trunk/lib/scanf.gemspec Index: lib/scanf.gemspec =================================================================== --- lib/scanf.gemspec (revision 59872) +++ lib/scanf.gemspec (revision 59873) @@ -1,17 +1,25 @@ https://github.com/ruby/ruby/blob/trunk/lib/scanf.gemspec#L1 +# 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@s...'] - s.authors = ["David Alan Black"] - s.email = ['dblack@s...'] - 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 Index: lib/cmath.gemspec =================================================================== --- lib/cmath.gemspec (revision 59872) +++ lib/cmath.gemspec (revision 59873) @@ -1,17 +1,24 @@ https://github.com/ruby/ruby/blob/trunk/lib/cmath.gemspec#L1 +# 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 Index: ext/io/console/io-console.gemspec =================================================================== --- ext/io/console/io-console.gemspec (revision 59872) +++ ext/io/console/io-console.gemspec (revision 59873) @@ -13,9 +13,12 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/ext/io/console/io-console.gemspec#L13 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 Index: ext/sdbm/sdbm.gemspec =================================================================== --- ext/sdbm/sdbm.gemspec (revision 59872) +++ ext/sdbm/sdbm.gemspec (revision 59873) @@ -7,12 +7,15 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/ext/sdbm/sdbm.gemspec#L7 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@r..."] 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 Index: ext/zlib/zlib.gemspec =================================================================== --- ext/zlib/zlib.gemspec (revision 59872) +++ ext/zlib/zlib.gemspec (revision 59873) @@ -1,18 +1,25 @@ https://github.com/ruby/ruby/blob/trunk/ext/zlib/zlib.gemspec#L1 +# 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@r...", 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 Index: ext/dbm/dbm.gemspec =================================================================== --- ext/dbm/dbm.gemspec (revision 59872) +++ ext/dbm/dbm.gemspec (revision 59873) @@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/dbm/dbm.gemspec#L1 # 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| https://github.com/ruby/ruby/blob/trunk/ext/dbm/dbm.gemspec#L13 s.authors = ["Yukihiro Matsumoto"] s.email = ["matz@r..."] - 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" Index: ext/fcntl/fcntl.gemspec =================================================================== --- ext/fcntl/fcntl.gemspec (revision 59872) +++ ext/fcntl/fcntl.gemspec (revision 59873) @@ -1,17 +1,26 @@ https://github.com/ruby/ruby/blob/trunk/ext/fcntl/fcntl.gemspec#L1 -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@r..."] - s.authors = ["Yukihiro Matsumoto"] - s.email = ["matz@r..."] - 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 Index: ext/strscan/strscan.gemspec =================================================================== --- ext/strscan/strscan.gemspec (revision 59872) +++ ext/strscan/strscan.gemspec (revision 59873) @@ -7,7 +7,7 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/ext/strscan/strscan.gemspec#L7 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| https://github.com/ruby/ruby/blob/trunk/ext/strscan/strscan.gemspec#L15 s.email = [nil] s.homepage = "https://www.ruby-lang.org" s.license = "BSD-2-Clause" + + s.add_development_dependency "rake-compiler" end Index: ext/stringio/stringio.gemspec =================================================================== --- ext/stringio/stringio.gemspec (revision 59872) +++ ext/stringio/stringio.gemspec (revision 59873) @@ -22,4 +22,6 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/ext/stringio/stringio.gemspec#L22 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/