Empact-roxml 2.3.1 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +145 -0
- data/Manifest.txt +81 -0
- data/Rakefile +85 -95
- data/TODO +42 -0
- data/html/index.html +278 -0
- data/html/style.css +79 -0
- data/lib/roxml.rb +113 -49
- data/lib/roxml/extensions/active_support.rb +37 -12
- data/lib/roxml/extensions/array/conversions.rb +12 -2
- data/lib/roxml/extensions/deprecation.rb +4 -4
- data/lib/roxml/options.rb +39 -30
- data/lib/roxml/xml.rb +119 -55
- data/lib/roxml/xml/rexml.rb +2 -2
- data/roxml.gemspec +40 -101
- data/test/bugs/rexml_bugs.rb +15 -0
- data/test/fixtures/book_with_octal_pages.xml +4 -0
- data/test/mocks/mocks.rb +0 -4
- data/test/test_helper.rb +29 -0
- data/test/unit/array_test.rb +16 -0
- data/test/unit/freeze_test.rb +71 -0
- data/test/unit/inheritance_test.rb +26 -3
- data/test/unit/options_test.rb +20 -19
- data/test/unit/overriden_output_test.rb +33 -0
- data/test/unit/roxml_test.rb +7 -0
- data/test/unit/to_xml_test.rb +0 -25
- data/test/unit/xml_bool_test.rb +51 -45
- data/test/unit/xml_convention_test.rb +150 -0
- data/test/unit/xml_hash_test.rb +41 -0
- data/test/unit/xml_name_test.rb +29 -6
- data/test/unit/xml_object_test.rb +30 -0
- metadata +69 -32
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Empact-roxml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Woosley
|
@@ -12,9 +12,18 @@ autorequire:
|
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
14
|
|
15
|
-
date:
|
15
|
+
date: 2009-01-15 00:00:00 -08:00
|
16
16
|
default_executable:
|
17
17
|
dependencies:
|
18
|
+
- !ruby/object:Gem::Dependency
|
19
|
+
name: activesupport
|
20
|
+
version_requirement:
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 2.1.0
|
26
|
+
version:
|
18
27
|
- !ruby/object:Gem::Dependency
|
19
28
|
name: extensions
|
20
29
|
version_requirement:
|
@@ -25,13 +34,22 @@ dependencies:
|
|
25
34
|
version: 0.6.0
|
26
35
|
version:
|
27
36
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
37
|
+
name: newgem
|
29
38
|
version_requirement:
|
30
39
|
version_requirements: !ruby/object:Gem::Requirement
|
31
40
|
requirements:
|
32
41
|
- - ">="
|
33
42
|
- !ruby/object:Gem::Version
|
34
|
-
version: 2.
|
43
|
+
version: 1.2.3
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: hoe
|
47
|
+
version_requirement:
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.8.0
|
35
53
|
version:
|
36
54
|
description: ROXML is a Ruby library designed to make it easier for Ruby developers to work with XML. Using simple annotations, it enables Ruby classes to be mapped to XML. ROXML takes care of the marshalling and unmarshalling of mapped attributes so that developers can focus on building first-class Ruby classes. As a result, ROXML simplifies the development of RESTful applications, Web Services, and XML-RPC.
|
37
55
|
email: ben.woosley@gmail.com
|
@@ -39,60 +57,73 @@ executables: []
|
|
39
57
|
|
40
58
|
extensions: []
|
41
59
|
|
42
|
-
extra_rdoc_files:
|
43
|
-
|
44
|
-
|
60
|
+
extra_rdoc_files:
|
61
|
+
- History.txt
|
62
|
+
- Manifest.txt
|
45
63
|
- README.rdoc
|
64
|
+
files:
|
65
|
+
- History.txt
|
46
66
|
- MIT-LICENSE
|
67
|
+
- Manifest.txt
|
68
|
+
- README.rdoc
|
47
69
|
- Rakefile
|
48
|
-
-
|
70
|
+
- TODO
|
71
|
+
- html/index.html
|
72
|
+
- html/style.css
|
49
73
|
- lib/roxml.rb
|
50
74
|
- lib/roxml/extensions/active_support.rb
|
51
75
|
- lib/roxml/extensions/array.rb
|
52
76
|
- lib/roxml/extensions/array/conversions.rb
|
77
|
+
- lib/roxml/extensions/deprecation.rb
|
53
78
|
- lib/roxml/extensions/string.rb
|
54
79
|
- lib/roxml/extensions/string/conversions.rb
|
55
80
|
- lib/roxml/extensions/string/iterators.rb
|
56
|
-
- lib/roxml/extensions/deprecation.rb
|
57
81
|
- lib/roxml/options.rb
|
58
82
|
- lib/roxml/xml.rb
|
59
83
|
- lib/roxml/xml/libxml.rb
|
60
84
|
- lib/roxml/xml/rexml.rb
|
85
|
+
- roxml.gemspec
|
86
|
+
- tasks/rspec.rake
|
87
|
+
- test/bugs/rexml_bugs.rb
|
61
88
|
- test/fixtures/book_malformed.xml
|
62
89
|
- test/fixtures/book_pair.xml
|
63
90
|
- test/fixtures/book_text_with_attribute.xml
|
64
91
|
- test/fixtures/book_valid.xml
|
65
92
|
- test/fixtures/book_with_authors.xml
|
66
93
|
- test/fixtures/book_with_contributions.xml
|
67
|
-
- test/fixtures/book_with_contributors_attrs.xml
|
68
94
|
- test/fixtures/book_with_contributors.xml
|
95
|
+
- test/fixtures/book_with_contributors_attrs.xml
|
69
96
|
- test/fixtures/book_with_default_namespace.xml
|
70
97
|
- test/fixtures/book_with_depth.xml
|
98
|
+
- test/fixtures/book_with_octal_pages.xml
|
71
99
|
- test/fixtures/book_with_publisher.xml
|
72
100
|
- test/fixtures/book_with_wrapped_attr.xml
|
73
|
-
- test/fixtures/dictionary_of_attrs.xml
|
74
101
|
- test/fixtures/dictionary_of_attr_name_clashes.xml
|
102
|
+
- test/fixtures/dictionary_of_attrs.xml
|
75
103
|
- test/fixtures/dictionary_of_guarded_names.xml
|
76
104
|
- test/fixtures/dictionary_of_mixeds.xml
|
77
|
-
- test/fixtures/dictionary_of_names.xml
|
78
105
|
- test/fixtures/dictionary_of_name_clashes.xml
|
106
|
+
- test/fixtures/dictionary_of_names.xml
|
79
107
|
- test/fixtures/dictionary_of_texts.xml
|
80
|
-
- test/fixtures/library_uppercase.xml
|
81
108
|
- test/fixtures/library.xml
|
109
|
+
- test/fixtures/library_uppercase.xml
|
82
110
|
- test/fixtures/muffins.xml
|
111
|
+
- test/fixtures/nameless_ageless_youth.xml
|
83
112
|
- test/fixtures/node_with_attr_name_conflicts.xml
|
84
113
|
- test/fixtures/node_with_name_conflicts.xml
|
85
|
-
- test/fixtures/nameless_ageless_youth.xml
|
86
114
|
- test/fixtures/numerology.xml
|
115
|
+
- test/fixtures/person.xml
|
87
116
|
- test/fixtures/person_with_guarded_mothers.xml
|
88
117
|
- test/fixtures/person_with_mothers.xml
|
89
|
-
- test/fixtures/person.xml
|
90
|
-
- test/mocks/mocks.rb
|
91
118
|
- test/mocks/dictionaries.rb
|
119
|
+
- test/mocks/mocks.rb
|
92
120
|
- test/release/dependencies_test.rb
|
93
121
|
- test/test_helper.rb
|
122
|
+
- test/unit/array_test.rb
|
123
|
+
- test/unit/freeze_test.rb
|
94
124
|
- test/unit/inheritance_test.rb
|
95
125
|
- test/unit/options_test.rb
|
126
|
+
- test/unit/overriden_output_test.rb
|
96
127
|
- test/unit/roxml_test.rb
|
97
128
|
- test/unit/string_test.rb
|
98
129
|
- test/unit/to_xml_test.rb
|
@@ -100,6 +131,7 @@ files:
|
|
100
131
|
- test/unit/xml_block_test.rb
|
101
132
|
- test/unit/xml_bool_test.rb
|
102
133
|
- test/unit/xml_construct_test.rb
|
134
|
+
- test/unit/xml_convention_test.rb
|
103
135
|
- test/unit/xml_hash_test.rb
|
104
136
|
- test/unit/xml_initialize_test.rb
|
105
137
|
- test/unit/xml_name_test.rb
|
@@ -110,8 +142,9 @@ files:
|
|
110
142
|
has_rdoc: true
|
111
143
|
homepage: http://roxml.rubyforge.org
|
112
144
|
post_install_message:
|
113
|
-
rdoc_options:
|
114
|
-
|
145
|
+
rdoc_options:
|
146
|
+
- --main
|
147
|
+
- README.rdoc
|
115
148
|
require_paths:
|
116
149
|
- lib
|
117
150
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -126,27 +159,31 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
159
|
- !ruby/object:Gem::Version
|
127
160
|
version: "0"
|
128
161
|
version:
|
129
|
-
requirements:
|
130
|
-
|
162
|
+
requirements: []
|
163
|
+
|
131
164
|
rubyforge_project: roxml
|
132
165
|
rubygems_version: 1.2.0
|
133
166
|
signing_key:
|
134
167
|
specification_version: 2
|
135
168
|
summary: Ruby Object to XML mapping library
|
136
169
|
test_files:
|
137
|
-
- test/unit/
|
138
|
-
- test/unit/
|
139
|
-
- test/unit/
|
140
|
-
- test/unit/
|
141
|
-
- test/unit/
|
142
|
-
- test/unit/xml_attribute_test.rb
|
143
|
-
- test/unit/xml_block_test.rb
|
170
|
+
- test/unit/freeze_test.rb
|
171
|
+
- test/unit/array_test.rb
|
172
|
+
- test/unit/xml_convention_test.rb
|
173
|
+
- test/unit/xml_object_test.rb
|
174
|
+
- test/unit/xml_required_test.rb
|
144
175
|
- test/unit/xml_bool_test.rb
|
145
|
-
- test/unit/
|
146
|
-
- test/unit/xml_hash_test.rb
|
147
|
-
- test/unit/xml_initialize_test.rb
|
176
|
+
- test/unit/roxml_test.rb
|
148
177
|
- test/unit/xml_name_test.rb
|
178
|
+
- test/unit/xml_construct_test.rb
|
179
|
+
- test/unit/options_test.rb
|
180
|
+
- test/unit/string_test.rb
|
149
181
|
- test/unit/xml_namespace_test.rb
|
150
|
-
- test/unit/xml_object_test.rb
|
151
|
-
- test/unit/xml_required_test.rb
|
152
182
|
- test/unit/xml_text_test.rb
|
183
|
+
- test/unit/overriden_output_test.rb
|
184
|
+
- test/unit/xml_block_test.rb
|
185
|
+
- test/unit/xml_attribute_test.rb
|
186
|
+
- test/unit/inheritance_test.rb
|
187
|
+
- test/unit/xml_initialize_test.rb
|
188
|
+
- test/unit/xml_hash_test.rb
|
189
|
+
- test/unit/to_xml_test.rb
|