Sha256: ee4fc5693686bcd2ba9ae1c4f5af1d5697e0cab32ef223bbd997836a99143506

Contents?: true

Size: 749 Bytes

Versions: 79

Compression:

Stored size: 749 Bytes

Contents

# Ubuntu does not accept arguments to ruby when called using env. To get warnings to show up the -w options is
# required. That can be set in the RUBYOPT environment variable.
# export RUBYOPT=-w

$VERBOSE = true

%w(lib ext test).each do |dir|
  $LOAD_PATH.unshift File.expand_path("../../#{dir}", __FILE__)
end

require 'rubygems' if RUBY_VERSION.start_with?('1.8.')
require 'minitest'
require 'minitest/autorun'
require 'stringio'
require 'date'
require 'bigdecimal'
require 'pp'
require 'oj'

$ruby = RUBY_DESCRIPTION.split(' ')[0]
$ruby = 'ree' if 'ruby' == $ruby && RUBY_DESCRIPTION.include?('Ruby Enterprise Edition')

class Range
  def to_hash()
    { 'begin' => self.begin, 'end' => self.end, 'exclude_end' => self.exclude_end? }
  end
end

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
oj-3.3.4 test/helper.rb
oj-3.3.3 test/helper.rb
oj-3.3.2 test/helper.rb
oj-3.3.1 test/helper.rb
oj-3.3.0 test/helper.rb
oj-3.2.1 test/helper.rb
oj-3.2.0 test/helper.rb
oj-3.1.4 test/helper.rb
oj-3.1.3 test/helper.rb
oj-3.1.2 test/helper.rb
oj-3.1.0 test/helper.rb
oj-3.0.11 test/helper.rb
oj-3.0.10 test/helper.rb
oj-3.0.9 test/helper.rb
oj-3.0.8 test/helper.rb
oj-3.0.7 test/helper.rb
oj-3.0.6 test/helper.rb
oj-3.0.5 test/helper.rb
oj-3.0.4 test/helper.rb
oj-3.0.3 test/helper.rb