send_with_us 4.2.0 → 4.2.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: d5f681312016d5dc49a66353e896e504cda65c4d
4
- data.tar.gz: da27c29575370c1ad5c2f9ad24b39163edc6042f
2
+ SHA256:
3
+ metadata.gz: b4f011c520b1ac7dad2bdcdcec37d6ff1f2f28ed9fa37f769fe2a007f018bb8b
4
+ data.tar.gz: 6b4dcaa033c8d5664266295611b6d9f806a246cb8a9effeda0d9b017ca3ecc68
5
5
  SHA512:
6
- metadata.gz: 21dcd5eddb76a0e2994f0f278bd549ce77459dabf8ec651e920ed676d9353fc9209eb28cd347cf6810e00a6cd32fa4e7804a848f2eba2ae6187828777625ae50
7
- data.tar.gz: 31604cd3f1580e6fdb8e8fdbd998befa2654cf8fc1ce9f859bf24b3e9c646805a09cf85f9c16fa98b8612e4eb6f9513904b72cc83a2a316e25726c7cd998bde9
6
+ metadata.gz: c6b3e38cdbdf61aca2c9a67eccdc3702dfcd506ed913215bf5f239165bd7f223dd2d521debf9fbfabdf88392a830f1ef4422e38e8521dd3d9ab61df73aa33a51
7
+ data.tar.gz: 9a116f73ce870f583a9999175fce0b054bb8c4ca102f1954ac3d5e2cc8e0bd745631119330745901dee84deb881e86475c3aade6afc0337eb9717fcdbe985ef6
@@ -1,3 +1,6 @@
1
+ ## 4.2.1
2
+ - Bump `rake` version due to vulnerability
3
+
1
4
  ## 4.2.0
2
5
  - add a `log_events` method to get the events list on a Sendwithus log
3
6
 
data/Gemfile CHANGED
@@ -7,7 +7,7 @@ gemspec
7
7
  # Test Dependencies
8
8
  gem 'mocha', '~> 1.1'
9
9
  gem 'i18n', '~> 0.7'
10
- gem 'rake', '~> 10.4'
10
+ gem 'rake', '~> 12.3.3'
11
11
  gem 'multi_json', '~> 1.11'
12
12
  gem 'metaclass', '~> 0.0.4'
13
13
  gem 'shoulda-context', '~> 1.2'
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # sendwithus_ruby
1
+ # Sendwithus Ruby Client
2
2
 
3
- Ruby bindings for sending email via the sendwithus API.
3
+ Ruby bindings for sending email via the [Sendwithus API](https://support.sendwithus.com/api/).
4
4
 
5
5
  [sendwithus.com](http://sendwithus.com)
6
6
 
@@ -214,7 +214,7 @@ rescue => e
214
214
  end
215
215
  ```
216
216
 
217
- ### Remove Customer from Drip Campaign
217
+ ### Remove Customer from All Drip Campaigns
218
218
 
219
219
  ```ruby
220
220
  require 'rubygems'
@@ -277,7 +277,6 @@ customer = obj.customer_get("visha@example.com")
277
277
  ### Create/Update a Customer
278
278
 
279
279
  ```ruby
280
- customer_data = {:FirstName => "Visha"}
281
280
  result = obj.customer_create("visha@example.com")
282
281
  ```
283
282
 
@@ -418,17 +417,3 @@ If you're receiving an error in the 400 response range follow these steps:
418
417
  - Double check the data and ID's getting passed to Sendwithus
419
418
  - Ensure your API key is correct
420
419
  - Log and check the body of the response
421
-
422
-
423
- ## Internal
424
- Build gem with
425
-
426
- ```bash
427
- gem build send_with_us.gemspec
428
- ```
429
-
430
- Publish gem with
431
-
432
- ```bash
433
- gem push send_with_us-VERSION.gem
434
- ```
@@ -1,3 +1,3 @@
1
1
  module SendWithUs
2
- VERSION = '4.2.0'
2
+ VERSION = '4.2.1'
3
3
  end
@@ -9,7 +9,7 @@ describe SendWithUs::Api do
9
9
  SendWithUs::Api.configure { |config| config.api_key = @initializer_api_key }
10
10
  end
11
11
 
12
- it('configs') { SendWithUs::Api.new.configuration.api_key.must_equal @initializer_api_key }
12
+ it('configs') { _(SendWithUs::Api.new.configuration.api_key).must_equal @initializer_api_key }
13
13
  end
14
14
 
15
15
  describe '.configuration with custom' do
@@ -19,7 +19,7 @@ describe SendWithUs::Api do
19
19
  SendWithUs::Api.configure { |config| config.api_key = @initializer_api_key }
20
20
  end
21
21
 
22
- it('configs') { SendWithUs::Api.new( api_key: @custom_api_key ).configuration.api_key.must_equal @custom_api_key }
22
+ it('configs') { _(SendWithUs::Api.new( api_key: @custom_api_key ).configuration.api_key).must_equal @custom_api_key }
23
23
  end
24
24
 
25
25
  describe '#customer_email_log' do
@@ -48,7 +48,7 @@ describe SendWithUs::Api do
48
48
  end
49
49
 
50
50
  describe 'without log_id' do
51
- it { -> { subject.log }.must_raise ArgumentError }
51
+ it { expect { subject.log }.must_raise ArgumentError }
52
52
  end
53
53
  end
54
54
 
@@ -61,7 +61,7 @@ describe SendWithUs::Api do
61
61
  end
62
62
 
63
63
  describe 'without log_id' do
64
- it { -> { subject.log }.must_raise ArgumentError }
64
+ it { expect { subject.log }.must_raise ArgumentError }
65
65
  end
66
66
  end
67
67
 
@@ -5,7 +5,7 @@ require File.expand_path('../../lib/send_with_us.rb', __FILE__)
5
5
 
6
6
  require 'rubygems'
7
7
  require 'bundler'
8
- require "mocha/mini_test"
8
+ require "mocha/minitest"
9
9
 
10
10
  begin
11
11
  Bundler.setup(:default, :development)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: send_with_us
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Harris
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2018-11-16 00:00:00.000000000 Z
15
+ date: 2020-03-26 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rake
@@ -109,8 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
- rubyforge_project:
113
- rubygems_version: 2.4.5
112
+ rubygems_version: 3.0.6
114
113
  signing_key:
115
114
  specification_version: 4
116
115
  summary: SendWithUs.com Ruby Client