lib/earthquake.rb in earthquake-0.0.2 vs lib/earthquake.rb in earthquake-0.1.0
- old
+ new
@@ -2,12 +2,16 @@
require 'thread'
require 'readline'
require 'bundler/setup'
Bundler.require :default
-$:.unshift File.expand_path('..', __FILE__)
+Thread.abort_on_exception = true
-require 'earthquake/core'
-
-module Earthquake
- extend Earthquake::Core
-end
+%w(
+ ext
+ core
+ output
+ input
+ get_access_token
+ twitter
+ commands
+).each { |name| require_dependency File.expand_path("../earthquake/#{name}", __FILE__) }