kis_http 0.1.2 → 0.2.0

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
  SHA256:
3
- metadata.gz: e462050de54a4e5bf86e942c09f2a1dfef091ff184831753efe7979a43bda04a
4
- data.tar.gz: c83398c835ba2c69d2ae1c89eb1b68203582d0c15070db188ddb490e04a92a01
3
+ metadata.gz: 9a9da174eb591385384a5561f61feac0587e893322a8c65db3e9b72102c2f896
4
+ data.tar.gz: b74aab0d033e8a13d6cf5bfba54ce5fe250f95c14744e832beff233dcb6fb63a
5
5
  SHA512:
6
- metadata.gz: 0e53ba97e3fc09e2aefe80e9ade3a67e3efd3b18e01ec03e4c0c4a539ef0136af20b37a49f30179d61fc8f3b930bd59f48677f77f83fcbf654b135954e55ce6c
7
- data.tar.gz: 0c6fe9f28be53bd188f13e17fed311f88c30a5955b2a038b6224302797546e96aeb14ebd5025543af7343e16dea9a632d820c026aea9bb7a03776a765197c6a4
6
+ metadata.gz: a54c6c6f99e990d0624ecd8c9dafc77a6e4e387f549fa58207400e79cb500c1ff74c759499fb96ebeacf1a2c66113d39d6443f8ad003a22f836446239ce4e011
7
+ data.tar.gz: bc546945dbb97b83fe5656860a6a3c01eefae324fc2353cc71644c8348f7d56fa2087e878eae5a36347325ac2f8631459e680e48a165f11eb2bb45a14ad510aa
@@ -39,7 +39,7 @@ module KisHttp
39
39
 
40
40
  KisHttp.Headers(headers).assign_each_to(request) if headers
41
41
 
42
- request.body = body ? JSON.generate(body) : ''
42
+ request.body = body
43
43
 
44
44
  http = Net::HTTP.new(uri.host, uri.port)
45
45
  http.use_ssl = (uri.scheme == 'https')
@@ -1,3 +1,3 @@
1
1
  module KisHttp
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.2.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kis_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel P. Clark