mailcatcher 0.8.0.beta2 → 0.8.0.beta3
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.md +17 -6
- data/lib/mail_catcher.rb +9 -1
- data/lib/mail_catcher/mail.rb +1 -0
- data/lib/mail_catcher/version.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1fbbb01ee21a1d0946b2a6ba1e52b999567a8894b8f6b8816f4d796d924b4967
|
|
4
|
+
data.tar.gz: 6d6cc1c27dd58ce096fe1458075ce2ae04a30a22abba3629cc1ddbc9c7f3a7f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dcd37866fb64d92ebceaecb15747d68db22eed327417d6025db91c88b6ab5bdeaeff96b9596e2d011610a61da74deb8bbdd363a35a9da8dd75e2f1e7469b411f
|
|
7
|
+
data.tar.gz: 2057962471f539be4e496243285efabe3c31f9b24eca7c560e9645f32401839f481c5da116f9df6e7a407cd6e1e0cacefd7c03f14a00a8e798cdc23f8c7e0b86
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/README.md
CHANGED
|
@@ -28,6 +28,23 @@ MailCatcher runs a super simple SMTP server which catches any message sent to it
|
|
|
28
28
|
|
|
29
29
|
Use `mailcatcher --help` to see the command line options. The brave can get the source from [the GitHub repository][mailcatcher-github].
|
|
30
30
|
|
|
31
|
+
### Ruby
|
|
32
|
+
|
|
33
|
+
If you have trouble with the above commands, make sure you have [Ruby installed](https://www.ruby-lang.org/en/documentation/installation/):
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
ruby -v
|
|
37
|
+
gem environment
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
You might need to install build tools for some of the gem dependencies. On Debian or Ubuntu, `apt install build-essential`. On macOS, `xcode-select --install`.
|
|
41
|
+
|
|
42
|
+
If you encounter issues installing [thin](https://rubygems.org/gems/thin), try:
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
gem install thin -v 1.5.1 -- --with-cflags="-Wno-error=implicit-function-declaration"
|
|
46
|
+
```
|
|
47
|
+
|
|
31
48
|
### Bundler
|
|
32
49
|
|
|
33
50
|
Please don't put mailcatcher into your Gemfile. It will conflict with your applications gems at some point.
|
|
@@ -87,12 +104,6 @@ A fairly RESTful URL schema means you can download a list of messages in JSON fr
|
|
|
87
104
|
* Mail processing is fairly basic but easily modified. If something doesn't work for you, fork and fix it or [file an issue][mailcatcher-issues] and let me know. Include the whole message you're having problems with.
|
|
88
105
|
* Encodings are difficult. MailCatcher does not completely support utf-8 straight over the wire, you must use a mail library which encodes things properly based on SMTP server capabilities.
|
|
89
106
|
|
|
90
|
-
## TODO
|
|
91
|
-
|
|
92
|
-
* Add mail delivery on request, optionally multiple times.
|
|
93
|
-
* Compatibility testing against CampaignMonitor's [design guidelines](http://www.campaignmonitor.com/design-guidelines/) and [CSS support matrix](http://www.campaignmonitor.com/css/).
|
|
94
|
-
* Forward mail to rendering service, maybe CampaignMonitor?
|
|
95
|
-
|
|
96
107
|
## Thanks
|
|
97
108
|
|
|
98
109
|
MailCatcher is just a mishmash of other people's hard work. Thank you so much to the people who have built the wonderful guts on which this project relies.
|
data/lib/mail_catcher.rb
CHANGED
|
@@ -108,6 +108,9 @@ module MailCatcher extend self
|
|
|
108
108
|
OptionParser.new do |parser|
|
|
109
109
|
parser.banner = "Usage: mailcatcher [options]"
|
|
110
110
|
parser.version = VERSION
|
|
111
|
+
parser.separator ""
|
|
112
|
+
parser.separator "MailCatcher v#{VERSION}"
|
|
113
|
+
parser.separator ""
|
|
111
114
|
|
|
112
115
|
parser.on("--ip IP", "Set the ip address of both servers") do |ip|
|
|
113
116
|
options[:smtp_ip] = options[:http_ip] = ip
|
|
@@ -166,10 +169,15 @@ module MailCatcher extend self
|
|
|
166
169
|
options[:verbose] = true
|
|
167
170
|
end
|
|
168
171
|
|
|
169
|
-
parser.
|
|
172
|
+
parser.on_tail("-h", "--help", "Display this help information") do
|
|
170
173
|
puts parser
|
|
171
174
|
exit
|
|
172
175
|
end
|
|
176
|
+
|
|
177
|
+
parser.on_tail("--version", "Display the current version") do
|
|
178
|
+
puts "mailcatcher #{VERSION}"
|
|
179
|
+
exit
|
|
180
|
+
end
|
|
173
181
|
end.parse!
|
|
174
182
|
end
|
|
175
183
|
end
|
data/lib/mail_catcher/mail.rb
CHANGED
data/lib/mail_catcher/version.rb
CHANGED
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.8.0.
|
|
4
|
+
version: 0.8.0.beta3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Cochran
|
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
|
28
28
|
cTRkS42ilkarelc4DnSSO5jw7qFq7Cmf6F9hMx3xdoSWpLf+FvXJRbYrqwZIsmME
|
|
29
29
|
V8zEtJFhdNOFOdtcTE67qh/aYQe2y/LDnG9ywXHWdSeF4UUjg1WRt8s3OP8=
|
|
30
30
|
-----END CERTIFICATE-----
|
|
31
|
-
date:
|
|
31
|
+
date: 2021-04-27 00:00:00.000000000 Z
|
|
32
32
|
dependencies:
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: eventmachine
|
|
@@ -335,7 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
335
335
|
- !ruby/object:Gem::Version
|
|
336
336
|
version: 1.3.1
|
|
337
337
|
requirements: []
|
|
338
|
-
rubygems_version: 3.
|
|
338
|
+
rubygems_version: 3.1.4
|
|
339
339
|
signing_key:
|
|
340
340
|
specification_version: 4
|
|
341
341
|
summary: Runs an SMTP server, catches and displays email in a web interface.
|
metadata.gz.sig
CHANGED
|
Binary file
|