Sha256: ab30bb08db2aaf19a43e2eea77fc243dfcd8b4eab320d65e68781d9dd16f87a2
Contents?: true
Size: 470 Bytes
Versions: 3
Compression:
Stored size: 470 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 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
multi_json-1.3.2 | spec/helper.rb |
multi_json-1.3.1 | spec/helper.rb |
multi_json-1.3.0 | spec/helper.rb |