Permalink
Browse files

Refactor genghis.rb

 * Move modeley things into Genghis::Models
 * Move helpers out of main file
 * Move Genghis to Genghis::Server for kicks
 * Add custom "not found" exception types, and throw 'em liberally
  • Loading branch information...
1 parent f1d0fbe commit 2a14255e464bb7e7f150b7d8b013f4b20210f047 @bobthecow bobthecow committed Sep 7, 2012
View
@@ -210,6 +210,9 @@ end
rb_include_files = FileList[
'src/rb/genghis/json.rb',
+ 'src/rb/genghis/errors.rb',
+ 'src/rb/genghis/models/**/*',
+ 'src/rb/genghis/helpers.rb',
'src/rb/genghis/server.rb',
]
asset_files = [tmp_dir+'index.html.mustache', tmp_dir+'error.html.mustache', tmp_dir+'style.css', tmp_dir+'script.js']
Oops, something went wrong.

0 comments on commit 2a14255

Please sign in to comment.