Sha256: b8d10d6754b6bb7009e32c54d203e7ce90625b6a57e0015cafd52a98bd812463

Contents?: true

Size: 575 Bytes

Versions: 8

Compression:

Stored size: 575 Bytes

Contents

module MongodbLogger
  class Application
  end
end

class Rails
  module VERSION
    MAJOR = 3
  end

  def self.env
    ActiveSupport::StringInquirer.new("test")
  end

  def self.root
    Pathname.new(File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "tmp")))
  end

  def self.application
    MongodbLogger::Application.new
  end

  def self.logger
    MongodbLogger::Logger.new
  end
end

module ActiveRecord
  class LogSubscriber
    def self.colorize_logging
      true
    end
  end

  class Base
    def self.colorize_logging
      true
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mongodb_logger-0.6.4 spec/support/rails.rb
mongodb_logger-0.6.3 spec/support/rails.rb
mongodb_logger-0.6.2 spec/support/rails.rb
mongodb_logger-0.6.1 spec/support/rails.rb
mongodb_logger-0.6.0 spec/support/rails.rb
mongodb_logger-0.5.2 spec/support/rails.rb
mongodb_logger-0.5.1 spec/support/rails.rb
mongodb_logger-0.5.0 spec/support/rails.rb