Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-14 00:11:56 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-14 00:11:56 +0400
commita85e11fa51497888684f247bc09450cbcc67a058 (patch)
tree28f51a973614557362495cf80b1d3a6fc40b6872 /lib/gitlab/seeder.rb
parentf0a6fbaae3b8d06c43eef6879afbcbbfdca52f1d (diff)
Improved seeds for development env
Diffstat (limited to 'lib/gitlab/seeder.rb')
-rw-r--r--lib/gitlab/seeder.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/gitlab/seeder.rb b/lib/gitlab/seeder.rb
new file mode 100644
index 00000000000..3aa3b2ba1e9
--- /dev/null
+++ b/lib/gitlab/seeder.rb
@@ -0,0 +1,10 @@
+module Gitlab
+ class Seeder
+ def self.quiet
+ SeedFu.quiet = true
+ yield
+ SeedFu.quiet = false
+ puts "\nOK".green
+ end
+ end
+end