postmark 1.19.0 → 1.19.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/lib/postmark/api_client.rb +0 -4
- data/lib/postmark/bounce.rb +0 -4
- data/lib/postmark/version.rb +1 -1
- data/spec/unit/postmark/api_client_spec.rb +0 -9
- data/spec/unit/postmark/bounce_spec.rb +0 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20c1b305ba06294fd478ce804a8fbfac8a217516fb3b053225d5f260a0e24f49
|
4
|
+
data.tar.gz: fddfe4e8bbd434f92e823a61e1fa3bac960dfc4ddfac4e0b42ab04aff2224e80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2ffb7acc3d6fde2f183f2985bbc022278f30b9d13d4beb13e4fbfd407764d5eb2cfb69e016cb036a5842ababacdc027dabaf776b54366914884e5a30bd24381
|
7
|
+
data.tar.gz: 3b9f6a9174457ee092b47bc3cfa7f32f508c56a77f2e6e471dea7d686c4d70324fb9db409461c20fafb908dc4ff35d012bd00e0242cb0c50a58a0e62d61bcb48
|
data/lib/postmark/api_client.rb
CHANGED
data/lib/postmark/bounce.rb
CHANGED
data/lib/postmark/version.rb
CHANGED
@@ -398,15 +398,6 @@ describe Postmark::ApiClient do
|
|
398
398
|
end
|
399
399
|
end
|
400
400
|
|
401
|
-
describe "#get_bounced_tags" do
|
402
|
-
let(:http_client) {subject.http_client}
|
403
|
-
|
404
|
-
it 'requests data at /bounces/tags' do
|
405
|
-
expect(http_client).to receive(:get).with("bounces/tags")
|
406
|
-
subject.get_bounced_tags
|
407
|
-
end
|
408
|
-
end
|
409
|
-
|
410
401
|
describe "#get_bounce" do
|
411
402
|
let(:http_client) {subject.http_client}
|
412
403
|
let(:id) {42}
|
@@ -120,14 +120,4 @@ describe Postmark::Bounce do
|
|
120
120
|
expect(Postmark::Bounce.all.count).to eq(3)
|
121
121
|
end
|
122
122
|
end
|
123
|
-
|
124
|
-
describe ".tags" do
|
125
|
-
let(:api_client) { Postmark.api_client }
|
126
|
-
let(:tags) { ["tag1", "tag2"] }
|
127
|
-
|
128
|
-
it "calls #get_bounced_tags on shared api_client instance" do
|
129
|
-
expect(api_client).to receive(:get_bounced_tags) { tags }
|
130
|
-
expect(Postmark::Bounce.tags).to eq tags
|
131
|
-
end
|
132
|
-
end
|
133
123
|
end
|
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.19.
|
4
|
+
version: 1.19.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: 2019-11-
|
13
|
+
date: 2019-11-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|