History

Update MariaDB documentation (10.6.4)

Enoc committed 5 years ago

Commit ceb73a11 parent 11848f81 file · +5 −4Browse files

Unified · Split

lib/docs/scrapers/mariadb.rb+5−4
@@ -2,9 +2,9 @@ module Docs · 1 unmodified line
22 class Mariadb < UrlScraper
33 self.name = 'MariaDB'
44 self.type = 'mariadb'
5− self.release = '10.4.8'
5+ self.release = '10.6.4'
66 self.base_url = 'https://mariadb.com/kb/en/'
7− self.root_path = 'library/documentation/'
7+ self.root_path = 'documentation/'
88 self.links = {
99 home: 'https://mariadb.com/',
1010 code: 'https://github.com/MariaDB/server'
@@ -24,13 +24,14 @@ module Docs · 13 unmodified lines
2424 ]
2525
2626 options[:attribution] = <<-HTML
27− &copy; 2019 MariaDB<br>
27+ &copy; 2021 MariaDB<br>
2828 Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
2929 HTML
3030
3131 def get_latest_version(opts)
3232 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]
3434 end
35+
3536 end
3637 end