mailcatcher 0.9.1.beta1 → 0.9.1.beta2

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
  SHA256:
3
- metadata.gz: 28a7c4725e8fc7e35116227f9fc3be350505e19dbcd05c630be58fbd036af03f
4
- data.tar.gz: 2df1b8bedf60df8ab747a771dda962c950f55bc7e5fb35667fdd20cf7c8f9e7e
3
+ metadata.gz: 420cdb159767395d9cff19193fee9ff4c6a9188b81d9ffc6a586ee7b7678d672
4
+ data.tar.gz: b730c89920926f131ce05ef141c1518a486881d1372cdb8841c1b858c8545df8
5
5
  SHA512:
6
- metadata.gz: 95615133de50429cffee8bca683d444f4655677939a43e147a82c1c57e4781e20fd06193d9891de9129fc7b2c600cdf5dfd82d0f79d8122331cad13842792883
7
- data.tar.gz: f08ba1ac4455656b267514568e5695a05560d19d5730302163820a4a2788896c8ab5eff30383f52f186151b7001a432b995424be9fae9ffd98a45547defee672
6
+ metadata.gz: d1c0ce8f5a33941ec8003d6e18fa91ae8f4525e6f04a507e2c09e8ea85d438a0859b2e57d53f70a36b9b6488d29fe629344371c6391e982c9c15b185f0c7994c
7
+ data.tar.gz: 396777f4ebcee59117b77a8a44ff88ede2c543332e42c789165620e13c6fd143c569c3244d6396dd6e4a305958cddf35bac73ae0dad44fb94dfb1792cd00aab1
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MailCatcher
4
- VERSION = "0.9.1.beta1"
4
+ VERSION = "0.9.1.beta2"
5
5
  end
data/lib/mail_catcher.rb CHANGED
@@ -193,9 +193,9 @@ module MailCatcher extend self
193
193
 
194
194
  # Make sure we quit nicely when asked
195
195
  # We need to handle outside the trap context, hence the timer
196
- %w(INT TERM QUIT).each do |signal|
197
- trap(signal) { EM.add_timer(0) { quit! } }
198
- end
196
+ trap("INT") { EM.add_timer(0) { quit! } }
197
+ trap("TERM") { EM.add_timer(0) { quit! } }
198
+ trap("QUIT") { EM.add_timer(0) { quit! } } unless windows?
199
199
 
200
200
  # Open the web browser before detatching console
201
201
  if options[:browse]
data.tar.gz.sig CHANGED
Binary file
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.9.1.beta1
4
+ version: 0.9.1.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Cochran
@@ -28,7 +28,7 @@ cert_chain:
28
28
  cxvXzM34LVue8vISlf/2VKpawD3kQinfo1I53MP3Hv3EihDc4p14E4hdAILtHd5r
29
29
  k6d9rkvRe0/YFTLB1hzK6scdAUcD91NOylY8s4cypQv/mk+OTbQ9+Xy7tyU=
30
30
  -----END CERTIFICATE-----
31
- date: 2023-07-30 00:00:00.000000000 Z
31
+ date: 2023-08-04 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: eventmachine
metadata.gz.sig CHANGED
Binary file