[Xfce4-commits] <moka:master> Small example improvement.
Nick Schermer
noreply at xfce.org
Sat Jul 13 17:52:01 CEST 2013
Updating branch refs/heads/master
to 02e3c25c5b8a28b1c1db507ced7a7559dc30f164 (commit)
from 8b985ac8ad941f5917590a51d7ed8a673a131fe5 (commit)
commit 02e3c25c5b8a28b1c1db507ced7a7559dc30f164
Author: Nick Schermer <nick at xfce.org>
Date: Sat Jul 13 17:50:49 2013 +0200
Small example improvement.
examples/gitolite/gitolite.rb | 2 +-
lib/moka.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/gitolite/gitolite.rb b/examples/gitolite/gitolite.rb
index fc1b5d6..215f5f9 100755
--- a/examples/gitolite/gitolite.rb
+++ b/examples/gitolite/gitolite.rb
@@ -16,4 +16,4 @@ Moka::Models::Configuration.load do |conf|
end
generator = Moka::Gitolite.new
-generator.run('/tmp/gitolitetest')
+generator.run('/tmp/gitolitetest', [ '/file/for/prefix1' , '/file/for/prefix2' ])
diff --git a/lib/moka.rb b/lib/moka.rb
index bf28b6d..8973936 100755
--- a/lib/moka.rb
+++ b/lib/moka.rb
@@ -4,7 +4,7 @@ require 'sass'
directory = File.expand_path(File.dirname(__FILE__))
-for n in ['archive', 'classification', 'collection', 'configuration', 'group', 'maintainer', 'project', 'role']
+for n in ['archive', 'autoindex', 'classification', 'collection', 'configuration', 'group', 'maintainer', 'project', 'role']
require File.join(directory, 'models', n)
end
More information about the Xfce4-commits
mailing list