mailosaur 5.0.1.pre → 5.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/Mailosaur/mailosaur_base_client.rb +1 -1
- data/lib/Mailosaur/messages.rb +1 -1
- data/lib/Mailosaur/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6873ba1b5eb8d927299a2a1e98bfa0c9358fdc1e
|
4
|
+
data.tar.gz: bb0b7f78965bb63ad0e6daad0f6909a834856e4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1e2af464eab76853b7299d5ac1bbe85a8a7f23e856f605a1200813b7e9fcc362ecf2ce66860b447409d03a88cab7e82b1e3b1d6fe619f406c1cd2600d23fe5a
|
7
|
+
data.tar.gz: bfaa9d18ce603e8c8ee0d4533d62919446e04af6936956dda6ff20ebf34ffb508aac807405feb8b207d2c8b2b67ee1539190d1ea53ad2c91b546d0d060dcc09a
|
data/README.md
CHANGED
data/lib/Mailosaur/messages.rb
CHANGED
@@ -646,7 +646,7 @@ module Mailosaur
|
|
646
646
|
http_response = result.response
|
647
647
|
status_code = http_response.status
|
648
648
|
response_content = http_response.body
|
649
|
-
unless status_code == 200
|
649
|
+
unless status_code == 200 || status_code == 204
|
650
650
|
error_model = JSON.load(response_content)
|
651
651
|
mailosaur_error = Mailosaur::MailosaurError.new('Operation returned an invalid status code \'' + status_code.to_s + '\'', error_model)
|
652
652
|
raise mailosaur_error
|
data/lib/Mailosaur/version.rb
CHANGED
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: 5.0.
|
4
|
+
version: 5.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mailosaur Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -123,7 +123,7 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 3.2.7
|
125
125
|
description: Gem containing ruby client library for Mailosaur.
|
126
|
-
email:
|
126
|
+
email: support@mailosaur.com
|
127
127
|
executables: []
|
128
128
|
extensions: []
|
129
129
|
extra_rdoc_files: []
|
@@ -172,12 +172,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
172
|
version: '0'
|
173
173
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
174
|
requirements:
|
175
|
-
- - "
|
175
|
+
- - ">="
|
176
176
|
- !ruby/object:Gem::Version
|
177
|
-
version:
|
177
|
+
version: '0'
|
178
178
|
requirements: []
|
179
179
|
rubyforge_project:
|
180
|
-
rubygems_version: 2.6.
|
180
|
+
rubygems_version: 2.6.14
|
181
181
|
signing_key:
|
182
182
|
specification_version: 4
|
183
183
|
summary: Client library for Mailosaur
|