createsend 4.1.1 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +2 -0
- data/HISTORY.md +15 -0
- data/README.md +3 -3
- data/RELEASE.md +1 -1
- data/Rakefile +1 -1
- data/lib/createsend/campaign.rb +1 -1
- data/lib/createsend/client.rb +6 -0
- data/lib/createsend/createsend.rb +5 -3
- data/lib/createsend/journey.rb +58 -0
- data/lib/createsend/list.rb +13 -12
- data/lib/createsend/segment.rb +3 -2
- data/lib/createsend/subscriber.rb +15 -10
- data/lib/createsend/version.rb +1 -1
- data/lib/createsend.rb +1 -0
- data/samples/journey_sample.rb +86 -0
- data/test/administrator_test.rb +3 -3
- data/test/campaign_test.rb +5 -5
- data/test/client_test.rb +13 -5
- data/test/createsend_test.rb +4 -4
- data/test/fixtures/journey_bounces.json +35 -0
- data/test/fixtures/journey_clicks.json +35 -0
- data/test/fixtures/journey_opens.json +55 -0
- data/test/fixtures/journey_recipients.json +27 -0
- data/test/fixtures/journey_summary.json +18 -0
- data/test/fixtures/journey_unsubscribes.json +26 -0
- data/test/fixtures/journeys.json +20 -0
- data/test/fixtures/subscriber_details_with_track_pref.json +22 -0
- data/test/fixtures/unconfirmed_subscribers.json +4 -2
- data/test/helper.rb +3 -2
- data/test/journey_test.rb +156 -0
- data/test/list_test.rb +10 -9
- data/test/person_test.rb +3 -3
- data/test/segment_test.rb +1 -1
- data/test/subscriber_test.rb +21 -12
- metadata +23 -4
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
|
+
version: 5.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Dennes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -174,6 +174,7 @@ files:
|
|
174
174
|
- lib/createsend/campaign.rb
|
175
175
|
- lib/createsend/client.rb
|
176
176
|
- lib/createsend/createsend.rb
|
177
|
+
- lib/createsend/journey.rb
|
177
178
|
- lib/createsend/list.rb
|
178
179
|
- lib/createsend/person.rb
|
179
180
|
- lib/createsend/segment.rb
|
@@ -183,6 +184,7 @@ files:
|
|
183
184
|
- lib/createsend/transactional_smart_email.rb
|
184
185
|
- lib/createsend/transactional_timeline.rb
|
185
186
|
- lib/createsend/version.rb
|
187
|
+
- samples/journey_sample.rb
|
186
188
|
- test/administrator_test.rb
|
187
189
|
- test/campaign_test.rb
|
188
190
|
- test/client_test.rb
|
@@ -228,6 +230,13 @@ files:
|
|
228
230
|
- test/fixtures/import_subscribers.json
|
229
231
|
- test/fixtures/import_subscribers_partial_success.json
|
230
232
|
- test/fixtures/invalid_oauth_token_api_error.json
|
233
|
+
- test/fixtures/journey_bounces.json
|
234
|
+
- test/fixtures/journey_clicks.json
|
235
|
+
- test/fixtures/journey_opens.json
|
236
|
+
- test/fixtures/journey_recipients.json
|
237
|
+
- test/fixtures/journey_summary.json
|
238
|
+
- test/fixtures/journey_unsubscribes.json
|
239
|
+
- test/fixtures/journeys.json
|
231
240
|
- test/fixtures/list_details.json
|
232
241
|
- test/fixtures/list_stats.json
|
233
242
|
- test/fixtures/list_webhooks.json
|
@@ -245,6 +254,7 @@ files:
|
|
245
254
|
- test/fixtures/segment_subscribers.json
|
246
255
|
- test/fixtures/segments.json
|
247
256
|
- test/fixtures/subscriber_details.json
|
257
|
+
- test/fixtures/subscriber_details_with_track_pref.json
|
248
258
|
- test/fixtures/subscriber_history.json
|
249
259
|
- test/fixtures/suppressionlist.json
|
250
260
|
- test/fixtures/systemdate.json
|
@@ -269,6 +279,7 @@ files:
|
|
269
279
|
- test/fixtures/unsubscribed_subscribers.json
|
270
280
|
- test/fixtures/update_custom_field.json
|
271
281
|
- test/helper.rb
|
282
|
+
- test/journey_test.rb
|
272
283
|
- test/list_test.rb
|
273
284
|
- test/person_test.rb
|
274
285
|
- test/segment_test.rb
|
@@ -296,8 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
296
307
|
- !ruby/object:Gem::Version
|
297
308
|
version: 1.3.6
|
298
309
|
requirements: []
|
299
|
-
|
300
|
-
rubygems_version: 2.5.1
|
310
|
+
rubygems_version: 3.0.3
|
301
311
|
signing_key:
|
302
312
|
specification_version: 4
|
303
313
|
summary: A library which implements the complete functionality of the Campaign Monitor
|
@@ -348,6 +358,13 @@ test_files:
|
|
348
358
|
- test/fixtures/import_subscribers.json
|
349
359
|
- test/fixtures/import_subscribers_partial_success.json
|
350
360
|
- test/fixtures/invalid_oauth_token_api_error.json
|
361
|
+
- test/fixtures/journey_bounces.json
|
362
|
+
- test/fixtures/journey_clicks.json
|
363
|
+
- test/fixtures/journey_opens.json
|
364
|
+
- test/fixtures/journey_recipients.json
|
365
|
+
- test/fixtures/journey_summary.json
|
366
|
+
- test/fixtures/journey_unsubscribes.json
|
367
|
+
- test/fixtures/journeys.json
|
351
368
|
- test/fixtures/list_details.json
|
352
369
|
- test/fixtures/list_stats.json
|
353
370
|
- test/fixtures/list_webhooks.json
|
@@ -365,6 +382,7 @@ test_files:
|
|
365
382
|
- test/fixtures/segment_subscribers.json
|
366
383
|
- test/fixtures/segments.json
|
367
384
|
- test/fixtures/subscriber_details.json
|
385
|
+
- test/fixtures/subscriber_details_with_track_pref.json
|
368
386
|
- test/fixtures/subscriber_history.json
|
369
387
|
- test/fixtures/suppressionlist.json
|
370
388
|
- test/fixtures/systemdate.json
|
@@ -389,6 +407,7 @@ test_files:
|
|
389
407
|
- test/fixtures/unsubscribed_subscribers.json
|
390
408
|
- test/fixtures/update_custom_field.json
|
391
409
|
- test/helper.rb
|
410
|
+
- test/journey_test.rb
|
392
411
|
- test/list_test.rb
|
393
412
|
- test/person_test.rb
|
394
413
|
- test/segment_test.rb
|