mailosaur 7.14.0 → 7.15.0

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: 2c1fb6701f0b0a9323cfea00c87af47b40aececaa8bde1058b3674e392b003ad
4
- data.tar.gz: 4a6dfda5e7ee34cd8b28ae8481fd0fe0edfcc52d40dbaa4f4995535dd0f79284
3
+ metadata.gz: 4c8aa36344cdc15eb6630b90d9190139606a1758e814b9f8253bcccbc65de38a
4
+ data.tar.gz: 699d241ddddef0397ac598c5e873b15698854f116f627f37faccec6abd007f68
5
5
  SHA512:
6
- metadata.gz: 5bb9b225f200483d69734d38f4ae19f95f224b5208b24ec0d25451423c660e1df5b0044405d495707f26db3bb8b29b2c7b2fa83603ee688cf85d806f9ff840c6
7
- data.tar.gz: 0b8bfafdb28dd53bd5410a604ad21ee756e1d1d9cbce014c375154c0b26fb5c3c6ca993947cdd7b5232d52fcce7b125009e2fed0287e2902b3d50adf952897e2
6
+ metadata.gz: 10f2e39c079e74a85071601d290fcea640e02b154b9dfcbe5d4c00b3f3e60b19aa79064ff76f2e3234694160707d05ce8437e41ddb8912574a1097250fc3427c
7
+ data.tar.gz: 2a68cde9de2c765f2c346be23e4eabacb3e9a3c9096445e3f66d8d1fbb8fa768e8106991edd0a5d6a166faaebda6bfd5c6141c06678b4b37bd6f96d99186a164
@@ -172,7 +172,9 @@ module Mailosaur
172
172
  if ((1000 * (Time.now.to_f - start_time).to_i) + delay) > timeout
173
173
  return Mailosaur::Models::MessageListResult.new(model) unless error_on_timeout
174
174
 
175
- raise Mailosaur::MailosaurError.new('No matching messages found in time. By default, only messages received in the last hour are checked (use receivedAfter to override this).', 'search_timeout')
175
+ msg = format('No matching messages found in time. By default, only messages received in the last hour are checked (use receivedAfter to override this). The search criteria used for this query was [%s] which timed out after %sms',
176
+ criteria.to_json, timeout)
177
+ raise Mailosaur::MailosaurError.new(msg, 'search_timeout')
176
178
  end
177
179
 
178
180
  sleep(delay / 1000)
@@ -1,3 +1,3 @@
1
1
  module Mailosaur
2
- VERSION = '7.14.0'.freeze
2
+ VERSION = '7.15.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailosaur
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.14.0
4
+ version: 7.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mailosaur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-16 00:00:00.000000000 Z
11
+ date: 2024-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  - !ruby/object:Gem::Version
213
213
  version: '0'
214
214
  requirements: []
215
- rubygems_version: 3.3.26
215
+ rubygems_version: 3.3.27
216
216
  signing_key:
217
217
  specification_version: 4
218
218
  summary: The Mailosaur Ruby library