rtf_filter 0.0.3 → 0.0.4

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.
@@ -48,7 +48,7 @@ module RtfFilter
48
48
  def self.format_txt(txt)
49
49
  txt.strip! #remove blank lines at begining and end
50
50
  txt.gsub!(/(^|\n)[ \t\r]+/, "\\1") #delete leading whitespace (spaces/tabs) from beginning of each line
51
- txt.gsub!(/\n{3,}/, '\n\n') #replace all occurrences of 3 or more line breaks with just two
51
+ txt.gsub!(/\n{3,}/, "\n\n") #replace all occurrences of 3 or more line breaks with just two
52
52
  return txt
53
53
  end
54
54
 
@@ -1,3 +1,3 @@
1
1
  module RtfFilter
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtf_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-22 00:00:00.000000000Z
12
+ date: 2012-01-27 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Converts Rich Text Format (RTF) word processing files to plain text.
15
15
  Uses the rtf-filter C++ executable
@@ -24,7 +24,7 @@ files:
24
24
  - CDDL-LICENSE
25
25
  - Rakefile
26
26
  - README.rdoc
27
- homepage: https://github.com/PS-Computer-Services-Ltd/rtf_filter
27
+ homepage: https://github.com/leanbid/rtf_filter
28
28
  licenses:
29
29
  - CDDL
30
30
  post_install_message: