ContactCongressParser

Parses contact-congress member files into ruby code runable with the conformity gem.

Installation

$ gem install contact_congress_parser

Usage

require 'contact_congress_parser'

member_file = File.read(path_to_member_file)
parsed_form = ContactCongressParser.parse_form(member_file)

require 'conformity'
form = eval(parsed_form) # runs! but you should probably write it to a file instead

Contributing

  1. Fork it ( http://github.com//contact_congress_parser/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request