Sha256: 433ad0377dd5df474e1d3b58e5a33a55387516a0886b516819d42d3946d4f23f

Contents?: true

Size: 492 Bytes

Versions: 22

Compression:

Stored size: 492 Bytes

Contents

require 'minitest'
require 'minitest/unit'
require 'minitest/autorun'
require 'minitest/pride'
require 'redis'
require 'logster'
require 'logster/base_store'

class Logster::TestStore < Logster::BaseStore
  attr_accessor :reported
  def initialize
    @reported = []
  end

  def save(message)
    @reported << message
  end

  def count
    @reported.count
  end

  def clear
    @reported = []
  end

  def clear_all
    @reported = []
  end

  # get, protect, unprotect: unimplemented
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
logster-1.0.1 test/test_helper.rb
logster-1.0.0.3.pre test/test_helper.rb
logster-1.0.0.2.pre test/test_helper.rb
logster-1.0.0.1.pre test/test_helper.rb
logster-1.0.0.0.pre test/test_helper.rb
logster-0.9.9 test/test_helper.rb
logster-0.8.4.8.pre test/test_helper.rb
logster-0.8.4.7.pre test/test_helper.rb
logster-0.8.4.6.pre test/test_helper.rb
logster-0.8.4.5.pre test/test_helper.rb
logster-0.8.4.4.pre test/test_helper.rb
logster-0.8.4.3.pre test/test_helper.rb
logster-0.8.4.2.pre test/test_helper.rb
logster-0.8.4.1.pre test/test_helper.rb
logster-0.8.4.pre test/test_helper.rb
logster-0.8.3 test/test_helper.rb
logster-0.8.2 test/test_helper.rb
logster-0.8.1 test/test_helper.rb
logster-0.8.0 test/test_helper.rb
logster-0.1.8 test/test_helper.rb