openfire_api_ruby 0.2.4 → 0.2.5

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: 6231b02f47237f50d3329096bd0240415b126f04
4
- data.tar.gz: 1cf393de14d5ab9c485cd608ff96f20500f19996
3
+ metadata.gz: 5b0770b4e27d051167a8c5751012fc20af4fa3d2
4
+ data.tar.gz: d5026f9081c2358e9f17a1f49421b60fe6cca284
5
5
  SHA512:
6
- metadata.gz: 4dd5ebfc2a9b104443bf7c567ede9fc3f584888b5a4e62559f3bd7cc0e570ed33ade78d06c77583452ad52093f27ccda972b80452042167380ba84023f3c4883
7
- data.tar.gz: 42400fe3bcb599fbcd3298f2d6f0a572700b1578af5722b9e1af2365522d7d9d705a83414a740067cd02f9b7e7bf03c9eb35591fd3b880abe63e84241958c7f5
6
+ metadata.gz: c97db2df8ef3d3b5fbd5da79b78c388e949fb207916e6e07e14c09144bb2e761667d058bbbafb3f6144a94e5d3f55b3e20161f8dd7c173fa355805117db590f6
7
+ data.tar.gz: 5a1c656b88b75508df004ddeeec951382e52649f68ad62c6ec229ee016c7d46cc15b031634923aabe61681d8d159a7483113b7234ae06df064f8bf94643c5cd8
@@ -61,9 +61,8 @@ private
61
61
  #res = Net::HTTP.start(uri.host, uri.port) do |http|
62
62
  # http.get("#{uri}?#{params}")
63
63
  #end
64
- req = Net::HTTP::Get.new("#{uri.path}?#{params}")
65
- res = Net::HTTP.start(uri.host, uri.port) {|http|
66
- http.request(req)}
64
+ res = Net::HTTP.get("#{uri.path}?#{params}")
65
+
67
66
  return res.body
68
67
  rescue Exception => e
69
68
  raise HTTPException, e.to_s
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.4"
8
+ s.version = "0.2.5"
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.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Asmuth, Babu