bigdecimal 1.4.0.pre.20181214a → 1.4.0.pre.20181220a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63fa8de9c924ce84000425c72c50334ca15b476e5b18fc86339fb51ad3e16633
4
- data.tar.gz: d92d2000bb5f6b50f4826a0d204054bc5e193c37ef1c6cac4a951cbbf0f9a6ca
3
+ metadata.gz: 282bdf1625bd905cddd8a514f317a72fe4eb8c17f9335d123259551308cad865
4
+ data.tar.gz: ebfb5e8226148be16fee2739cd0da4d814b17446a1a01dc1b2b337da0a50dec6
5
5
  SHA512:
6
- metadata.gz: 42db3793b0a1a30d750b91db45a439a325d71b9444377655187473fcb6f9e9c1f0e5fa0ff425d3f00327bad7904da76a6f05afd20f48d6770f04b244d39fbffb
7
- data.tar.gz: b9bd0111382bc1d5cb992f9a72e914c8c583885b549a170c4670596a146435ddc52d33c2e14795ac6bcdd89e79a4b2ff4f43cf0499b3a67dd1fa278383bcba92
6
+ metadata.gz: 381f3cf9f2f077274d9d41ad0bbb00ca463002e46ef99ea9622471c8958a1fba632a9138af7dffd96035dbaf325ac9e7d93a379ef9ef78e389411ab34c94c6c8
7
+ data.tar.gz: b7ece270f85988a2f5e8a5890e667a5540c84c8d08440f8e3e18d960c8e47464f3e9028c60f2fa59c29e34c5ef82af0f8b561c21711e10114d81da9078503ac3
data/bigdecimal.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  # coding: utf-8
2
2
 
3
- bigdecimal_version = '1.4.0.pre.20181214a'
3
+ bigdecimal_version = '1.4.0.pre.20181220a'
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "bigdecimal"
@@ -4271,7 +4271,7 @@ VpAlloc(size_t mx, const char *szVal, int strict_p, int exc)
4271
4271
  while (ISSPACE(szVal[j])) ++j;
4272
4272
 
4273
4273
  /* Invalid character */
4274
- if (szVal[j]) {
4274
+ if (szVal[j] && strict_p) {
4275
4275
  goto invalid_value;
4276
4276
  }
4277
4277
  }
@@ -1,4 +1,5 @@
1
1
  extconf.h: $(srcdir)/$(GEMSPEC)
2
+ Makefile: $(BIGDECIMAL_RB)
2
3
 
3
4
  # AUTOGENERATED DEPENDENCIES START
4
5
  bigdecimal.o: $(RUBY_EXTCONF_H)
@@ -28,6 +28,13 @@ have_func("rb_rational_den", "ruby.h")
28
28
  have_func("rb_array_const_ptr", "ruby.h")
29
29
  have_func("rb_sym2str", "ruby.h")
30
30
 
31
+ if File.file?(File.expand_path('../lib/bigdecimal.rb', __FILE__))
32
+ bigdecimal_rb = "$(srcdir)/lib/bigdecimal.rb"
33
+ else
34
+ bigdecimal_rb = "$(srcdir)/../../lib/bigdecimal.rb"
35
+ end
36
+
31
37
  create_makefile('bigdecimal') {|mf|
32
38
  mf << "GEMSPEC = #{gemspec_name}\n"
39
+ mf << "BIGDECIMAL_RB = #{bigdecimal_rb}\n"
33
40
  }
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.0.pre.20181214a
4
+ version: 1.4.0.pre.20181220a
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-14 00:00:00.000000000 Z
13
+ date: 2018-12-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -127,8 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  - !ruby/object:Gem::Version
128
128
  version: 1.3.1
129
129
  requirements: []
130
- rubyforge_project:
131
- rubygems_version: 2.7.6
130
+ rubygems_version: 3.0.0
132
131
  signing_key:
133
132
  specification_version: 4
134
133
  summary: Arbitrary-precision decimal floating-point number library.