...
 
Commits (2)
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
----- -----
* Remove [ruby-uuid][] gem from dependencies * Remove [ruby-uuid][] gem from dependencies
* [BUG FIX]Convert Set to Array before writing into XML
0.0.8 0.0.8
----- -----
......
...@@ -181,6 +181,7 @@ Recent Changes ...@@ -181,6 +181,7 @@ Recent Changes
### 0.0.9 ### 0.0.9
* Remove [ruby-uuid][] gem from dependencies * Remove [ruby-uuid][] gem from dependencies
* [BUG FIX]Convert Set to Array before writing into XML
[ruby-uuid]: https://github.com/shyouhei/ruby-uuid [ruby-uuid]: https://github.com/shyouhei/ruby-uuid
......
...@@ -316,7 +316,7 @@ module EPUB ...@@ -316,7 +316,7 @@ module EPUB
itemref_node = xml.itemref itemref_node = xml.itemref
to_xml_attribute itemref_node, itemref, [:idref, :id] to_xml_attribute itemref_node, itemref, [:idref, :id]
itemref_node['linear'] = 'no' unless itemref.linear? itemref_node['linear'] = 'no' unless itemref.linear?
itemref_node['properties'] = itemref.properties.join(' ') unless itemref.properties.empty? itemref_node['properties'] = itemref.properties.to_a.join(' ') unless itemref.properties.empty?
end end
} }
to_xml_attribute node, self, [:id, :toc, :page_progression_direction] to_xml_attribute node, self, [:id, :toc, :page_progression_direction]
......