postmark 1.22.2 → 1.22.3

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: 65048304ac65a25c53918528a483e99f0c74ea5474c11348c978d8fb732dc032
4
- data.tar.gz: 3e90058072e9e549846850fb3c352e963cc7c32468792e10d37662a63b036f03
3
+ metadata.gz: ef3cc236986909ab3ad5351bb3642a525f5d0a7826a270d35e9eadde0f37021b
4
+ data.tar.gz: 824731c2567364402cc9866c0f0da8abcbd974809fb9e237238c8581da72f8f8
5
5
  SHA512:
6
- metadata.gz: b25f7ea69f5b3db0260ad29c70b464cf757ed2f3f3b9abb45383aa8c4239516cbc9132bc67200f56faa08563e5cfcf391be086d845bf5baf03223106dd3e7cae
7
- data.tar.gz: 7fefb6ced2722b022b27ed06bd5cde4c388e373cfc75995dfb549534618a48e7106281514f9c06d6aba280d472c8211b39a4bffcaff9e61f43aa5017b0a260f7
6
+ metadata.gz: 9ef7a11422e2415ec69c1614d77a12d89b3b2fd94f7ba5d9ddb56c6e7671b4213de9b1480c8840125f65ef00eadbca6f56e265fcf9dd5ae82d17f224f56f1a98
7
+ data.tar.gz: c3d90f8162206e6174bc9edd141164a8349288f36504e019d69a34a7eb8d1aa822d71e80319bfdef22cf028fde5b9f6d0ae5b4d9b866f054a55a481164c1c4ff
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,8 @@
1
1
  = Changelog
2
2
 
3
+ == 1.22.3
4
+ * Increased default timeout values
5
+
3
6
  == 1.22.2
4
7
  * Updated Postmark::InactiveRecipientError.parse_recipients method to handle current error message
5
8
  * Update post install message to use https URL
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.22.2
1
+ 1.22.3
@@ -17,8 +17,8 @@ module Postmark
17
17
  :host => 'api.postmarkapp.com',
18
18
  :secure => true,
19
19
  :path_prefix => '/',
20
- :http_read_timeout => 15,
21
- :http_open_timeout => 5
20
+ :http_read_timeout => 60,
21
+ :http_open_timeout => 60
22
22
  }
23
23
 
24
24
  def initialize(api_token, options = {})
@@ -1,3 +1,3 @@
1
1
  module Postmark
2
- VERSION = '1.22.2'
2
+ VERSION = '1.22.3'
3
3
  end
data/postmark.gemspec CHANGED
@@ -34,6 +34,6 @@ Gem::Specification.new do |s|
34
34
 
35
35
  s.add_dependency "json"
36
36
 
37
- s.add_development_dependency "mail"
37
+ s.add_development_dependency "mail", "~> 2.7.0" # https://github.com/mikel/mail/pull/1539
38
38
  s.add_development_dependency "rake"
39
39
  end
@@ -39,8 +39,8 @@ describe Postmark::HttpClient do
39
39
  its(:port) { is_expected.to eq 443 }
40
40
  its(:secure) { is_expected.to be true }
41
41
  its(:path_prefix) { is_expected.to eq '/' }
42
- its(:http_read_timeout) { is_expected.to eq 15 }
43
- its(:http_open_timeout) { is_expected.to eq 5 }
42
+ its(:http_read_timeout) { is_expected.to eq 60 }
43
+ its(:http_open_timeout) { is_expected.to eq 60 }
44
44
 
45
45
  it 'does not provide a default which utilizes the Net::HTTP default', :skip_ruby_version => ['1.8.7'] do
46
46
  http_client = subject.http
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postmark
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.2
4
+ version: 1.22.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomek Maszkowski
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2022-11-22 00:00:00.000000000 Z
16
+ date: 2023-01-16 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: json
@@ -33,16 +33,16 @@ dependencies:
33
33
  name: mail
34
34
  requirement: !ruby/object:Gem::Requirement
35
35
  requirements:
36
- - - ">="
36
+ - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: '0'
38
+ version: 2.7.0
39
39
  type: :development
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
- - - ">="
43
+ - - "~>"
44
44
  - !ruby/object:Gem::Version
45
- version: '0'
45
+ version: 2.7.0
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rake
48
48
  requirement: !ruby/object:Gem::Requirement