statement 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Statement
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
data/lib/statement.rb CHANGED
@@ -160,7 +160,6 @@ module Statement
160
160
  def self.freshman_senators
161
161
  results = []
162
162
  ['baldwin', 'flake', 'hirono','heinrich','murphy','scott','king','heitkamp','cruz','kaine'].each do |senator|
163
- puts senator
164
163
  base_url = "http://www.#{senator}.senate.gov/"
165
164
  doc = Statement::Link.open_html(base_url+'press.cfm?maxrows=200&startrow=1&&type=1')
166
165
  return if doc.nil?
@@ -271,7 +270,7 @@ module Statement
271
270
  results
272
271
  end
273
272
 
274
- def self.vitter_cowan_donnelly(year=Date.today.year)
273
+ def self.vitter_cowan(year=Date.today.year)
275
274
  results = []
276
275
  urls = ["http://www.vitter.senate.gov/newsroom/", "http://www.cowan.senate.gov/"]
277
276
  urls.each do |url|
@@ -293,7 +292,7 @@ module Statement
293
292
 
294
293
  def self.donnelly(year=Date.today.year)
295
294
  results = []
296
- url = "http://www.donnelly.senate.gov/newsroom/press?year=2013"
295
+ url = "http://www.donnelly.senate.gov/newsroom/"
297
296
  domain = "www.donnelly.senate.gov"
298
297
  doc = open_html(url+"press?year=#{year}")
299
298
  return if doc.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statement
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  segments:
131
131
  - 0
132
- hash: 719456909496080743
132
+ hash: -711240942217617156
133
133
  required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  none: false
135
135
  requirements:
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  segments:
140
140
  - 0
141
- hash: 719456909496080743
141
+ hash: -711240942217617156
142
142
  requirements: []
143
143
  rubyforge_project:
144
144
  rubygems_version: 1.8.24