Sha256: efdf0a9c8d00aa57793218706366283b34fc5bc29a50feadac48c0a4f351d06b

Contents?: true

Size: 568 Bytes

Versions: 14

Compression:

Stored size: 568 Bytes

Contents

require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]
SimpleCov.start

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

14 entries across 14 versions & 5 rubygems

Version Path
font-awesome-rails-3.1.1.2 vendor/ruby/1.9.1/gems/multi_json-1.7.2/spec/helper.rb
vagrant-shell-0.2.6 vendor/bundle/gems/multi_json-1.7.2/spec/helper.rb
font-awesome-rails-3.1.1.1 vendor/ruby/1.9.1/gems/multi_json-1.7.2/spec/helper.rb
challah-1.0.0.beta3 vendor/bundle/gems/multi_json-1.7.2/spec/helper.rb
vagrant-shell-0.2.5 vendor/bundle/gems/multi_json-1.7.2/spec/helper.rb
fc-webicons-0.0.4 vendor/bundle/ruby/1.9.1/gems/multi_json-1.7.2/spec/helper.rb
challah-1.0.0.beta2 vendor/bundle/gems/multi_json-1.7.2/spec/helper.rb
challah-1.0.0.beta vendor/bundle/gems/multi_json-1.7.2/spec/helper.rb
fc-webicons-0.0.3 vendor/bundle/ruby/1.9.1/gems/multi_json-1.7.2/spec/helper.rb
fc-webicons-0.0.2 vendor/bundle/ruby/1.9.1/gems/multi_json-1.7.2/spec/helper.rb
fc-webicons-0.0.1 vendor/bundle/ruby/1.9.1/gems/multi_json-1.7.2/spec/helper.rb
multi_json-1.7.2 spec/helper.rb
multi_json-1.7.1 spec/helper.rb
multi_json-1.7.0 spec/helper.rb