summaryrefslogtreecommitdiff
path: root/lib/tapicero.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2013-12-22 15:58:21 +0100
committerAzul <azul@riseup.net>2013-12-22 15:58:21 +0100
commit8c83e7a78385da8d15d274ee86f126a27f4763c7 (patch)
treec0a2e322b8f1bff68ba439e80e770f5fd3a2a15e /lib/tapicero.rb
parent12dbeefe693e5432416ec8019368e591c526736b (diff)
Version 0.3.1 with new flags --run-once, --rerun and --overwrite-security0.3.1
--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.
Diffstat (limited to 'lib/tapicero.rb')
-rw-r--r--lib/tapicero.rb4
1 files changed, 4 insertions, 0 deletions
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
#