From 821fc724d99b9baaf09a5fe8575c4512a9db8cab Mon Sep 17 00:00:00 2001 From: MasterEnoc Date: Tue, 17 Nov 2020 19:30:30 -0600 Subject: [PATCH] Update Gnu Fortran to 10.2.0 - Add Gnu fortran 9 and 8. --- lib/docs/scrapers/gnu/gnu_fortran.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/docs/scrapers/gnu/gnu_fortran.rb b/lib/docs/scrapers/gnu/gnu_fortran.rb index dd18827c..4182aa0f 100644 --- a/lib/docs/scrapers/gnu/gnu_fortran.rb +++ b/lib/docs/scrapers/gnu/gnu_fortran.rb @@ -6,6 +6,21 @@ module Docs home: 'https://gcc.gnu.org/fortran/' } + version '10' do + self.release = '10.2.0' + self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/" + end + + version '9' do + self.release = '9.3.0' + self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/" + end + + version '8' do + self.release = '8.4.0' + self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/" + end + version '7' do self.release = '7.3.0' self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/"