[Xfce4-commits] <moka:nick/maintainer-improvements> drop goodies group
Nick Schermer
noreply at xfce.org
Thu Oct 6 22:22:01 CEST 2011
Updating branch refs/heads/nick/maintainer-improvements
to d3e2e0e2c1206c69b2d94ae986a92f501151d00a (commit)
from e99864e83fbf49ab98b2d9713d235dcc9aa29e00 (commit)
commit d3e2e0e2c1206c69b2d94ae986a92f501151d00a
Author: Nick Schermer <nick at xfce.org>
Date: Wed Oct 5 20:59:32 2011 +0200
drop goodies group
examples/one-man-one-project/config.ru | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/examples/one-man-one-project/config.ru b/examples/one-man-one-project/config.ru
index d6d5e2f..2d56893 100755
--- a/examples/one-man-one-project/config.ru
+++ b/examples/one-man-one-project/config.ru
@@ -88,25 +88,12 @@ end
DataMapper.auto_upgrade!
DataMapper.finalize
-# create dummy roles
-#admin = Moka::Models::Role.first_or_create(:name => 'admin')
-#admin.save
-
-#goodies = Moka::Models::Role.first_or_create(:name => 'goodies')
-#goodies.save
-
admin = Moka::Models::Role.first_or_create(
{ :name => 'admin' },
{ :description => "Administrator" }
)
admin.save
-goodies = Moka::Models::Role.first_or_create(
- { :name => 'goodies' },
- { :description => "Goodies Maintainer" }
-)
-goodies.save
-
# create dummy user
nick = Moka::Models::Maintainer.first_or_create(
{ :username => 'nick' },
@@ -116,7 +103,6 @@ nick = Moka::Models::Maintainer.first_or_create(
:active => true }
)
nick.roles << admin
-nick.roles << goodies
nick.save
jannis = Moka::Models::Maintainer.first_or_create(
@@ -126,7 +112,6 @@ jannis = Moka::Models::Maintainer.first_or_create(
:email => 'jannis at xfce.org',
:active => true }
)
-jannis.roles << goodies
jannis.save
jeromeg = Moka::Models::Maintainer.first_or_create(
@@ -136,7 +121,6 @@ jeromeg = Moka::Models::Maintainer.first_or_create(
:email => 'jeromeg at xfce.org',
:active => false }
)
-jeromeg.roles << goodies
jeromeg.save
panel = Moka::Models::Project.first_or_create(
More information about the Xfce4-commits
mailing list