Sha256: d6b2b1373fcb0314e00beff4783bd6a8ea843cc6fb6ecd6691cc0e60f76055cd
Contents?: true
Size: 575 Bytes
Versions: 23
Compression:
Stored size: 575 Bytes
Contents
['..', '../../lib'].each do |path| $:.unshift dir if dir = File.expand_path(path, __FILE__) and not $:.include?(dir) end require 'simplecov' SimpleCov.start require 'multi_json' require 'rspec' class MockDecoder def self.decode(string, options = {}) {'abc' => 'def'} end def self.encode(string) '{"abc":"def"}' end end class TimeWithZone def to_json(options = {}) "\"2005-02-01T15:15:10Z\"" end end def yajl_on_travis(engine) ENV['TRAVIS'] && engine == 'yajl' && jruby? end def jruby? defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' end
Version data entries
23 entries across 23 versions & 3 rubygems