htmldoc 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,11 @@
1
+ 0.2.3
2
+ * The htmldoc command sometimes uses \r in the output. [Jon Wood]
3
+
1
4
  0.2.2
2
5
  * Move source code to GitHub: http://github.com/craigw/htmldoc
3
6
  * Strings that have linebreaks in are probably not URLs.
4
7
  * If a string has a line starting what matches /https?:\/\/ it's not an
5
- URL, it's a string.
8
+ URL, it's a string. [Tim Peters <http://rubyforge.org/users/tcp>]
6
9
 
7
10
  0.2.1
8
11
  * Fixed a bug in set_option where the value false would be seen as nil instead of :no
@@ -182,7 +182,7 @@ module PDF
182
182
  raise HTMLDocException.new("Invalid program path: #{@@program_path}")
183
183
  else
184
184
  @result[:output] = result
185
- result.split("\n").each do |line|
185
+ result.split(/\r|\n/).each do |line|
186
186
  case line
187
187
  when /^BYTES: (\d+)/
188
188
  @result[:bytes] = $1.to_i
@@ -6,7 +6,7 @@ module PDF
6
6
 
7
7
  MAJOR = 0
8
8
  MINOR = 2
9
- TINY = 2
9
+ TINY = 3
10
10
 
11
11
  STRING = [MAJOR, MINOR, TINY].join(".")
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: htmldoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig R Webster
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-19 00:00:00 +01:00
12
+ date: 2009-11-27 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency