|
|
@ -2,9 +2,13 @@ module Docs
|
|
|
|
class Phpunit < UrlScraper
|
|
|
|
class Phpunit < UrlScraper
|
|
|
|
self.name = 'PHPUnit'
|
|
|
|
self.name = 'PHPUnit'
|
|
|
|
self.type = 'phpunit'
|
|
|
|
self.type = 'phpunit'
|
|
|
|
self.version = '4.6'
|
|
|
|
self.version = '4.7'
|
|
|
|
self.base_url = "https://phpunit.de/manual/#{version}/en/"
|
|
|
|
self.base_url = "https://phpunit.de/manual/#{version}/en/"
|
|
|
|
self.root_path = 'index.html'
|
|
|
|
self.root_path = 'index.html'
|
|
|
|
|
|
|
|
self.links = {
|
|
|
|
|
|
|
|
home: 'https://phpunit.de/',
|
|
|
|
|
|
|
|
code: 'https://github.com/sebastianbergmann/phpunit'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
html_filters.push 'phpunit/clean_html', 'phpunit/entries', 'title'
|
|
|
|
html_filters.push 'phpunit/clean_html', 'phpunit/entries', 'title'
|
|
|
|
|
|
|
|
|
|
|
|