fnando-bookmaker 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -43,4 +43,8 @@
43
43
  == 0.0.8 2008-06-22
44
44
  * 1 minor change
45
45
  * Added Hpricot as dependency
46
- * README updated to document highlight syntax
46
+ * README updated to document highlight syntax
47
+
48
+ == 0.0.9 2008-07-25
49
+ * 1 bug fix
50
+ * Toc#to_s raised an error if book had no h2-h6 tags (thanks @rferraz)
@@ -314,6 +314,8 @@ module Bookmaker
314
314
 
315
315
  def to_s
316
316
  @toc + (%(</li></ul>) * (@stack.last - 1))
317
+ rescue
318
+ ""
317
319
  end
318
320
  end
319
321
  end
@@ -2,7 +2,7 @@ module Bookmaker #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 8
5
+ TINY = 9
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fnando-bookmaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-22 00:00:00 -07:00
12
+ date: 2008-06-25 00:00:00 -07:00
13
13
  default_executable: bookmaker
14
14
  dependencies: []
15
15
 
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  requirements: []
91
91
 
92
92
  rubyforge_project: bookmaker
93
- rubygems_version: 1.0.1
93
+ rubygems_version: 1.2.0
94
94
  signing_key:
95
95
  specification_version: 2
96
96
  summary: A framework for creating e-books from Markdown/Textile text markup using Ruby. Using the Prince PDF generator, you'll be able to get high quality PDFs. Mac users that have Textmate installed can have source code highlighted with his favorite theme.