premailer 1.12.1 → 1.13.0

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
  SHA256:
3
- metadata.gz: 3b01f24d73b41f4214ef8ca3b2a1985fe73f52c51b08fd0556ff11b8efda5122
4
- data.tar.gz: bc7cb36fe7064821e1ec20a529b3d1ea6f7e3f77495784bb9ce7b5983f6bea25
3
+ metadata.gz: c7882cf6e028e4d0f2bfb61a5fe7fdcf86f27f38771110bfa2adb01e774bb9e8
4
+ data.tar.gz: 34d2f2dd133d9e339927ca08c4f358028b9bc1f9ab9a957a0702410b4bbfd98d
5
5
  SHA512:
6
- metadata.gz: 6ba7b88207293b27f1161ba1f684646b59d7783f334dcd28b562109662873423238c20a6a5b052815f890c05d9509b718c2e341ec6f7a04671a72e7b86bf7c46
7
- data.tar.gz: 7544784edfb822d9d9c5cba949c554e9f208edfa5748567cc5a4a0455615cad3ce0aaed8b93e93235b7dc9e1b1a71c683d87bd317750fb20462fc161ff47294c
6
+ metadata.gz: b0016714ba7bf448622523699f89d68bad9c10127f3dc2ed76c5bde9cc6829edb31e1483a9c30e37f8214e46f45d43c0f260e8d743d63947340fb4a026676df6
7
+ data.tar.gz: f63d9445ddc63a0f39370599f92d1b4a52c783aa72f447e333b3a867e3cb4290d107659278de44cfc070d208bb66b1c538eeef9a7e79316c4e1b46cf7fa07b4c
@@ -204,7 +204,7 @@ class Premailer
204
204
  @base_dir = File.dirname(input)
205
205
  thing = File.open(input, 'r')
206
206
  else
207
- thing = open(input)
207
+ thing = URI.open(input)
208
208
  end
209
209
 
210
210
  if thing.respond_to?(:read)
@@ -206,7 +206,7 @@ class Premailer
206
206
  @base_dir = File.dirname(input)
207
207
  thing = File.open(input, 'r')
208
208
  else
209
- thing = open(input)
209
+ thing = URI.open(input)
210
210
  end
211
211
 
212
212
  if thing.respond_to?(:read)
@@ -204,7 +204,7 @@ class Premailer
204
204
  @base_dir = File.dirname(input)
205
205
  thing = File.open(input, 'r')
206
206
  else
207
- thing = open(input)
207
+ thing = URI.open(input)
208
208
  end
209
209
 
210
210
  if thing.respond_to?(:read)
@@ -1,4 +1,4 @@
1
1
  class Premailer
2
2
  # Premailer version.
3
- VERSION = '1.12.1'.freeze
3
+ VERSION = '1.13.0'.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.12.1
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Dunae
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-12 00:00:00.000000000 Z
11
+ date: 2020-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: css_parser
@@ -218,7 +218,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
218
  requirements:
219
219
  - - ">="
220
220
  - !ruby/object:Gem::Version
221
- version: 2.3.0
221
+ version: 2.5.0
222
222
  required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  requirements:
224
224
  - - ">="