simple_worker 2.0.8 → 2.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/simple_worker/uber_client.rb +2 -2
  2. metadata +11 -11
@@ -68,7 +68,7 @@ module Uber
68
68
 
69
69
  def get(url, req_hash={})
70
70
  if Uber.gem == :typhoeus
71
- req_hash[:connect_timeout] = 1000
71
+ req_hash[:connect_timeout] = 5000
72
72
  req_hash[:timeout] ||= 10000
73
73
  # puts "REQ_HASH=" + req_hash.inspect
74
74
  response = Typhoeus::Request.get(url, req_hash)
@@ -92,7 +92,7 @@ module Uber
92
92
  def post(url, req_hash={})
93
93
  if Uber.gem == :typhoeus
94
94
  # todo: should change this timeout to longer if it's for posting file
95
- req_hash[:connect_timeout] = 1000
95
+ req_hash[:connect_timeout] = 5000
96
96
  req_hash[:timeout] ||= 10000
97
97
  # puts "REQ_HASH=" + req_hash.inspect
98
98
  response = Typhoeus::Request.post(url, req_hash)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_worker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-23 00:00:00.000000000 Z
12
+ date: 2011-11-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: zip
16
- requirement: &17865380 !ruby/object:Gem::Requirement
16
+ requirement: &11412580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *17865380
24
+ version_requirements: *11412580
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rest-client
27
- requirement: &17918820 !ruby/object:Gem::Requirement
27
+ requirement: &11436900 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *17918820
35
+ version_requirements: *11436900
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: zip
38
- requirement: &17917740 !ruby/object:Gem::Requirement
38
+ requirement: &11435060 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *17917740
46
+ version_requirements: *11435060
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rest-client
49
- requirement: &17930180 !ruby/object:Gem::Requirement
49
+ requirement: &11433880 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *17930180
57
+ version_requirements: *11433880
58
58
  description: The official SimpleWorker gem for http://www.simpleworker.com
59
59
  email: travis@appoxy.com
60
60
  executables: []
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  requirements: []
99
99
  rubyforge_project:
100
- rubygems_version: 1.8.8
100
+ rubygems_version: 1.8.11
101
101
  signing_key:
102
102
  specification_version: 3
103
103
  summary: The official SimpleWorker gem for http://www.simpleworker.com