neverbounce-api 1.0.3 → 1.0.4

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: def72dc3e04484f52e46bcc3a6944db4be40acfb
4
- data.tar.gz: 16ff55c7893c2bca39f4062b040d5468acb9174d
3
+ metadata.gz: da7750382da1d6b5deddf629b7a592ea48cc265f
4
+ data.tar.gz: e5172de975642ebf2fee9c766ebfa8186853299e
5
5
  SHA512:
6
- metadata.gz: 40a04ba0ae8ede58968daf9308972c955fd72dba418a2083f85b00d53464a34a822a1e9ba291641399d717418ec2697c9dda07afc642ef49110a273dae02ad06
7
- data.tar.gz: 30c20566f2aabe87d2109a23e21bb8f7723adb62452f102bf96f73fe95931269270b7a1e43d48c13cbcb01db9b628220874bdc0dd3aa127845d9d442564bbebb
6
+ metadata.gz: fed8ba58fab324a869a11571de730549469118e1af58894c708393c65a6b1ad502c05ed4ad1e75093adfe35853b470457a60aee0631c5ec92499ec9039f1f043
7
+ data.tar.gz: 5b389616e21e31f82a264fe0c9e7b5233f0a0f2feb6aadc6988dd1aefacccbd4f24fd624251c7b515ba490c88ebcae965df5d56a46d77f791e873a0fabd9fe1c
@@ -5,6 +5,10 @@ env:
5
5
  global:
6
6
  - CC_TEST_REPORTER_ID=9300cb7898e254e78099399acbb2796471fde0e5c1873899273a583d56c9d740
7
7
 
8
+ before_install:
9
+ - gem update --system
10
+ - gem install bundler
11
+
8
12
  install:
9
13
  - bundle install --path ~/bundle
10
14
 
@@ -25,3 +29,4 @@ rvm:
25
29
  - 2.2
26
30
  - 2.3
27
31
  - 2.4
32
+ - 2.5
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neverbounce-api (1.0.2)
4
+ neverbounce-api (1.0.3)
5
5
  httparty (~> 0.15)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -48,7 +48,7 @@ To talk to the API, create a `Client` object and call one of its request methods
48
48
  For example, let's get account info:
49
49
 
50
50
  ```ruby
51
- client = NeverBounce::API::Client.new(api_key: "key123abc") # Insert YOUR key here.
51
+ client = NeverBounce::API::Client.new(api_key: "secret_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx") # Insert YOUR key here.
52
52
  resp = client.account_info
53
53
 
54
54
  if resp.ok?
@@ -60,6 +60,8 @@ else
60
60
  end
61
61
  ```
62
62
 
63
+ >**The API username and secret key used to authenticate V3 API requests will not work to authenticate V4 API requests.** If you are attempting to authenticate your request with the 8 character username or 12-16 character secret key the request will return an `auth_failure` error. The API key used for the V4 API will look like the following: `secret_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`. To create new V4 API credentials please go [here](https://app.neverbounce.com/apps/custom-integration/new).
64
+
63
65
  Now, let's check a single e-mail:
64
66
 
65
67
  ```ruby
@@ -83,7 +83,7 @@ module NeverBounce; module API
83
83
  # @raise [StandardError]
84
84
  # @see Request::JobsCreate
85
85
  # @see https://developers.neverbounce.com/v4.0/reference#jobs-create
86
- def jobs_create(auto_parse: nil, auto_start: nil, filename: nil, remote_input: nil, run_sample: nil, supplied_input: nil)
86
+ def jobs_create(auto_parse: false, auto_start: false, filename: nil, remote_input: nil, run_sample: false, supplied_input: nil)
87
87
  raise ArgumentError, "`remote_input` and `supplied_input` can't both be given" if remote_input && supplied_input
88
88
 
89
89
  input_location = if (v = remote_input)
@@ -1,4 +1,4 @@
1
1
 
2
2
  module NeverBounce; module API
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end; end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neverbounce-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - NeverBounce
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-21 00:00:00.000000000 Z
11
+ date: 2018-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -137,7 +137,6 @@ files:
137
137
  - spec/lib/never_bounce/api/response/single_check_spec.rb
138
138
  - spec/lib/never_bounce/api/response/spec_helper.rb
139
139
  - spec/lib/never_bounce/api/session_spec.rb
140
- - spec/lib/never_bounce/api_spec.rb
141
140
  - spec/spec_helper.rb
142
141
  - spec/spec_support/include_dir_context.rb
143
142
  - spec/spec_support/simplecov.rb
@@ -210,7 +209,6 @@ test_files:
210
209
  - spec/lib/never_bounce/api/response/single_check_spec.rb
211
210
  - spec/lib/never_bounce/api/response/spec_helper.rb
212
211
  - spec/lib/never_bounce/api/session_spec.rb
213
- - spec/lib/never_bounce/api_spec.rb
214
212
  - spec/spec_helper.rb
215
213
  - spec/spec_support/include_dir_context.rb
216
214
  - spec/spec_support/simplecov.rb
@@ -1,8 +0,0 @@
1
-
2
- require "never_bounce/api/version"
3
-
4
- describe NeverBounce::API do
5
- describe "VERSION" do
6
- it { expect(described_class::VERSION).to eq "1.0.2" }
7
- end
8
- end