hparser 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/hparser/text.rb +2 -2
  2. data/test/test_text.rb +1 -1
  3. metadata +2 -2
data/lib/hparser/text.rb CHANGED
@@ -34,8 +34,8 @@ module HParser
34
34
 
35
35
  class Empty
36
36
  include Text
37
- def text_content
38
- "\n"
37
+ def to_text
38
+ ""
39
39
  end
40
40
  end
41
41
 
data/test/test_text.rb CHANGED
@@ -22,7 +22,7 @@ class TextTest < Test::Unit::TestCase
22
22
  end
23
23
 
24
24
  def test_empty
25
- assert_text "\n",Empty.new
25
+ assert_text "",Empty.new
26
26
  end
27
27
 
28
28
  def test_pre
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: hparser
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.1
7
- date: 2006-08-09 00:00:00 +09:00
6
+ version: 0.2.2
7
+ date: 2006-08-15 00:00:00 +09:00
8
8
  summary: Hatena Format Parser
9
9
  require_paths:
10
10
  - lib