ox 1.6.5 → 1.6.6
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.
Potentially problematic release.
This version of ox might be problematic. Click here for more details.
- data/README.md +2 -2
- data/ext/ox/sax.c +3 -2
- data/lib/ox/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -34,9 +34,9 @@ A fast XML parser and Object marshaller as a Ruby gem.
|
|
34
34
|
|
35
35
|
## <a name="release">Release Notes</a>
|
36
36
|
|
37
|
-
### Release 1.6.
|
37
|
+
### Release 1.6.6
|
38
38
|
|
39
|
-
-
|
39
|
+
- A SAX parser encoding bug discovered by bughit was fixed.
|
40
40
|
|
41
41
|
## <a name="description">Description</a>
|
42
42
|
|
data/ext/ox/sax.c
CHANGED
@@ -756,11 +756,12 @@ read_attrs(SaxDrive dr, char c, char termc, char term2, int is_xml) {
|
|
756
756
|
if (0 != read_quoted_value(dr)) {
|
757
757
|
return -1;
|
758
758
|
}
|
759
|
-
#if HAS_ENCODING_SUPPORT
|
760
759
|
if (is_encoding) {
|
760
|
+
#if HAS_ENCODING_SUPPORT
|
761
761
|
dr->encoding = rb_enc_find(dr->str);
|
762
|
-
}
|
763
762
|
#endif
|
763
|
+
is_encoding = 0;
|
764
|
+
}
|
764
765
|
if (dr->has_attr_value) {
|
765
766
|
VALUE args[2];
|
766
767
|
|
data/lib/ox/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-02 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! "A fast XML parser and object serializer that uses only standard C
|
15
15
|
lib.\n \nOptimized XML (Ox), as the name implies was written to provide
|