Growing up: Reorganize, refactor, add tests
authorChristian Johansen <christian@gitorious.com>
Tue, 11 Sep 2012 12:36:58 +0000 (14:36 +0200)
committerChristian Johansen <christian@gitorious.com>
Tue, 11 Sep 2012 12:36:58 +0000 (14:36 +0200)
commit4a05e15116878f155318ac00452f8ab3c7640ae6
tree60c31b718943e496887cdb8b99fbfbd5b3d66733
parent28420b0ea51dd5747ab60e111783c0e01d8df61e
Growing up: Reorganize, refactor, add tests

  - Added bin/moron, which replaces previous .ru file
  - Renamed several classes to better describe their functionality
  - Landed a directory structure that maps directly to module names
  - Added more unit tests
22 files changed:
bin/moron [new file with mode: 0644]
config.ru [deleted file]
lib/moron/git/file_system_repository_resolver.rb
lib/moron/git/repository.rb
lib/moron/repo_actions.rb [new file with mode: 0644]
lib/moron/server.rb [deleted file]
lib/moron/server/sinatra_server.rb [deleted file]
lib/moron/sinatra/actions.rb [new file with mode: 0644]
lib/moron/sinatra/base.rb [new file with mode: 0644]
lib/moron/sinatra/multi_repo_browser.rb [new file with mode: 0644]
lib/moron/sinatra/single_repo_browser.rb [new file with mode: 0644]
lib/moron/version.rb
moron.gemspec
test/moron/blob_test.rb [deleted file]
test/moron/git/blob_test.rb [new file with mode: 0644]
test/moron/git/git_shell_test.rb [new file with mode: 0644]
test/moron/git/repository_test.rb [new file with mode: 0644]
test/moron/git_shell_test.rb [deleted file]
test/moron/repo_actions_test.rb [new file with mode: 0644]
test/moron/repository_test.rb [deleted file]
test/moron/sinatra/actions_test.rb [new file with mode: 0644]
test/moron/views/blob_test.rb