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