Sha256: 316069378f40618ea4581bb1a2a145873ad20abbd46bb0af0e1da2d1de34b4cd

Contents?: true

Size: 593 Bytes

Versions: 2

Compression:

Stored size: 593 Bytes

Contents

# Conditional loads, since we may have these libraries elsewhere,
# e.g. when using Rails with assert_select plugin.
require File.join(File.dirname(__FILE__), "html", "document") unless defined?(HTML::Document)
require File.join(File.dirname(__FILE__), "html", "node_ext") unless defined?(HTML::Node.detach)
require File.join(File.dirname(__FILE__), "html", "selector") unless defined?(HTML::Selector)
require File.join(File.dirname(__FILE__), "html", "htmlparser") unless defined?(HTML::HTMLParser)

require File.join(File.dirname(__FILE__), "scraper", "base") unless defined?(Scraper::Base)

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
assaf-scrapi-1.2.1 lib/scrapi.rb
SFAscrapi-1.2.2 lib/scrapi.rb