Configuration: Refactor, add tests
authorChristian Johansen <christian@gitorious.com>
Sun, 11 Nov 2012 00:51:58 +0000 (01:51 +0100)
committerChristian Johansen <christian@gitorious.com>
Sun, 11 Nov 2012 00:51:58 +0000 (01:51 +0100)
commit95c9253d002a5e8ca8f389d0e397be9deaeaae7f
treed2e065236adef7acbb4a4700b7eb448c5de83aa8
parent7f4206af614e93d3be2659bbd8ff28202a103ce0
Configuration: Refactor, add tests

  - Introduce new micro tests that don't load Rails
  - Add tests for Gitorious::Configuration
  - Refactor implementation
15 files changed:
Gemfile
Gemfile.lock
bin/micro-tests [new file with mode: 0755]
config/initializers/gitorious_config.rb
lib/gitorious.rb
lib/gitorious/configurable.rb [new file with mode: 0644]
lib/gitorious/configuration.rb [deleted file]
lib/gitorious/url.rb
lib/tasks/micro_tests.rake [new file with mode: 0644]
lib/tasks/slow_tests.rake
lib/tasks/test.rake [new file with mode: 0644]
test/micro/Readme.md [new file with mode: 0644]
test/micro/gitorious/configuration_test.rb [new file with mode: 0644]
test/micro/gitorious/url_test.rb [new file with mode: 0644]
test/micro/gitorious_test.rb [new file with mode: 0644]