sf-instrumentation Remove logs_database from Database.connect

This seems completely broken in AR 4.2. Instead of setting up
configuration here, and then using a symbol for establishing the
connection ... we can just use the config hash in user space like
so:

[Log, Log::Part].each do |const|
const.establish_connection(config.logs_database)
end

Sven Fuchs authored and committed

Push event #365.3 passed

  • Ran for
AMD64
JDK: openjdk7 Ruby: jruby-19mode
Git
This is the configuration for all of build #365, including this job
The .travis.yml file used for this job is not available
Build Config
{
  "jdk": [
    "openjdk6",
    "openjdk7"
  ],
  "rvm": [
    2.2,
    "jruby-19mode",
    "jruby-head"
  ],
  "sudo": false,
  "cache": "bundler",
  "matrix": {
    "exclude": [
      {
        "jdk": "openjdk7",
        "rvm": 2.2
      },
      {
        "jdk": "oraclejdk7",
        "rvm": 2.2
      },
      {
        "jdk": "openjdk6",
        "rvm": "jruby-head"
      }
    ],
    "allow_failures": [
      {
        "jdk": "openjdk7",
        "rvm": "jruby-head"
      }
    ]
  },
  "script": "bundle exec rspec --require spec_helper",
  "language": "ruby",
  "services": [
    "rabbitmq"
  ]
}