postmark 1.19.0 → 1.19.1

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: 7e0a3923cc442e7d0ae9a961fc200640fa9e66b0ec915e2fa0b7e10954b4e018
4
- data.tar.gz: d30ad966427f3e380488d87e3932acc71e574f649a297a62aefc80ff3a92cb8d
3
+ metadata.gz: 20c1b305ba06294fd478ce804a8fbfac8a217516fb3b053225d5f260a0e24f49
4
+ data.tar.gz: fddfe4e8bbd434f92e823a61e1fa3bac960dfc4ddfac4e0b42ab04aff2224e80
5
5
  SHA512:
6
- metadata.gz: ba4a392149529ee77178e0659adbf49fa8dc448805ffb5cb85777e406dd1087dbb0c8609de142433b38f908183228833be449f3571b27fbcf2f265628fd4c377
7
- data.tar.gz: 730b83c54860ed1564f2e09645090628f040228513074c02e63539c658d25848175f7783a5af05814a9e9ec9c196a696d21af8cd6b6bf332c756160d9b25a514
6
+ metadata.gz: b2ffb7acc3d6fde2f183f2985bbc022278f30b9d13d4beb13e4fbfd407764d5eb2cfb69e016cb036a5842ababacdc027dabaf776b54366914884e5a30bd24381
7
+ data.tar.gz: 3b9f6a9174457ee092b47bc3cfa7f32f508c56a77f2e6e471dea7d686c4d70324fb9db409461c20fafb908dc4ff35d012bd00e0242cb0c50a58a0e62d61bcb48
@@ -135,10 +135,6 @@ module Postmark
135
135
  batch
136
136
  end
137
137
 
138
- def get_bounced_tags
139
- http_client.get("bounces/tags")
140
- end
141
-
142
138
  def get_bounce(id)
143
139
  format_response http_client.get("bounces/#{id}")
144
140
  end
@@ -54,10 +54,6 @@ module Postmark
54
54
  Bounce.new(bounce_json)
55
55
  end
56
56
  end
57
-
58
- def tags
59
- Postmark.api_client.get_bounced_tags
60
- end
61
57
  end
62
58
 
63
59
  end
@@ -1,3 +1,3 @@
1
1
  module Postmark
2
- VERSION = '1.19.0'
2
+ VERSION = '1.19.1'
3
3
  end
@@ -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.0
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-07 00:00:00.000000000 Z
13
+ date: 2019-11-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json