html-griddler 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ class HtmlGriddler::Email
28
28
  attr_reader :params
29
29
 
30
30
  def config
31
- Griddler.configuration
31
+ HtmlGriddler.configuration
32
32
  end
33
33
 
34
34
  def extract_address(address, type)
@@ -70,7 +70,7 @@ class HtmlGriddler::Email
70
70
  elsif params.key? :text
71
71
  clean_html(params[:text])
72
72
  else
73
- raise Griddler::Errors::EmailBodyNotFound
73
+ raise HtmlGriddler::Errors::EmailBodyNotFound
74
74
  end
75
75
  end
76
76
 
@@ -22,7 +22,7 @@ module EmailParser
22
22
 
23
23
  def self.extract_reply_body(body)
24
24
  if body
25
- delimeter = Griddler.configuration.reply_delimiter
25
+ delimeter = HtmlGriddler.configuration.reply_delimiter
26
26
  body.split(delimeter).first.
27
27
  split(/^\s*[-]+\s*Original Message\s*[-]+\s*$/).first.
28
28
  split(/^\s*--\s*$/).first.
@@ -3,7 +3,7 @@ module HtmlGriddler
3
3
  end
4
4
 
5
5
  module Errors
6
- class EmailBodyNotFound < Griddler::Error
6
+ class EmailBodyNotFound < HtmlGriddler::Error
7
7
  end
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module HtmlGriddler
2
- VERSION = "0.1.7"
3
- end
2
+ VERSION = "0.1.8"
3
+ end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: html-griddler
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.7
5
+ version: 0.1.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sean Powell - forker :)