mad_mimi_two 0.6.9 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,7 @@ require 'cgi'
2
2
  require 'rubygems'
3
3
  gem 'httpclient'
4
4
  require 'httpclient'
5
+ require 'httpclient/timeout'
5
6
  gem 'nokogiri'
6
7
  require 'nokogiri'
7
8
  class Hash
@@ -24,7 +25,7 @@ module MadMimiTwo
24
25
  def send_cmd(url)
25
26
  begin
26
27
  client= HTTPClient.new
27
- client.timeout(60)
28
+ client.receive_timeout(60)
28
29
  res=client.get_content(url)
29
30
  rescue HTTPClient::BadResponseError
30
31
  res="problem retrieving status: #{res.inspect}"
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 6
8
- - 9
9
- version: 0.6.9
7
+ - 7
8
+ - 0
9
+ version: 0.7.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - scott sproule