createsend 4.1.1 → 4.1.2

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
  SHA1:
3
- metadata.gz: cf7d3f1ef06c9845b206a5a5440abe87f9982c7f
4
- data.tar.gz: 39e71bc8e300c0a240065664d70b9342edaafb0b
3
+ metadata.gz: 1cf72a678bbce9cf631fe045d080307019a8a3a7
4
+ data.tar.gz: 8b7691c4d61ab08e46c544cd41ce994cd79ae819
5
5
  SHA512:
6
- metadata.gz: 9bade68e29f34aed204378b7e9dae1873ec754d083f71424535113d34fdbf4c70bede35555b576e0916b62c77df53fcb9f1c1884b83e616a537625b0b1a5a355
7
- data.tar.gz: 6dd857001b8afd09e28d9659e1c807fb4b17ca2a12471b3563f3204fbd595246898f7f00f8b5b9b5203d0bf58dc1f4846b226cda0300f9010a66d2b1f0eed9a7
6
+ metadata.gz: 570b370adad853e0f9491e00758b7e989c4d3db98207e385d7c08bf765a29342e16e9893369527867593961b637c84f0c7f2944a560c46f8ac9bfe44e95b1b4f
7
+ data.tar.gz: d46d8888041d1a92ce412440821b46769a0d9cc56cda85f79fd4b2700aa11ebc1a90f4093adc04fe969349f8f521595575819e08ff6374ff8e7be0425b1d2424
@@ -1,5 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.4.0
4
+ - 2.3
3
5
  - 2.2
4
6
  - 2.1
5
7
  - 2.0.0
data/HISTORY.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # createsend-ruby history
2
2
 
3
+ ## v4.1.2 - 27 Nov, 2017
4
+ * Fix for the GZip compression issue: https://github.com/jnunemaker/httparty/issues/562
5
+
3
6
  ## v4.1.1 - 14 Jan, 2016
4
7
 
5
8
  * Drop support for Ruby 1.9.3 ([#49](https://github.com/campaignmonitor/createsend-ruby/pull/49))
@@ -114,8 +114,8 @@ module CreateSend
114
114
  @@oauth_token_uri = "#{@@oauth_base_uri}/token"
115
115
  headers({
116
116
  'User-Agent' => USER_AGENT_STRING,
117
- 'Content-Type' => 'application/json; charset=utf-8',
118
- 'Accept-Encoding' => 'gzip, deflate' })
117
+ 'Content-Type' => 'application/json; charset=utf-8'
118
+ })
119
119
  base_uri @@base_uri
120
120
 
121
121
  # Authenticate using either OAuth or an API key.
@@ -1,3 +1,3 @@
1
1
  module CreateSend
2
- VERSION = "4.1.1" unless defined?(CreateSend::VERSION)
2
+ VERSION = "4.1.2" unless defined?(CreateSend::VERSION)
3
3
  end
@@ -10,7 +10,7 @@ class ClientTest < Test::Unit::TestCase
10
10
  should "create a client" do
11
11
  stub_post(@auth, "clients.json", "create_client.json")
12
12
  client_id = CreateSend::Client.create @auth, "Client Company Name", "(GMT+10:00) Canberra, Melbourne, Sydney", "Australia"
13
- client_id.should == "32a381c49a2df99f1d0c6f3c112352b9"
13
+ client_id.parsed_response.should == "32a381c49a2df99f1d0c6f3c112352b9"
14
14
  end
15
15
 
16
16
  should "get details of a client" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: createsend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
4
+ version: 4.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Dennes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-14 00:00:00.000000000 Z
11
+ date: 2017-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -297,103 +297,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
297
297
  version: 1.3.6
298
298
  requirements: []
299
299
  rubyforge_project:
300
- rubygems_version: 2.5.1
300
+ rubygems_version: 2.5.2
301
301
  signing_key:
302
302
  specification_version: 4
303
303
  summary: A library which implements the complete functionality of the Campaign Monitor
304
304
  API.
305
- test_files:
306
- - test/administrator_test.rb
307
- - test/campaign_test.rb
308
- - test/client_test.rb
309
- - test/createsend_test.rb
310
- - test/fixtures/active_subscribers.json
311
- - test/fixtures/add_admin.json
312
- - test/fixtures/add_person.json
313
- - test/fixtures/add_subscriber.json
314
- - test/fixtures/admin_details.json
315
- - test/fixtures/admin_get_primary_contact.json
316
- - test/fixtures/admin_set_primary_contact.json
317
- - test/fixtures/administrators.json
318
- - test/fixtures/billingdetails.json
319
- - test/fixtures/bounced_subscribers.json
320
- - test/fixtures/campaign_bounces.json
321
- - test/fixtures/campaign_clicks.json
322
- - test/fixtures/campaign_listsandsegments.json
323
- - test/fixtures/campaign_opens.json
324
- - test/fixtures/campaign_recipients.json
325
- - test/fixtures/campaign_spam.json
326
- - test/fixtures/campaign_summary.json
327
- - test/fixtures/campaign_unsubscribes.json
328
- - test/fixtures/campaigns.json
329
- - test/fixtures/client_details.json
330
- - test/fixtures/client_get_primary_contact.json
331
- - test/fixtures/client_set_primary_contact.json
332
- - test/fixtures/clients.json
333
- - test/fixtures/countries.json
334
- - test/fixtures/create_campaign.json
335
- - test/fixtures/create_client.json
336
- - test/fixtures/create_custom_field.json
337
- - test/fixtures/create_list.json
338
- - test/fixtures/create_list_webhook.json
339
- - test/fixtures/create_segment.json
340
- - test/fixtures/create_template.json
341
- - test/fixtures/custom_api_error.json
342
- - test/fixtures/custom_fields.json
343
- - test/fixtures/deleted_subscribers.json
344
- - test/fixtures/drafts.json
345
- - test/fixtures/email_client_usage.json
346
- - test/fixtures/expired_oauth_token_api_error.json
347
- - test/fixtures/external_session.json
348
- - test/fixtures/import_subscribers.json
349
- - test/fixtures/import_subscribers_partial_success.json
350
- - test/fixtures/invalid_oauth_token_api_error.json
351
- - test/fixtures/list_details.json
352
- - test/fixtures/list_stats.json
353
- - test/fixtures/list_webhooks.json
354
- - test/fixtures/lists.json
355
- - test/fixtures/listsforemail.json
356
- - test/fixtures/oauth_exchange_token.json
357
- - test/fixtures/oauth_exchange_token_error.json
358
- - test/fixtures/oauth_refresh_token_error.json
359
- - test/fixtures/people.json
360
- - test/fixtures/person_details.json
361
- - test/fixtures/refresh_oauth_token.json
362
- - test/fixtures/revoked_oauth_token_api_error.json
363
- - test/fixtures/scheduled_campaigns.json
364
- - test/fixtures/segment_details.json
365
- - test/fixtures/segment_subscribers.json
366
- - test/fixtures/segments.json
367
- - test/fixtures/subscriber_details.json
368
- - test/fixtures/subscriber_history.json
369
- - test/fixtures/suppressionlist.json
370
- - test/fixtures/systemdate.json
371
- - test/fixtures/template_details.json
372
- - test/fixtures/templates.json
373
- - test/fixtures/timezones.json
374
- - test/fixtures/transfer_credits.json
375
- - test/fixtures/tx_classicemail_groups.json
376
- - test/fixtures/tx_message_details.json
377
- - test/fixtures/tx_message_details_with_statistics.json
378
- - test/fixtures/tx_messages.json
379
- - test/fixtures/tx_messages_classic.json
380
- - test/fixtures/tx_messages_smart.json
381
- - test/fixtures/tx_resend_message.json
382
- - test/fixtures/tx_send_multiple.json
383
- - test/fixtures/tx_send_single.json
384
- - test/fixtures/tx_smartemail_details.json
385
- - test/fixtures/tx_smartemails.json
386
- - test/fixtures/tx_statistics_classic.json
387
- - test/fixtures/tx_statistics_smart.json
388
- - test/fixtures/unconfirmed_subscribers.json
389
- - test/fixtures/unsubscribed_subscribers.json
390
- - test/fixtures/update_custom_field.json
391
- - test/helper.rb
392
- - test/list_test.rb
393
- - test/person_test.rb
394
- - test/segment_test.rb
395
- - test/subscriber_test.rb
396
- - test/template_test.rb
397
- - test/transactional_classic_email_test.rb
398
- - test/transactional_smart_email_test.rb
399
- - test/transactional_timeline_test.rb
305
+ test_files: []