lib/meta_inspector.rb in metainspector-1.3.0 vs lib/meta_inspector.rb in metainspector-1.4.0
- old
+ new
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
-require_relative 'meta_inspector/scraper'
+require File.expand_path(File.join(File.dirname(__FILE__), 'meta_inspector/scraper'))
module MetaInspector
extend self
# Sugar method to be able to create a scraper in a shorter way