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
2 class Mariadb < UrlScraper2 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] = <<-HTML26 options[:attribution] = <<-HTML
27 &copy; 2019 MariaDB<br>27 &copy; 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 HTML29 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 end34 end
35
35 end36 end
36end37end