markdown_mail_sender 0.1.4 → 0.2.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: f1f1335a41e8671f64202027b9c7f33e5df145ba
4
- data.tar.gz: 5355bc3a0d223b5e7e2f7796b454180f23bae9e1
3
+ metadata.gz: 41420e3ccfdfd4060aa00da2a60f892fdeee0297
4
+ data.tar.gz: d2826181cb3e912f923cc20e3011da93f7cdecf1
5
5
  SHA512:
6
- metadata.gz: a6181cc2e9a639daa3604d7e97c7d2e58b22f3d277411d5a3886516d0e05c25cca1331bfd7f832a4539220bca66a54ebe6b09fd2c5c062315ce0d3d0dbfe5ced
7
- data.tar.gz: d0033819e49e831ae3515a1aec2b115ca0f9646dffd771a323cb52da02601095407bbf6ea88b2900a3924420d2d274ee49a5fbc3a4c5f89d829c07995e97ab8d
6
+ metadata.gz: e2a78d171d3cfd0d1b8fa0ed5230b2438e19f08b991f15051e2a86b8586a608d0121b95f31bc6bf2ee2f439af7bf5ecd5a7da3a707a72e2a19e79ba79001b6a7
7
+ data.tar.gz: fe8c24d4607107bce06d681d6c93d182dafabb8a95212f03b8cbcc148e728ff5bdbf59344cc4a52f888e708a28870136e88bdb7452ae2fa75d83595987207229
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- S`���p�!{����8�H>��k/D�~ۓ��d_��W[� ����c�
2
- ��M�f[>�3�$���Cejw�àDGI��m-W�Ks��c�`� m�ҥ���Sjk��!
3
- Bf��ܘ�S?K��PD
1
+ &�Q(�}����|�l:(��A�����oIư�y6��p�J�A�����BvV����)Ҥ�
2
+ J/��,���B4ث�[�T!��e�����ëa��dRh�Z��K)����#9Y���g4ۓ���/3��ؓha�;ݢ��@�I_H�!sJԧT�/�Cdc��Mt;��{8zw����ˠ�q6.}�r��ڎ=v�W�K��
data.tar.gz.sig CHANGED
Binary file
@@ -2,8 +2,10 @@
2
2
 
3
3
  # file: markdown_mail_sender.rb
4
4
 
5
+
6
+ require 'martile'
5
7
  require 'net/smtp'
6
- require 'rdiscount'
8
+ require 'kramdown'
7
9
  require 'fileutils'
8
10
 
9
11
 
@@ -46,7 +48,7 @@ class MarkdownMailSender
46
48
  {
47
49
  filepath: msg_filepath, from: r[:from], to: r[:to],
48
50
  attachments: files, subject: r[:subject], body_txt: r[:body],
49
- body_html: RDiscount.new(r[:body]).to_html
51
+ body_html: Kramdown::Document.new(Martile.new(r[:body]).to_html).to_html
50
52
  }
51
53
 
52
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_mail_sender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,28 +31,48 @@ cert_chain:
31
31
  /lI2nqMMq5f39gxDkuM9dlpQCTSlNYaMUH/Ygfnaqi9j9ntJiW9/yjiYUGV7wzeS
32
32
  h4yZiygx7MCysQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-03-01 00:00:00.000000000 Z
34
+ date: 2017-05-28 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
- name: rdiscount
37
+ name: martile
38
38
  requirement: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: '2.2'
42
+ version: '0.6'
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- version: 2.2.0.1
45
+ version: 0.6.37
46
46
  type: :runtime
47
47
  prerelease: false
48
48
  version_requirements: !ruby/object:Gem::Requirement
49
49
  requirements:
50
50
  - - "~>"
51
51
  - !ruby/object:Gem::Version
52
- version: '2.2'
52
+ version: '0.6'
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 2.2.0.1
55
+ version: 0.6.37
56
+ - !ruby/object:Gem::Dependency
57
+ name: kramdown
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '1.13'
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: 1.13.2
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '1.13'
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 1.13.2
56
76
  description:
57
77
  email: james@jamesrobertson.eu
58
78
  executables: []
metadata.gz.sig CHANGED
Binary file