ratom-nokogiri 0.10.1 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c1f4562fd7cda57a9717866ced5a5172cd4f9b5
4
- data.tar.gz: e770cfb1f30500c7d878ab2d2cb1d9be3bca14e2
3
+ metadata.gz: 06640ff352854d50d2219d982b47af0daec1aaa8
4
+ data.tar.gz: 6608d57c3a58b27122229360020db6c05b8114f7
5
5
  SHA512:
6
- metadata.gz: 9955c94696fda7c38f0d41842806fe616409e8f47f0a0f3af2c3cb968e5b2d4b8b5c9807650e3b65ad3212035d5182231066e3f4a2e6ceb09151b5fec9bc560f
7
- data.tar.gz: d7c33576255d45aca2d6357d1989d5cae029b8145513a458af122ac2a5072471699db012677e56a5e9503e003dfdd21f0fd4c7406c0dea0465b658977a129c2e
6
+ metadata.gz: 5f2f5bb2738551d29ab93bf98bf768777730013dde2e9d68f1b2ff82a25913501b3905d32265adde58bd8b9737b336462b8f4138c1181c7086e28ae617e8c037
7
+ data.tar.gz: 346b35890844018e0643e4ee4c78d62c5af03855a6c4b973e1abcf146ed887a43488cf693559faf6a7de5026fde6cb6c370a64b8c00a173289009c7fffe10883
data/lib/atom/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Atom
2
- VERSION = "0.10.1"
2
+ VERSION = "0.10.2"
3
3
  end
@@ -181,7 +181,7 @@ module Atom
181
181
 
182
182
  def to_xml(builder = nil, root_name = self.class.name.demodulize.downcase, namespace = nil, namespace_handler = nil)
183
183
  orig_builder = builder
184
- builder ||= Nokogiri::XML::Builder.new(:encoding => 'utf-8')
184
+ builder ||= Nokogiri::XML::Builder.new(:encoding => 'UTF-8')
185
185
 
186
186
  namespaces = {}
187
187
  namespaces['xmlns'] = self.class.namespace if !orig_builder && self.class.respond_to?(:namespace) && self.class.namespace
data/spec/atom_spec.rb CHANGED
@@ -194,7 +194,7 @@ describe Atom do
194
194
  end
195
195
 
196
196
  it "should include an xml declaration" do
197
- @feed.to_xml.to_s.should(match %r{<\?xml version="1.0" encoding="utf-8"\?>})
197
+ @feed.to_xml.to_s.should(match %r{<\?xml version="1.0" encoding="UTF-8"\?>})
198
198
  end
199
199
 
200
200
  describe Atom::Feed do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ratom-nokogiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peerworks