lib/metacrunch.rb in metacrunch-2.2.3 vs lib/metacrunch.rb in metacrunch-3.0.0
- old
+ new
@@ -1,32 +1,19 @@
+require "rubygems"
+require "bundler"
+
require "active_support"
require "active_support/core_ext"
-require "active_support/builder"
-require "parallel"
-require "rubygems"
-require "rubygems/package"
-require "thor"
-require "ox"
+require "commander"
+require "sequel"
-module Metacrunch
- require_relative "./metacrunch/version"
- require_relative "./metacrunch/cli"
- require_relative "./metacrunch/command"
- require_relative "./metacrunch/file"
- require_relative "./metacrunch/file_reader"
- require_relative "./metacrunch/file_reader_entry"
- require_relative "./metacrunch/file_writer"
- require_relative "./metacrunch/hash"
- require_relative "./metacrunch/parallel"
- require_relative "./metacrunch/processor"
- require_relative "./metacrunch/snr"
- require_relative "./metacrunch/tar_writer"
- require_relative "./metacrunch/transformator"
- require_relative "./metacrunch/transformer"
+begin
+ require "pry"
+rescue LoadError ; end
- def self.load_plugins
- Gem.find_latest_files("metacrunch_plugin.rb").each do |path|
- load(path)
- end
- end
-
+module Metacrunch
+ require_relative "metacrunch/version"
+ require_relative "metacrunch/cli"
+ require_relative "metacrunch/job"
+ require_relative "metacrunch/fs"
+ require_relative "metacrunch/db"
end