mailcatcher 0.4.1 → 0.4.3

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.
Files changed (3) hide show
  1. data/README.md +7 -2
  2. data/lib/mail_catcher.rb +4 -3
  3. metadata +67 -3
data/README.md CHANGED
@@ -58,14 +58,19 @@ MailCatcher is just a mishmash of other people's hard work. Thank you so much to
58
58
 
59
59
  Thanks also to [The Frontier Group][tfg] for giving me the idea, being great guinea pigs and letting me steal pieces of time to keep the project alive.
60
60
 
61
- ## Copyright
61
+ ## Donations
62
62
 
63
- Copyright © 2010-2011 Samuel Cochran. See [LICENSE][license] for details.
63
+ I work on MailCatcher mostly in my own spare time. If you've found Mailcatcher useful and would like to help feed me and fund continued development and new features, please [donate via PayPal](donate). If you'd like a specific feature added to MailCatcher and are willing to pay for it, please [email me](mailto:sj26@sj26.com).
64
+
65
+ ## License
66
+
67
+ Copyright © 2010-2011 Samuel Cochran (sj26@sj26.com). Released under the MIT License, see [LICENSE][license] for details.
64
68
 
65
69
  ## Dreams
66
70
 
67
71
  For dream catching, try [this](http://goo.gl/kgbh). OR [THIS](http://www.nyanicorn.com), OMG.
68
72
 
73
+ [donate]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=522WUPLRWUSKE
69
74
  [license]: https://github.com/sj26/mailcatcher/blob/master/LICENSE
70
75
  [mailcatcher-github]: https://github.com/sj26/mailcatcher
71
76
  [tfg]: http://www.thefrontiergroup.com.au
@@ -1,10 +1,11 @@
1
1
  require 'active_support/all'
2
2
  require 'eventmachine'
3
- require ‘rbconfig’
3
+ require 'optparse'
4
+ require 'rbconfig'
4
5
  require 'thin'
5
6
 
6
7
  def windows?
7
- Config::CONFIG[host_os] =~ /mswin|mingw/
8
+ Config::CONFIG['host_os'] =~ /mswin|mingw/
8
9
  end
9
10
 
10
11
  module MailCatcher
@@ -21,7 +22,7 @@ module MailCatcher
21
22
  :http_ip => '127.0.0.1',
22
23
  :http_port => '1080',
23
24
  :verbose => false,
24
- :daemon => true unless windows?,
25
+ :daemon => (true unless windows?),
25
26
  }
26
27
 
27
28
  def self.parse! arguments=ARGV, defaults=@@defaults
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailcatcher
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 9
4
5
  prerelease:
5
- version: 0.4.1
6
+ segments:
7
+ - 0
8
+ - 4
9
+ - 3
10
+ version: 0.4.3
6
11
  platform: ruby
7
12
  authors:
8
13
  - Samuel Cochran
@@ -10,7 +15,8 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-06-01 00:00:00 Z
18
+ date: 2011-06-02 00:00:00 +08:00
19
+ default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: activesupport
@@ -20,6 +26,10 @@ dependencies:
20
26
  requirements:
21
27
  - - ~>
22
28
  - !ruby/object:Gem::Version
29
+ hash: 7
30
+ segments:
31
+ - 3
32
+ - 0
23
33
  version: "3.0"
24
34
  type: :runtime
25
35
  version_requirements: *id001
@@ -31,6 +41,10 @@ dependencies:
31
41
  requirements:
32
42
  - - ~>
33
43
  - !ruby/object:Gem::Version
44
+ hash: 19
45
+ segments:
46
+ - 0
47
+ - 12
34
48
  version: "0.12"
35
49
  type: :runtime
36
50
  version_requirements: *id002
@@ -42,6 +56,10 @@ dependencies:
42
56
  requirements:
43
57
  - - ~>
44
58
  - !ruby/object:Gem::Version
59
+ hash: 5
60
+ segments:
61
+ - 2
62
+ - 3
45
63
  version: "2.3"
46
64
  type: :runtime
47
65
  version_requirements: *id003
@@ -53,6 +71,10 @@ dependencies:
53
71
  requirements:
54
72
  - - ~>
55
73
  - !ruby/object:Gem::Version
74
+ hash: 9
75
+ segments:
76
+ - 1
77
+ - 3
56
78
  version: "1.3"
57
79
  type: :runtime
58
80
  version_requirements: *id004
@@ -64,6 +86,10 @@ dependencies:
64
86
  requirements:
65
87
  - - ~>
66
88
  - !ruby/object:Gem::Version
89
+ hash: 11
90
+ segments:
91
+ - 1
92
+ - 2
67
93
  version: "1.2"
68
94
  type: :runtime
69
95
  version_requirements: *id005
@@ -75,6 +101,10 @@ dependencies:
75
101
  requirements:
76
102
  - - ~>
77
103
  - !ruby/object:Gem::Version
104
+ hash: 9
105
+ segments:
106
+ - 0
107
+ - 1
78
108
  version: "0.1"
79
109
  type: :runtime
80
110
  version_requirements: *id006
@@ -86,6 +116,10 @@ dependencies:
86
116
  requirements:
87
117
  - - ~>
88
118
  - !ruby/object:Gem::Version
119
+ hash: 11
120
+ segments:
121
+ - 1
122
+ - 2
89
123
  version: "1.2"
90
124
  type: :runtime
91
125
  version_requirements: *id007
@@ -97,6 +131,10 @@ dependencies:
97
131
  requirements:
98
132
  - - ~>
99
133
  - !ruby/object:Gem::Version
134
+ hash: 5
135
+ segments:
136
+ - 3
137
+ - 1
100
138
  version: "3.1"
101
139
  type: :runtime
102
140
  version_requirements: *id008
@@ -108,6 +146,10 @@ dependencies:
108
146
  requirements:
109
147
  - - ~>
110
148
  - !ruby/object:Gem::Version
149
+ hash: 15
150
+ segments:
151
+ - 1
152
+ - 0
111
153
  version: "1.0"
112
154
  type: :runtime
113
155
  version_requirements: *id009
@@ -119,6 +161,10 @@ dependencies:
119
161
  requirements:
120
162
  - - ~>
121
163
  - !ruby/object:Gem::Version
164
+ hash: 5
165
+ segments:
166
+ - 3
167
+ - 1
122
168
  version: "3.1"
123
169
  type: :development
124
170
  version_requirements: *id010
@@ -130,6 +176,11 @@ dependencies:
130
176
  requirements:
131
177
  - - ~>
132
178
  - !ruby/object:Gem::Version
179
+ hash: 49
180
+ segments:
181
+ - 0
182
+ - 11
183
+ - 1
133
184
  version: 0.11.1
134
185
  type: :development
135
186
  version_requirements: *id011
@@ -141,6 +192,10 @@ dependencies:
141
192
  requirements:
142
193
  - - ~>
143
194
  - !ruby/object:Gem::Version
195
+ hash: 7
196
+ segments:
197
+ - 2
198
+ - 2
144
199
  version: "2.2"
145
200
  type: :development
146
201
  version_requirements: *id012
@@ -169,6 +224,7 @@ files:
169
224
  - public/javascripts/jquery.js
170
225
  - public/stylesheets/application.css
171
226
  - views/index.haml
227
+ has_rdoc: true
172
228
  homepage: http://github.com/sj26/mailcatcher
173
229
  licenses: []
174
230
 
@@ -182,17 +238,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
182
238
  requirements:
183
239
  - - ">="
184
240
  - !ruby/object:Gem::Version
241
+ hash: 57
242
+ segments:
243
+ - 1
244
+ - 8
245
+ - 7
185
246
  version: 1.8.7
186
247
  required_rubygems_version: !ruby/object:Gem::Requirement
187
248
  none: false
188
249
  requirements:
189
250
  - - ">="
190
251
  - !ruby/object:Gem::Version
252
+ hash: 3
253
+ segments:
254
+ - 0
191
255
  version: "0"
192
256
  requirements: []
193
257
 
194
258
  rubyforge_project:
195
- rubygems_version: 1.8.4
259
+ rubygems_version: 1.6.2
196
260
  signing_key:
197
261
  specification_version: 3
198
262
  summary: Runs an SMTP server, catches and displays email in a web interface.