Sha256: 24ec0b3695910eca273e0247e4c1c92c0f8e6aad83ecd6b0384ca53cbdef841c

Contents?: true

Size: 871 Bytes

Versions: 2

Compression:

Stored size: 871 Bytes

Contents

require "bundler/setup"
require 'rdf'
begin
  require 'simplecov'
  require 'simplecov-lcov'

  SimpleCov::Formatter::LcovFormatter.config do |config|
    #Coveralls is coverage by default/lcov. Send info results
    config.report_with_single_file = true
    config.single_report_path = 'coverage/lcov.info'
  end

  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
    SimpleCov::Formatter::HTMLFormatter,
    SimpleCov::Formatter::LcovFormatter
  ])
  SimpleCov.start do
    add_filter "matchers.rb"
    add_filter "inspects.rb"
  end
rescue LoadError
end
require 'rdf/spec'
require 'rdf/spec/matchers'

RSpec.configure do |config|
  config.include(RDF::Spec::Matchers)
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true
  config.exclusion_filter = {ruby: lambda { |version|
    RUBY_VERSION.to_s !~ /^#{version}/
  }}
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rdf-spec-3.3.0 spec/spec_helper.rb
rdf-spec-3.2.0 spec/spec_helper.rb