ox 2.14.20 → 2.14.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad704805993f7e83d3648fdeb4fa906446809025483260884993bf8212253b9f
4
- data.tar.gz: 4f48e20996acf5838eeddc914bf2e065330ea5a799020fb587e17afb4ef760c7
3
+ metadata.gz: 90ae9618a50e6028cfaa556e88975ddc3a6f38572732326ea27145141b3b892d
4
+ data.tar.gz: 24dc5e56d8b1cffe5b2125cb530a68784b4d3d59ace2aa67c8511461b727313a
5
5
  SHA512:
6
- metadata.gz: 3c36d1daa249b9f223ab7d084c2a94fd2887d994db22bca332d628a44e4731b6c5f22498bc35c83889f9952c3986c4682bf59e1433343dcabe9486e74827ff64
7
- data.tar.gz: aeba445ec31d7b2e0cf210256a5caf2ba4ea424c8a55229125674354583522a7dfce64c4a40ec949c529d0327735ac8cc62c6543b97ee42bca184222cc86622f
6
+ metadata.gz: 3a8d4307b4864e47719d0beaa06639cbad02ef7acca448a78161ed44ca97309895a35f14d674effe72060a86e10df4937cc2dcf08241701064bbf23fecaf7b3e
7
+ data.tar.gz: 943e7ef226e58cefb34745e8dc58242e1338e5d671faad42427911ed11199243fe333457a5c21a3de8b23e906cf4bb9e1bff7070e81b42cf6ddd2d3cba01a6b3
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All changes to the Ox gem are documented here. Releases follow semantic versioning.
4
4
 
5
+ ## [2.14.21] - 2025-01-15
6
+
7
+ ### Fixed
8
+
9
+ - Removed internal dependency on BigDecimal. If BigDecimal is use it
10
+ must now be included in the calling code. This was forced by the
11
+ change in BigDecimal no longer being included in the Ruby core.
12
+
5
13
  ## [2.14.20] - 2025-01-12
6
14
 
7
15
  ### Fixed
data/ext/ox/ox.c CHANGED
@@ -87,7 +87,6 @@ VALUE ox_sym_bank; // Array
87
87
 
88
88
  VALUE ox_arg_error_class;
89
89
  VALUE ox_bag_clas;
90
- VALUE ox_bigdecimal_class;
91
90
  VALUE ox_cdata_clas;
92
91
  VALUE ox_comment_clas;
93
92
  VALUE ox_raw_clas;
@@ -1399,7 +1398,7 @@ void Init_ox(void) {
1399
1398
 
1400
1399
  rb_require("time");
1401
1400
  rb_require("date");
1402
- rb_require("bigdecimal");
1401
+ // rb_require("bigdecimal");
1403
1402
  rb_require("stringio");
1404
1403
 
1405
1404
  ox_abort_id = rb_intern("abort");
@@ -1471,7 +1470,6 @@ void Init_ox(void) {
1471
1470
  ox_arg_error_class = rb_const_get_at(Ox, rb_intern("ArgError"));
1472
1471
  ox_struct_class = rb_const_get(rb_cObject, rb_intern("Struct"));
1473
1472
  ox_stringio_class = rb_const_get(rb_cObject, rb_intern("StringIO"));
1474
- ox_bigdecimal_class = rb_const_get(rb_cObject, rb_intern("BigDecimal"));
1475
1473
 
1476
1474
  abort_sym = ID2SYM(rb_intern("abort"));
1477
1475
  rb_gc_register_address(&abort_sym);
@@ -1589,7 +1587,6 @@ void Init_ox(void) {
1589
1587
  rb_gc_register_address(&ox_arg_error_class);
1590
1588
  rb_gc_register_address(&ox_bag_clas);
1591
1589
  rb_gc_register_address(&ox_bag_clas);
1592
- rb_gc_register_address(&ox_bigdecimal_class);
1593
1590
  rb_gc_register_address(&ox_cdata_clas);
1594
1591
  rb_gc_register_address(&ox_cdata_clas);
1595
1592
  rb_gc_register_address(&ox_comment_clas);
data/ext/ox/ox.h CHANGED
@@ -218,7 +218,6 @@ extern VALUE ox_sym_bank; // Array
218
218
  extern VALUE ox_version_sym;
219
219
  extern VALUE ox_zero_fixnum;
220
220
 
221
- extern VALUE ox_bigdecimal_class;
222
221
  extern VALUE ox_date_class;
223
222
  extern VALUE ox_stringio_class;
224
223
  extern VALUE ox_struct_class;
data/lib/ox/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Ox
2
2
  # Current version of the module.
3
- VERSION = '2.14.20'
3
+ VERSION = '2.14.21'
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ox
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.20
4
+ version: 2.14.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Ohler
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-12 00:00:00.000000000 Z
10
+ date: 2025-01-25 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bigdecimal