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

Version Path
scout-5.9.13 vendor/multi_json/spec/helper.rb
scout-5.9.12 vendor/multi_json/spec/helper.rb
scout-5.9.11 vendor/multi_json/spec/helper.rb
scout-5.9.10.pre vendor/multi_json/spec/helper.rb
scout-5.9.8 vendor/multi_json/spec/helper.rb
scout-5.9.7.2.pre vendor/multi_json/spec/helper.rb
scout-5.9.8.pre vendor/multi_json/spec/helper.rb
scout-5.9.7.1 vendor/multi_json/spec/helper.rb
scout-5.9.7.pre vendor/multi_json/spec/helper.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/multi_json-1.7.9/spec/helper.rb
scout-5.9.5 vendor/multi_json/spec/helper.rb
scout-5.9.4 vendor/multi_json/spec/helper.rb
scout-5.9.4.pre vendor/multi_json/spec/helper.rb
scout-5.9.3 vendor/multi_json/spec/helper.rb
scout-5.9.2 vendor/multi_json/spec/helper.rb
scout-5.9.1 vendor/multi_json/spec/helper.rb
scout-5.9.1.pre vendor/multi_json/spec/helper.rb
scout-5.9.0 vendor/multi_json/spec/helper.rb
scout-5.9.0.pre vendor/multi_json/spec/helper.rb
scout-5.8.9 vendor/multi_json/spec/helper.rb