cloudsmith-api 2.0.19 → 2.0.20

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.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +4 -4
  4. data/build.json +1 -1
  5. data/docs/StatusBasic.md +1 -1
  6. data/lib/cloudsmith-api/models/status_basic.rb +1 -1
  7. data/lib/cloudsmith-api/version.rb +1 -1
  8. data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.2.2.gem +0 -0
  9. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.22/gem_make.out +1 -1
  10. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.2/bigdecimal.so +0 -0
  11. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/gem_make.out +61 -64
  12. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/mkmf.log +10 -10
  13. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.2/gem_make.out +2 -2
  14. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.2/mkmf.log +1 -1
  15. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
  16. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
  17. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/Makefile +2 -2
  18. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/bigdecimal.c +13 -9
  19. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.o +0 -0
  20. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.so +0 -0
  21. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/missing.o +0 -0
  22. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal.so +0 -0
  23. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.2/ext/ffi_c/Makefile +2 -2
  24. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
  25. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
  26. data/vendor/bundle/ruby/2.6.0/specifications/{bigdecimal-3.2.1.gemspec → bigdecimal-3.2.2.gemspec} +2 -2
  27. metadata +33 -33
  28. data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.2.1.gem +0 -0
  29. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.1/bigdecimal.so +0 -0
  30. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/bigdecimal.o +0 -0
  31. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/bigdecimal.so +0 -0
  32. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/lib/bigdecimal.so +0 -0
  33. /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/gem.build_complete +0 -0
  34. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/LICENSE +0 -0
  35. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/bigdecimal.gemspec +0 -0
  36. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/.sitearchdir.time +0 -0
  37. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/bigdecimal.h +0 -0
  38. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/bits.h +0 -0
  39. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/extconf.rb +0 -0
  40. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/feature.h +0 -0
  41. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/missing/dtoa.c +0 -0
  42. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/missing.c +0 -0
  43. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/missing.h +0 -0
  44. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/ext/bigdecimal/static_assert.h +0 -0
  45. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/lib/bigdecimal/jacobian.rb +0 -0
  46. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/lib/bigdecimal/ludcmp.rb +0 -0
  47. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/lib/bigdecimal/math.rb +0 -0
  48. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/lib/bigdecimal/newton.rb +0 -0
  49. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/lib/bigdecimal/util.rb +0 -0
  50. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/lib/bigdecimal.rb +0 -0
  51. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/sample/linear.rb +0 -0
  52. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/sample/nlsolve.rb +0 -0
  53. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.1 → bigdecimal-3.2.2}/sample/pi.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 030006623533177d8295adae86d2e0772e74f7e2766a6cabaff7d6d98c944d50
4
- data.tar.gz: 789904e9a4a1925022f917e538efabc7c951db1da1658d8cfb4a8ad2309a56e4
3
+ metadata.gz: 35dff76e11fa075baedcf1304cb322215bc8fca38f50f643a963cc816a0e0a24
4
+ data.tar.gz: 7abd55a9164702d2ced6d6dd442e7d80260ea695bba49a471c1d3ebc0ccacf57
5
5
  SHA512:
6
- metadata.gz: 5dbdae2ab2d548831c5d5efe24f52f5c13d081ab8bee482ded51b10b17ab71c152fd1a9f2cd885ce1c5ffdb23fa5f429d74a975ada0af4fd4eeeb0dc64c900d2
7
- data.tar.gz: 249566a7e2bd8cca9d4188dea8ab9416c26073ab36a7a4f92bfd3943be8e2bec3f53dcd716708d0c9891b510bc98872ff5bcb4e59e3f6616eca72738ab48bda3
6
+ metadata.gz: a2ad882d7491cbef8ea2d9cacd3c88ea91b5ca5025d77dde26580238ab78043d526a6367cdf2b7f5e331c11fc121c212ef34b3e1b49b90ee4abb69cb04a3a9b9
7
+ data.tar.gz: 3b9cfed00c5dd7a6e5e333a7bb2d8f17c14170f0dc3b8356724441ec8bc188015d7aa7dab3320211e898e7daf6148a471820de3d20d1755138bcb221c2d860ed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudsmith-api (2.0.19)
4
+ cloudsmith-api (2.0.20)
5
5
  addressable (~> 2.3, >= 2.3.0)
6
6
  json (~> 2.1, >= 2.1.0)
7
7
  typhoeus (~> 1.0, >= 1.0.1)
@@ -18,7 +18,7 @@ GEM
18
18
  sys-uname
19
19
  autotest-growl (0.2.16)
20
20
  autotest-rails-pure (4.1.2)
21
- bigdecimal (3.2.1)
21
+ bigdecimal (3.2.2)
22
22
  crack (1.0.0)
23
23
  bigdecimal
24
24
  rexml
data/README.md CHANGED
@@ -7,7 +7,7 @@ The API to the Cloudsmith Service
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 2.0.19
10
+ - Package version: 2.0.20
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
13
13
 
@@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./cloudsmith-api-2.0.19.gem
27
+ gem install ./cloudsmith-api-2.0.20.gem
28
28
  ```
29
- (for development, run `gem install --dev ./cloudsmith-api-2.0.19.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./cloudsmith-api-2.0.20.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'cloudsmith-api', '~> 2.0.19'
35
+ gem 'cloudsmith-api', '~> 2.0.20'
36
36
 
37
37
  ### Install from Git
38
38
 
data/build.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "gemName": "cloudsmith-api",
9
9
  "gemRequiredRubyVersion": ">= 1.9",
10
10
  "gemSummary": "Cloudsmith API",
11
- "gemVersion": "2.0.19",
11
+ "gemVersion": "2.0.20",
12
12
  "hideGenerationTimestamp": true,
13
13
  "moduleName": "CloudsmithApi",
14
14
  "sortParamsByRequiredFlag": true
data/docs/StatusBasic.md CHANGED
@@ -4,6 +4,6 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **detail** | **String** | The message describing the state of the API. | [optional] [default to 'Cloudsmith API is operational.']
7
- **version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.703.0']
7
+ **version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.704.1']
8
8
 
9
9
 
@@ -53,7 +53,7 @@ class StatusBasic
53
53
  if attributes.has_key?(:'version')
54
54
  self.version = attributes[:'version']
55
55
  else
56
- self.version = '1.703.0'
56
+ self.version = '1.704.1'
57
57
  end
58
58
  end
59
59
 
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.43
11
11
  =end
12
12
 
13
13
  module CloudsmithApi
14
- VERSION = '2.0.19'
14
+ VERSION = '2.0.20'
15
15
  end
@@ -1,5 +1,5 @@
1
1
  current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.22/ext/fsevent
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20250604-878-191eqfg.rb extconf.rb
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20250604-874-87msl8.rb extconf.rb
3
3
 
4
4
  current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.22/ext/fsevent
5
5
  make DESTDIR\= clean
@@ -1,5 +1,5 @@
1
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20250604-878-1ak57t5.rb extconf.rb
1
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20250604-874-15o1s37.rb extconf.rb
3
3
  checking for __builtin_clz()... yes
4
4
  checking for __builtin_clzl()... yes
5
5
  checking for __builtin_clzll()... yes
@@ -27,119 +27,116 @@ checking for rb_category_warn() in ruby.h... no
27
27
  checking for RB_WARN_CATEGORY_DEPRECATED in ruby.h... no
28
28
  creating Makefile
29
29
 
30
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal
30
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal
31
31
  make DESTDIR\= clean
32
32
 
33
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal
33
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal
34
34
  make DESTDIR\=
35
35
  compiling bigdecimal.c
36
36
  bigdecimal.c: In function ‘GetVpValueWithPrec’:
37
37
  bigdecimal.c:453:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
38
38
  453 | Real *vp;
39
39
  | ^~~~
40
- bigdecimal.c: In function ‘BigDecimal_count_precision_and_scale’:
41
- bigdecimal.c:523:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
42
- 523 | Real *p;
43
- | ^~~~
44
40
  In file included from bigdecimal.c:11:
41
+ bigdecimal.c: In function ‘VpCountPrecisionAndScale’:
45
42
  bigdecimal.h:21:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
46
43
  21 | # define DECDIG uint32_t
47
44
  | ^~~~~~~~
48
- bigdecimal.c:532:5: note: in expansion of macro ‘DECDIG’
49
- 532 | DECDIG x;
45
+ bigdecimal.c:527:5: note: in expansion of macro ‘DECDIG’
46
+ 527 | DECDIG x;
50
47
  | ^~~~~~
51
- bigdecimal.c:538:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
52
- 538 | int nlz = BASE_FIG;
48
+ bigdecimal.c:533:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
49
+ 533 | int nlz = BASE_FIG;
53
50
  | ^~~
54
- bigdecimal.c:541:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
55
- 541 | int ntz = 0;
51
+ bigdecimal.c:536:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
52
+ 536 | int ntz = 0;
56
53
  | ^~~
57
- bigdecimal.c:580:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
58
- 580 | ssize_t ex = p->exponent;
54
+ bigdecimal.c:575:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
55
+ 575 | ssize_t ex = p->exponent;
59
56
  | ^~~~~~~
60
57
  bigdecimal.c: In function ‘BigDecimal_n_significant_digits’:
61
- bigdecimal.c:722:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
62
- 722 | ssize_t n = p->Prec; /* The length of frac without trailing zeros. */
58
+ bigdecimal.c:726:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
59
+ 726 | ssize_t n = p->Prec; /* The length of frac without trailing zeros. */
63
60
  | ^~~~~~~
64
61
  In file included from bigdecimal.c:11:
65
62
  bigdecimal.h:21:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
66
63
  21 | # define DECDIG uint32_t
67
64
  | ^~~~~~~~
68
- bigdecimal.c:726:5: note: in expansion of macro ‘DECDIG’
69
- 726 | DECDIG x;
65
+ bigdecimal.c:730:5: note: in expansion of macro ‘DECDIG’
66
+ 730 | DECDIG x;
70
67
  | ^~~~~~
71
- bigdecimal.c:730:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
72
- 730 | int ntz = 0;
68
+ bigdecimal.c:734:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
69
+ 734 | int ntz = 0;
73
70
  | ^~~
74
- bigdecimal.c:733:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
75
- 733 | ssize_t n_significant_digits = BASE_FIG*n - nlz - ntz;
71
+ bigdecimal.c:737:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
72
+ 737 | ssize_t n_significant_digits = BASE_FIG*n - nlz - ntz;
76
73
  | ^~~~~~~
77
74
  bigdecimal.c: In function ‘BigDecimal_DoDivmod’:
78
- bigdecimal.c:1905:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
79
- 1905 | VALUE rr = r;
75
+ bigdecimal.c:1909:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
76
+ 1909 | VALUE rr = r;
80
77
  | ^~~~~
81
- bigdecimal.c:1940:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
82
- 1940 | VALUE nan = BigDecimal_nan();
78
+ bigdecimal.c:1944:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
79
+ 1944 | VALUE nan = BigDecimal_nan();
83
80
  | ^~~~~
84
81
  bigdecimal.c: In function ‘check_exception’:
85
- bigdecimal.c:3274:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
86
- 3274 | Real *vp;
82
+ bigdecimal.c:3278:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
83
+ 3278 | Real *vp;
87
84
  | ^~~~
88
85
  bigdecimal.c: In function ‘rb_uint64_convert_to_BigDecimal’:
89
- bigdecimal.c:3321:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
90
- 3321 | const size_t exp = len + ntz;
86
+ bigdecimal.c:3325:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
87
+ 3325 | const size_t exp = len + ntz;
91
88
  | ^~~~~
92
89
  bigdecimal.c: In function ‘rb_big_convert_to_BigDecimal’:
93
- bigdecimal.c:3351:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
94
- 3351 | int leading_zeros;
90
+ bigdecimal.c:3355:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
91
+ 3355 | int leading_zeros;
95
92
  | ^~~
96
93
  bigdecimal.c: In function ‘rb_float_convert_to_BigDecimal’:
97
- bigdecimal.c:3401:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
98
- 3401 | double d = RFLOAT_VALUE(val);
94
+ bigdecimal.c:3405:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
95
+ 3405 | double d = RFLOAT_VALUE(val);
99
96
  | ^~~~~~
100
- bigdecimal.c:3440:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
101
- 3440 | char buf[BIGDECIMAL_DOUBLE_FIGURES + BASE_FIG + 2 + 1]; /* sizeof(buf) == 28 in the typical case */
97
+ bigdecimal.c:3444:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
98
+ 3444 | char buf[BIGDECIMAL_DOUBLE_FIGURES + BASE_FIG + 2 + 1]; /* sizeof(buf) == 28 in the typical case */
102
99
  | ^~~~
103
- bigdecimal.c:3453:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
104
- 3453 | VALUE inum;
100
+ bigdecimal.c:3457:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
101
+ 3457 | VALUE inum;
105
102
  | ^~~~~
106
- bigdecimal.c:3510:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
107
- 3510 | const size_t ntz10 = prec * BASE_FIG - len10;
103
+ bigdecimal.c:3514:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
104
+ 3514 | const size_t ntz10 = prec * BASE_FIG - len10;
108
105
  | ^~~~~
109
- bigdecimal.c:3530:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
110
- 3530 | const size_t nlz10 = decpt % BASE_FIG;
106
+ bigdecimal.c:3534:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
107
+ 3534 | const size_t nlz10 = decpt % BASE_FIG;
111
108
  | ^~~~~
112
- bigdecimal.c:3533:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
113
- 3533 | const size_t ntz10 = prec * BASE_FIG - nlz10 - len10;
109
+ bigdecimal.c:3537:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
110
+ 3537 | const size_t ntz10 = prec * BASE_FIG - nlz10 - len10;
114
111
  | ^~~~~
115
- bigdecimal.c:3546:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
116
- 3546 | VALUE bd = rb_inum_convert_to_BigDecimal(inum, SIZE_MAX, raise_exception);
112
+ bigdecimal.c:3550:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
113
+ 3550 | VALUE bd = rb_inum_convert_to_BigDecimal(inum, SIZE_MAX, raise_exception);
117
114
  | ^~~~~
118
115
  bigdecimal.c: In function ‘rb_rational_convert_to_BigDecimal’:
119
- bigdecimal.c:3569:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
120
- 3569 | VALUE num = rb_inum_convert_to_BigDecimal(rb_rational_num(val), 0, raise_exception);
116
+ bigdecimal.c:3573:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
117
+ 3573 | VALUE num = rb_inum_convert_to_BigDecimal(rb_rational_num(val), 0, raise_exception);
121
118
  | ^~~~~
122
119
  bigdecimal.c: In function ‘rb_cstr_convert_to_BigDecimal’:
123
- bigdecimal.c:3580:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
124
- 3580 | Real *vp = VpCreateRbObject(digs, c_str, raise_exception);
120
+ bigdecimal.c:3584:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
121
+ 3584 | Real *vp = VpCreateRbObject(digs, c_str, raise_exception);
125
122
  | ^~~~
126
123
  bigdecimal.c: In function ‘rb_convert_to_BigDecimal’:
127
- bigdecimal.c:3618:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
128
- 3618 | Real *vp;
124
+ bigdecimal.c:3622:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
125
+ 3622 | Real *vp;
129
126
  | ^~~~
130
- bigdecimal.c:3621:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
131
- 3621 | VALUE copy = TypedData_Wrap_Struct(rb_cBigDecimal, &BigDecimal_data_type, 0);
127
+ bigdecimal.c:3625:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
128
+ 3625 | VALUE copy = TypedData_Wrap_Struct(rb_cBigDecimal, &BigDecimal_data_type, 0);
132
129
  | ^~~~~
133
- bigdecimal.c:3652:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
134
- 3652 | VALUE str = rb_check_convert_type(val, T_STRING, "String", "to_str");
130
+ bigdecimal.c:3656:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
131
+ 3656 | VALUE str = rb_check_convert_type(val, T_STRING, "String", "to_str");
135
132
  | ^~~~~
136
133
  bigdecimal.c: In function ‘f_BigDecimal’:
137
- bigdecimal.c:3715:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
138
- 3715 | int exception = opts_exception_p(opts);
134
+ bigdecimal.c:3719:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
135
+ 3719 | int exception = opts_exception_p(opts);
139
136
  | ^~~
140
137
  bigdecimal.c: In function ‘protected_VpCtoV’:
141
- bigdecimal.c:5219:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
142
- 5219 | VALUE result = rb_protect(call_VpCtoV, (VALUE)&args, &state);
138
+ bigdecimal.c:5223:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
139
+ 5223 | VALUE result = rb_protect(call_VpCtoV, (VALUE)&args, &state);
143
140
  | ^~~~~
144
141
  bigdecimal.c: At top level:
145
142
  cc1: warning: unrecognized command line option ‘-Wno-self-assign’
@@ -148,6 +145,6 @@ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand
148
145
  compiling missing.c
149
146
  linking shared-object bigdecimal.so
150
147
 
151
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal
148
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal
152
149
  make DESTDIR\= install
153
- /usr/bin/install -c -m 0755 bigdecimal.so ./.gem.20250604-878-3r7ot8
150
+ /usr/bin/install -c -m 0755 bigdecimal.so ./.gem.20250604-874-ktfbz
@@ -111,8 +111,8 @@ checked program was:
111
111
  have_func: checking for _lzcnt_u32() in x86intrin.h... -------------------- no
112
112
 
113
113
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
114
- /usr/bin/ld: /tmp/cc2ZytYw.o: in function `t':
115
- /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/conftest.c:16: undefined reference to `_lzcnt_u32'
114
+ /usr/bin/ld: /tmp/ccBqKSYE.o: in function `t':
115
+ /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/conftest.c:16: undefined reference to `_lzcnt_u32'
116
116
  collect2: error: ld returned 1 exit status
117
117
  checked program was:
118
118
  /* begin */
@@ -173,8 +173,8 @@ checked program was:
173
173
  have_func: checking for _lzcnt_u64() in x86intrin.h... -------------------- no
174
174
 
175
175
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
176
- /usr/bin/ld: /tmp/ccIfFXKh.o: in function `t':
177
- /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/conftest.c:16: undefined reference to `_lzcnt_u64'
176
+ /usr/bin/ld: /tmp/ccj3HcyQ.o: in function `t':
177
+ /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/conftest.c:16: undefined reference to `_lzcnt_u64'
178
178
  collect2: error: ld returned 1 exit status
179
179
  checked program was:
180
180
  /* begin */
@@ -357,8 +357,8 @@ checked program was:
357
357
  /* end */
358
358
 
359
359
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
360
- /usr/bin/ld: /tmp/ccoWWRrF.o: in function `t':
361
- /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/conftest.c:17: undefined reference to `__builtin_isfinite'
360
+ /usr/bin/ld: /tmp/ccG05Y0h.o: in function `t':
361
+ /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/conftest.c:17: undefined reference to `__builtin_isfinite'
362
362
  collect2: error: ld returned 1 exit status
363
363
  checked program was:
364
364
  /* begin */
@@ -565,8 +565,8 @@ checked program was:
565
565
  /* end */
566
566
 
567
567
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
568
- /usr/bin/ld: /tmp/ccmRVBE2.o: in function `t':
569
- /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/conftest.c:17: undefined reference to `rb_opts_exception_p'
568
+ /usr/bin/ld: /tmp/ccIWncUn.o: in function `t':
569
+ /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/conftest.c:17: undefined reference to `rb_opts_exception_p'
570
570
  collect2: error: ld returned 1 exit status
571
571
  checked program was:
572
572
  /* begin */
@@ -624,8 +624,8 @@ checked program was:
624
624
  /* end */
625
625
 
626
626
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
627
- /usr/bin/ld: /tmp/cciSku4C.o: in function `t':
628
- /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/conftest.c:17: undefined reference to `rb_category_warn'
627
+ /usr/bin/ld: /tmp/ccjXcF3c.o: in function `t':
628
+ /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/conftest.c:17: undefined reference to `rb_category_warn'
629
629
  collect2: error: ld returned 1 exit status
630
630
  checked program was:
631
631
  /* begin */
@@ -1,5 +1,5 @@
1
1
  current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.2/ext/ffi_c
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20250604-878-o92z8f.rb extconf.rb
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20250604-874-19v7o8b.rb extconf.rb
3
3
  checking for ffi_prep_closure_loc() in -lffi... yes
4
4
  checking for ffi_prep_cif_var()... yes
5
5
  checking for ffi_raw_call()... yes
@@ -41,4 +41,4 @@ linking shared-object ffi_c.so
41
41
 
42
42
  current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.2/ext/ffi_c
43
43
  make DESTDIR\= install
44
- /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20250604-878-1o85nss
44
+ /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20250604-874-uvgacz
@@ -247,7 +247,7 @@ checked program was:
247
247
  /* end */
248
248
 
249
249
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lffi -lffi -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lffi -lffi -lm -lc"
250
- /usr/bin/ld: /tmp/cc6yLpS0.o: in function `t':
250
+ /usr/bin/ld: /tmp/ccn9nZY9.o: in function `t':
251
251
  /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.2/ext/ffi_c/conftest.c:15: undefined reference to `rb_gc_mark_movable'
252
252
  collect2: error: ld returned 1 exit status
253
253
  checked program was:
@@ -1,5 +1,5 @@
1
1
  current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20250604-878-mpkwm9.rb extconf.rb
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20250604-874-i46beq.rb extconf.rb
3
3
  checking for rb_enc_raise() in ruby.h... yes
4
4
  checking for rb_enc_interned_str() in ruby.h... no
5
5
  checking for whether -std=c99 is accepted as CFLAGS... yes
@@ -26,4 +26,4 @@ linking shared-object json/ext/parser.so
26
26
 
27
27
  current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser
28
28
  make DESTDIR\= install
29
- /usr/bin/install -c -m 0755 parser.so ./.gem.20250604-878-1shfkzq/json/ext
29
+ /usr/bin/install -c -m 0755 parser.so ./.gem.20250604-874-388s36/json/ext
@@ -100,7 +100,7 @@ checked program was:
100
100
  /* end */
101
101
 
102
102
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
103
- /usr/bin/ld: /tmp/ccx39rV3.o: in function `t':
103
+ /usr/bin/ld: /tmp/ccXeZpKl.o: in function `t':
104
104
  /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/conftest.c:17: undefined reference to `rb_enc_interned_str'
105
105
  collect2: error: ld returned 1 exit status
106
106
  checked program was:
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(vendorlibdir)/$(sitearch)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20250604-878-3r7ot8
35
- sitelibdir = $(DESTDIR)./.gem.20250604-878-3r7ot8
34
+ sitearchdir = $(DESTDIR)./.gem.20250604-874-ktfbz
35
+ sitelibdir = $(DESTDIR)./.gem.20250604-874-ktfbz
36
36
  sitedir = $(rubylibprefix)/site_ruby
37
37
  rubyarchdir = $(rubylibdir)/$(arch)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -31,7 +31,7 @@
31
31
  #include "bits.h"
32
32
  #include "static_assert.h"
33
33
 
34
- #define BIGDECIMAL_VERSION "3.2.1"
34
+ #define BIGDECIMAL_VERSION "3.2.2"
35
35
 
36
36
  /* #define ENABLE_NUMERIC_STRING */
37
37
 
@@ -513,15 +513,10 @@ BigDecimal_prec(VALUE self)
513
513
  }
514
514
 
515
515
  static void
516
- BigDecimal_count_precision_and_scale(VALUE self, ssize_t *out_precision, ssize_t *out_scale)
516
+ VpCountPrecisionAndScale(Real *p, ssize_t *out_precision, ssize_t *out_scale)
517
517
  {
518
- ENTER(1);
519
-
520
518
  if (out_precision == NULL && out_scale == NULL)
521
519
  return;
522
-
523
- Real *p;
524
- GUARD_OBJ(p, GetVpValue(self, 1));
525
520
  if (VpIsZero(p) || !VpIsDef(p)) {
526
521
  zero:
527
522
  if (out_precision) *out_precision = 0;
@@ -625,6 +620,15 @@ BigDecimal_count_precision_and_scale(VALUE self, ssize_t *out_precision, ssize_t
625
620
  }
626
621
  }
627
622
 
623
+ static void
624
+ BigDecimal_count_precision_and_scale(VALUE self, ssize_t *out_precision, ssize_t *out_scale)
625
+ {
626
+ ENTER(1);
627
+ Real *p;
628
+ GUARD_OBJ(p, GetVpValue(self, 1));
629
+ VpCountPrecisionAndScale(p, out_precision, out_scale);
630
+ }
631
+
628
632
  /*
629
633
  * call-seq:
630
634
  * precision -> integer
@@ -2166,8 +2170,8 @@ BigDecimal_div2(VALUE self, VALUE b, VALUE n)
2166
2170
 
2167
2171
  if (ix == 0) {
2168
2172
  ssize_t a_prec, b_prec;
2169
- BigDecimal_count_precision_and_scale(av->obj, &a_prec, NULL);
2170
- BigDecimal_count_precision_and_scale(bv->obj, &b_prec, NULL);
2173
+ VpCountPrecisionAndScale(av, &a_prec, NULL);
2174
+ VpCountPrecisionAndScale(bv, &b_prec, NULL);
2171
2175
  ix = ((a_prec > b_prec) ? a_prec : b_prec) + BIGDECIMAL_DOUBLE_FIGURES;
2172
2176
  if (2 * BIGDECIMAL_DOUBLE_FIGURES > ix)
2173
2177
  ix = 2 * BIGDECIMAL_DOUBLE_FIGURES;
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(vendorlibdir)/$(sitearch)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20250604-878-1o85nss
35
- sitelibdir = $(DESTDIR)./.gem.20250604-878-1o85nss
34
+ sitearchdir = $(DESTDIR)./.gem.20250604-874-uvgacz
35
+ sitelibdir = $(DESTDIR)./.gem.20250604-874-uvgacz
36
36
  sitedir = $(rubylibprefix)/site_ruby
37
37
  rubyarchdir = $(rubylibdir)/$(arch)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(vendorlibdir)/$(sitearch)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20250604-878-pxtz7v
35
- sitelibdir = $(DESTDIR)./.gem.20250604-878-pxtz7v
34
+ sitearchdir = $(DESTDIR)./.gem.20250604-874-1dgocr8
35
+ sitelibdir = $(DESTDIR)./.gem.20250604-874-1dgocr8
36
36
  sitedir = $(rubylibprefix)/site_ruby
37
37
  rubyarchdir = $(rubylibdir)/$(arch)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(vendorlibdir)/$(sitearch)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20250604-878-1shfkzq
35
- sitelibdir = $(DESTDIR)./.gem.20250604-878-1shfkzq
34
+ sitearchdir = $(DESTDIR)./.gem.20250604-874-388s36
35
+ sitelibdir = $(DESTDIR)./.gem.20250604-874-388s36
36
36
  sitedir = $(rubylibprefix)/site_ruby
37
37
  rubyarchdir = $(rubylibdir)/$(arch)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -1,10 +1,10 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: bigdecimal 3.2.1 ruby lib
2
+ # stub: bigdecimal 3.2.2 ruby lib
3
3
  # stub: ext/bigdecimal/extconf.rb
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "bigdecimal".freeze
7
- s.version = "3.2.1"
7
+ s.version = "3.2.2"
8
8
 
9
9
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
10
10
  s.metadata = { "changelog_uri" => "https://github.com/ruby/bigdecimal/blob/master/CHANGES.md" } if s.respond_to? :metadata=
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudsmith-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.19
4
+ version: 2.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudsmith Ltd
@@ -1095,7 +1095,7 @@ files:
1095
1095
  - vendor/bundle/ruby/2.6.0/cache/autotest-fsevent-0.2.22.gem
1096
1096
  - vendor/bundle/ruby/2.6.0/cache/autotest-growl-0.2.16.gem
1097
1097
  - vendor/bundle/ruby/2.6.0/cache/autotest-rails-pure-4.1.2.gem
1098
- - vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.2.1.gem
1098
+ - vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.2.2.gem
1099
1099
  - vendor/bundle/ruby/2.6.0/cache/crack-1.0.0.gem
1100
1100
  - vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.6.2.gem
1101
1101
  - vendor/bundle/ruby/2.6.0/cache/ethon-0.16.0.gem
@@ -1116,10 +1116,10 @@ files:
1116
1116
  - vendor/bundle/ruby/2.6.0/cache/webmock-1.24.6.gem
1117
1117
  - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.22/gem.build_complete
1118
1118
  - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.22/gem_make.out
1119
- - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.1/bigdecimal.so
1120
- - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.1/gem.build_complete
1121
- - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.1/gem_make.out
1122
- - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.1/mkmf.log
1119
+ - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.2/bigdecimal.so
1120
+ - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.2/gem.build_complete
1121
+ - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.2/gem_make.out
1122
+ - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.2/mkmf.log
1123
1123
  - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.2/ffi_c.so
1124
1124
  - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.2/gem.build_complete
1125
1125
  - vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.2/gem_make.out
@@ -1239,32 +1239,32 @@ files:
1239
1239
  - vendor/bundle/ruby/2.6.0/gems/autotest-rails-pure-4.1.2/lib/autotest/migrate.rb
1240
1240
  - vendor/bundle/ruby/2.6.0/gems/autotest-rails-pure-4.1.2/lib/autotest/rails.rb
1241
1241
  - vendor/bundle/ruby/2.6.0/gems/autotest-rails-pure-4.1.2/test/rails_test.rb
1242
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/LICENSE
1243
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/bigdecimal.gemspec
1244
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/.sitearchdir.time
1245
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/Makefile
1246
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/bigdecimal.c
1247
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/bigdecimal.h
1248
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/bigdecimal.o
1249
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/bigdecimal.so
1250
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/bits.h
1251
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/extconf.rb
1252
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/feature.h
1253
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/missing.c
1254
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/missing.h
1255
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/missing.o
1256
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/missing/dtoa.c
1257
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/ext/bigdecimal/static_assert.h
1258
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/lib/bigdecimal.rb
1259
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/lib/bigdecimal.so
1260
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/lib/bigdecimal/jacobian.rb
1261
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/lib/bigdecimal/ludcmp.rb
1262
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/lib/bigdecimal/math.rb
1263
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/lib/bigdecimal/newton.rb
1264
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/lib/bigdecimal/util.rb
1265
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/sample/linear.rb
1266
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/sample/nlsolve.rb
1267
- - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.1/sample/pi.rb
1242
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/LICENSE
1243
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/bigdecimal.gemspec
1244
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/.sitearchdir.time
1245
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/Makefile
1246
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.c
1247
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.h
1248
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.o
1249
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.so
1250
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bits.h
1251
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/extconf.rb
1252
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/feature.h
1253
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/missing.c
1254
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/missing.h
1255
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/missing.o
1256
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/missing/dtoa.c
1257
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/static_assert.h
1258
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal.rb
1259
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal.so
1260
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal/jacobian.rb
1261
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal/ludcmp.rb
1262
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal/math.rb
1263
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal/newton.rb
1264
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal/util.rb
1265
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/sample/linear.rb
1266
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/sample/nlsolve.rb
1267
+ - vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/sample/pi.rb
1268
1268
  - vendor/bundle/ruby/2.6.0/gems/crack-1.0.0/History
1269
1269
  - vendor/bundle/ruby/2.6.0/gems/crack-1.0.0/LICENSE
1270
1270
  - vendor/bundle/ruby/2.6.0/gems/crack-1.0.0/README.md
@@ -3008,7 +3008,7 @@ files:
3008
3008
  - vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.22.gemspec
3009
3009
  - vendor/bundle/ruby/2.6.0/specifications/autotest-growl-0.2.16.gemspec
3010
3010
  - vendor/bundle/ruby/2.6.0/specifications/autotest-rails-pure-4.1.2.gemspec
3011
- - vendor/bundle/ruby/2.6.0/specifications/bigdecimal-3.2.1.gemspec
3011
+ - vendor/bundle/ruby/2.6.0/specifications/bigdecimal-3.2.2.gemspec
3012
3012
  - vendor/bundle/ruby/2.6.0/specifications/crack-1.0.0.gemspec
3013
3013
  - vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.6.2.gemspec
3014
3014
  - vendor/bundle/ruby/2.6.0/specifications/ethon-0.16.0.gemspec