skryl/qbwc — pull request #2 by rposborne (2012-01-03 20:23:38+00:00)
Title: Refactoring For Gem / Config Initializer

What was done:

Build out Gemspec
Refactored to use a application initializer.

Everything that previous needed to be changed has been moved into the initializer.

templates.rb now calls two procs that reside in qbwc.rb for :quickbooks_sync and :qucikbooks_single_records_sync.

You should be able copy and paste almost all your code into the initializer with no issue.

Hopefully this addition will attract some more people as it significantly lowers the barrier to entry.