lib/judges/commands/pull.rb in judges-0.22.1 vs lib/judges/commands/pull.rb in judges-0.23.0

- old
+ new

@@ -20,13 +20,13 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. require 'typhoeus' require 'iri' +require 'baza' require_relative '../../judges' require_relative '../../judges/impex' -require_relative '../../judges/baza' # The +pull+ command. # # This class is instantiated by the +bin/judge+ command line interface. You # are not supposed to instantiate it yourself. @@ -40,10 +40,10 @@ end def run(opts, args) raise 'Exactly two arguments required' unless args.size == 2 fb = Factbase.new - baza = Judges::Baza.new( + baza = Baza.new( opts['host'], opts['port'].to_i, opts['token'], ssl: opts['ssl'], timeout: (opts['timeout'] || 30).to_i, loog: @loog, retries: (opts['retries'] || 3).to_i