lib/where_to.rb in where_to-1.0.0 vs lib/where_to.rb in where_to-1.0.1
- old
+ new
@@ -1,8 +1,18 @@
require 'date'
# Require all the libraries!
-Dir[File.dirname(__FILE__) + "/where_to/**/*.rb"].each { |f| require_relative f }
+require_files = %w(
+ configuration
+ episode_formatter
+ location
+ locator
+ tvdb
+ version
+ error/no_files_error
+).each do |require_file|
+ require_relative "where_to/#{require_file}"
+end
module WhereTo
class << self
attr_accessor :configuration
end