happymapper-swanandp 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/License +20 -0
- data/README.rdoc +55 -0
- data/Rakefile +35 -0
- data/examples/amazon.rb +34 -0
- data/examples/current_weather.rb +21 -0
- data/examples/dashed_elements.rb +20 -0
- data/examples/multi_street_address.rb +30 -0
- data/examples/post.rb +19 -0
- data/examples/twitter.rb +37 -0
- data/lib/happymapper.rb +321 -0
- data/lib/happymapper/attribute.rb +3 -0
- data/lib/happymapper/element.rb +3 -0
- data/lib/happymapper/item.rb +179 -0
- data/lib/happymapper/version.rb +3 -0
- data/spec/fixtures/address.xml +8 -0
- data/spec/fixtures/analytics.xml +61 -0
- data/spec/fixtures/commit.xml +52 -0
- data/spec/fixtures/current_weather.xml +89 -0
- data/spec/fixtures/family_tree.xml +7 -0
- data/spec/fixtures/multi_street_address.xml +9 -0
- data/spec/fixtures/multiple_namespaces.xml +170 -0
- data/spec/fixtures/nested_namespaces.xml +17 -0
- data/spec/fixtures/notes.xml +9 -0
- data/spec/fixtures/pita.xml +133 -0
- data/spec/fixtures/posts.xml +23 -0
- data/spec/fixtures/product_default_namespace.xml +10 -0
- data/spec/fixtures/product_no_namespace.xml +10 -0
- data/spec/fixtures/product_single_namespace.xml +10 -0
- data/spec/fixtures/radar.xml +21 -0
- data/spec/fixtures/raw.xml +9 -0
- data/spec/fixtures/statuses.xml +422 -0
- data/spec/happymapper_attribute_spec.rb +17 -0
- data/spec/happymapper_element_spec.rb +17 -0
- data/spec/happymapper_item_spec.rb +115 -0
- data/spec/happymapper_spec.rb +404 -0
- data/spec/happymapper_to_xml_namespaces_spec.rb +149 -0
- data/spec/happymapper_to_xml_spec.rb +138 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/support/models.rb +323 -0
- metadata +121 -0
metadata
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: happymapper-swanandp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 15
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
version: 0.4.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- John Nunemaker
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-10-12 00:00:00 +05:30
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: libxml-ruby
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 0
|
33
|
+
version: "2.0"
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
description:
|
37
|
+
email:
|
38
|
+
- nunemaker@gmail.com
|
39
|
+
executables: []
|
40
|
+
|
41
|
+
extensions: []
|
42
|
+
|
43
|
+
extra_rdoc_files: []
|
44
|
+
|
45
|
+
files:
|
46
|
+
- examples/amazon.rb
|
47
|
+
- examples/current_weather.rb
|
48
|
+
- examples/dashed_elements.rb
|
49
|
+
- examples/multi_street_address.rb
|
50
|
+
- examples/post.rb
|
51
|
+
- examples/twitter.rb
|
52
|
+
- lib/happymapper/attribute.rb
|
53
|
+
- lib/happymapper/element.rb
|
54
|
+
- lib/happymapper/item.rb
|
55
|
+
- lib/happymapper/version.rb
|
56
|
+
- lib/happymapper.rb
|
57
|
+
- spec/fixtures/address.xml
|
58
|
+
- spec/fixtures/analytics.xml
|
59
|
+
- spec/fixtures/commit.xml
|
60
|
+
- spec/fixtures/current_weather.xml
|
61
|
+
- spec/fixtures/family_tree.xml
|
62
|
+
- spec/fixtures/multi_street_address.xml
|
63
|
+
- spec/fixtures/multiple_namespaces.xml
|
64
|
+
- spec/fixtures/nested_namespaces.xml
|
65
|
+
- spec/fixtures/notes.xml
|
66
|
+
- spec/fixtures/pita.xml
|
67
|
+
- spec/fixtures/posts.xml
|
68
|
+
- spec/fixtures/product_default_namespace.xml
|
69
|
+
- spec/fixtures/product_no_namespace.xml
|
70
|
+
- spec/fixtures/product_single_namespace.xml
|
71
|
+
- spec/fixtures/radar.xml
|
72
|
+
- spec/fixtures/raw.xml
|
73
|
+
- spec/fixtures/statuses.xml
|
74
|
+
- spec/happymapper_attribute_spec.rb
|
75
|
+
- spec/happymapper_element_spec.rb
|
76
|
+
- spec/happymapper_item_spec.rb
|
77
|
+
- spec/happymapper_spec.rb
|
78
|
+
- spec/happymapper_to_xml_namespaces_spec.rb
|
79
|
+
- spec/happymapper_to_xml_spec.rb
|
80
|
+
- spec/spec.opts
|
81
|
+
- spec/spec_helper.rb
|
82
|
+
- spec/support/models.rb
|
83
|
+
- License
|
84
|
+
- Rakefile
|
85
|
+
- README.rdoc
|
86
|
+
has_rdoc: true
|
87
|
+
homepage: http://happymapper.rubyforge.org
|
88
|
+
licenses: []
|
89
|
+
|
90
|
+
post_install_message:
|
91
|
+
rdoc_options: []
|
92
|
+
|
93
|
+
require_paths:
|
94
|
+
- lib
|
95
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
hash: 3
|
101
|
+
segments:
|
102
|
+
- 0
|
103
|
+
version: "0"
|
104
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
hash: 3
|
110
|
+
segments:
|
111
|
+
- 0
|
112
|
+
version: "0"
|
113
|
+
requirements: []
|
114
|
+
|
115
|
+
rubyforge_project: happymapper-swanandp
|
116
|
+
rubygems_version: 1.3.7
|
117
|
+
signing_key:
|
118
|
+
specification_version: 3
|
119
|
+
summary: object to xml mapping library
|
120
|
+
test_files: []
|
121
|
+
|