Unified · Split
| @@ -42,6 +42,8 @@ module Docs · 41 unmodified lines | ||
| 42 | 42 | node.parent.content = node.parent.content |
| 43 | 43 | end |
| 44 | 44 | |
| 45 | + css('.alert-warning').remove | |
| 46 | + | |
| 45 | 47 | doc |
| 46 | 48 | end |
| 47 | 49 | end |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Codeception < UrlScraper |
| 3 | 3 | self.name = 'Codeception' |
| 4 | 4 | self.type = 'codeception' |
| 5 | − self.release = '4.1.12' | |
| 5 | + self.release = '4.1.22' | |
| 6 | 6 | self.base_url = 'https://codeception.com/docs/' |
| 7 | 7 | self.root_path = 'index.html' |
| 8 | 8 | self.links = { |
| @@ -20,8 +20,7 @@ module Docs · 11 unmodified lines | ||
| 20 | 20 | HTML |
| 21 | 21 | |
| 22 | 22 | def get_latest_version(opts) |
| 23 | − doc = fetch_doc('https://codeception.com/changelog', opts) | |
| 24 | − doc.at_css('#page > h4').content | |
| 23 | + get_github_tags("Codeception", "Codeception", opts)[1]["name"] | |
| 25 | 24 | end |
| 26 | 25 | end |
| 27 | 26 | end |