eml_to_pdf 0.2.0 → 0.3.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
  SHA1:
3
- metadata.gz: e81efeb010801805fe22e63ff844e4a3f400955c
4
- data.tar.gz: 1a02a94a289f960e79827c5f63d927d6d37a2888
3
+ metadata.gz: 7a528a2f7b069decb399bc7be96696e6ae1da9fc
4
+ data.tar.gz: 4fa3e0e2af8bc2deecd2c4f3a91571e413734ab9
5
5
  SHA512:
6
- metadata.gz: b613139c02acf27408c43fad2114e34db2321ea9fa2b3709923f4dbc610d15f62751bce105a06e046b7d7246487b6e46d59a785fbe0afc84efe47decb1b70e8c
7
- data.tar.gz: 43e6e8b27008a6482229fa8077af78bcc245b0987d905c3fb7636b3de4f387308a9a459aa6413f05bd3df2df000580fa26583622a195808dc7f74a558bdc76cc
6
+ metadata.gz: 637fe50741ceadf32460b53862b04183a93e48fd67580eb9c8a25c48488b073503f3605edbac5a0ff86875ee6369f4f3da802c8b022cbc1fe10d9e399471fbef
7
+ data.tar.gz: 447ac7f6f349f3c7b5065ed5c41bdb95c9245391add55f97fb14e0dd9e97adcdd7314bf66c6ba393898107d025c6e2f346a9eed709a22c9cbc1883057fa96fa6
@@ -19,8 +19,10 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
+ spec.required_ruby_version = ">= 2.2.0"
23
+
22
24
  spec.add_development_dependency "bundler", "~> 1.10"
23
- spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "rake", "~> 11.0"
24
26
  spec.add_development_dependency 'minitest', '~> 5.9'
25
27
 
26
28
  spec.add_runtime_dependency 'filesize', '~> 0.1.1'
@@ -20,7 +20,7 @@ module EmlToPdf
20
20
 
21
21
  def to_html
22
22
  html = text_parts(@mail).join
23
- html = resolve_cids_from_attachments(html, @mail.attachments)
23
+ html = resolve_cids_from_attachments(html, @mail.all_parts)
24
24
  html = add_mail_metadata_to_html(@mail, html)
25
25
  html
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module EmlToPdf
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eml_to_pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yves Siegrist
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-09 00:00:00.000000000 Z
11
+ date: 2016-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '11.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '11.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - ">="
152
152
  - !ruby/object:Gem::Version
153
- version: '0'
153
+ version: 2.2.0
154
154
  required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - ">="