mailcatcher 0.5.11 → 0.5.12

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: d1002ba05aff5bda4c54a9f7774597a3ce3e8206
4
- data.tar.gz: c5386fa748ad8c71e1ecd63891d7a366f5d6a315
3
+ metadata.gz: 087ab236a57889861232c36337622a2c491f015e
4
+ data.tar.gz: 2025e9693e21dae93e87d28261ae520ea3b1d4f8
5
5
  SHA512:
6
- metadata.gz: f79c58f17bc6be85d8c0773f86ca68c501b4a4c39445ac12db510cd0ffc0f885a89a90c06ba527296f4ef2acf37767970219e08a1826cb08d42245e82f988eb1
7
- data.tar.gz: 75de25484f92e27a8d8688217157479099f44c96b88d42ec244aa9ac4b07280d93a3bca78c9ed60a4e5050d0e1f24710a90cfdf95b8cd75bee4f6b06c10ac509
6
+ metadata.gz: 96f670bb993dc0f567da90089a88effdec7ec1f4fcd30d85e7f0d63a9ee18446f4edd0b6ebbb48a3062d0f7bd0cfb9fe41cfd0edea05d53864cfc5930b034121
7
+ data.tar.gz: 42daf4cd55e174e109c08c041261ac3cd5597b57fdcb5a6e632a31e838f8a4b7f828a24871e18833aa5de6635848065d150ee93f7eaab3f9aef0df0ed6f19b31
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -34,10 +34,7 @@ class MailCatcher::Smtp < EventMachine::Protocols::SmtpServer
34
34
 
35
35
  def receive_data_chunk(lines)
36
36
  current_message[:source] ||= ""
37
- lines.each do |line|
38
- # RFC821 4.5.2 says leading periods should be stripped from the body data.
39
- current_message[:source] << line.sub(/\A\./, "") << "\n"
40
- end
37
+ current_message[:source] << lines.join("\n")
41
38
  true
42
39
  end
43
40
 
@@ -1,3 +1,3 @@
1
1
  module MailCatcher
2
- VERSION = "0.5.11"
2
+ VERSION = "0.5.12"
3
3
  end
@@ -72,10 +72,10 @@
72
72
  url: '/messages',
73
73
  type: 'DELETE',
74
74
  success: function() {
75
- return this.unselectMessage();
75
+ return _this.unselectMessage();
76
76
  },
77
77
  error: function() {
78
- return alert('Error while quitting.');
78
+ return alert('Error while clearing all messages.');
79
79
  }
80
80
  });
81
81
  }
@@ -62,10 +62,8 @@ body {
62
62
  color: black;
63
63
  font-size: 12px;
64
64
  font-family: Helvetica, sans-serif; }
65
- body * html {
66
- font-size: 75%; }
67
65
  body html {
68
- font-size: 12px;
66
+ font-size: 75%;
69
67
  line-height: 2em; }
70
68
  body.iframe {
71
69
  background: white; }
@@ -91,6 +89,7 @@ body {
91
89
  background: -webkit-linear-gradient(#f4f4f4, #ececec), #ececec;
92
90
  background: -moz-linear-gradient(#f4f4f4, #ececec), #ececec;
93
91
  background: -o-linear-gradient(#f4f4f4, #ececec), #ececec;
92
+ background: -ms-linear-gradient(#f4f4f4, #ececec), #ececec;
94
93
  background: linear-gradient(#f4f4f4, #ececec), #ececec;
95
94
  color: #666666;
96
95
  text-shadow: 1px 1px 0 white;
@@ -102,6 +101,7 @@ body {
102
101
  background: -webkit-linear-gradient(#eeeeee, #dddddd), #dddddd;
103
102
  background: -moz-linear-gradient(#eeeeee, #dddddd), #dddddd;
104
103
  background: -o-linear-gradient(#eeeeee, #dddddd), #dddddd;
104
+ background: -ms-linear-gradient(#eeeeee, #dddddd), #dddddd;
105
105
  background: linear-gradient(#eeeeee, #dddddd), #dddddd;
106
106
  color: #333333;
107
107
  text-decoration: none; }
@@ -112,6 +112,7 @@ body {
112
112
  background: -webkit-linear-gradient(#dddddd, #eeeeee), #eeeeee;
113
113
  background: -moz-linear-gradient(#dddddd, #eeeeee), #eeeeee;
114
114
  background: -o-linear-gradient(#dddddd, #eeeeee), #eeeeee;
115
+ background: -ms-linear-gradient(#dddddd, #eeeeee), #eeeeee;
115
116
  background: linear-gradient(#dddddd, #eeeeee), #eeeeee;
116
117
  color: #333333;
117
118
  text-decoration: none;
@@ -135,6 +136,7 @@ body > header {
135
136
  text-shadow: 0 1px 0 white;
136
137
  -webkit-transition: 0.1s ease;
137
138
  -moz-transition: 0.1s ease;
139
+ -ms-transition: 0.1s ease;
138
140
  -o-transition: 0.1s ease;
139
141
  transition: 0.1s ease; }
140
142
  body > header h1 a:hover {
@@ -161,6 +163,7 @@ body > header {
161
163
  background: -webkit-linear-gradient(#f4f4f4, #ececec), #ececec;
162
164
  background: -moz-linear-gradient(#f4f4f4, #ececec), #ececec;
163
165
  background: -o-linear-gradient(#f4f4f4, #ececec), #ececec;
166
+ background: -ms-linear-gradient(#f4f4f4, #ececec), #ececec;
164
167
  background: linear-gradient(#f4f4f4, #ececec), #ececec;
165
168
  color: #666666;
166
169
  text-shadow: 1px 1px 0 white;
@@ -170,6 +173,7 @@ body > header {
170
173
  background: -webkit-linear-gradient(#eeeeee, #dddddd), #dddddd;
171
174
  background: -moz-linear-gradient(#eeeeee, #dddddd), #dddddd;
172
175
  background: -o-linear-gradient(#eeeeee, #dddddd), #dddddd;
176
+ background: -ms-linear-gradient(#eeeeee, #dddddd), #dddddd;
173
177
  background: linear-gradient(#eeeeee, #dddddd), #dddddd;
174
178
  color: #333333;
175
179
  text-decoration: none; }
@@ -178,6 +182,7 @@ body > header {
178
182
  background: -webkit-linear-gradient(#dddddd, #eeeeee), #eeeeee;
179
183
  background: -moz-linear-gradient(#dddddd, #eeeeee), #eeeeee;
180
184
  background: -o-linear-gradient(#dddddd, #eeeeee), #eeeeee;
185
+ background: -ms-linear-gradient(#dddddd, #eeeeee), #eeeeee;
181
186
  background: linear-gradient(#dddddd, #eeeeee), #eeeeee;
182
187
  color: #333333;
183
188
  text-decoration: none;
@@ -206,6 +211,7 @@ body > header {
206
211
  cursor: pointer;
207
212
  -webkit-transition: 0.1s ease;
208
213
  -moz-transition: 0.1s ease;
214
+ -ms-transition: 0.1s ease;
209
215
  -o-transition: 0.1s ease;
210
216
  transition: 0.1s ease;
211
217
  color: #333333; }
@@ -268,30 +274,31 @@ body > header {
268
274
  #message > header .metadata .attachments ul {
269
275
  display: inline; }
270
276
  #message > header .metadata .attachments ul li {
271
- display: -moz-inline-stack;
277
+ display: -moz-inline-box;
278
+ -moz-box-orient: vertical;
272
279
  display: inline-block;
273
280
  vertical-align: middle;
274
281
  *vertical-align: auto;
275
- zoom: 1;
276
- *display: inline;
277
282
  margin-right: 0.5em; }
283
+ #message > header .metadata .attachments ul li {
284
+ *display: inline; }
278
285
  #message > header .views ul {
279
286
  padding: 0 0.5em;
280
287
  border-bottom: 1px solid #cccccc; }
281
288
  #message > header .views .tab {
282
- display: -moz-inline-stack;
289
+ display: -moz-inline-box;
290
+ -moz-box-orient: vertical;
283
291
  display: inline-block;
284
292
  vertical-align: middle;
285
- *vertical-align: auto;
286
- zoom: 1;
287
- *display: inline; }
293
+ *vertical-align: auto; }
294
+ #message > header .views .tab {
295
+ *display: inline; }
288
296
  #message > header .views .tab a {
289
- display: -moz-inline-stack;
297
+ display: -moz-inline-box;
298
+ -moz-box-orient: vertical;
290
299
  display: inline-block;
291
300
  vertical-align: middle;
292
301
  *vertical-align: auto;
293
- zoom: 1;
294
- *display: inline;
295
302
  padding: 0.5em;
296
303
  border: 1px solid #cccccc;
297
304
  background: #dddddd;
@@ -300,6 +307,8 @@ body > header {
300
307
  cursor: pointer;
301
308
  text-shadow: 0 1px 0 #eeeeee;
302
309
  text-decoration: none; }
310
+ #message > header .views .tab a {
311
+ *display: inline; }
303
312
  #message > header .views .tab:not(.selected):hover a {
304
313
  background-color: #eeeeee; }
305
314
  #message > header .views .tab.selected a {
@@ -312,14 +321,15 @@ body > header {
312
321
  margin-bottom: -2px;
313
322
  cursor: default; }
314
323
  #message > header .views .action {
315
- display: -moz-inline-stack;
324
+ display: -moz-inline-box;
325
+ -moz-box-orient: vertical;
316
326
  display: inline-block;
317
327
  vertical-align: middle;
318
328
  *vertical-align: auto;
319
- zoom: 1;
320
- *display: inline;
321
329
  float: right;
322
330
  margin: 0 0.25em; }
331
+ #message > header .views .action {
332
+ *display: inline; }
323
333
 
324
334
  .fractal-analysis {
325
335
  margin: 12px 0; }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailcatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Cochran
@@ -29,7 +29,7 @@ cert_chain:
29
29
  iAw+LFjcoeiI5naoCBHZ4uHGY0lXrxxcep3F/GFvKKYGrrI9c2j5awd0DaEzrCel
30
30
  gtfuNEm5Q0pV0/XpT5PsXz/rGnsR4CS7BaIcx+bAwl5pRopCzCHfl5Igay1vefPZ
31
31
  -----END CERTIFICATE-----
32
- date: 2013-03-12 00:00:00.000000000 Z
32
+ date: 2013-05-30 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: activesupport
@@ -278,7 +278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
278
278
  version: '0'
279
279
  requirements: []
280
280
  rubyforge_project:
281
- rubygems_version: 2.0.2
281
+ rubygems_version: 2.0.3
282
282
  signing_key:
283
283
  specification_version: 4
284
284
  summary: Runs an SMTP server, catches and displays email in a web interface.
metadata.gz.sig CHANGED
Binary file