premailer 1.11.0 → 1.11.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1f0cb88ede5d92fb777b596973cb59c69bd02e0
4
- data.tar.gz: cb84c900b1160ca8f8c91d3ad74bcd9023dc7c79
3
+ metadata.gz: 2e98876ae79a7e20d9a4ce73747f40099d4f19a1
4
+ data.tar.gz: f9f95d0fbc0b3304db6cd772069729a5801c388d
5
5
  SHA512:
6
- metadata.gz: f50e404b63d17ae55256615118585baf7eabf443dd56d634ad06ae4a83cc258c6a9b2dd647184f23d03b51decbc0770910f3e886aa558c4cd57fd0950102e1c1
7
- data.tar.gz: 0aab4b4d34f52a0e81a3176e3f9508d2637f1a0fb57b0a76efcfbf6f7a24cfbebb80037605cabb8fdea8de87e27f44f69b33c2ba298e816abf68c5220539947f
6
+ metadata.gz: 88f3f5d7ba2f1e4ca8e0afdb33b2514352b80914ed98629bab52d9b92450dfa0b133994d08f0f3f3b42f33d10f0e90253432592ebcb0a931bbb7b1f54465dcfe
7
+ data.tar.gz: 3d61952d50bfc6ea280fa9f36da8da0a8e7df1af5967c9e742334a26bc916bbe0db463efb69e70f62b77e6770b18cc52b821b2d36d0f9d37c56bd36b803af037
@@ -226,7 +226,7 @@ class Premailer
226
226
  thing = thing.force_encoding(@options[:input_encoding]).encode!
227
227
  @options[:input_encoding]
228
228
  else
229
- @options[:input_encoding] || RUBY_PLATFORM == 'java' ? nil : 'BINARY'
229
+ @options[:input_encoding] || (RUBY_PLATFORM == 'java' ? nil : 'BINARY')
230
230
  end
231
231
  doc = if @options[:html_fragment]
232
232
  ::Nokogiri::HTML.fragment(thing, encoding)
@@ -228,7 +228,7 @@ class Premailer
228
228
  thing = thing.force_encoding(@options[:input_encoding]).encode!
229
229
  @options[:input_encoding]
230
230
  else
231
- @options[:input_encoding] || RUBY_PLATFORM == 'java' ? nil : 'BINARY'
231
+ @options[:input_encoding] || (RUBY_PLATFORM == 'java' ? nil : 'BINARY')
232
232
  end
233
233
  doc = if @options[:html_fragment]
234
234
  ::Nokogiri::HTML.fragment(thing, encoding)
@@ -1,4 +1,4 @@
1
1
  class Premailer
2
2
  # Premailer version.
3
- VERSION = '1.11.0'.freeze
3
+ VERSION = '1.11.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: premailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Dunae
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-21 00:00:00.000000000 Z
11
+ date: 2017-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: css_parser