automaildoc 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/automaildoc/document.rb +12 -0
- data/lib/automaildoc/templates/mail.html.erb +14 -2
- data/lib/automaildoc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7279c1152999c7978a4915d8c926fab8ab142513
|
4
|
+
data.tar.gz: 946b23f20264a562186aecdc9bbd49edec9bcfdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ab76f4f555367e530e284e85b8ceb76a8366b3df165cf8bac30ad853c12013f2108d6f806b865348d20a22fab88cb8ca6a94f87e57ead6f9ef8e34f1654837e
|
7
|
+
data.tar.gz: d27b00b1ec367b91dd8b4f727e08763006eb74427c182704c26d728e987edc523396aabda1a132a20dc7902242674079bd600799b33e8ac19f46ac74ce0db378
|
data/CHANGELOG.md
CHANGED
data/lib/automaildoc/document.rb
CHANGED
@@ -18,8 +18,20 @@
|
|
18
18
|
<span class="badge badge-default"><%= mail %></span>
|
19
19
|
<% end %>
|
20
20
|
</div>
|
21
|
+
|
22
|
+
<h4>Subject</h4>
|
21
23
|
<pre><%= subject %></pre>
|
22
|
-
|
24
|
+
|
25
|
+
<h4>Body</h4>
|
26
|
+
<% if multipart? %>
|
27
|
+
<h5><%= html_part.content_type %></h5>
|
28
|
+
<pre><%= html_part.body %></pre>
|
29
|
+
|
30
|
+
<h5><%= text_part.content_type %></h5>
|
31
|
+
<pre><%= text_part.body %></pre>
|
32
|
+
<% else %>
|
33
|
+
<pre><%= body %></pre>
|
34
|
+
<% end %>
|
23
35
|
</div>
|
24
36
|
|
25
|
-
<hr
|
37
|
+
<hr/>
|
data/lib/automaildoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: automaildoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masato Ohba
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|