test runner: require all Gems from the main program

This commit is contained in:
Moritz Bunkus 2018-03-07 10:05:50 +01:00
parent 68b2377c88
commit 08ef5f6460
3 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,8 @@
#!/usr/bin/env ruby
require "digest/md5"
require "json"
require "json_schema"
require "pp"
require "tempfile"

View File

@ -334,8 +334,6 @@ class SimpleTest
def json_schema_identification
return @@json_schema_identification if @@json_schema_identification
require "json_schema"
json_store = JsonSchema::DocumentStore.new
parser = JsonSchema::Parser.new
expander = JsonSchema::ReferenceExpander.new

View File

@ -1,5 +1,3 @@
require 'digest/md5'
$message_mutex = Mutex.new
def show_message message
$message_mutex.lock