ruby_http_client 2.1.1 → 2.1.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ruby_http_client.rb +1 -1
- data/ruby_http_client.gemspec +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: 4ea208bc083d3c3426b1ac7908f22829bb4da070
|
|
4
|
+
data.tar.gz: c8a5379d680aa016826f32479e02dbc6683d82d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6dea8b993d4b25db42ae522a6228adeacc3a5305153737485ac6a83f9e6c06cb2e7a577a64711fab3fc1c07c168d656a702cff1ad959d57fddd72e11d2e9e99e
|
|
7
|
+
data.tar.gz: 0eea1d967840875ca249730fb0fa47abf1d8702c22bd5153e470d9be9d6398187a9b5076aeb0193fd9f097b07769bf80a38077b1eb7b47ca86713e8640e6ca1f
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
|
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
|
6
|
+
## [2.1.2] - 2016-06-14
|
|
7
|
+
### Fix
|
|
8
|
+
- Typo in 2.1.1 fix
|
|
9
|
+
|
|
6
10
|
## [2.1.1] - 2016-06-10
|
|
7
11
|
### Fix
|
|
8
12
|
- Deal with an edge case where when you send a POST with no body, net/http sets the content type to application/x-www-form-urlencoded
|
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
|
|
153
|
+
elsif !request.body and (name == "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.2'
|
|
8
8
|
spec.authors = ['Elmer Thomas']
|
|
9
9
|
spec.email = 'dx@sendgrid.com'
|
|
10
10
|
spec.summary = 'A simple REST client'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby_http_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elmer Thomas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-06-
|
|
11
|
+
date: 2016-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|