Make available licenses configurable
authorChristian Johansen <christian@gitorious.org>
Wed, 5 Oct 2011 11:11:14 +0000 (13:11 +0200)
committerChristian Johansen <christian@gitorious.org>
Wed, 5 Oct 2011 11:11:14 +0000 (13:11 +0200)
commit521d308c41834ded3ca54dfc3995327042f317d0
tree67514955f6cedfcc8311424e2d2e6f184876b399
parent987bdf6c3f283654b1523de213cbe9320d6975ae
Make available licenses configurable

- Load licenses from the gitorious.yml setting 'license' if provided
- The setting can be an array, or a hash (in which case licenses can
  come with a description)
app/models/project_license.rb
config/gitorious.sample.yml
test/unit/project_license_test.rb