File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ class TclTk < UrlScraper
33 self . name = 'Tcl/Tk'
44 self . type = 'tcl_tk'
55 self . slug = 'tcl_tk'
6- self . release = '8.6.6'
7- self . base_url = 'https://www.tcl-lang.org/man/tcl/'
8- self . root_path = 'contents.htm'
96 self . links = {
107 home : 'https://www.tcl-lang.org/' ,
118 code : 'https://sourceforge.net/projects/tcl/files/Tcl/'
@@ -30,6 +27,17 @@ class TclTk < UrlScraper
3027 Licensed under < a href ="http://www.tcl-lang.org/software/tcltk/license.html "> Tcl/Tk terms</ a >
3128 HTML
3229
30+ version '8.6' do
31+ self . base_url = "https://www.tcl-lang.org/man/tcl#{ self . version } /"
32+ self . root_path = 'contents.htm'
33+ self . release = '8.6.6'
34+ end
35+
36+ version '9.0' do
37+ self . base_url = "https://www.tcl-lang.org/man/tcl#{ self . version } /"
38+ self . release = '9.0.2'
39+ end
40+
3341 def get_latest_version ( opts )
3442 doc = fetch_doc ( 'https://www.tcl-lang.org/man/tcl/' , opts )
3543 doc . at_css ( 'h2' ) . content . scan ( /Tk([0-9.]+)/ ) [ 0 ] [ 0 ]
You can’t perform that action at this time.
0 commit comments