ox 2.1.0 → 2.1.1

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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d0581c593d77e8a06eb2146aa307ef209302d5b
4
- data.tar.gz: 967bf1816fd0f45e4a032384ad7613d35cdd190f
3
+ metadata.gz: 4dfc6cdcfabac2cccd4fee65e58d77bd341d0dad
4
+ data.tar.gz: 6550189e77b12edc3fa82dc70484f629c0d33961
5
5
  SHA512:
6
- metadata.gz: 29816d2393f1acf19916074cdcb3f0c1b514e69f5c30ad36866bf9f004369de2e44c145518a17b361f2c776e11b741e68d0e2bce7d0579c5510de8e5fc1f2bdf
7
- data.tar.gz: 73750690602824302e57260d9fbe3edec818ed7c9479f5bb1a268660725421750d6a5ba3cd600e2cca45dbe948259cd105b50f8a198c506479cda0c4e1ac8f1f
6
+ metadata.gz: 3ea6d87ceb49d76762801b680f4b75f5715ed5fe1ad3c65aa39023cc4e64ac05b5928ed0c06770ddc32b754d797032979fc5df8ddeca2f6274d77f5d79a04ce2
7
+ data.tar.gz: ff66b7c9f54457f89b5287dfe78fa2cfdf4d1c12bff7c67f3932e30323f6066f3bc98d1a2ce15338186e24258a4eb981b6b8d1a14fffbaedb10d467378f9e7a6
data/README.md CHANGED
@@ -34,6 +34,10 @@ A fast XML parser and Object marshaller as a Ruby gem.
34
34
 
35
35
  ## Release Notes
36
36
 
37
+ ### Release 2.1.1
38
+
39
+ - Worked around a module reset and clear that occurs on some Rubies.
40
+
37
41
  ### Release 2.1.0
38
42
 
39
43
  - Thanks to jfontan Ox now includes support for XMLRPC.
@@ -919,6 +919,19 @@ void Init_ox() {
919
919
  ox_tv_usec_id = rb_intern("tv_usec");
920
920
  ox_value_id = rb_intern("value");
921
921
 
922
+ rb_require("ox/version");
923
+ rb_require("ox/error");
924
+ rb_require("ox/hasattrs");
925
+ rb_require("ox/node");
926
+ rb_require("ox/comment");
927
+ rb_require("ox/instruct");
928
+ rb_require("ox/cdata");
929
+ rb_require("ox/doctype");
930
+ rb_require("ox/element");
931
+ rb_require("ox/document");
932
+ rb_require("ox/bag");
933
+ rb_require("ox/sax");
934
+
922
935
  ox_time_class = rb_const_get(rb_cObject, rb_intern("Time"));
923
936
  ox_date_class = rb_const_get(rb_cObject, rb_intern("Date"));
924
937
  ox_parse_error_class = rb_const_get_at(Ox, rb_intern("ParseError"));
@@ -12,14 +12,14 @@ module Ox
12
12
  # @element_name = []
13
13
  # end
14
14
  #
15
- # def start_element(name, attrs)
15
+ # def start_element(name)
16
16
  # @element_names << name
17
17
  # end
18
18
  # end
19
19
  #
20
20
  # any = MySax.new()
21
21
  # File.open('any.xml', 'r') do |f|
22
- # Xml.sax_parse(any, f)
22
+ # Ox.sax_parse(any, f)
23
23
  # end
24
24
  #
25
25
  # To make the desired methods active while parsing the desired method should
@@ -1,5 +1,5 @@
1
1
 
2
2
  module Ox
3
3
  # Current version of the module.
4
- VERSION = '2.1.0'
4
+ VERSION = '2.1.1'
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.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Ohler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-02 00:00:00.000000000 Z
11
+ date: 2014-02-12 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