summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-30 05:39:35 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-30 05:39:35 +0000
commit086dd7508f1e06e9913c3925fbf5dcd4bc235ae8 (patch)
tree25d4c33911a6dfc6b70040375c3a7ed9eefd4a86 /ext
parent70d89f2c1630966e5e813084eb5fba5ff045fdc3 (diff)
Merge commit r32754:
* ext/bigdecimal/bigdecimal.c (BigDecimal_version): version 1.1.0. * ext/bigdecimal/bigdecimal.gemspec: turn into a default gem. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/bigdecimal/bigdecimal.c3
-rw-r--r--ext/bigdecimal/bigdecimal.gemspec30
2 files changed, 32 insertions, 1 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index b3360451a9..bea5180b58 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -119,8 +119,9 @@ BigDecimal_version(VALUE self)
/*
* 1.0.0: Ruby 1.8.0
* 1.0.1: Ruby 1.8.1
+ * 1.1.0: Ruby 1.9.3
*/
- return rb_str_new2("1.0.1");
+ return rb_str_new2("1.1.0");
}
/*
diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec
new file mode 100644
index 0000000000..c8bd0aef18
--- /dev/null
+++ b/ext/bigdecimal/bigdecimal.gemspec
@@ -0,0 +1,30 @@
+# -*- ruby -*-
+_VERSION = "1.1.0"
+
+Gem::Specification.new do |s|
+ s.name = "bigdecimal"
+ s.version = _VERSION
+ s.date = "2011-07-30"
+ s.summary = "Arbitrary-precision decimal floating-point number library."
+ s.email = "mrkn@mrkn.jp"
+ s.description = "This library provides arbitrary-precision decimal floating-point number class."
+ s.authors = ["Kenta Murata", "Shigeo Kobayashi"]
+ s.require_path = %[.]
+ s.files = %w[
+ bigdecimal.gemspec
+ bigdecimal.c
+ bigdecimal.h
+ README
+ depend extconf.rb
+ lib/bigdecimal/jacobian.rb
+ lib/bigdecimal/lcdcmp.rb
+ lib/bigdecimal/math.rb
+ lib/bigdecimal/newton.rb
+ lib/bigdecimal/util.rb
+ lib/bigdecimal/version.rb
+ sample/linear.rb
+ sample/nlsolve.rb
+ sample/pi.rb
+ ]
+ s.extensions = %w[extconf.rb]
+end