createsend 5.1.0 → 5.1.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
- SHA1:
3
- metadata.gz: 0cbf47984eff0211b8d39e59f1e081fddffc6394
4
- data.tar.gz: eea780fdf7c2ea60a2302937e4e08582a72a6c9c
2
+ SHA256:
3
+ metadata.gz: a9e3ed5e50f1be54bdb680b399675fef8e72fc1e09d41264ec35d85de005b0ea
4
+ data.tar.gz: 1b39dc69dcb31589101712316897771aa15ba48c8ddd5c6bd6255c2352337db3
5
5
  SHA512:
6
- metadata.gz: 78336e5550ffec584bb92e2c89796df4ef086be3a977e1d0257c04c5c26642293f03ba0c6f3218e50205f52dc2be3b533b29941841f5f29172bc31ed4471f4bb
7
- data.tar.gz: 3337d01b81ad49e92d4d0f3fa0a1f446bbe3dbedb8bba4abb774eceb9d4aca60e2a0ff2eeba3af1070cdabe5eeb304e342f8d24ca63952167962052a0641f98e
6
+ metadata.gz: c9d44f747b5d4e64692686c47a0ca56f13d55fe97a0674cfc20659e05b8a518df3ac45f33ab8b575945b1ac9dd69fa503c0884cfb74abdbc3c0f306a0642f7a7
7
+ data.tar.gz: 68987336af46b08f9693bf65a1a6fc29af99ee81a044b1468b7a410084191a2e6973595ba1db86406be7c0c7cdace14a968e46e1f83754950bf3ef3a4c5e76a2
data/HISTORY.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # createsend-ruby history
2
2
 
3
+ ## v5.1.1 - 8 Oct, 2021
4
+ * increased default timeout for HTTP requests to 120secs
5
+
3
6
  ## v5.1.0 - 3 Sep, 2019
4
7
  * Added support for [Journeys API](https://www.campaignmonitor.com/api/journeys/)
5
8
 
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # createsend
1
+ # createsend [![Build Status](https://app.travis-ci.com/campaignmonitor/createsend-ruby.svg?branch=master)](https://app.travis-ci.com/campaignmonitor/createsend-ruby)
2
2
 
3
3
  A Ruby library which implements the complete functionality of the [Campaign Monitor API](http://www.campaignmonitor.com/api/). Requires Ruby >= 2.0.0.
4
4
 
@@ -193,7 +193,7 @@ For example, if you wanted to find out how to call the `CreateSend::Subscriber.a
193
193
  should "add a subscriber with custom fields" do
194
194
  stub_post(@auth, "subscribers/#{@list_id}.json", "add_subscriber.json")
195
195
  custom_fields = [ { :Key => 'website', :Value => 'http://example.com/' } ]
196
- email_address = CreateSend::Subscriber.add @auth, @list_id, "subscriber@example.com", "Subscriber", custom_fields, true
196
+ email_address = CreateSend::Subscriber.add @auth, @list_id, "subscriber@example.com", "Subscriber", custom_fields, true, "Yes"
197
197
  email_address.should == "subscriber@example.com"
198
198
  end
199
199
  ```
@@ -212,7 +212,7 @@ Please check the [instructions for releasing](https://github.com/campaignmonitor
212
212
 
213
213
  ## This stuff should be green
214
214
 
215
- [![Build Status](https://secure.travis-ci.org/campaignmonitor/createsend-ruby.png)][travis] [![Coverage Status](https://coveralls.io/repos/campaignmonitor/createsend-ruby/badge.png?branch=master)][coveralls] [![Dependency Status](https://gemnasium.com/campaignmonitor/createsend-ruby.png)][gemnasium] [![Gem Version](https://badge.fury.io/rb/createsend.png)][gembadge]
215
+ [![Build Status](https://app.travis-ci.com/campaignmonitor/createsend-ruby.svg?branch=master)](https://app.travis-ci.com/campaignmonitor/createsend-ruby) [![Coverage Status](https://coveralls.io/repos/campaignmonitor/createsend-ruby/badge.png?branch=master)][coveralls] [![Dependency Status](https://gemnasium.com/campaignmonitor/createsend-ruby.png)][gemnasium] [![Gem Version](https://badge.fury.io/rb/createsend.png)][gembadge]
216
216
 
217
217
  [travis]: http://travis-ci.org/campaignmonitor/createsend-ruby
218
218
  [coveralls]: https://coveralls.io/r/campaignmonitor/createsend-ruby
data/RELEASE.md CHANGED
@@ -32,7 +32,7 @@
32
32
  git push origin master --tags
33
33
  ```
34
34
 
35
- - Ensure that all [tests](https://travis-ci.org/campaignmonitor/createsend-ruby) pass, and that [coverage](https://coveralls.io/r/campaignmonitor/createsend-ruby) is maintained or improved.
35
+ - Ensure that all [tests](https://app.travis-ci.com/github/campaignmonitor/createsend-ruby) pass, and that [coverage](https://coveralls.io/r/campaignmonitor/createsend-ruby) is maintained or improved.
36
36
 
37
37
  - Add a new [GitHub Release](https://github.com/campaignmonitor/createsend-ruby/releases) using the newly created tag.
38
38
 
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require "./lib/createsend"
5
5
 
6
6
  desc "Run tests"
7
7
  Rake::TestTask.new(:test) do |test|
8
- test.ruby_opts = ["-rubygems"] if defined? Gem
8
+ test.ruby_opts = ["-rrubygems"] if defined? Gem
9
9
  test.libs << "lib" << "test"
10
10
  test.pattern = "test/**/*_test.rb"
11
11
  puts "running tests."
@@ -44,6 +44,8 @@ module CreateSend
44
44
  # Provides high level CreateSend functionality/data you'll probably need.
45
45
  class CreateSend
46
46
  include HTTParty
47
+ default_timeout 120
48
+
47
49
  attr_reader :auth_details
48
50
 
49
51
  # Specify cert authority file for cert validation
@@ -1,3 +1,3 @@
1
1
  module CreateSend
2
- VERSION = "5.1.0" unless defined?(CreateSend::VERSION)
2
+ VERSION = "5.1.1" unless defined?(CreateSend::VERSION)
3
3
  end
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: 5.1.0
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: 2019-09-03 00:00:00.000000000 Z
11
+ date: 2021-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -307,8 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
307
307
  - !ruby/object:Gem::Version
308
308
  version: 1.3.6
309
309
  requirements: []
310
- rubyforge_project:
311
- rubygems_version: 2.6.14
310
+ rubygems_version: 3.0.3
312
311
  signing_key:
313
312
  specification_version: 4
314
313
  summary: A library which implements the complete functionality of the Campaign Monitor