require 'rubygems' require 'bundler' require 'minitest/autorun' require 'parallel' require 'open3' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'shoulda' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require_relative "../lib/gman" require_relative "../lib/gman/domain_list" require 'net/dns' require 'net/dns/resolver' require './lib/gman/importer' def test_bin(*args) output, status = Open3.capture2e("bundle", "exec", "gman", *args) end