Unified · Split
| @@ -2,9 +2,9 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Mariadb < UrlScraper |
| 3 | 3 | self.name = 'MariaDB' |
| 4 | 4 | self.type = 'mariadb' |
| 5 | − self.release = '10.4.8' | |
| 5 | + self.release = '10.6.4' | |
| 6 | 6 | self.base_url = 'https://mariadb.com/kb/en/' |
| 7 | − self.root_path = 'library/documentation/' | |
| 7 | + self.root_path = 'documentation/' | |
| 8 | 8 | self.links = { |
| 9 | 9 | home: 'https://mariadb.com/', |
| 10 | 10 | code: 'https://github.com/MariaDB/server' |
| @@ -24,13 +24,14 @@ module Docs · 13 unmodified lines | ||
| 24 | 24 | ] |
| 25 | 25 | |
| 26 | 26 | options[:attribution] = <<-HTML |
| 27 | − © 2019 MariaDB<br> | |
| 27 | + © 2021 MariaDB<br> | |
| 28 | 28 | Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License. |
| 29 | 29 | HTML |
| 30 | 30 | |
| 31 | 31 | def get_latest_version(opts) |
| 32 | 32 | doc = fetch_doc('https://mariadb.com/downloads/', opts) |
| 33 | − doc.at_css('[data-version-id="mariadb_server-versions"] option').content.split('-')[0] | |
| 33 | + doc.at_css('#version-select-community_server > option').content.split('-')[0] | |
| 34 | 34 | end |
| 35 | + | |
| 35 | 36 | end |
| 36 | 37 | end |