lib/json/pure.rb in json_pure-1.8.6 vs lib/json/pure.rb in json_pure-2.0.0

- old
+ new

@@ -1,18 +1,12 @@ -if ENV['SIMPLECOV_COVERAGE'].to_i == 1 - require 'simplecov' - SimpleCov.start do - add_filter "/tests/" - end -end require 'json/common' -require 'json/pure/parser' -require 'json/pure/generator' module JSON # This module holds all the modules/classes that implement JSON's # functionality in pure ruby. module Pure + require 'json/pure/parser' + require 'json/pure/generator' $DEBUG and warn "Using Pure library for JSON." JSON.parser = Parser JSON.generator = Generator end