lib/cohortly/engine.rb in cohortly-0.0.9.1 vs lib/cohortly/engine.rb in cohortly-0.0.92

- old
+ new

@@ -7,11 +7,13 @@ conf = YAML.load_file(config_file)[Rails.env] conf.keys.each { |k| cfg.send("#{k}=", conf[k]) } Cohortly::Metric.connection Mongo::Connection.new(cfg.host, cfg.port) Cohortly::Metric.set_database_name cfg.database Cohortly::Metric.database.authenticate(cfg.username, cfg.password) if(cfg.password) - Cohortly::ReportMeta.connection Cohortly::Metric.connection - Cohortly::ReportMeta.set_database_name cfg.database + Cohortly::TagReport.connection Cohortly::Metric.connection + Cohortly::TagReport.set_database_name cfg.database + Cohortly::UserCohort.connection Cohortly::Metric.connection + Cohortly::UserCohort.set_database_name cfg.database end end Cohortly::StoredProcedures.store_procedures end end