diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cmath.gemspec | 33 | ||||
-rw-r--r-- | lib/scanf.gemspec | 34 |
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 = ['[email protected]'] - s.authors = ["David Alan Black"] - s.email = ['[email protected]'] - 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 |