Sha256: 1a31f08d3b6ddf82bff5547cb6dd38c51fbad10d3debae33ed3a9f34843e9cb5
Contents?: true
Size: 618 Bytes
Versions: 46
Compression:
Stored size: 618 Bytes
Contents
require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start do add_filter 'spec' add_filter 'vendor' end require 'multi_json' require 'rspec' RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = :expect end end def silence_warnings old_verbose, $VERBOSE = $VERBOSE, nil yield ensure $VERBOSE = old_verbose end def macruby? defined?(RUBY_ENGINE) && RUBY_ENGINE == 'macruby' end def jruby? defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' end
Version data entries
46 entries across 45 versions & 6 rubygems