send_with_us 1.12.0 → 1.12.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
2
  SHA1:
3
- metadata.gz: 78aa4c95fac765b5b16c9ee6ffa8505c41093388
4
- data.tar.gz: 0bfb17b3d1c8715e7642e42581c1b34e5b03c049
3
+ metadata.gz: 6ea35997a63c666abeca822b04e7c92d22ed2abb
4
+ data.tar.gz: ee9b8fbc4acdaa994e52ad70cfa1d5219ad1170b
5
5
  SHA512:
6
- metadata.gz: 7538a5552bcb4bd38c4ef8673b64d75d0b2a490f688a7b93d7833786edfe421958b793a034e65bc4ed3666a022d1f7ed800db15abe2e70b336bc932cc3d64d82
7
- data.tar.gz: 27fd496864cbde1aa97ceae56e909d0e31c33e86953e66c81af97c10e656846b9ea973428db96c7be2f2153ae2f6945893346034c5f6f3859ada218091bbd7ab
6
+ metadata.gz: 97ace58aa32e22b31808ed726265f89541a3f1f0acc78a1a2a5cbb73f4654bf02bf07b2b2d074b600cec0f57acb34603a88f56730d5e84bd2202d27335861667
7
+ data.tar.gz: d20decfa15439ad6197380a6019bf4ef9ea6d41350d70ecd07cca37f420c5a6de5fc5ad5fa7157e54d30842f759349b4a5c54926a4dbd2f287399fc6d00f1519
@@ -58,7 +58,7 @@ module SendWithUs
58
58
  when Net::HTTPForbidden then
59
59
  raise SendWithUs::ApiInvalidKey, "Invalid api key: #{@configuration.api_key}"
60
60
  when Net::HTTPBadRequest then
61
- raise SendWithUs::ApiBadRequest.new("There was an error processing your request: #{@response.body}, with payload: #{payload}")
61
+ raise SendWithUs::ApiBadRequest.new("There was an error processing your request: #{@response.body}, with payload: #{payload}".force_encoding('ASCII-8BIT'))
62
62
  when Net::HTTPSuccess
63
63
  puts @response.body if @configuration.debug
64
64
  @response
@@ -1,3 +1,3 @@
1
1
  module SendWithUs
2
- VERSION = '1.12.0'
2
+ VERSION = '1.12.1'
3
3
  end
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: 1.12.0
4
+ version: 1.12.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: 2016-03-18 00:00:00.000000000 Z
15
+ date: 2016-07-29 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rake