biller_bot_resource 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,8 @@
1
1
  class BillerBotResource::Configuration
2
- attr_accessor :site, :logger, :api_key
2
+ attr_accessor :site, :logger, :api_key, :timeout
3
3
 
4
4
  def initialize
5
5
  self.site = "https://billerbot.com"
6
+ self.timeout = 10 # seconds. Low value so we fail fast
6
7
  end
7
8
  end
@@ -10,6 +10,7 @@ class BillerBotResource::Resource < ActiveResource::Base
10
10
 
11
11
  self.site = config.site
12
12
  self.logger = config.logger if config.logger
13
+ self.timeout = config.timeout
13
14
  end
14
15
 
15
16
  def self.config
@@ -1,3 +1,3 @@
1
1
  module BillerBotResource
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,8 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biller_bot_resource
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.0.3
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 4
9
+ version: 0.0.4
6
10
  platform: ruby
7
11
  authors:
8
12
  - Brad Seefeld
@@ -10,7 +14,8 @@ autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
16
 
13
- date: 2013-05-04 00:00:00 Z
17
+ date: 2013-05-13 00:00:00 -07:00
18
+ default_executable:
14
19
  dependencies: []
15
20
 
16
21
  description: Provides a set of Ruby classes for interacting with the BillerBot API
@@ -37,6 +42,7 @@ files:
37
42
  - lib/biller_bot_resource/product.rb
38
43
  - lib/biller_bot_resource/resource.rb
39
44
  - lib/biller_bot_resource/version.rb
45
+ has_rdoc: true
40
46
  homepage: https://github.com/bradseefeld/biller_bot_resource
41
47
  licenses: []
42
48
 
@@ -46,21 +52,23 @@ rdoc_options: []
46
52
  require_paths:
47
53
  - lib
48
54
  required_ruby_version: !ruby/object:Gem::Requirement
49
- none: false
50
55
  requirements:
51
56
  - - ">="
52
57
  - !ruby/object:Gem::Version
58
+ segments:
59
+ - 0
53
60
  version: "0"
54
61
  required_rubygems_version: !ruby/object:Gem::Requirement
55
- none: false
56
62
  requirements:
57
63
  - - ">="
58
64
  - !ruby/object:Gem::Version
65
+ segments:
66
+ - 0
59
67
  version: "0"
60
68
  requirements: []
61
69
 
62
70
  rubyforge_project: biller_bot_resource
63
- rubygems_version: 1.8.25
71
+ rubygems_version: 1.3.6
64
72
  signing_key:
65
73
  specification_version: 3
66
74
  summary: Common resources for the BillerBot API