Sha256: 628e790649901dea7fb590cd1406e853ab9d269c0554e7456e8e0a4c29dec715
Contents?: true
Size: 501 Bytes
Versions: 130
Compression:
Stored size: 501 Bytes
Contents
def jruby? defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' end def macruby? defined?(RUBY_ENGINE) && RUBY_ENGINE == 'macruby' end unless ENV['CI'] || macruby? require 'simplecov' SimpleCov.start do add_filter 'spec' end end require 'multi_json' require 'rspec' class MockDecoder def self.load(string, options={}) {'abc' => 'def'} end def self.dump(string) '{"abc":"def"}' end end class TimeWithZone def to_json(options={}) "\"2005-02-01T15:15:10Z\"" end end
Version data entries
130 entries across 73 versions & 10 rubygems