ox 1.2.13 → 1.2.14

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/ext/ox/dump.c +4 -0
  2. data/lib/ox/version.rb +1 -1
  3. data/test/func.rb +1 -1
  4. metadata +2 -2
data/ext/ox/dump.c CHANGED
@@ -35,7 +35,11 @@
35
35
  #include <string.h>
36
36
 
37
37
  #include "ruby.h"
38
+ #ifdef HAVE_RUBY_ENCODING_H
38
39
  #include "ruby/st.h"
40
+ #else
41
+ #include "st.h"
42
+ #endif
39
43
  #include "base64.h"
40
44
  #include "cache8.h"
41
45
  #include "ox.h"
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.2.13'
4
+ VERSION = '1.2.14'
5
5
  end
data/test/func.rb CHANGED
@@ -355,7 +355,7 @@ class Func < ::Test::Unit::TestCase
355
355
  end
356
356
 
357
357
  def test_IO
358
- f = File.open("func.rb", "r")
358
+ f = File.open(__FILE__, "r")
359
359
  assert_raise(NotImplementedError) {
360
360
  xml = Ox.dump(f, :effort => :strict)
361
361
  }
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.2.13
4
+ version: 1.2.14
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: 2011-09-01 00:00:00.000000000Z
12
+ date: 2011-09-02 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: A fast XML parser and object serializer that uses only standard C lib.
15
15
  email: peter@ohler.com