nokogiri-happymapper 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +4 -0
- data/lib/happymapper.rb +2 -0
- data/lib/happymapper/element.rb +2 -0
- data/lib/happymapper/supported_types.rb +2 -4
- data/lib/happymapper/version.rb +1 -1
- data/lib/nokogiri-happymapper.rb +4 -0
- data/spec/features/after_parse_callbacks_spec.rb +6 -3
- data/spec/features/attribute_default_value_spec.rb +5 -6
- data/spec/features/attributes_spec.rb +1 -1
- data/spec/features/has_many_empty_array_spec.rb +1 -1
- data/spec/features/ignay_spec.rb +21 -11
- data/spec/features/inheritance_spec.rb +27 -19
- data/spec/features/mixed_namespaces_spec.rb +1 -1
- data/spec/features/parse_with_object_to_update_spec.rb +19 -13
- data/spec/features/same_tag_different_meaning_spec.rb +1 -1
- data/spec/features/to_xml_spec.rb +21 -18
- data/spec/features/to_xml_with_namespaces_spec.rb +19 -16
- data/spec/features/wildcard_tag_name_spec.rb +26 -16
- data/spec/features/wrap_spec.rb +27 -22
- data/spec/features/xpath_spec.rb +1 -1
- data/spec/happymapper/item_spec.rb +5 -2
- data/spec/happymapper_spec.rb +257 -180
- data/spec/spec_helper.rb +1 -1
- metadata +4 -8
- data/spec/happymapper/element_spec.rb +0 -11
- data/spec/happymapper/text_node_spec.rb +0 -11
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri-happymapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damien Le Berrigaud
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date:
|
17
|
+
date: 2019-03-18 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: nokogiri
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- lib/happymapper/supported_types.rb
|
94
94
|
- lib/happymapper/text_node.rb
|
95
95
|
- lib/happymapper/version.rb
|
96
|
+
- lib/nokogiri-happymapper.rb
|
96
97
|
- spec/features/after_parse_callbacks_spec.rb
|
97
98
|
- spec/features/attribute_default_value_spec.rb
|
98
99
|
- spec/features/attributes_spec.rb
|
@@ -137,9 +138,7 @@ files:
|
|
137
138
|
- spec/fixtures/wrapper.xml
|
138
139
|
- spec/happymapper/anonymous_mapper_spec.rb
|
139
140
|
- spec/happymapper/attribute_spec.rb
|
140
|
-
- spec/happymapper/element_spec.rb
|
141
141
|
- spec/happymapper/item_spec.rb
|
142
|
-
- spec/happymapper/text_node_spec.rb
|
143
142
|
- spec/happymapper_spec.rb
|
144
143
|
- spec/spec_helper.rb
|
145
144
|
homepage: http://github.com/mvz/happymapper
|
@@ -161,8 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
160
|
- !ruby/object:Gem::Version
|
162
161
|
version: '0'
|
163
162
|
requirements: []
|
164
|
-
|
165
|
-
rubygems_version: 2.7.6
|
163
|
+
rubygems_version: 3.0.3
|
166
164
|
signing_key:
|
167
165
|
specification_version: 4
|
168
166
|
summary: Provides a simple way to map XML to Ruby Objects and back again.
|
@@ -211,8 +209,6 @@ test_files:
|
|
211
209
|
- spec/fixtures/wrapper.xml
|
212
210
|
- spec/happymapper/anonymous_mapper_spec.rb
|
213
211
|
- spec/happymapper/attribute_spec.rb
|
214
|
-
- spec/happymapper/element_spec.rb
|
215
212
|
- spec/happymapper/item_spec.rb
|
216
|
-
- spec/happymapper/text_node_spec.rb
|
217
213
|
- spec/happymapper_spec.rb
|
218
214
|
- spec/spec_helper.rb
|