From a8eb42a0804302d3302a4708cfb6db4047720845 Mon Sep 17 00:00:00 2001 From: Robert Gerus Date: Tue, 14 Apr 2015 17:01:06 +0200 Subject: [PATCH] =?UTF-8?q?we=20require=20em-net-http=20everywhere=20anywa?= =?UTF-8?q?y=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/commands/at.rb | 1 - plugins/commands/cycki.rb | 1 - plugins/commands/gentoo-bugs.rb | 1 - plugins/commands/kotki.rb | 1 - plugins/commands/sjp.rb | 1 - run.rb | 1 + 6 files changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/commands/at.rb b/plugins/commands/at.rb index a8c0a80..6e8b0c9 100644 --- a/plugins/commands/at.rb +++ b/plugins/commands/at.rb @@ -1,4 +1,3 @@ -require 'em-net-http' require 'json' require 'time' diff --git a/plugins/commands/cycki.rb b/plugins/commands/cycki.rb index 88456b7..1d36eef 100644 --- a/plugins/commands/cycki.rb +++ b/plugins/commands/cycki.rb @@ -1,4 +1,3 @@ -require 'em-net-http' require 'nokogiri' Client.register_command("cycki") { |args| diff --git a/plugins/commands/gentoo-bugs.rb b/plugins/commands/gentoo-bugs.rb index d1b5326..1869cdf 100644 --- a/plugins/commands/gentoo-bugs.rb +++ b/plugins/commands/gentoo-bugs.rb @@ -1,4 +1,3 @@ -require 'em-net-http' require 'nokogiri' Client.register_command("bug") { |args| diff --git a/plugins/commands/kotki.rb b/plugins/commands/kotki.rb index 0abaedf..165e25d 100644 --- a/plugins/commands/kotki.rb +++ b/plugins/commands/kotki.rb @@ -1,4 +1,3 @@ -require 'em-net-http' require 'uri' Client.register_command("kotki") { |args| diff --git a/plugins/commands/sjp.rb b/plugins/commands/sjp.rb index 1548b73..2ce50a2 100644 --- a/plugins/commands/sjp.rb +++ b/plugins/commands/sjp.rb @@ -1,4 +1,3 @@ -require 'em-net-http' require 'nokogiri' Client.register_command("sjp") { |args| diff --git a/run.rb b/run.rb index 81fa640..0ef1120 100755 --- a/run.rb +++ b/run.rb @@ -3,6 +3,7 @@ require 'rubygems' require 'eventmachine' +require 'em-net-http' require 'em-irc' require 'logger' # Our config file is just a single Hash, nothing too fancy.