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 +4 -4
- data/.travis.yml +2 -0
- data/HISTORY.md +3 -0
- data/lib/createsend/createsend.rb +2 -2
- data/lib/createsend/version.rb +1 -1
- data/test/client_test.rb +1 -1
- metadata +4 -98
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cf72a678bbce9cf631fe045d080307019a8a3a7
|
4
|
+
data.tar.gz: 8b7691c4d61ab08e46c544cd41ce994cd79ae819
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 570b370adad853e0f9491e00758b7e989c4d3db98207e385d7c08bf765a29342e16e9893369527867593961b637c84f0c7f2944a560c46f8ac9bfe44e95b1b4f
|
7
|
+
data.tar.gz: d46d8888041d1a92ce412440821b46769a0d9cc56cda85f79fd4b2700aa11ebc1a90f4093adc04fe969349f8f521595575819e08ff6374ff8e7be0425b1d2424
|
data/.travis.yml
CHANGED
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
|
-
|
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.
|
data/lib/createsend/version.rb
CHANGED
data/test/client_test.rb
CHANGED
@@ -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.
|
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-
|
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.
|
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: []
|