htmldoc 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,10 @@
1
+ 2008-09-02 paploo <jeff@paploo.net>
2
+
3
+ * Fixed a bug in :set_option where it would see the value false as nil
4
+ instead of :no
5
+
6
+ * Updated the website URL in README.txt
7
+
1
8
  2007-03-07 ronaldo <ronaldo@reflectivesurface.com>
2
9
 
3
10
  * Changed the instance variable result to a hash of information
@@ -1,3 +1,6 @@
1
+ 0.2.1
2
+ * Fixed a bug in set_option where the value false would be seen as nil instead of :no
3
+
1
4
  0.2.0
2
5
  * Improved the way results are reported
3
6
  * Added information about errors generated in the course of execution
data/README.txt CHANGED
@@ -4,7 +4,7 @@ PDF::HTMLDoc is a wrapper around HTMLDOC, an open-source application
4
4
  that converts HTML input files into formatted HTML, PDF or PostScript
5
5
  output.
6
6
 
7
- Home:: http://rubyforge.org/projects/pdf-htmldoc/
7
+ Home:: http://rubyforge.org/projects/htmldoc/
8
8
  HTMLDOC Home:: http://www.htmldoc.org/
9
9
  Copyright:: 2007, Ronaldo M. Ferraz
10
10
 
@@ -100,10 +100,10 @@ module PDF
100
100
  # can be anything. Invalid options will throw an exception. To
101
101
  # unset an option, use <tt>nil</tt> as the value. Options with
102
102
  # negated counterparts, like <tt>:encryption</tt>, can be set
103
- # using :no or :none as the value.
103
+ # using false, :no or :none as the value.
104
104
  def set_option(option, value)
105
105
  if @@all_options.include?(option)
106
- if value
106
+ if !value.nil?
107
107
  @options[option] = value
108
108
  else
109
109
  @options.delete(option)
@@ -6,7 +6,7 @@ module PDF
6
6
 
7
7
  MAJOR = 0
8
8
  MINOR = 2
9
- TINY = 0
9
+ TINY = 1
10
10
 
11
11
  STRING = [MAJOR, MINOR, TINY].join(".")
12
12
 
metadata CHANGED
@@ -1,33 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
3
- specification_version: 1
4
2
  name: htmldoc
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.2.0
7
- date: 2007-03-07 00:00:00 -03:00
8
- summary: A wrapper around HTMLDOC, a PDF generation utility
9
- require_paths:
10
- - lib
11
- email: ronaldo@reflectivesurface.com
12
- homepage: http://htmldoc.rubyforge.org
13
- rubyforge_project: htmldoc
14
- description: PDF::HTMLDoc is a wrapper around HTMLDOC, an open-source application that converts HTML input files into formatted HTML, PDF or PostScript output.
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.2.1
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Ronaldo M. Ferraz
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-09-02 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: PDF::HTMLDoc is a wrapper around HTMLDOC, an open-source application that converts HTML input files into formatted HTML, PDF or PostScript output.
17
+ email: ronaldo@reflectivesurface.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - CHANGELOG.txt
24
+ - History.txt
25
+ - LICENSE.txt
26
+ - Manifest.txt
27
+ - README.txt
31
28
  files:
32
29
  - CHANGELOG.txt
33
30
  - History.txt
@@ -42,18 +39,33 @@ files:
42
39
  - test/basic_test.rb
43
40
  - test/generation_test.rb
44
41
  - test/test_helper.rb
42
+ has_rdoc: true
43
+ homepage: http://htmldoc.rubyforge.org
44
+ post_install_message:
45
+ rdoc_options:
46
+ - --main
47
+ - README.txt
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: "0"
55
+ version:
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: "0"
61
+ version:
62
+ requirements: []
63
+
64
+ rubyforge_project: htmldoc
65
+ rubygems_version: 1.0.1
66
+ signing_key:
67
+ specification_version: 2
68
+ summary: A wrapper around HTMLDOC, a PDF generation utility
45
69
  test_files:
46
70
  - test/basic_test.rb
47
71
  - test/generation_test.rb
48
- rdoc_options: []
49
-
50
- extra_rdoc_files: []
51
-
52
- executables: []
53
-
54
- extensions: []
55
-
56
- requirements: []
57
-
58
- dependencies: []
59
-