bigdecimal 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bigdecimal.gemspec +2 -1
- data/lib/bigdecimal.rb +10 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba59492c4c5d6d57a15b9a02b25d8587257d66a083a80eba82ad65d2209a77c5
|
4
|
+
data.tar.gz: d25d0be615ff46b7f38a64ddedda4964c965ef9f9a20fc1a7a79acfa3a297151
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e3de510a188c4658be5d4e6e163a81622aecd60d99d7ff605f18c180fff04fbb2bd327d18b2975e688fbc12c2ed9a02e25f3d94956872156f3b66c0256e4911
|
7
|
+
data.tar.gz: c2db42684202a56b218164603222e6f511c53d9b91545c0a1b142e0570c421b0e16f6ec3d883267c92d6924fa1192fd73fea2eca0390afed5c5c1dcd7b986f21
|
data/bigdecimal.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
bigdecimal_version = '1.4.
|
3
|
+
bigdecimal_version = '1.4.1'
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "bigdecimal"
|
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
ext/bigdecimal/extconf.rb
|
25
25
|
ext/bigdecimal/util/extconf.rb
|
26
26
|
ext/bigdecimal/util/util.c
|
27
|
+
lib/bigdecimal.rb
|
27
28
|
lib/bigdecimal/jacobian.rb
|
28
29
|
lib/bigdecimal/ludcmp.rb
|
29
30
|
lib/bigdecimal/math.rb
|
data/lib/bigdecimal.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
begin
|
2
|
+
require "#{RUBY_VERSION[/\d+\.\d+/]}/bigdecimal.so"
|
3
|
+
rescue LoadError
|
4
|
+
require 'bigdecimal.so'
|
5
|
+
end
|
6
|
+
|
7
|
+
def BigDecimal.new(*args, **kwargs)
|
8
|
+
warn "BigDecimal.new is deprecated; use BigDecimal() method instead.", uplevel: 1
|
9
|
+
BigDecimal(*args, **kwargs)
|
10
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bigdecimal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenta Murata
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-12-
|
13
|
+
date: 2018-12-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -100,6 +100,7 @@ files:
|
|
100
100
|
- ext/bigdecimal/extconf.rb
|
101
101
|
- ext/bigdecimal/util/extconf.rb
|
102
102
|
- ext/bigdecimal/util/util.c
|
103
|
+
- lib/bigdecimal.rb
|
103
104
|
- lib/bigdecimal/jacobian.rb
|
104
105
|
- lib/bigdecimal/ludcmp.rb
|
105
106
|
- lib/bigdecimal/math.rb
|
@@ -127,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
128
|
- !ruby/object:Gem::Version
|
128
129
|
version: '0'
|
129
130
|
requirements: []
|
130
|
-
rubygems_version: 3.0.
|
131
|
+
rubygems_version: 3.0.1
|
131
132
|
signing_key:
|
132
133
|
specification_version: 4
|
133
134
|
summary: Arbitrary-precision decimal floating-point number library.
|