myl-fech 1.0.4 → 1.0.5

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.
data/README.rdoc CHANGED
@@ -9,7 +9,7 @@ Fech makes it easy to parse electronic campaign finance filings[http://www.fec.g
9
9
 
10
10
  NOTE: You're looking at the Make Your Laws fork of New York Times' Fech gem. It has bugfixes and features that NYT's doesn't. Take a look at the commit history / network graph.
11
11
 
12
- Latest (myl-fech) version: 1.0.4
12
+ Latest (myl-fech) version: 1.0.5
13
13
 
14
14
 
15
15
  Fech is tested under Ruby versions 1.8.7, 1.9.2 and 1.9.3.
@@ -20,6 +20,7 @@ Can be found at Fech's Github page[http://nytimes.github.com/Fech/].
20
20
 
21
21
  == News
22
22
 
23
+ * July 11, 2012: Through version 1.0.5: bug fixes for date translation and f99 handling; Fech::Filing.download_all and .for_each; 'f1xnadasfej' => :f1x with Fech.base_type; Fech::Filing.readable? and FIRST_V3_FILING; named VersionError on failed parsing
23
24
  * June 16, 2012: Version 1.0.1 released. Bug-fix for older Form 2 support.
24
25
  * April 11, 2012: Version 1.0.0 released! Support for Ruby 1.9.3 added, all form types supported.
25
26
  * April 9, 2012: Version 1.0.0.rc1 released. Release candidate with backwards-incompatible change (renaming zip attribute to zip_code).
data/lib/fech/filing.rb CHANGED
@@ -324,7 +324,7 @@ module Fech
324
324
  end
325
325
 
326
326
  # If this is an F99, we need to parse it differently.
327
- resave_f99_contents if form_type == 'F99'
327
+ resave_f99_contents if ['F99', '"F99"'].include? form_type
328
328
 
329
329
  c = 0
330
330
  @csv_parser.parse_row(@customized ? custom_file_path : file_path, :col_sep => delimiter, :quote_char => @quote_char, :skip_blanks => true) do |row|
data/lib/fech/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fech
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myl-fech
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: