paperless 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,9 @@ module Paperless
17
17
  @filename = ''
18
18
  @date_default_format = '%Y-%m-%d'
19
19
  @matched = false
20
+
21
+ # Automatically replace spaces with \s*. OCR tends to be wonky with spaces.
22
+ @condition = @condition.to_s.strip.gsub(/\s/,'\s*')
20
23
  end
21
24
 
22
25
  attr_reader :matched, :tags, :destination, :condition, :title, :date, :service
@@ -1,3 +1,3 @@
1
1
  module Paperless
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  version: '0'
225
225
  segments:
226
226
  - 0
227
- hash: -438489216216500471
227
+ hash: 1603207315667594824
228
228
  requirements: []
229
229
  rubyforge_project:
230
230
  rubygems_version: 1.8.24