mailcatcher 0.8.0.beta4 → 0.8.2

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: ccfb98c689953785fe9c132ac154e90f2fcf5ead0c433de7611b64c1f7f89b98
4
- data.tar.gz: 0c87d50eece53958f858966c9f607bef6bb885dbf0a4df9938bf4b5f5616900d
3
+ metadata.gz: '01874154b1f5a4b8fe8b98b26ec79939afeead2f1aa9737d3f7c73b0d2aa6aff'
4
+ data.tar.gz: 93f3e87a55bec3adf013f2ea949fbae09575960d9817a00ec3ab6591b10957d3
5
5
  SHA512:
6
- metadata.gz: a1b0fae5875ae31b39700d0df1fd08c04b87ea2cd20cd7c45799c456af7cc2e4c9f4a2fc5e366b1f9ff24e0e35355752b7349fc8c991cebd8f1a664b159f2ddc
7
- data.tar.gz: 4f051455ddc9718c69450318b8420bd74f7d7acea1d20fb42be18751b3c537f73b38550f807a6a0ead01544b9d84b288a7a7a77e2856ad0e782337dfa21706fc
6
+ metadata.gz: 55fce26945f9aff3ccc833daeccd8bc269bdcddf01e05d8051256e3df2801d1d3be3f15ec0d773087fc689487f0f0c63380b30d2147f3432e64146fa6880b429
7
+ data.tar.gz: a413a3b543d95ef631d43dbe85fb1035fa1574399b9e80b32bdb4c1990313f02e2ce267f95e695fd4893ca368e7572ea51aa3fd8bcabbfa690bb08c8a964d934
checksums.yaml.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -32,17 +32,22 @@ Use `mailcatcher --help` to see the command line options.
32
32
 
33
33
  ```
34
34
  Usage: mailcatcher [options]
35
+
36
+ MailCatcher v0.8.0
37
+
35
38
  --ip IP Set the ip address of both servers
36
39
  --smtp-ip IP Set the ip address of the smtp server
37
40
  --smtp-port PORT Set the port of the smtp server
38
41
  --http-ip IP Set the ip address of the http server
39
42
  --http-port PORT Set the port address of the http server
43
+ --messages-limit COUNT Only keep up to COUNT most recent messages
40
44
  --http-path PATH Add a prefix to all HTTP paths
41
45
  --no-quit Don't allow quitting the process
42
46
  -f, --foreground Run in the foreground
43
47
  -b, --browse Open web browser
44
48
  -v, --verbose Be more verbose
45
49
  -h, --help Display this help information
50
+ --version Display the current version
46
51
  ```
47
52
 
48
53
  ### Ruby
@@ -64,7 +69,7 @@ gem install thin -v 1.5.1 -- --with-cflags="-Wno-error=implicit-function-declara
64
69
 
65
70
  ### Bundler
66
71
 
67
- Please don't put mailcatcher into your Gemfile. It will conflict with your applications gems at some point.
72
+ Please don't put mailcatcher into your Gemfile. It will conflict with your application's gems at some point.
68
73
 
69
74
  Instead, pop a note in your README stating you use mailcatcher, and to run `gem install mailcatcher` then `mailcatcher` to get started.
70
75
 
@@ -36,7 +36,7 @@ module MailCatcher::Mail extend self
36
36
  FOREIGN KEY (message_id) REFERENCES message (id) ON DELETE CASCADE
37
37
  )
38
38
  SQL
39
- db.foreign_keys = true
39
+ db.execute("PRAGMA foreign_keys = ON")
40
40
  end
41
41
  end
42
42
  end
@@ -45,7 +45,7 @@ class MailCatcher::Smtp < EventMachine::Protocols::SmtpServer
45
45
  end
46
46
 
47
47
  def receive_data_chunk(lines)
48
- current_message[:source] ||= +""
48
+ current_message[:source] ||= "".dup
49
49
 
50
50
  lines.each do |line|
51
51
  current_message[:source] << line << "\r\n"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MailCatcher
4
- VERSION = "0.8.0.beta4"
4
+ VERSION = "0.8.2"
5
5
  end
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.8.0.beta4
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Cochran
@@ -28,7 +28,7 @@ cert_chain:
28
28
  Tvf+pbX8JT9rawFDogxPhL7eRAbjg4MH9amp5l8HTVCAsW8vqv7wM4rtMNAaXmik
29
29
  LJghfDEf70fTtbs4Zv57pPhn1b7wBNf8fh+TZOlYAA6dFtQXoCwfE6bWgQU=
30
30
  -----END CERTIFICATE-----
31
- date: 2021-07-17 00:00:00.000000000 Z
31
+ date: 2022-03-05 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: eventmachine
@@ -360,11 +360,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
360
360
  version: 2.0.0
361
361
  required_rubygems_version: !ruby/object:Gem::Requirement
362
362
  requirements:
363
- - - ">"
363
+ - - ">="
364
364
  - !ruby/object:Gem::Version
365
- version: 1.3.1
365
+ version: '0'
366
366
  requirements: []
367
- rubygems_version: 3.1.4
367
+ rubygems_version: 3.0.3.1
368
368
  signing_key:
369
369
  specification_version: 4
370
370
  summary: Runs an SMTP server, catches and displays email in a web interface.
metadata.gz.sig CHANGED
Binary file