lib/gitolite/config/repo.rb in gitolite-0.0.3.alpha vs lib/gitolite/config/repo.rb in gitolite-1.0.0

- old
+ new

@@ -1,12 +1,10 @@ -require 'hashery' - module Gitolite class Config #Represents a repo inside the gitolite configuration. The name, permissions, and git config #options are all encapsulated in this class class Repo - ALLOWED_PERMISSIONS = /-|R|RW+?C?D?/ + ALLOWED_PERMISSIONS = /-|C|R|RW\+?(?:C?D?|D?C?)M?/ attr_accessor :permissions, :name, :config, :owner, :description def initialize(name) #Store the perm hash in a lambda since we have to create a new one on every deny rule