Skip to content

Commit

Permalink
Cleaned up requires
Browse files Browse the repository at this point in the history
  • Loading branch information
vjt committed Mar 20, 2010
1 parent 8ac456c commit 671f4c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions Rakefile
@@ -1,6 +1,5 @@
require 'rubygems'
$: << 'lib'
require 'audioinfo'
require File.join(File.expand_path(File.dirname(__FILE__)), 'lib', 'audioinfo')

begin
require 'jeweler'
Expand Down
11 changes: 5 additions & 6 deletions lib/audioinfo.rb
@@ -1,18 +1,17 @@
#!/usr/bin/env ruby

require "iconv"
require "stringio"

$: << File.dirname(__FILE__)+"/audioinfo"

require "mp3info"
require "ogginfo"
require "mpcinfo"
require "apetag"
require "wmainfo"
require "mp4info"
require "flacinfo"

$: << File.expand_path(File.dirname(__FILE__))

require "audioinfo/mpcinfo"
require "audioinfo/apetag"

class AudioInfoError < Exception ; end

class AudioInfo
Expand Down

0 comments on commit 671f4c3

Please sign in to comment.