silver_spurs 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,6 +8,7 @@ module SilverSpurs
8
8
  class Client
9
9
  def initialize(host_url, options={})
10
10
  @host_url = host_url
11
+ @timeout = options[:timeout] || 60 * 60
11
12
  end
12
13
 
13
14
  def bootstrap(ip, node_name, options = {})
@@ -35,7 +36,7 @@ module SilverSpurs
35
36
  end
36
37
 
37
38
  def spur_host
38
- RestClient::Resource.new(@host_url, :timeout => 15 * 60)
39
+ RestClient::Resource.new(@host_url, :timeout => @timeout)
39
40
  end
40
41
 
41
42
  end
@@ -1,3 +1,3 @@
1
1
  module SilverSpurs
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: silver_spurs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: