nokogiri-happymapper 0.5.8 → 0.5.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cdf3f127daf46afa0d3d5e20bed4bf5551c29f46
4
- data.tar.gz: 391a93426ddbd64054b5e5237796691c02d6ad1b
3
+ metadata.gz: 249c78b638ec21c3296253579fc39a43c8a9ab63
4
+ data.tar.gz: 65cbf3b6b5bb79dd5daa2946f4af6da9de91e0ff
5
5
  SHA512:
6
- metadata.gz: 1f0eaadc20671544e2cdb7738cb05359101de87dbeea066492abe2a65aa8016458d15cec88cce6bbba034b167605c5a3e5abd34d7e033df7f0d4101327c736ec
7
- data.tar.gz: b690eb50747ebdffb6224e5715124de18c25cba9387c58db51b71d612ac0303be2ed38c4379afd78805a7d5043c9d4c0cf12a60e29edf7b01c66a636ce3d51f0
6
+ metadata.gz: 19de97b5d193847cbfbec6306fe58d4f4fc99ab90807b301e60f6cbc5263cb9440044b2de8d04076c43f69d40ae93af662f580fd601f3211d122eda3d527142a
7
+ data.tar.gz: 378289efba3dcfc33709ddd400a71bf7d25f93dc4af568ecaaa2803788890b300490f052613844ca678eba1e822f69feced3dd7dd5ba52510f0f0e75ea1a8fc9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.5.9 / 2014-02-18
2
+
3
+ * Correctly output boolean element value 'false' (confusion)
4
+
1
5
  ## 0.5.8 / 2013-10-12
2
6
 
3
7
  * Allow child elements to remove their parent's namespacing (dcarneiro)
data/README.md CHANGED
@@ -22,7 +22,7 @@ This project is a fork of the great work done first by
22
22
  $ gem install nokogiri-happymapper
23
23
 
24
24
  ### [Bundler](http://gembundler.com/)
25
- Add the unhappymapper gem to your project's `Gemfile`.
25
+ Add the `nokogiri-happymapper` gem to your project's `Gemfile`.
26
26
 
27
27
  gem 'nokogiri-happymapper', :require => 'happymapper'
28
28
 
data/lib/happymapper.rb CHANGED
@@ -676,7 +676,7 @@ module HappyMapper
676
676
  #
677
677
  item.to_xml(xml,element.options[:namespace],element.options[:tag] || nil)
678
678
 
679
- elsif item
679
+ elsif !item.nil?
680
680
 
681
681
  item_namespace = element.options[:namespace] || self.class.namespace || default_namespace
682
682
 
@@ -1,3 +1,3 @@
1
1
  module HappyMapper
2
- VERSION = "0.5.8"
2
+ VERSION = "0.5.9"
3
3
  end
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.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damien Le Berrigaud
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2012-10-29 00:00:00.000000000 Z
16
+ date: 2014-02-18 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: nokogiri
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.0.6
131
+ rubygems_version: 2.1.9
132
132
  signing_key:
133
133
  specification_version: 3
134
134
  summary: Provides a simple way to map XML to Ruby Objects and back again.