]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
More require cleanups
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 9 Apr 2007 20:18:01 +0000 (20:18 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 9 Apr 2007 20:18:01 +0000 (20:18 +0000)
data/rbot/plugins/imdb.rb
lib/rbot/core/utils/utils.rb

index 9946cd306e72c78508500e853a062f3d66907c00..a70b2b3b626d3bf798edcd761ca55d538eb311ac 100644 (file)
@@ -11,8 +11,6 @@
 #
 # License:: MIT license
 
-require 'uri/common'
-
 class Imdb
   IMDB = "http://us.imdb.com"
   TITLE_OR_NAME_MATCH = /<a href="(\/(?:title|name)\/(?:tt|nm)[0-9]+\/?)[^"]*"(?:[^>]*)>([^<]*)<\/a>/
index 694e1c2849e106d86806ec4fec41a4e8dcdbfd96..1c27aa023fc1de39b0f050ac4d286970a076bd79 100644 (file)
@@ -12,8 +12,6 @@
 # TODO some of these Utils should be rewritten as extensions to the approriate
 # standard Ruby classes and accordingly be moved to extends.rb
 
-require 'net/http'
-require 'uri'
 require 'tempfile'
 require 'set'