Sha256: f8d0bf705f4227037b492bc3338abba05376197f6e554b46454099b0bc2cb6c1

Contents?: true

Size: 953 Bytes

Versions: 15

Compression:

Stored size: 953 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

if ENV['SIMPLE_COV']
  require 'simplecov'
  require 'simplecov-vim/formatter'
  class SimpleCov::Formatter::MergedFormatter
    def format(result)
      SimpleCov::Formatter::HTMLFormatter.new.format(result)
      SimpleCov::Formatter::VimFormatter.new.format(result)
    end
  end
  SimpleCov.start do
    formatter SimpleCov::Formatter::MergedFormatter
    add_filter 'spec/'
    add_filter 'test/'
    add_filter 'pkg/'
    add_filter 'vendor/'
  end
end

require 'rspec'
require 'rspec/its'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

require 'fluent-logger'

RSpec.configure do |config|
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true

  config.mock_with :rspec
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
fluent-logger-0.9.1 spec/spec_helper.rb
fluent-logger-0.9.0 spec/spec_helper.rb
fluent-logger-0.8.2 spec/spec_helper.rb
fluent-logger-0.8.1 spec/spec_helper.rb
fluent-logger-0.8.0 spec/spec_helper.rb
fluent-logger-0.7.2 spec/spec_helper.rb
fluent-logger-0.7.1 spec/spec_helper.rb
fluent-logger-0.7.0 spec/spec_helper.rb
fluent-logger-0.6.3 spec/spec_helper.rb
fluent-logger-0.6.2 spec/spec_helper.rb
fluent-logger-0.6.1 spec/spec_helper.rb
fluent-logger-0.6.0 spec/spec_helper.rb
fluent-logger-0.5.1 spec/spec_helper.rb
fluent-logger-0.5.0 spec/spec_helper.rb
fluent-logger-0.4.10 spec/spec_helper.rb