lib/spidey.rb in spidey-0.0.4 vs lib/spidey.rb in spidey-0.1.0
- old
+ new
@@ -1,2 +1,12 @@
+require "logger"
require "spidey/version"
require "spidey/abstract_spider"
+
+module Spidey
+ extend self
+ attr_accessor :logger
+end
+
+Spidey.logger = Logger.new(STDOUT)
+
+require 'spidey/railtie' if defined?(::Rails)
\ No newline at end of file