sendgrid4r 1.7.1 → 1.8.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2df9fbdd15763250ba845eb33ef85f763c13de0b
4
- data.tar.gz: 119cdeda58f5a1cc4b80141e55bafd6c7e48798c
3
+ metadata.gz: e1456b89898c396cb01b4fe09b50365bdc08420a
4
+ data.tar.gz: 30a908eb6d4d7483b09e86ef1b95b6e097db17fc
5
5
  SHA512:
6
- metadata.gz: 773ed665ffd716b13bd8d1ee2c97db3367f6c8d67422e911308da613407aa5e3f4221096dd8eaddc991745845c827ca64384e9bfe4541ca1855734b9fce31eae
7
- data.tar.gz: fbc2f5bd38405a4e1ae287249d341c354080866313b4dd97d6e2c5d94b26da63637fb3ebb7922aff26b90daaa6105c545c5c6b81f24506cf682de3b9a771957e
6
+ metadata.gz: 11522ace9bad41893d214781ff1980a5431e16f72b77032f54fc0712cf7dcf29cfd5a30f79a40082432e4432a3d6e2a108fa823abfe6b3bf532ad0a31636ae85
7
+ data.tar.gz: 400cae07547c5d4543b9198bee59810c2b2fb3f310beff5797043242056365a95a228b75e9f991e418058d86e5048788a41c833b7a270acfb179cedf84ebd3f6
@@ -8,10 +8,12 @@ module SendGrid4r
8
8
  class CampaignFactory
9
9
  def create(title: nil, subject: nil, sender_id: nil, list_ids: nil,
10
10
  segment_ids: nil, categories: nil, suppression_group_id: nil,
11
- html_content: nil, plain_content: nil)
11
+ custom_unsubscribe_url: nil, ip_pool: nil, html_content: nil,
12
+ plain_content: nil)
12
13
  segment = SendGrid4r::REST::Campaigns::Campaigns::Campaign.new(
13
14
  nil, title, subject, sender_id, list_ids, segment_ids, categories,
14
- suppression_group_id, html_content, plain_content, nil, nil
15
+ suppression_group_id, custom_unsubscribe_url, ip_pool, html_content,
16
+ plain_content, nil, nil
15
17
  )
16
18
  hash = segment.to_h
17
19
  segment.to_h.each do |key, value|
@@ -11,8 +11,8 @@ module SendGrid4r
11
11
 
12
12
  Campaign = Struct.new(
13
13
  :id, :title, :subject, :sender_id, :list_ids, :segment_ids,
14
- :categories, :suppression_group_id, :html_content,
15
- :plain_content, :send_at, :status
14
+ :categories, :suppression_group_id, :custom_unsubscribe_url,
15
+ :ip_pool, :html_content, :plain_content, :send_at, :status
16
16
  )
17
17
 
18
18
  Campaigns = Struct.new(:result)
@@ -23,8 +23,9 @@ module SendGrid4r
23
23
  Campaign.new(
24
24
  resp['id'], resp['title'], resp['subject'], resp['sender_id'],
25
25
  resp['list_ids'], resp['segment_ids'], resp['categories'],
26
- resp['suppression_group_id'], resp['html_content'],
27
- resp['plain_content'], send_at, resp['status']
26
+ resp['suppression_group_id'], resp['custom_unsubscribe_url'],
27
+ resp['ip_pool'], resp['html_content'], resp['plain_content'],
28
+ send_at, resp['status']
28
29
  )
29
30
  end
30
31
 
@@ -2,5 +2,5 @@
2
2
  # SendGrid API v3 wrapper implementation.
3
3
  #
4
4
  module SendGrid4r
5
- VERSION = '1.7.1'
5
+ VERSION = '1.8.0'
6
6
  end
data/spec/client_spec.rb CHANGED
@@ -313,7 +313,7 @@ describe SendGrid4r::Client do
313
313
 
314
314
  describe 'VERSION' do
315
315
  it 'returns VERSION value' do
316
- expect(SendGrid4r::VERSION).to eq('1.7.1')
316
+ expect(SendGrid4r::VERSION).to eq('1.8.0')
317
317
  end
318
318
  end
319
319
  end
@@ -17,6 +17,8 @@ describe SendGrid4r::Factory::CampaignFactory do
17
17
  segment_ids: [110],
18
18
  categories: ['spring line'],
19
19
  suppression_group_id: 42,
20
+ custom_unsubscribe_url: 'https://sendgrid.com',
21
+ ip_pool: 'marketing',
20
22
  html_content: '<html><head><title></title></head><body>'\
21
23
  '<p>Check out our spring line!</p></body></html>',
22
24
  plain_content: 'Check out our spring line!'
@@ -29,6 +31,8 @@ describe SendGrid4r::Factory::CampaignFactory do
29
31
  @expect[:segment_ids] = [110]
30
32
  @expect[:categories] = ['spring line']
31
33
  @expect[:suppression_group_id] = 42
34
+ @expect[:custom_unsubscribe_url] = 'https://sendgrid.com'
35
+ @expect[:ip_pool] = 'marketing'
32
36
  @expect[:html_content] = '<html><head><title></title></head><body>'\
33
37
  '<p>Check out our spring line!</p></body></html>'
34
38
  @expect[:plain_content] = 'Check out our spring line!'
@@ -6,7 +6,7 @@ describe SendGrid4r::REST::Campaigns::Campaigns do
6
6
  before do
7
7
  begin
8
8
  Dotenv.load
9
- @client = SendGrid4r::Client.new(api_key: ENV['API_KEY'])
9
+ @client = SendGrid4r::Client.new(api_key: ENV['KN_API_KEY'])
10
10
  @title1 = 'Test Title1'
11
11
  @title2 = 'Test Title2'
12
12
  @title1_edit = 'Edit Title1'
@@ -17,6 +17,7 @@ describe SendGrid4r::REST::Campaigns::Campaigns do
17
17
  @last_name1 = 'Last Name1'
18
18
  @list_name1 = 'List Name1'
19
19
  @group_name1 = 'Group Name1'
20
+ @pool_name1 = 'pool_test1'
20
21
 
21
22
  # celan up test env
22
23
  # delete campaigns
@@ -50,6 +51,11 @@ describe SendGrid4r::REST::Campaigns::Campaigns do
50
51
  next if grp.name != @group_name1
51
52
  @client.delete_group(group_id: grp.id)
52
53
  end
54
+ # delete ip pools
55
+ pools = @client.get_pools
56
+ pools.each do |pool|
57
+ @client.delete_pool(name: pool.name) if pool.name == @pool_name1
58
+ end
53
59
  # post a recipient
54
60
  recipient1 = {}
55
61
  recipient1['email'] = @email1
@@ -61,12 +67,14 @@ describe SendGrid4r::REST::Campaigns::Campaigns do
61
67
  @client.post_recipient_to_list(
62
68
  list_id: @list1.id, recipient_id: @result.persisted_recipients[0]
63
69
  )
64
- # add agroup
70
+ # add a group
65
71
  @group1 = @client.post_group(name: @group_name1, description: 'test')
72
+ # add an ip pool
73
+ @pool1 = @client.post_pool(name: @pool_name1)
66
74
  # add a campaign
67
75
  @campaign_factory = SendGrid4r::Factory::CampaignFactory.new
68
76
  @params = @campaign_factory.create(
69
- title: @title1, subject: @subject1, sender_id: 493,
77
+ title: @title1, subject: @subject1, sender_id: 516,
70
78
  list_ids: [@list1.id], categories: ['cat1'],
71
79
  suppression_group_id: @group1.id,
72
80
  html_content: 'html <a href="[unsubscribe]">unsub</a>',
@@ -82,14 +90,14 @@ describe SendGrid4r::REST::Campaigns::Campaigns do
82
90
  it '#post_campaign' do
83
91
  begin
84
92
  params = @campaign_factory.create(
85
- title: @title2, subject: @subject2, sender_id: 493,
93
+ title: @title2, subject: @subject2, sender_id: 516,
86
94
  list_ids: [@list1.id], categories: ['cat1'],
87
95
  suppression_group_id: @group1.id, html_content: 'html',
88
96
  plain_content: 'plain')
89
97
  campaign2 = @client.post_campaign(params: params)
90
98
  expect(campaign2.title).to eq(@title2)
91
99
  expect(campaign2.subject).to eq(@subject2)
92
- expect(campaign2.sender_id).to eq(493)
100
+ expect(campaign2.sender_id).to eq(516)
93
101
  expect(campaign2.list_ids).to eq([@list1.id])
94
102
  expect(campaign2.categories).to eq(['cat1'])
95
103
  expect(campaign2.suppression_group_id).to eq(@group1.id)
@@ -101,6 +109,27 @@ describe SendGrid4r::REST::Campaigns::Campaigns do
101
109
  end
102
110
  end
103
111
 
112
+ it '#post_campaign with custom_unsubscribe_url' do
113
+ begin
114
+ params = @campaign_factory.create(
115
+ title: @title2, subject: @subject2, sender_id: 516,
116
+ list_ids: [@list1.id], categories: ['cat1'],
117
+ custom_unsubscribe_url: 'https://sendgrid.com',
118
+ ip_pool: @pool_name1, html_content: 'html', plain_content: 'plain')
119
+ campaign2 = @client.post_campaign(params: params)
120
+ expect(campaign2.title).to eq(@title2)
121
+ expect(campaign2.subject).to eq(@subject2)
122
+ expect(campaign2.sender_id).to eq(516)
123
+ expect(campaign2.list_ids).to eq([@list1.id])
124
+ expect(campaign2.categories).to eq(['cat1'])
125
+ expect(campaign2.html_content).to eq('html')
126
+ expect(campaign2.plain_content).to eq('plain')
127
+ rescue RestClient::ExceptionWithResponse => e
128
+ puts e.inspect
129
+ raise e
130
+ end
131
+ end
132
+
104
133
  it '#get_campaigns' do
105
134
  begin
106
135
  campaigns = @client.get_campaigns
@@ -262,6 +291,8 @@ describe SendGrid4r::REST::Campaigns::Campaigns do
262
291
  '"spring line"'\
263
292
  '],'\
264
293
  '"suppression_group_id": 42,'\
294
+ '"custom_unsubscribe_url": "",'\
295
+ '"ip_pool": "marketing",'\
265
296
  '"html_content": "<html><head><title></title></head><body>'\
266
297
  '<p>Check out our spring line!</p></body></html>",'\
267
298
  '"plain_content": "Check out our spring line!",'\
@@ -290,6 +321,8 @@ describe SendGrid4r::REST::Campaigns::Campaigns do
290
321
  '"spring line"'\
291
322
  '],'\
292
323
  '"suppression_group_id": 42,'\
324
+ '"custom_unsubscribe_url": "",'\
325
+ '"ip_pool": "marketing",'\
293
326
  '"html_content": "<html><head><title></title></head><body>'\
294
327
  '<p>Check out our spring line!</p></body></html>",'\
295
328
  '"plain_content": "Check out our spring line!",'\
@@ -311,6 +344,8 @@ describe SendGrid4r::REST::Campaigns::Campaigns do
311
344
  '"winter line"'\
312
345
  '],'\
313
346
  '"suppression_group_id": 42,'\
347
+ '"custom_unsubscribe_url": "",'\
348
+ '"ip_pool": "marketing",'\
314
349
  '"html_content": "<html><head><title></title></head><body>'\
315
350
  '<p>Last call for winter clothes!</p></body></html>",'\
316
351
  '"plain_content": "Last call for winter clothes!",'\
@@ -418,6 +453,8 @@ describe SendGrid4r::REST::Campaigns::Campaigns do
418
453
  expect(actual.segment_ids).to eq([110])
419
454
  expect(actual.categories).to eq(['spring line'])
420
455
  expect(actual.suppression_group_id).to eq(42)
456
+ expect(actual.custom_unsubscribe_url).to eq('')
457
+ expect(actual.ip_pool).to eq('marketing')
421
458
  expect(actual.html_content).to eq(
422
459
  '<html><head><title></title></head><body>'\
423
460
  '<p>Check out our spring line!</p></body></html>')
@@ -20,6 +20,7 @@ describe SendGrid4r::REST::Whitelabel::Domains do
20
20
  @id1 = nil
21
21
  @id2 = nil
22
22
  @id3 = nil
23
+ @id4 = nil
23
24
  domains = @client.get_wl_domains
24
25
  domains.each do |domain|
25
26
  if domain.subdomain == "#{@subdomain_name}1" &&
@@ -34,16 +35,18 @@ describe SendGrid4r::REST::Whitelabel::Domains do
34
35
  domain.domain == @domain_name
35
36
  @id3 = domain.id
36
37
  end
38
+ if domain.subdomain == "#{@subdomain_name}4" &&
39
+ domain.domain == @domain_name
40
+ @id4 = domain.id
41
+ end
37
42
  end
38
43
  # post domain
39
44
  @domain1 = @client.post_wl_domain(
40
- domain: @domain_name, subdomain: @subdomain_name + '1',
41
- username: @username, ips: nil,
42
- automatic_security: true, custom_spf: false, default: false
45
+ domain: @domain_name, subdomain: @subdomain_name + '1'
43
46
  ) if @id1.nil?
44
47
  @domain2 = @client.post_wl_domain(
45
48
  domain: @domain_name, subdomain: @subdomain_name + '2',
46
- username: @username, ips: nil,
49
+ username: @username,
47
50
  automatic_security: false, custom_spf: true, default: false
48
51
  ) if @id2.nil?
49
52
  @domain3 = @client.post_wl_domain(
@@ -51,21 +54,31 @@ describe SendGrid4r::REST::Whitelabel::Domains do
51
54
  username: @username, ips: nil,
52
55
  automatic_security: true, custom_spf: false, default: false
53
56
  ) if @id3.nil?
57
+ @domain4 = @client.post_wl_domain(
58
+ domain: @domain_name, subdomain: @subdomain_name + '4',
59
+ username: @username, ips: [@ip],
60
+ automatic_security: true, custom_spf: true, default: false
61
+ ) if @id4.nil?
54
62
  # make a default
55
63
  @id1 = @domain1.id if @id1.nil?
56
64
  @id2 = @domain2.id if @id2.nil?
57
65
  @id3 = @domain3.id if @id3.nil?
66
+ @id4 = @domain4.id if @id4.nil?
58
67
  @client.patch_wl_domain(id: @id3, default: true)
59
68
  @client.delete_wl_domain(id: @id1)
60
69
  @client.delete_wl_domain(id: @id2)
70
+ @client.delete_wl_domain(id: @id4)
61
71
  @domain1 = @client.post_wl_domain(
62
- domain: @domain_name, subdomain: @subdomain_name + '1',
63
- username: @username, ips: nil,
64
- automatic_security: true, custom_spf: false, default: false
72
+ domain: @domain_name, subdomain: @subdomain_name + '1'
65
73
  )
66
74
  @domain2 = @client.post_wl_domain(
67
75
  domain: @domain_name, subdomain: @subdomain_name + '2',
68
76
  username: @username, ips: nil,
77
+ automatic_security: false, custom_spf: false, default: false
78
+ )
79
+ @domain4 = @client.post_wl_domain(
80
+ domain: @domain_name, subdomain: @subdomain_name + '4',
81
+ username: @username, ips: [@ip],
69
82
  automatic_security: false, custom_spf: true, default: false
70
83
  )
71
84
  # clean subusers
@@ -133,7 +146,7 @@ describe SendGrid4r::REST::Whitelabel::Domains do
133
146
  expect(@domain2.user_id).to be_a(Numeric)
134
147
  expect(@domain2.ips).to eq([])
135
148
  expect(@domain2.automatic_security).to eq(false)
136
- expect(@domain2.custom_spf).to eq(true)
149
+ expect(@domain2.custom_spf).to eq(false)
137
150
  expect(@domain2.default).to eq(false)
138
151
  expect(@domain2.legacy).to eq(false)
139
152
  expect(@domain2.valid).to eq(false)
@@ -166,15 +179,36 @@ describe SendGrid4r::REST::Whitelabel::Domains do
166
179
  expect(domain1.default).to eq(false)
167
180
  expect(domain1.legacy).to eq(false)
168
181
  expect(domain1.valid).to eq(false)
182
+ # mail_cname
169
183
  expect(domain1.dns.mail_cname).to be_a(
170
184
  SendGrid4r::REST::Whitelabel::Domains::Record
171
185
  )
186
+ expect(domain1.dns.mail_cname.valid).to eq(false)
187
+ expect(domain1.dns.mail_cname.type).to eq('cname')
188
+ expect(domain1.dns.mail_cname.host).to eq(
189
+ "#{@subdomain_name}1.#{@domain_name}"
190
+ )
191
+ expect(domain1.dns.mail_cname.data).to be_a(String)
192
+ # dkim1
172
193
  expect(domain1.dns.dkim1).to be_a(
173
194
  SendGrid4r::REST::Whitelabel::Domains::Record
174
195
  )
196
+ expect(domain1.dns.dkim1.valid).to eq(false)
197
+ expect(domain1.dns.dkim1.type).to eq('cname')
198
+ expect(domain1.dns.dkim1.host).to eq(
199
+ "s1._domainkey.#{@domain_name}"
200
+ )
201
+ expect(domain1.dns.dkim1.data).to be_a(String)
202
+ # dkim2
175
203
  expect(domain1.dns.dkim2).to be_a(
176
204
  SendGrid4r::REST::Whitelabel::Domains::Record
177
205
  )
206
+ expect(domain1.dns.dkim2.valid).to eq(false)
207
+ expect(domain1.dns.dkim2.type).to eq('cname')
208
+ expect(domain1.dns.dkim2.host).to eq(
209
+ "s2._domainkey.#{@domain_name}"
210
+ )
211
+ expect(domain1.dns.dkim2.data).to be_a(String)
178
212
  domain2 = @client.get_wl_domain(id: @domain2.id)
179
213
  expect(domain2).to be_a(SendGrid4r::REST::Whitelabel::Domains::Domain)
180
214
  expect(domain2.domain).to eq(@domain_name)
@@ -183,19 +217,90 @@ describe SendGrid4r::REST::Whitelabel::Domains do
183
217
  expect(domain2.user_id).to be_a(Numeric)
184
218
  expect(domain2.ips).to eq([])
185
219
  expect(domain2.automatic_security).to eq(false)
186
- expect(domain2.custom_spf).to eq(true)
220
+ expect(domain2.custom_spf).to eq(false)
187
221
  expect(domain2.default).to eq(false)
188
222
  expect(domain2.legacy).to eq(false)
189
223
  expect(domain2.valid).to eq(false)
224
+ # mail_server
190
225
  expect(domain2.dns.mail_server).to be_a(
191
226
  SendGrid4r::REST::Whitelabel::Domains::Record
192
227
  )
228
+ expect(domain2.dns.mail_server.valid).to eq(false)
229
+ expect(domain2.dns.mail_server.type).to eq('mx')
230
+ expect(domain2.dns.mail_server.host).to eq(
231
+ "#{@subdomain_name}2.#{@domain_name}"
232
+ )
233
+ expect(domain2.dns.mail_server.data).to eq('mx.sendgrid.net.')
234
+ # subdomain_spf
193
235
  expect(domain2.dns.subdomain_spf).to be_a(
194
236
  SendGrid4r::REST::Whitelabel::Domains::Record
195
237
  )
238
+ expect(domain2.dns.subdomain_spf.valid).to eq(false)
239
+ expect(domain2.dns.subdomain_spf.type).to eq('txt')
240
+ expect(domain2.dns.subdomain_spf.host).to eq(
241
+ "#{@subdomain_name}2.#{@domain_name}"
242
+ )
243
+ expect(domain2.dns.subdomain_spf.data).to eq(
244
+ 'v=spf1 include:sendgrid.net ~all'
245
+ )
246
+ # dkim
196
247
  expect(domain2.dns.dkim).to be_a(
197
248
  SendGrid4r::REST::Whitelabel::Domains::Record
198
249
  )
250
+ expect(domain2.dns.dkim.valid).to eq(false)
251
+ expect(domain2.dns.dkim.type).to eq('txt')
252
+ expect(domain2.dns.dkim.host).to eq(
253
+ "m1._domainkey.#{@domain_name}"
254
+ )
255
+ expect(domain2.dns.dkim.data).to start_with(
256
+ 'k=rsa; t=s; p='
257
+ )
258
+ domain4 = @client.get_wl_domain(id: @domain4.id)
259
+ expect(domain4).to be_a(SendGrid4r::REST::Whitelabel::Domains::Domain)
260
+ expect(domain4.domain).to eq(@domain_name)
261
+ expect(domain4.subdomain).to eq(@subdomain_name + '4')
262
+ expect(domain4.username).to eq(@username)
263
+ expect(domain4.user_id).to be_a(Numeric)
264
+ expect(domain4.ips).to eq([@ip])
265
+ expect(domain4.automatic_security).to eq(false)
266
+ expect(domain4.custom_spf).to eq(true)
267
+ expect(domain4.default).to eq(false)
268
+ expect(domain4.legacy).to eq(false)
269
+ expect(domain4.valid).to eq(false)
270
+ # mail_server
271
+ expect(domain4.dns.mail_server).to be_a(
272
+ SendGrid4r::REST::Whitelabel::Domains::Record
273
+ )
274
+ expect(domain4.dns.mail_server.valid).to eq(false)
275
+ expect(domain4.dns.mail_server.type).to eq('mx')
276
+ expect(domain4.dns.mail_server.host).to eq(
277
+ "#{@subdomain_name}4.#{@domain_name}"
278
+ )
279
+ expect(domain4.dns.mail_server.data).to eq('mx.sendgrid.net.')
280
+ # subdomain_spf
281
+ expect(domain4.dns.subdomain_spf).to be_a(
282
+ SendGrid4r::REST::Whitelabel::Domains::Record
283
+ )
284
+ expect(domain4.dns.subdomain_spf.valid).to eq(false)
285
+ expect(domain4.dns.subdomain_spf.type).to eq('txt')
286
+ expect(domain4.dns.subdomain_spf.host).to eq(
287
+ "#{@subdomain_name}4.#{@domain_name}"
288
+ )
289
+ expect(domain4.dns.subdomain_spf.data).to eq(
290
+ "v=spf1 ip4:#{@ip} -all"
291
+ )
292
+ # dkim
293
+ expect(domain4.dns.dkim).to be_a(
294
+ SendGrid4r::REST::Whitelabel::Domains::Record
295
+ )
296
+ expect(domain4.dns.dkim.valid).to eq(false)
297
+ expect(domain4.dns.dkim.type).to eq('txt')
298
+ expect(domain4.dns.dkim.host).to eq(
299
+ "m1._domainkey.#{@domain_name}"
300
+ )
301
+ expect(domain4.dns.dkim.data).to start_with(
302
+ 'k=rsa; t=s; p='
303
+ )
199
304
  rescue RestClient::ExceptionWithResponse => e
200
305
  puts e.inspect
201
306
  raise e
@@ -274,12 +379,21 @@ describe SendGrid4r::REST::Whitelabel::Domains do
274
379
  expect(result1.validation_results.mail_cname.valid).to be(
275
380
  false
276
381
  )
382
+ expect(result1.validation_results.mail_cname.reason).to be_a(
383
+ String
384
+ )
277
385
  expect(result1.validation_results.dkim1.valid).to be(
278
386
  false
279
387
  )
388
+ expect(result1.validation_results.dkim1.reason).to be_a(
389
+ String
390
+ )
280
391
  expect(result1.validation_results.dkim2.valid).to be(
281
392
  false
282
393
  )
394
+ expect(result1.validation_results.dkim2.reason).to be_a(
395
+ String
396
+ )
283
397
  result2 = @client.validate_wl_domain(id: @domain2.id)
284
398
  expect(result2).to be_a(
285
399
  SendGrid4r::REST::Whitelabel::Domains::Result
@@ -288,12 +402,21 @@ describe SendGrid4r::REST::Whitelabel::Domains do
288
402
  expect(result2.validation_results.mail_server.valid).to be(
289
403
  false
290
404
  )
405
+ expect(result2.validation_results.mail_server.reason).to be_a(
406
+ String
407
+ )
291
408
  expect(result2.validation_results.subdomain_spf.valid).to be(
292
409
  false
293
410
  )
411
+ expect(result2.validation_results.subdomain_spf.reason).to be_a(
412
+ String
413
+ )
294
414
  expect(result2.validation_results.dkim.valid).to be(
295
415
  false
296
416
  )
417
+ expect(result2.validation_results.dkim.reason).to be_a(
418
+ String
419
+ )
297
420
  rescue RestClient::ExceptionWithResponse => e
298
421
  puts e.inspect
299
422
  raise e
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendgrid4r
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - awwa500@gmail.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-26 00:00:00.000000000 Z
11
+ date: 2016-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client