Wombat v2.0.0 Release Notes
-
This version contains some breaking changes (not backwards compatible), most notably to
for_each
that is now specified through the option:iterator
and nested block parameters that are gone.- Added syntactic sugar methods
Wombat.scrape
andCrawler#scrape
that alias to their respectivecrawl
method implementation; - Gem internals suffered big refactoring, removed code duplication;
- DSL syntax simplified for nested properties. Now the nested block takes no arguments;
- DSL syntax changed for iterated properties. Iterators can now be named just like other properties and won't be automatically named as
iterator#{i}
anymore. Specified through the:iterator
option; Crawler#list_page
is now calledCrawler#path
;- Added new
:follow
property type that crawls links in pages.
- Added syntactic sugar methods