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
- Fork it ( http://github.com/
/contact_congress_parser/fork ) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request