summaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/cmath.gemspec33
-rw-r--r--lib/scanf.gemspec34
2 files changed, 41 insertions, 26 deletions
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