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 /lib/scanf.gemspec | |
parent | 9ea2102e57114d4c722b90355ab8ffe197938012 (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/scanf.gemspec')
-rw-r--r-- | lib/scanf.gemspec | 34 |
1 files changed, 21 insertions, 13 deletions
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 |