http-request 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,7 +80,7 @@ module HttpRequest
80
80
 
81
81
  # Build request
82
82
  req_klass = instance_eval("Net::HTTP::"+verb.to_s.capitalize)
83
- req = req_klass.new(uri.path, headers)
83
+ req = req_klass.new([uri.path, uri.query].join('?'), headers)
84
84
  req.body = body if !body.nil? && !body.empty?
85
85
 
86
86
  # Make the HTTP request
@@ -1,3 +1,3 @@
1
1
  module HttpRequest
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http-request
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: