|
|
|
@ -2,8 +2,6 @@ module Docs
|
|
|
|
|
class Phpunit < UrlScraper
|
|
|
|
|
self.name = 'PHPUnit'
|
|
|
|
|
self.type = 'phpunit'
|
|
|
|
|
self.release = '5.1'
|
|
|
|
|
self.base_url = "https://phpunit.de/manual/#{release}/en/"
|
|
|
|
|
self.root_path = 'index.html'
|
|
|
|
|
self.links = {
|
|
|
|
|
home: 'https://phpunit.de/',
|
|
|
|
@ -21,8 +19,18 @@ module Docs
|
|
|
|
|
appendixes.copyright.html)
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
|
© 2005–2015 Sebastian Bergmann<br>
|
|
|
|
|
© 2005–2016 Sebastian Bergmann<br>
|
|
|
|
|
Licensed under the Creative Commons Attribution 3.0 Unported License.
|
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
version '5' do
|
|
|
|
|
self.release = '5.2'
|
|
|
|
|
self.base_url = "https://phpunit.de/manual/#{release}/en/"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
version '4' do
|
|
|
|
|
self.release = '4.8'
|
|
|
|
|
self.base_url = "https://phpunit.de/manual/#{release}/en/"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|