module Docs class Redux < UrlScraper self.type = 'simple' self.release = '3.7.2' self.base_url = 'http://redux.js.org/docs/' self.links = { home: 'http://redux.js.org/', code: 'https://github.com/reactjs/redux/' } html_filters.push 'redux/entries', 'redux/clean_html' options[:skip] = %w(Feedback.html) options[:attribution] = <<-HTML © 2015–2017 Dan Abramov
Licensed under the MIT License. HTML stub '' do request_one('http://redux.js.org/index.html').body end def get_latest_version(opts) get_npm_version('redux', opts) end end end