ox 2.4.6 → 2.4.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ox might be problematic. Click here for more details.

Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -12
  3. data/ext/ox/sax.c +3 -3
  4. data/lib/ox/version.rb +1 -1
  5. metadata +2 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ce85e954842fdace95d3d258fd0ff548116b057
4
- data.tar.gz: 9b2165b3c83121034f73ec319aacb5db8001d729
3
+ metadata.gz: 5bcb6ef82dae8496dd4b43e309f60db51695febb
4
+ data.tar.gz: 9e9702e70f40e436b7c0d30158efb6db3c72e3e0
5
5
  SHA512:
6
- metadata.gz: 5f5e42834c773acbf9e05f15b005dfcc5f1fb1e004db643b9b8519804b2861a53e104b7f1416ffdc50331d173961dd601ab35f0fb68a644ec4a301354ce3398d
7
- data.tar.gz: ff413f408b7df041195b17746f72f851f7626fa157bd58bb30b113f9ddafc1a4912d80e4d889f90cd9970078c18f3f1c8103dc3789878bb4c35c1a1733ebb180
6
+ metadata.gz: e880c3f9fae7093ad1420430982fffb5a952bf199299597be02fb81ff981ac67fa80a297c0ae6fda739e50d81eae7d45fcfc34549ca587d6abea427839628214
7
+ data.tar.gz: 81de95b11c2cd54d9aaf1dc00d6ddb4b3199c8635d94cc676b0561e62a82f30da37f5880d8bc40b1c19f75eee6726f233019aac4df27abf779bb30b9450cf2eb
data/README.md CHANGED
@@ -34,24 +34,16 @@ A fast XML parser and Object marshaller as a Ruby gem.
34
34
 
35
35
  ## Release Notes
36
36
 
37
+ ### Release 2.4.7
38
+
39
+ - After encountering a <> the SAX parser will continue parsing after reporting an error.
40
+
37
41
  ### Release 2.4.6
38
42
 
39
43
  - Ready for Ruby 2.4 thanks to SHIBATA Hiroshi, hsbt.
40
44
 
41
45
  - Added margin option to dump.
42
46
 
43
- ### Release 2.4.5
44
-
45
- - Thanks to GUI for fixing an infinite loop in Ox::Builder.
46
-
47
- ### Release 2.4.4
48
-
49
- - Builder element attributes with special characters are now encoded correctly.
50
-
51
- - A newline at end of an XML string is now controlled by the indent value. A
52
- value of -1 indicates no terminating newline character and an indentation of
53
- zero.
54
-
55
47
  ## Description
56
48
 
57
49
  Optimized XML (Ox), as the name implies was written to provide speed optimized
@@ -875,7 +875,7 @@ read_element_start(SaxDrive dr) {
875
875
  snprintf(msg, sizeof(msg) - 1, "%sempty element", INVALID_FORMAT);
876
876
  ox_sax_drive_error_at(dr, msg, pos, line, col);
877
877
 
878
- return '\0';
878
+ return buf_get(&dr->buf);
879
879
  }
880
880
  if (0 != parent) {
881
881
  parent->childCnt++;
@@ -1411,8 +1411,8 @@ read_attrs(SaxDrive dr, char c, char termc, char term2, int is_xml, int eq_req,
1411
1411
  return c;
1412
1412
  }
1413
1413
 
1414
- /* The character after the character after the word is returned. dr->buf.tail is one past that. dr->buf.str will point to the
1415
- * token which will be '\0' terminated.
1414
+ /* The character after the word is returned. dr->buf.tail is one past
1415
+ * that. dr->buf.str will point to the token which will be '\0' terminated.
1416
1416
  */
1417
1417
  static char
1418
1418
  read_name_token(SaxDrive dr) {
@@ -1,5 +1,5 @@
1
1
 
2
2
  module Ox
3
3
  # Current version of the module.
4
- VERSION = '2.4.6'
4
+ VERSION = '2.4.7'
5
5
  end
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.4.6
4
+ version: 2.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Ohler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-28 00:00:00.000000000 Z
11
+ date: 2016-12-25 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
14
14
  \ \nOptimized XML (Ox), as the name implies was written to provide speed
@@ -102,4 +102,3 @@ signing_key:
102
102
  specification_version: 4
103
103
  summary: A fast XML parser and object serializer.
104
104
  test_files: []
105
- has_rdoc: true