ox 1.5.5 → 1.5.6

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 (4) hide show
  1. data/README.md +4 -24
  2. data/ext/ox/extconf.rb +6 -5
  3. data/lib/ox/version.rb +1 -1
  4. metadata +3 -4
data/README.md CHANGED
@@ -20,9 +20,9 @@ A fast XML parser and Object marshaller as a Ruby gem.
20
20
 
21
21
  ## <a name="links">Links of Interest</a>
22
22
 
23
- [Ruby XML Gem Comparison](http://www.ohler.com/software/thoughts/Blog/Entries/2011/9/21_XML_with_Ruby.html) for a perfomance comparison between Ox, Nokogiri, and LibXML.
23
+ [Ruby XML Gem Comparison](http://www.ohler.com/dev/xml_with_ruby/xml_with_ruby.html) for a perfomance comparison between Ox, Nokogiri, and LibXML.
24
24
 
25
- [Fast Ruby XML Serialization](http://www.ohler.com/software/thoughts/Blog/Entries/2011/9/20_Ruby_Object_XML_Serialization.html) to see how Ox can be used as a faster replacement for Marshal.
25
+ [Fast Ruby XML Serialization](http://www.ohler.com/dev/ruby_object_xml_serialization/ruby_object_xml_serialization.html) to see how Ox can be used as a faster replacement for Marshal.
26
26
 
27
27
  *Fast JSON parser and marshaller on RubyGems*: https://rubygems.org/gems/oj
28
28
 
@@ -30,29 +30,9 @@ A fast XML parser and Object marshaller as a Ruby gem.
30
30
 
31
31
  ## <a name="release">Release Notes</a>
32
32
 
33
- ### Release 1.5.5
33
+ ### Release 1.5.6
34
34
 
35
- - Fixed bug in special character encoding to remove the double ampersands.
36
-
37
- - Fixed bug that did not dump XSD times correctly.
38
-
39
- - Fixed bug in the prolog parsing.
40
-
41
- - Improved the speed of time parsing and dumping.
42
-
43
- - Increased the time resolution for Rubies that support nanoseconds.
44
-
45
- - Cleaned up compile flags.
46
-
47
- - All tests pass with all supported Rubies.
48
-
49
- - Added value() callback to the SAX parser which allows deferred value parsing and typing to improve performance.
50
-
51
- - Added attr_value() callback to the SAX parser which allows deferred value parsing and typing to improve performance with attributes.
52
-
53
- - Added an example that demonstrates using several parsing techniques with different parsers. The example is in the test/weather directory.
54
-
55
- - The SAX parser was optimized slightly for StringIO input.
35
+ - Made compatible with 2.0dev
56
36
 
57
37
  ## <a name="description">Description</a>
58
38
 
data/ext/ox/extconf.rb CHANGED
@@ -16,12 +16,13 @@ dflags = {
16
16
  'RUBY_VERSION_MAJOR' => version[0],
17
17
  'RUBY_VERSION_MINOR' => version[1],
18
18
  'RUBY_VERSION_MICRO' => version[2],
19
- 'HAS_RB_TIME_TIMESPEC' => ('ruby' == type && '1.9.3' == RUBY_VERSION) ? 1 : 0,
20
- 'HAS_ENCODING_SUPPORT' => (('ruby' == type || 'rubinius' == type) && '1' == version[0] && '9' == version[1]) ? 1 : 0,
21
- 'HAS_NANO_TIME' => ('ruby' == type && '1' == version[0] && '9' == version[1]) ? 1 : 0,
19
+ 'HAS_RB_TIME_TIMESPEC' => ('ruby' == type && ('1.9.3' == RUBY_VERSION || '2' <= version[0])) ? 1 : 0,
20
+ 'HAS_ENCODING_SUPPORT' => (('ruby' == type || 'rubinius' == type) &&
21
+ (('1' == version[0] && '9' == version[1]) || '2' <= version[0])) ? 1 : 0,
22
+ 'HAS_NANO_TIME' => ('ruby' == type && ('1' == version[0] && '9' == version[1]) || '2' <= version[0]) ? 1 : 0,
22
23
  'HAS_RSTRUCT' => ('ruby' == type || 'ree' == type) ? 1 : 0,
23
- 'HAS_IVAR_HELPERS' => ('ruby' == type && '1' == version[0] && '9' == version[1]) ? 1 : 0,
24
- 'HAS_PROC_WITH_BLOCK' => ('ruby' == type && '1' == version[0] && '9' == version[1]) ? 1 : 0,
24
+ 'HAS_IVAR_HELPERS' => ('ruby' == type && ('1' == version[0] && '9' == version[1]) || '2' <= version[0]) ? 1 : 0,
25
+ 'HAS_PROC_WITH_BLOCK' => ('ruby' == type && ('1' == version[0] && '9' == version[1]) || '2' <= version[0]) ? 1 : 0,
25
26
  'HAS_TOP_LEVEL_ST_H' => ('ree' == type || ('ruby' == type && '1' == version[0] && '8' == version[1])) ? 1 : 0,
26
27
  }
27
28
 
data/lib/ox/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
2
  module Ox
3
3
  # Current version of the module.
4
- VERSION = '1.5.5'
4
+ VERSION = '1.5.6'
5
5
  end
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.5.5
4
+ version: 1.5.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-04-06 00:00:00.000000000 Z
12
+ date: 2012-05-10 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
@@ -75,9 +75,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project: ox
78
- rubygems_version: 1.8.11
78
+ rubygems_version: 1.8.23
79
79
  signing_key:
80
80
  specification_version: 3
81
81
  summary: A fast XML parser and object serializer.
82
82
  test_files: []
83
- has_rdoc: true