send_with_us 1.12.0 → 1.12.1
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 +4 -4
- data/lib/send_with_us/api_request.rb +1 -1
- data/lib/send_with_us/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ea35997a63c666abeca822b04e7c92d22ed2abb
|
|
4
|
+
data.tar.gz: ee9b8fbc4acdaa994e52ad70cfa1d5219ad1170b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/send_with_us/version.rb
CHANGED
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.
|
|
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-
|
|
15
|
+
date: 2016-07-29 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: rake
|