ruby-mpfr.gemspec in ruby-mpfr-0.0.15 vs ruby-mpfr.gemspec in ruby-mpfr-0.0.16
- old
+ new
@@ -1,28 +1,27 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "mpfr/version"
-Gem::Specification.new do |s|
- s.name = "ruby-mpfr"
- s.version = MPFR::VERSION
- s.authors = ["Takayuki YAMAGUCHI"]
- s.email = ["d@ytak.info"]
- s.homepage = ""
- s.summary = "Ruby bindings of MPFR"
- s.description = "Ruby bindings of MPFR that is a C library for multiple-precision floating-point computations"
+Gem::Specification.new do |spec|
+ spec.name = "ruby-mpfr"
+ spec.version = MPFR::VERSION
+ spec.authors = ["Takayuki YAMAGUCHI"]
+ spec.email = ["d@ytak.info"]
+ spec.homepage = ""
+ spec.summary = "Ruby bindings of MPFR"
+ spec.description = "Ruby bindings of MPFR that is a C library for multiple-precision floating-point computations"
+ spec.license = "GPLv3"
- s.rubyforge_project = "ruby-mpfr"
+ spec.files = `git ls-files`.split("\n")
+ spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ spec.require_paths = ["lib", "ext", "ext/gmp", "ext/mpfr_matrix"]
+ spec.extensions = Dir.glob('ext/**/extconf.rb')
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
- s.require_paths = ["lib", "ext", "ext/gmp", "ext/mpfr_matrix"]
- s.extensions = Dir.glob('ext/**/extconf.rb')
-
# specify any dependencies here; for example:
- s.add_development_dependency "rspec"
- s.add_development_dependency "yard"
- s.add_development_dependency "extconf-task"
- s.add_development_dependency "gmp"
- # s.add_runtime_dependency "rest-client"
+ spec.add_development_dependency "rspec"
+ spec.add_development_dependency "yard"
+ spec.add_development_dependency "extconf-task"
+ spec.add_development_dependency "gmp"
+ # spec.add_runtime_dependency "rest-client"
end