openfire_api_ruby 0.2.6 → 0.2.7

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
  SHA1:
3
- metadata.gz: 7493feeb6593da96928bb4ab9874f242a4a6a476
4
- data.tar.gz: 201223a6bb1fa658a203c44e74d96d4d68d3ec60
3
+ metadata.gz: 922b17e785b0815d923c70f06dbd6c26c232aa6d
4
+ data.tar.gz: 12161b7a81100cc62683857a24b4f94da926c0ca
5
5
  SHA512:
6
- metadata.gz: 8b7c20eb10b392b99bba3a0c200a4b9564cfb5c096b6d2fb1e046c7b097c52dc630a2ac796792b7bef708ba915fbce9c09a40c9fb5a563664207cf2ef76fda2a
7
- data.tar.gz: 83cdc7f5739e5890c7493f2164ef529976da36bb7e1ee654c8aed4726a207640ef5e7234c6106e6bc0861a8209b2ee4788a5c3d1916b6512a0e0f0ef9b46edf4
6
+ metadata.gz: 7b421a36c16e48eda6c8052b8fd0745db6b8d8e50565f6c32933c6687e86dbef1bc3a88dc2d198944096672f9c8224b8673ebf2b30db214049aa515de016b26b
7
+ data.tar.gz: c3df660d6524b6f61e712db40e9086111b2992388884eda5e6fe0b2e0f7f5fb8f3c56804ec6e47e558855cd2bd210333524a9afc6337069ff048b870ad24a262
@@ -61,7 +61,7 @@ private
61
61
  #res = Net::HTTP.start(uri.host, uri.port) do |http|
62
62
  # http.get("#{uri}?#{params}")
63
63
  #end
64
- res = Net::HTTP.get("#{uri.to_s}?#{params}")
64
+ res = Net::HTTP.get("#{uri.host}", "#{uri.path}?#{params}","#{uri.port}")
65
65
 
66
66
  return res.body
67
67
  rescue Exception => e
data/openfire_api.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{openfire_api_ruby}
8
- s.version = "0.2.6"
8
+ s.version = "0.2.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paul Asmuth, Babu"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openfire_api_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Asmuth, Babu