mails_viewer 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,15 +16,16 @@ $(function() {
16
16
  });
17
17
 
18
18
  $("#mails").dataTable({
19
- "aaSorting": [[3, "desc"]],
19
+ "aaSorting": [[4, "desc"]],
20
20
  "aoColumns": [
21
21
  null,
22
22
  null,
23
23
  null,
24
24
  null,
25
+ null,
25
26
  { "bSortable": false }
26
27
  ]
27
28
  });
28
29
 
29
-
30
+
30
31
  });
@@ -15,6 +15,7 @@
15
15
  <tr>
16
16
  <th>From</th>
17
17
  <th>To</th>
18
+ <th>CC</th>
18
19
  <th>Subject</th>
19
20
  <th>Date</th>
20
21
  <th></th>
@@ -23,8 +24,9 @@
23
24
  <tbody>
24
25
  <% @mails.each do |mail, filename| %>
25
26
  <tr class="mail">
26
- <td><%= mail.from.join(', ') %></td>
27
- <td><%= mail.to.join(', ') %></td>
27
+ <td><%= Array.wrap(mail.from).join(', ') %></td>
28
+ <td><%= Array.wrap(mail.to).join(', ') %></td>
29
+ <td><%= Array.wrap(mail.cc).join(', ') %></td>
28
30
  <td>
29
31
  <%= mail.subject %>
30
32
  </td>
@@ -1,3 +1,3 @@
1
1
  module MailsViewer
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mails_viewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-03-22 00:00:00.000000000 Z
13
+ date: 2013-11-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails