awesomemailer 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "awesomemailer"
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Flip Sasser"]
@@ -34,6 +34,9 @@ module AwesomeMailer
34
34
  end
35
35
  rescue Nokogiri::CSS::SyntaxError # Complex CSS? Just dump it somewhere
36
36
  apply_styles_to_head!(selector, properties)
37
+ rescue RuntimeError => exception
38
+ raise $! unless exception.message =~ /xmlXPathCompOpEval/
39
+ apply_styles_to_head!(selector, properties)
37
40
  end
38
41
 
39
42
  def apply_styles_to_head!(selector, properties, indent = 0)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesomemailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: