ox 1.0.0

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.

Files changed (52) hide show
  1. data/LICENSE +27 -0
  2. data/README +153 -0
  3. data/ext/ox/base64.c +123 -0
  4. data/ext/ox/base64.h +44 -0
  5. data/ext/ox/cache.c +148 -0
  6. data/ext/ox/cache.h +43 -0
  7. data/ext/ox/cache8.c +80 -0
  8. data/ext/ox/cache8.h +43 -0
  9. data/ext/ox/cache8_test.c +69 -0
  10. data/ext/ox/cache_test.c +69 -0
  11. data/ext/ox/dump.c +901 -0
  12. data/ext/ox/extconf.rb +7 -0
  13. data/ext/ox/gen_load.c +196 -0
  14. data/ext/ox/obj_load.c +802 -0
  15. data/ext/ox/ox.c +456 -0
  16. data/ext/ox/ox.h +190 -0
  17. data/ext/ox/parse.c +629 -0
  18. data/lib/ox.rb +97 -0
  19. data/lib/ox/cdata.rb +12 -0
  20. data/lib/ox/comment.rb +13 -0
  21. data/lib/ox/doctype.rb +13 -0
  22. data/lib/ox/document.rb +20 -0
  23. data/lib/ox/element.rb +67 -0
  24. data/lib/ox/node.rb +24 -0
  25. data/test/Sample.graffle +2318 -0
  26. data/test/cache16_test.rb +17 -0
  27. data/test/cache8_test.rb +17 -0
  28. data/test/cache_test.rb +17 -0
  29. data/test/files.rb +34 -0
  30. data/test/func.rb +228 -0
  31. data/test/gen_sample.rb +22 -0
  32. data/test/obj_sample.rb +19 -0
  33. data/test/ox/change.rb +16 -0
  34. data/test/ox/dir.rb +21 -0
  35. data/test/ox/doc.rb +39 -0
  36. data/test/ox/file.rb +33 -0
  37. data/test/ox/group.rb +18 -0
  38. data/test/ox/hasprops.rb +18 -0
  39. data/test/ox/layer.rb +14 -0
  40. data/test/ox/line.rb +22 -0
  41. data/test/ox/oval.rb +12 -0
  42. data/test/ox/rect.rb +12 -0
  43. data/test/ox/shape.rb +37 -0
  44. data/test/ox/text.rb +23 -0
  45. data/test/perf_gen.rb +193 -0
  46. data/test/perf_mars.rb +97 -0
  47. data/test/perf_obj.rb +201 -0
  48. data/test/perf_pod.rb +88 -0
  49. data/test/perf_write.rb +80 -0
  50. data/test/sample.rb +62 -0
  51. data/test/test.rb +70 -0
  52. metadata +106 -0
metadata ADDED
@@ -0,0 +1,106 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ox
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.0.0
6
+ platform: ruby
7
+ authors:
8
+ - Peter Ohler
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-07-01 00:00:00 Z
14
+ dependencies: []
15
+
16
+ description: A fast XML parser and object serializer that uses only standard C lib.
17
+ email: peter@ohler.com
18
+ executables: []
19
+
20
+ extensions:
21
+ - ext/ox/extconf.rb
22
+ extra_rdoc_files:
23
+ - README
24
+ files:
25
+ - lib/ox/cdata.rb
26
+ - lib/ox/comment.rb
27
+ - lib/ox/doctype.rb
28
+ - lib/ox/document.rb
29
+ - lib/ox/element.rb
30
+ - lib/ox/node.rb
31
+ - lib/ox.rb
32
+ - ext/ox/extconf.rb
33
+ - ext/ox/base64.h
34
+ - ext/ox/cache.h
35
+ - ext/ox/cache8.h
36
+ - ext/ox/ox.h
37
+ - ext/ox/base64.c
38
+ - ext/ox/cache.c
39
+ - ext/ox/cache8.c
40
+ - ext/ox/cache8_test.c
41
+ - ext/ox/cache_test.c
42
+ - ext/ox/dump.c
43
+ - ext/ox/gen_load.c
44
+ - ext/ox/obj_load.c
45
+ - ext/ox/ox.c
46
+ - ext/ox/parse.c
47
+ - test/cache16_test.rb
48
+ - test/cache8_test.rb
49
+ - test/cache_test.rb
50
+ - test/files.rb
51
+ - test/func.rb
52
+ - test/gen_sample.rb
53
+ - test/obj_sample.rb
54
+ - test/ox/change.rb
55
+ - test/ox/dir.rb
56
+ - test/ox/doc.rb
57
+ - test/ox/file.rb
58
+ - test/ox/group.rb
59
+ - test/ox/hasprops.rb
60
+ - test/ox/layer.rb
61
+ - test/ox/line.rb
62
+ - test/ox/oval.rb
63
+ - test/ox/rect.rb
64
+ - test/ox/shape.rb
65
+ - test/ox/text.rb
66
+ - test/perf_gen.rb
67
+ - test/perf_mars.rb
68
+ - test/perf_obj.rb
69
+ - test/perf_pod.rb
70
+ - test/perf_write.rb
71
+ - test/sample.rb
72
+ - test/test.rb
73
+ - test/Sample.graffle
74
+ - LICENSE
75
+ - README
76
+ homepage: http://www.ohler.com/ox
77
+ licenses: []
78
+
79
+ post_install_message:
80
+ rdoc_options:
81
+ - --main
82
+ - README
83
+ require_paths:
84
+ - lib
85
+ - ext
86
+ required_ruby_version: !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: "0"
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
+ none: false
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: "0"
98
+ requirements: []
99
+
100
+ rubyforge_project: ox
101
+ rubygems_version: 1.8.5
102
+ signing_key:
103
+ specification_version: 3
104
+ summary: A fast XML parser and object serializer.
105
+ test_files: []
106
+