eml_to_pdf_ext 0.5.7 → 0.5.8

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: ab5a72a56e86f3cc120f79c2a20ec295938e77d9
4
- data.tar.gz: 3ce8b71ace5b0508daf234db5f66ae3386e3799f
3
+ metadata.gz: 3008d2afdc1246af821e8f9b04cf7dd0c82f1326
4
+ data.tar.gz: 4b42c67fb312a41200b318f4c07ce669ef806cdb
5
5
  SHA512:
6
- metadata.gz: 7f13131567caaac7cf148a4ecca36be88e00038d059762e0951b9fcabaa4f8d6947b15e20ca9961de12a8eccd9a7a590be11ece2c5d78fc5912d2164b2d97637
7
- data.tar.gz: 0a08e4182b2eea3c0ae166cf0d86e1b047514f16d8b6cb8ce2fbbd1e8961f6c3601c3d0cfa22e49c63f2e5a91760070b951b50d349db83537cbd782eb158f4f1
6
+ metadata.gz: 23a624a5a3582a1d1fc0172c50203743cee630fcfd799ffe84382c9e105a959f3628eeb81b29a83a8e9fa27cd6b474d1fcb3d3d16d6e17374124fc68598fbce8
7
+ data.tar.gz: 7dec9f6954f372eb560f2724183d4e949868f1818a2f8618a0863fa0703be5c594adfc9440829e63973ee23ee4659a92b2ae26993f488e34c09e2b38214a05ba
@@ -81,7 +81,7 @@ module EmlToPdf
81
81
 
82
82
  links = doc.css('a')
83
83
 
84
- links.select do |x|
84
+ links.reject { |x| x['href'].nil? }.select do |x|
85
85
  allowed_formats.any? { |format| x['href'].start_with?(format) }
86
86
  end.each do |x|
87
87
  x['target'] = ''
@@ -1,3 +1,3 @@
1
1
  module EmlToPdf
2
- VERSION = '0.5.7'
2
+ VERSION = '0.5.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eml_to_pdf_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yves Siegrist
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-02-01 00:00:00.000000000 Z
12
+ date: 2017-02-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler