promoter 0.1.6 → 0.1.7

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: 3a1c0b45c8ca3ac0de008c7aad0c01e050a386d1
4
- data.tar.gz: a1637b87cd2389bfe042549e6525a86950d5417d
3
+ metadata.gz: a1919110c9915e91b39eb2a6bb0a0c7074975a0d
4
+ data.tar.gz: 2f37ea5eb45ce3f7ce8324ffc6ce5648f997dd12
5
5
  SHA512:
6
- metadata.gz: b465beeb2d3020128bb14f7ec8e683033e64cd03b3bbfc192691250cf1de37293f0441307f23d57c745f840878f6beac9ad515ccc9fe831a291e35d07ccbd37b
7
- data.tar.gz: f536e0537e28f960cf3f5922da8161af472d383ba211da846575d75f7a01eda1a2a3d37ea893367a77e7baf0a6bb1bc79ca9f0763142e0f7275494b235552f2c
6
+ metadata.gz: 539806089030b64fbec126a2ecb7448f11ee1ff1d6a02ff8d9b9c3c2476f3608a4ded699c2b9652de27d80fdf27d3698f33441df3b8e174a5cd75b685cf4cb42
7
+ data.tar.gz: bcbbc54063e1a3d11aa5a7b8f729266d649eb176f1cfda4dba9a5e691ef3e0725f8ec3a1886946bb1c5817873fa19940d573d18fbbce852220189e79e8a84592
@@ -27,8 +27,8 @@ module Promoter
27
27
  private
28
28
 
29
29
  def self.parse_response(response, response_format=:json)
30
- check_for_error(response.response.code)
31
30
  display_debug(response.body)
31
+ check_for_error(response.response.code)
32
32
  if response_format == :json
33
33
  JSON.parse(response.body.to_s)
34
34
  else
@@ -1,3 +1,3 @@
1
1
  module Promoter
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promoter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris O'Sullivan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-16 00:00:00.000000000 Z
11
+ date: 2016-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler