ruby_http_client 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ruby_http_client.rb +1 -1
- data/ruby_http_client.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7025c1bc71b1fad5260c6a35dba65ea4ea15c167
|
4
|
+
data.tar.gz: e561a01d281e080dce3888c9eec34e31b9ac295d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e54b19cbc34fdebe86165ac3f3deebd7caf42388f5ead3ce90d0ab12f6d7237f664aa5064b5bfd40dcb7879578dbeebb8af3ab8d278f094552904341c9f442f0
|
7
|
+
data.tar.gz: 20ee32de3d8bebf0f739658b49dce4986fe78f1ad37f5edf1a04f48853bd3f6e9abd7902db942639f4f7629aa005ae2b8e7581e7514db1806361b5947b83d76f
|
data/CHANGELOG.md
CHANGED
data/lib/ruby_http_client.rb
CHANGED
@@ -150,7 +150,7 @@ module SendGrid
|
|
150
150
|
request.body = @request_body.to_json if @request_body
|
151
151
|
if request.body
|
152
152
|
request['Content-Type'] = 'application/json'
|
153
|
-
elsif !request.body and (name == "post")
|
153
|
+
elsif !request.body and (name.to_s == "post")
|
154
154
|
request['Content-Type'] = ''
|
155
155
|
end
|
156
156
|
make_request(http, request)
|
data/ruby_http_client.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'ruby_http_client'
|
7
|
-
spec.version = '2.1.
|
7
|
+
spec.version = '2.1.3'
|
8
8
|
spec.authors = ['Elmer Thomas']
|
9
9
|
spec.email = 'dx@sendgrid.com'
|
10
10
|
spec.summary = 'A simple REST client'
|