fruit_to_lime 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,7 @@ module SerializeHelper
32
32
  elsif (varv.is_a?(Array))
33
33
  varv = varv.map { |elem| SerializeHelper::serialize(elem) }.join("\n")
34
34
  else
35
- varv = varv.to_s.encode(:xml => :text)
35
+ varv = varv.to_s.encode(:xml => :text).encode('UTF-8')
36
36
  end
37
37
  "<#{varn}>#{ varv }</#{varn}>"
38
38
  end.join("\n")
@@ -2,6 +2,7 @@ require 'spec_helper'
2
2
  require 'fruit_to_lime'
3
3
 
4
4
  describe FruitToLime::SerializeHelper do
5
+
5
6
  describe "Serialize note" do
6
7
  let(:serialized) {
7
8
  n = FruitToLime::Note.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fruit_to_lime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: