ox 1.2.1 → 1.2.2
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/ext/ox/ox.c +1 -1
- data/lib/ox/version.rb +1 -1
- data/test/bug3.rb +23 -0
- metadata +4 -5
data/ext/ox/ox.c
CHANGED
data/lib/ox/version.rb
CHANGED
data/test/bug3.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
#!/usr/bin/env ruby -wW1
|
2
|
+
|
3
|
+
$: << '../lib'
|
4
|
+
$: << '../ext'
|
5
|
+
|
6
|
+
if __FILE__ == $0
|
7
|
+
if (i = ARGV.index('-I'))
|
8
|
+
x,path = ARGV.slice!(i, 2)
|
9
|
+
$: << path
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
require 'ox'
|
14
|
+
|
15
|
+
def dump(cnt = 100000)
|
16
|
+
cnt.times do |i|
|
17
|
+
xml = Ox.dump([:inc, 1])
|
18
|
+
#puts xml
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
dump()
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.2.
|
5
|
+
version: 1.2.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Peter Ohler
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-07-
|
14
|
-
default_executable:
|
13
|
+
date: 2011-07-14 00:00:00 Z
|
15
14
|
dependencies: []
|
16
15
|
|
17
16
|
description: A fast XML parser and object serializer that uses only standard C lib.
|
@@ -49,6 +48,7 @@ files:
|
|
49
48
|
- ext/ox/parse.c
|
50
49
|
- test/bug1.rb
|
51
50
|
- test/bug2.rb
|
51
|
+
- test/bug3.rb
|
52
52
|
- test/cache16_test.rb
|
53
53
|
- test/cache8_test.rb
|
54
54
|
- test/cache_test.rb
|
@@ -78,7 +78,6 @@ files:
|
|
78
78
|
- test/Sample.graffle
|
79
79
|
- LICENSE
|
80
80
|
- README.rdoc
|
81
|
-
has_rdoc: true
|
82
81
|
homepage: https://github.com/ohler55/ox
|
83
82
|
licenses: []
|
84
83
|
|
@@ -104,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
103
|
requirements: []
|
105
104
|
|
106
105
|
rubyforge_project: ox
|
107
|
-
rubygems_version: 1.
|
106
|
+
rubygems_version: 1.8.5
|
108
107
|
signing_key:
|
109
108
|
specification_version: 3
|
110
109
|
summary: A fast XML parser and object serializer.
|