icontact 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cec9071cf8847d38d296c46cba772a56d724b290
4
- data.tar.gz: db4bd7430726457a845e0747eb826fc570733ce2
3
+ metadata.gz: ac45e275cf9346ad3c10aefcefc4437a37a8c078
4
+ data.tar.gz: 2ff173fa0a5b2fc2aadb83160a52efcdf970d296
5
5
  SHA512:
6
- metadata.gz: 68cad6d28a5bc2a4886c043711694c6bd0e972f97284530441269168b5a30c1e8e9301b6d3d66414b70721dfaf563394bc46e5cf6f151da37aa3bfa19f0f43f4
7
- data.tar.gz: 3499717bd093456ce4600472ed4c29479b0294fc7fed16086b06fec22144c58966c579574c40005e621584c8553cc807f75ec7d767cccced28db2f5eea070972
6
+ metadata.gz: f623902b65f724bdf153b4431bd66eb6903ea3bf70f15a0f85ab594ba48625c79822a603995e54da878975a41fef59e811fde0687e951f1629c12026039e7236
7
+ data.tar.gz: 73ae5fb5e32626a77bcbaadd8b691cdf093646af27de3137edb4778c939876b0fd1b2655c580bc88e758f974588a260720ed957bb6d8a71f06e9610b328b05ea
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- icontact (0.0.1)
4
+ icontact (0.0.2)
5
5
  faraday (~> 0.8)
6
6
  oj (~> 2.11)
7
7
 
@@ -18,7 +18,7 @@ GEM
18
18
  multipart-post (>= 1.2, < 3)
19
19
  i18n (0.6.11)
20
20
  multipart-post (2.0.0)
21
- oj (2.11.0)
21
+ oj (2.11.1)
22
22
  rake (10.3.2)
23
23
  rspec (3.1.0)
24
24
  rspec-core (~> 3.1.0)
data/README.md CHANGED
@@ -1,3 +1,4 @@
1
+ [![Gem Version](https://badge.fury.io/rb/icontact.svg)](http://badge.fury.io/rb/icontact)
1
2
  [![Code Climate](https://codeclimate.com/github/L1h3r/icontact/badges/gpa.svg)](https://codeclimate.com/github/L1h3r/icontact)
2
3
 
3
4
  Ruby Gem for iContact
@@ -62,7 +62,7 @@ module IContact
62
62
  def response_success(response)
63
63
  if response.env[:method] == :delete
64
64
  { 'status' => true }
65
- elsif !response.body.strip.empty?
65
+ elsif !response.body.nil? && !response.body.strip.empty?
66
66
  Oj.load(response.body, mode: :compat)
67
67
  else
68
68
  []
@@ -1,3 +1,3 @@
1
1
  module IContact
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -16,7 +16,7 @@ end
16
16
  VCR.configure do |config|
17
17
  config.default_cassette_options = { record: :new_episodes }
18
18
  config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
19
- config.debug_logger = File.open('log/vcr.log', 'w')
19
+ # config.debug_logger = File.open('log/vcr.log', 'w')
20
20
  config.hook_into :webmock
21
21
 
22
22
  config.filter_sensitive_data('<-APP-ID->') { options['app_id'] }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icontact
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devin Turner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-10 00:00:00.000000000 Z
11
+ date: 2014-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj