mailbin 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f9fa324c63f0a97db618edc2949dab1a90360fdf9f79a711e2874cd80b9e65d
4
- data.tar.gz: 720d9984cacb61259b4437c4b4a2ae4d6bf6a8841614539c4dc1e5578f600bb8
3
+ metadata.gz: 57a436b9f0363ea8175e510a2e4e21baece9cf277d376c5a2bb0d5fb315f6370
4
+ data.tar.gz: 7da6732f3a8fa34ad81fdb7c17b8c6b80c89103af04cbde42e7484255cf4910c
5
5
  SHA512:
6
- metadata.gz: 8b02cfaac2229c876d41ef4ae19aff4448aebe2c41dffeba7cd933ffc7b381fac2280d0f861bdc42a31ab6db59841ab359513c4d9e9e6f8fe21c71d718f10514
7
- data.tar.gz: bb3457f668cdd3e9c5e57429582e09d104209315a805025abe7555ceaa8f351bfb9d5febc72fdd362a1e7c7c09f99592cd7cbaa9104471f2018655e09fd3572d
6
+ metadata.gz: a2423b9eb63b072c380d9df82c68c82030f17c1f4e58b0b110c4d9619f21ef56584a2594cadf2e7d81fa77f72ccbe00440a03b088fe2eb4a1952b14059b55d98
7
+ data.tar.gz: 32476cbc13e4f000658d78e423aeb5ea9cdba8fd9facd5805b59ce08e7bf7d4cd8d336c60b7fd405ae426960c6fa1352bf1ede96a1ef136d9405a35701e7c8ed
@@ -3,7 +3,7 @@ html, body, iframe {
3
3
  }
4
4
 
5
5
  body {
6
- font: 12px sans-serif;
6
+ font: 14px sans-serif;
7
7
  margin: 0;
8
8
  padding: 1rem;
9
9
  -webkit-font-smoothing: antialiased;
@@ -9,6 +9,8 @@
9
9
  <thead>
10
10
  <tr>
11
11
  <th>Subject</th>
12
+ <th>To</th>
13
+ <th>From</th>
12
14
  <th>Sent At</th>
13
15
  <th>
14
16
  <%= button_to "Clear all", clear_path, method: :delete, class: "btn", data: {turbo_confirm: "Are you sure?"} %>
@@ -19,7 +21,9 @@
19
21
  <% @emails.each do |email| %>
20
22
  <tr>
21
23
  <td><%= link_to email.subject, message_path(email.message_id) %></td>
22
- <td><%= l email.date, format: :long %></td>
24
+ <td><%= email.to.join(", ") %></td>
25
+ <td><%= email.from.join(", ") %></td>
26
+ <td><%= tag.time email.date.to_fs(:rfc822), datetime: email.date %></td>
23
27
  <td><%= button_to "Delete", message_path(email.message_id), method: :delete, data: {turbo_confirm: "Are you sure?"}, class: "btn" %></td>
24
28
  </tr>
25
29
  <% end %>
@@ -38,7 +38,7 @@
38
38
  <% end %>
39
39
 
40
40
  <dt>Date:</dt>
41
- <dd id="date"><%= @email.header['date'] || Time.current.rfc2822 %></dd>
41
+ <dd id="date"><%= tag.time @email.date.to_fs(:rfc822), datetime: @email.date %></dd>
42
42
 
43
43
  <dt>Subject:</dt>
44
44
  <dd><strong id="subject"><%= @email.subject %></strong></dd>
@@ -1,3 +1,3 @@
1
1
  module Mailbin
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailbin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 4.0.10
101
+ rubygems_version: 4.0.11
102
102
  specification_version: 4
103
103
  summary: Mailbin collects emails from Rails ActionMailer in development for testing.
104
104
  test_files: []