ox 2.14.5 → 2.14.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/ext/ox/builder.c +1 -1
- data/ext/ox/extconf.rb +1 -0
- data/ext/ox/ox.c +3 -0
- data/ext/ox/sax.c +3 -0
- data/lib/ox/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cef7183a7bea9cd7baba3313afd0e008861d159ae8d99ef229dca9cb34ba1fd
|
4
|
+
data.tar.gz: 4929590f1b84ac3e5350c2657a3374eb49a2a258668bbf13d2ee5624110402c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb7fb21b9be8f9e046b22e3dde36bb2469256daab163e17e082c9c15865926e21d2793052f544ebadaa958fb6589d30e9a5b7c6fed018f1fa6e32782271a2e8c
|
7
|
+
data.tar.gz: f259be386f39855faf5f871119cd60c16ee6c23872baf2239754f17512355fd19c2dbfa8c254746e1f44b0819f32b3e63700a5bfe3f6f0ff831c5f9c107f9df1
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Ox gem
|
2
2
|
A fast XML parser and Object marshaller as a Ruby gem.
|
3
3
|
|
4
|
-
[![Build
|
4
|
+
[![Build Status](https://img.shields.io/github/workflow/status/ohler55/ox/CI?logo=github)](https://github.com/ohler55/ox/actions/workflows/CI.yml)
|
5
5
|
|
6
6
|
## Installation
|
7
7
|
gem install ox
|
data/ext/ox/builder.c
CHANGED
@@ -286,7 +286,7 @@ pop(Builder b) {
|
|
286
286
|
append_indent(b);
|
287
287
|
}
|
288
288
|
buf_append_string(&b->buf, "</", 2);
|
289
|
-
|
289
|
+
append_string(b, e->name, e->len, xml_element_chars, false);
|
290
290
|
buf_append(&b->buf, '>');
|
291
291
|
b->col += e->len + 3;
|
292
292
|
b->pos += e->len + 3;
|
data/ext/ox/extconf.rb
CHANGED
data/ext/ox/ox.c
CHANGED
@@ -1395,6 +1395,9 @@ cache8_test(VALUE self) {
|
|
1395
1395
|
#endif
|
1396
1396
|
|
1397
1397
|
void Init_ox() {
|
1398
|
+
#if HAVE_RB_EXT_RACTOR_SAFE
|
1399
|
+
rb_ext_ractor_safe(true);
|
1400
|
+
#endif
|
1398
1401
|
Ox = rb_define_module("Ox");
|
1399
1402
|
|
1400
1403
|
rb_define_module_function(Ox, "default_options", get_def_opts, 0);
|
data/ext/ox/sax.c
CHANGED
@@ -123,6 +123,9 @@ str2sym(SaxDrive dr, const char *str, const char **strp) {
|
|
123
123
|
|
124
124
|
void
|
125
125
|
ox_sax_parse(VALUE handler, VALUE io, SaxOptions options) {
|
126
|
+
#if HAVE_RB_EXT_RACTOR_SAFE
|
127
|
+
rb_ext_ractor_safe(true);
|
128
|
+
#endif
|
126
129
|
struct _saxDrive dr;
|
127
130
|
int line = 0;
|
128
131
|
|
data/lib/ox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.14.
|
4
|
+
version: 2.14.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Ohler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: "A fast XML parser and object serializer that uses only standard C lib.\n\nOptimized
|
14
14
|
XML (Ox), as the name implies was written to provide speed optimized\nXML handling.
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
|
-
rubygems_version: 3.2.
|
104
|
+
rubygems_version: 3.2.22
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: A fast XML parser and object serializer.
|