votesmart 0.3.2 → 0.3.3

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.
@@ -1,3 +1,8 @@
1
+ == 0.3.3 2010-10-06
2
+
3
+ * 1 minor enhancement:
4
+ * Rate-limit parallel requests to 20/second. Note that higher rates is acceptable for off hours, as per Clinton Adams, 2010-10-06: "Could you lower that to 20/second if it's occurring between 8AM-8PM EST? In the off hours 200/second is fine."
5
+
1
6
  == 0.3.2 2010-10-05
2
7
 
3
8
  * 1 major enhancement
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 2
2
+ :patch: 3
3
3
  :build:
4
4
  :major: 0
5
5
  :minor: 3
@@ -6,7 +6,7 @@ require 'ym4r/google_maps/geocoding'
6
6
  module VoteSmart
7
7
  module ParallelQueries
8
8
  def session
9
- @session ||= Typhoeus::Hydra.new
9
+ @session ||= Typhoeus::Hydra.new(:max_concurrency => 20)
10
10
  end
11
11
 
12
12
  def request(api_method, params = {})
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{votesmart}
8
- s.version = "0.3.2"
8
+ s.version = "0.3.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dan Cunning", "Ben Woosley"]
12
- s.date = %q{2010-10-05}
12
+ s.date = %q{2010-10-06}
13
13
  s.description = %q{A wrapper for the Project Vote Smart API}
14
14
  s.email = %q{ben.woosley@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: votesmart
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dan Cunning
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-10-05 00:00:00 -07:00
19
+ date: 2010-10-06 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency