Module: Crawlscope

Defined in:
lib/crawlscope.rb,
lib/crawlscope/cli.rb,
lib/crawlscope/url.rb,
lib/crawlscope/http.rb,
lib/crawlscope/page.rb,
lib/crawlscope/task.rb,
lib/crawlscope/audit.rb,
lib/crawlscope/issue.rb,
lib/crawlscope/result.rb,
lib/crawlscope/browser.rb,
lib/crawlscope/crawler.rb,
lib/crawlscope/railtie.rb,
lib/crawlscope/sitemap.rb,
lib/crawlscope/version.rb,
lib/crawlscope/reporter.rb,
lib/crawlscope/rules/links.rb,
lib/crawlscope/configuration.rb,
lib/crawlscope/rule_registry.rb,
lib/crawlscope/rules/metadata.rb,
lib/crawlscope/schema_registry.rb,
lib/crawlscope/issue_collection.rb,
lib/crawlscope/rules/uniqueness.rb,
lib/crawlscope/rules/structured_data.rb,
lib/crawlscope/structured_data/audit.rb,
lib/crawlscope/structured_data/report.rb,
lib/crawlscope/structured_data/writer.rb,
lib/crawlscope/structured_data/document.rb,
lib/crawlscope/structured_data/reporter.rb

Defined Under Namespace

Modules: Rules, StructuredData, Url Classes: Audit, Browser, Cli, Configuration, ConfigurationError, Crawler, Error, Http, Issue, IssueCollection, Page, Railtie, Reporter, Result, RuleRegistry, SchemaRegistry, Sitemap, Task, ValidationError

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loaderObject (readonly)

Returns the value of attribute loader.



13
14
15
# File 'lib/crawlscope.rb', line 13

def loader
  @loader
end

Class Method Details

.configurationObject



15
16
17
# File 'lib/crawlscope.rb', line 15

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



19
20
21
# File 'lib/crawlscope.rb', line 19

def configure
  yield(configuration)
end

.reset!Object



23
24
25
# File 'lib/crawlscope.rb', line 23

def reset!
  @configuration = Configuration.new
end