# encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')

require 'rubygems'
require 'yajl'
require 'active_support/core_ext/kernel/reporting'
require 'date'

# encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')

require 'rubygems'
require 'yajl'
require 'date'

module Kernel
  def silence_warnings
    old_verbose, $VERBOSE = $VERBOSE, nil
    yield
  ensure
    $VERBOSE = old_verbose
  end
end

Reimplement the single function used by activesupport.
Reimplement the single function used by activesupport.

Instead of adding a test dependency over activesupport, rewrite the same
function here. The dependency over activesupport would be way exaggerated
for just this.
