unhappymapper 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +479 -0
- data/TODO +0 -0
- data/lib/happymapper/attribute.rb +3 -0
- data/lib/happymapper/element.rb +3 -0
- data/lib/happymapper/item.rb +250 -0
- data/lib/happymapper/text_node.rb +3 -0
- data/lib/happymapper.rb +574 -0
- data/spec/fixtures/address.xml +8 -0
- data/spec/fixtures/ambigous_items.xml +22 -0
- data/spec/fixtures/analytics.xml +61 -0
- data/spec/fixtures/analytics_profile.xml +127 -0
- data/spec/fixtures/commit.xml +52 -0
- data/spec/fixtures/current_weather.xml +89 -0
- data/spec/fixtures/dictionary.xml +20 -0
- data/spec/fixtures/family_tree.xml +21 -0
- data/spec/fixtures/inagy.xml +86 -0
- data/spec/fixtures/lastfm.xml +355 -0
- data/spec/fixtures/multiple_namespaces.xml +170 -0
- data/spec/fixtures/multiple_primitives.xml +5 -0
- data/spec/fixtures/pita.xml +133 -0
- data/spec/fixtures/posts.xml +23 -0
- data/spec/fixtures/product_default_namespace.xml +17 -0
- data/spec/fixtures/product_no_namespace.xml +10 -0
- data/spec/fixtures/product_single_namespace.xml +10 -0
- data/spec/fixtures/quarters.xml +19 -0
- data/spec/fixtures/radar.xml +21 -0
- data/spec/fixtures/statuses.xml +422 -0
- data/spec/fixtures/subclass_namespace.xml +50 -0
- data/spec/happymapper_attribute_spec.rb +21 -0
- data/spec/happymapper_element_spec.rb +21 -0
- data/spec/happymapper_item_spec.rb +115 -0
- data/spec/happymapper_spec.rb +941 -0
- data/spec/happymapper_text_node_spec.rb +21 -0
- data/spec/happymapper_to_xml_namespaces_spec.rb +196 -0
- data/spec/happymapper_to_xml_spec.rb +196 -0
- data/spec/ignay_spec.rb +95 -0
- data/spec/spec_helper.rb +7 -0
- data/spec/xpath_spec.rb +88 -0
- metadata +150 -0
metadata
ADDED
@@ -0,0 +1,150 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: unhappymapper
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.4.0
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Damien Le Berrigaud
|
9
|
+
- John Nunemaker
|
10
|
+
- David Bolton
|
11
|
+
- Roland Swingler
|
12
|
+
- Etienne Vallette d'Osia
|
13
|
+
- Franklin Webber
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-08-22 00:00:00 -07:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: nokogiri
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.4.2
|
30
|
+
type: :runtime
|
31
|
+
version_requirements: *id001
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: rspec
|
34
|
+
prerelease: false
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.3.0
|
41
|
+
type: :development
|
42
|
+
version_requirements: *id002
|
43
|
+
description: Object to XML Mapping Library, using Nokogiri (fork from John Nunemaker's Happymapper)
|
44
|
+
email: franklin.webber@gmail.com
|
45
|
+
executables: []
|
46
|
+
|
47
|
+
extensions: []
|
48
|
+
|
49
|
+
extra_rdoc_files:
|
50
|
+
- README.md
|
51
|
+
- TODO
|
52
|
+
files:
|
53
|
+
- lib/happymapper.rb
|
54
|
+
- lib/happymapper/attribute.rb
|
55
|
+
- lib/happymapper/element.rb
|
56
|
+
- lib/happymapper/item.rb
|
57
|
+
- lib/happymapper/text_node.rb
|
58
|
+
- README.md
|
59
|
+
- TODO
|
60
|
+
- spec/fixtures/address.xml
|
61
|
+
- spec/fixtures/ambigous_items.xml
|
62
|
+
- spec/fixtures/analytics.xml
|
63
|
+
- spec/fixtures/analytics_profile.xml
|
64
|
+
- spec/fixtures/commit.xml
|
65
|
+
- spec/fixtures/current_weather.xml
|
66
|
+
- spec/fixtures/dictionary.xml
|
67
|
+
- spec/fixtures/family_tree.xml
|
68
|
+
- spec/fixtures/inagy.xml
|
69
|
+
- spec/fixtures/lastfm.xml
|
70
|
+
- spec/fixtures/multiple_namespaces.xml
|
71
|
+
- spec/fixtures/multiple_primitives.xml
|
72
|
+
- spec/fixtures/pita.xml
|
73
|
+
- spec/fixtures/posts.xml
|
74
|
+
- spec/fixtures/product_default_namespace.xml
|
75
|
+
- spec/fixtures/product_no_namespace.xml
|
76
|
+
- spec/fixtures/product_single_namespace.xml
|
77
|
+
- spec/fixtures/quarters.xml
|
78
|
+
- spec/fixtures/radar.xml
|
79
|
+
- spec/fixtures/statuses.xml
|
80
|
+
- spec/fixtures/subclass_namespace.xml
|
81
|
+
- spec/happymapper_attribute_spec.rb
|
82
|
+
- spec/happymapper_element_spec.rb
|
83
|
+
- spec/happymapper_item_spec.rb
|
84
|
+
- spec/happymapper_spec.rb
|
85
|
+
- spec/happymapper_text_node_spec.rb
|
86
|
+
- spec/happymapper_to_xml_namespaces_spec.rb
|
87
|
+
- spec/happymapper_to_xml_spec.rb
|
88
|
+
- spec/ignay_spec.rb
|
89
|
+
- spec/spec_helper.rb
|
90
|
+
- spec/xpath_spec.rb
|
91
|
+
has_rdoc: true
|
92
|
+
homepage: http://github.com/burtlo/happymapper
|
93
|
+
licenses: []
|
94
|
+
|
95
|
+
post_install_message:
|
96
|
+
rdoc_options: []
|
97
|
+
|
98
|
+
require_paths:
|
99
|
+
- lib
|
100
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: "0"
|
106
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: "0"
|
112
|
+
requirements: []
|
113
|
+
|
114
|
+
rubyforge_project:
|
115
|
+
rubygems_version: 1.6.2
|
116
|
+
signing_key:
|
117
|
+
specification_version: 3
|
118
|
+
summary: Provides a simple way to map XML to Ruby Objects and back again.
|
119
|
+
test_files:
|
120
|
+
- spec/fixtures/address.xml
|
121
|
+
- spec/fixtures/ambigous_items.xml
|
122
|
+
- spec/fixtures/analytics.xml
|
123
|
+
- spec/fixtures/analytics_profile.xml
|
124
|
+
- spec/fixtures/commit.xml
|
125
|
+
- spec/fixtures/current_weather.xml
|
126
|
+
- spec/fixtures/dictionary.xml
|
127
|
+
- spec/fixtures/family_tree.xml
|
128
|
+
- spec/fixtures/inagy.xml
|
129
|
+
- spec/fixtures/lastfm.xml
|
130
|
+
- spec/fixtures/multiple_namespaces.xml
|
131
|
+
- spec/fixtures/multiple_primitives.xml
|
132
|
+
- spec/fixtures/pita.xml
|
133
|
+
- spec/fixtures/posts.xml
|
134
|
+
- spec/fixtures/product_default_namespace.xml
|
135
|
+
- spec/fixtures/product_no_namespace.xml
|
136
|
+
- spec/fixtures/product_single_namespace.xml
|
137
|
+
- spec/fixtures/quarters.xml
|
138
|
+
- spec/fixtures/radar.xml
|
139
|
+
- spec/fixtures/statuses.xml
|
140
|
+
- spec/fixtures/subclass_namespace.xml
|
141
|
+
- spec/happymapper_attribute_spec.rb
|
142
|
+
- spec/happymapper_element_spec.rb
|
143
|
+
- spec/happymapper_item_spec.rb
|
144
|
+
- spec/happymapper_spec.rb
|
145
|
+
- spec/happymapper_text_node_spec.rb
|
146
|
+
- spec/happymapper_to_xml_namespaces_spec.rb
|
147
|
+
- spec/happymapper_to_xml_spec.rb
|
148
|
+
- spec/ignay_spec.rb
|
149
|
+
- spec/spec_helper.rb
|
150
|
+
- spec/xpath_spec.rb
|