rspec-illustrate 0.2.0 → 0.2.1

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: d870dec93914bb6ba39750aec5ee4d761ddaf57a
4
- data.tar.gz: 00f1fd8e6e03a31c48d0d93ecf0d86e0fa94ab6f
3
+ metadata.gz: 5b822c22e98c50f9a1ddd581934caccca34b562c
4
+ data.tar.gz: cbeaff9343b040ae9ec13f23fda3af8d39d5ae3f
5
5
  SHA512:
6
- metadata.gz: d3af7d4a069a34fdf20488e10ef6d8996e71aeeb0c2fecb8d3e718580d05dc55d41e1b71999ede0e109580f543a6b7fe03fc1a250eb16def5d69ca9dc3fb7ae4
7
- data.tar.gz: 4e226af173505d8fdb5fde8eddb74bb6da99fc842382205495221f77f20b9519d661b57fb3cb65551991f9ae127988f43cf182e147e9c60fff0d27c9e4285dec
6
+ metadata.gz: 5312f1ee2307e954240964da871308c172cd99d5eceb4a4fb992cb76573e2426975aec51f1a9c84f4931a3c12c0f9b1f0efa80bdff2f4537a81f0c4eaf0afb42
7
+ data.tar.gz: cf6b281984a72fb99dded2eeb08810dfc97530ba48b208263bb1f7b24e6c3a17c4bdfc4ed7caf371b5781ca890a9fee67d160d5518f34d455ded5a1348e304ef
@@ -92,10 +92,10 @@ module RSpec
92
92
  end
93
93
 
94
94
  if illustration.has_key?(:html) then
95
- node.add_element(REXML::Text.new(illustration[:html], true, nil, true))
95
+ node.add_element(REXML::Document.new(illustration[:html]))
96
96
  else
97
97
  node.add_element("pre", {'class'=>'rspec_illustration_content'}).text =
98
- REXML::Text.new(illustration[:text], true, nil, true)
98
+ REXML::Text.new(illustration[:text], true, nil, false)
99
99
  end
100
100
 
101
101
  node
@@ -1,6 +1,6 @@
1
1
  module RSpec
2
2
  module Illustrate
3
3
  # The version used by gemspec
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-illustrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Schlyter