Skip to content

Commit

Permalink
Version bump to v0.1.12
Browse files Browse the repository at this point in the history
Fix request helper for get requests to build URI based on how API expects it
  • Loading branch information
abrom committed Aug 27, 2017
1 parent 734777b commit 00b6b67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rocket_chat/gem_version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RocketChat
VERSION = '0.1.11'.freeze
VERSION = '0.1.12'.freeze
end
2 changes: 1 addition & 1 deletion lib/rocket_chat/request_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def create_request(path, options)
add_body(req, body) if body
else
uri = path
uri += '?' + URI.encode_www_form(body) if body
uri += '?' + body.map { |k, v| "#{k}=#{v}" }.join('&') if body
req = Net::HTTP::Get.new(uri, headers)
end

Expand Down

0 comments on commit 00b6b67

Please sign in to comment.