diff options
author | Azul <azul@riseup.net> | 2013-09-11 08:58:13 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2013-09-11 08:58:13 +0200 |
commit | 929fcdea37f92f6b175482c6e0d1b8ff3229854f (patch) | |
tree | 999658e896f1fd5d6f8ac1d2909d8fb300d19482 /lib/tapicero_daemon.rb | |
parent | 21fb605e3a57455e4a46c495ffcf36502f8fd1b9 (diff) |
use password and username from the config file
Diffstat (limited to 'lib/tapicero_daemon.rb')
-rw-r--r-- | lib/tapicero_daemon.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tapicero_daemon.rb b/lib/tapicero_daemon.rb index 330bba6..52e60e3 100644 --- a/lib/tapicero_daemon.rb +++ b/lib/tapicero_daemon.rb @@ -8,9 +8,9 @@ require 'tapicero' module Tapicero - puts " * Observing #{Config.couch_host}" + puts " * Observing #{Config.couch_host_without_password}" puts " * Tracking #{Config.users_db_name}" - stream = CouchStream.new(Config.couch_host + Config.users_db_name) + stream = CouchStream.new(Config.couch_host + '/' + Config.users_db_name) users = CouchChanges.new(stream) creator = CouchDatabaseCreator.new(Config.couch_host) users.created do |hash| |