postmark 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +4 -0
- data/VERSION +1 -1
- data/lib/postmark/api_client.rb +2 -1
- data/lib/postmark/version.rb +1 -1
- data/spec/unit/postmark/api_client_spec.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8805ed14f8ffc61a08bc09e84eee2295b58eaa21
|
4
|
+
data.tar.gz: c7cfb0d603081a3b87d9be13f5580c44e997dca9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0d157f01d2f9fa37a0797bc8714570766e36fd9e0530382c1d9ee79ec8b28ea3268cd76983baf2d7a72c73ccdb509c65806ba474aa98eab67637bb0bb0b200a
|
7
|
+
data.tar.gz: 5a25f5e31dc092898b8939118f943dc931cb92b5e30e23795f85ce4b8c5d6c335135810a206b7a06b2195ebf5248a7c076e52ca819f9836bb30d55b2175e905e
|
data/CHANGELOG.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.1
|
data/lib/postmark/api_client.rb
CHANGED
data/lib/postmark/version.rb
CHANGED
@@ -345,8 +345,9 @@ describe Postmark::ApiClient do
|
|
345
345
|
let(:response) { {"Bounces" => []} }
|
346
346
|
|
347
347
|
it 'requests data at /bounces' do
|
348
|
-
http_client.
|
349
|
-
subject.get_bounces(options).
|
348
|
+
allow(http_client).to receive(:get).with("bounces", options) { response }
|
349
|
+
expect(subject.get_bounces(options)).to be_an(Array)
|
350
|
+
expect(subject.get_bounces(options).count).to be_zero
|
350
351
|
end
|
351
352
|
end
|
352
353
|
|
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.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Petyo Ivanov
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-05-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|