From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 4E5BA20229; Wed, 2 Nov 2016 01:24:08 +0000 (UTC) Date: Wed, 2 Nov 2016 01:24:08 +0000 From: Eric Wong To: regurgitator-public@bogomips.org Subject: [PATCH 2/1] fix loading regressions Message-ID: <20161102012408.GA17134@starla> References: <20161102005150.12800-1-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20161102005150.12800-1-e@80x24.org> List-Id: Oops, we must always load regurgitator/local since it's part of an API people are using... And server_settings needs to be loaded, somehow. --- lib/regurgitator.rb | 2 ++ lib/regurgitator/device.rb | 3 +++ 2 files changed, 5 insertions(+) diff --git a/lib/regurgitator.rb b/lib/regurgitator.rb index a8b4393..71ec2b8 100644 --- a/lib/regurgitator.rb +++ b/lib/regurgitator.rb @@ -33,3 +33,5 @@ module Regurgitator Process.clock_gettime(Process::CLOCK_MONOTONIC) end end + +require_relative 'regurgitator/local' diff --git a/lib/regurgitator/device.rb b/lib/regurgitator/device.rb index 04014aa..87f4a3c 100644 --- a/lib/regurgitator/device.rb +++ b/lib/regurgitator/device.rb @@ -1,5 +1,8 @@ # -*- encoding: binary -*- # helpers for device lookups + +require_relative 'server_settings' + module Regurgitator::Device # :nodoc: include Regurgitator::ServerSettings -- EW