roda-component 0.1.61 → 0.1.62

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: efa2ffbbf6237d987b59f1dc0a46254ce509d231
4
- data.tar.gz: 1b9e42b971f078cec77123a9ddb2c94cd8e62381
3
+ metadata.gz: 1cea7aba11b39b4e5bfdb3cf4abbaf76d3800cac
4
+ data.tar.gz: 4e45af26634994e3c0d57cdf2b3ed008439fe23b
5
5
  SHA512:
6
- metadata.gz: 76e1237972c3ce8c333576d327d98d58b0e0e4ea2766f6d38fa4a3285476236c6df78bfa5ed6c0583494018494bc58c01fe2691f33637dd8c4305e8bf161f761
7
- data.tar.gz: c6894cc9343b48f906c7f55d36a1575d24ab532c2dfdffa9aa83ed387aba4cfdaac684b7b228767fefb8f4f116d36e689ea1d12df06419e4fd2a4859b98453a2
6
+ metadata.gz: 15ac073392f3a82dec085a23f2c3966cd41fe7e133b7ec6afc2c0c3defa8abc9a472c77031a6ef474a84716de90c9957440e092fa93229fec2a29c41c756bde2
7
+ data.tar.gz: 70f9146a087752016f402d06a28d3298954b61ead890be446dd3b5a39026c600a8d5b1a107b2ed6cdd4da176c23757627df7d87d027a4c5203fbf300c81ee1ae
@@ -1,5 +1,5 @@
1
1
  class Roda
2
2
  class Component
3
- VERSION = "0.1.61"
3
+ VERSION = "0.1.62"
4
4
  end
5
5
  end
@@ -30,7 +30,17 @@ unless RUBY_ENGINE == 'opal'
30
30
 
31
31
  module Nokogiri
32
32
  module XML
33
+ class NodeSet
34
+ alias_method :original_to_xhtml, :to_xhtml
35
+ def to_xhtml *args
36
+ original_to_xhtml(*args).gsub("
", "\r")
37
+ end
38
+ end
33
39
  class Node
40
+ alias_method :original_to_xhtml, :to_xhtml
41
+ def to_xhtml *args
42
+ original_to_xhtml(*args).gsub("
", "\r")
43
+ end
34
44
 
35
45
  private
36
46
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roda-component
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.61
4
+ version: 0.1.62
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj