From 8c83e7a78385da8d15d274ee86f126a27f4763c7 Mon Sep 17 00:00:00 2001 From: Azul Date: Sun, 22 Dec 2013 15:58:21 +0100 Subject: Version 0.3.1 with new flags --run-once, --rerun and --overwrite-security --run-once will exit once all current changes have been processed --rerun will process all users again even those that were processed before --overwrite-security will overwrite security for user databases even if it has been set before. --- lib/tapicero.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/tapicero.rb') diff --git a/lib/tapicero.rb b/lib/tapicero.rb index 3923c65..e2a8f38 100644 --- a/lib/tapicero.rb +++ b/lib/tapicero.rb @@ -22,6 +22,10 @@ module Tapicero self.config = CouchRest::Changes::Config.load(BASE_DIR, *configs) self.logger = CouchRest::Changes::Config.logger + # hand flags over to CouchRest::Changes + config.flags = FLAGS + puts "flags: #{FLAGS}" if FLAGS.any? + # # Load Tapicero Parts # -- cgit v1.2.3