Bladeren bron

Update lua.rb

This adds Lua 5.4, bumps Lua 5.3 to (probably) the last version, and updates the copyright.
Stuart P. Bentley 5 jaren geleden
bovenliggende
commit
289b9fe3c2
1 gewijzigde bestanden met toevoegingen van 7 en 2 verwijderingen
  1. 7 2
      lib/docs/scrapers/lua.rb

+ 7 - 2
lib/docs/scrapers/lua.rb

@@ -8,12 +8,17 @@ module Docs
     options[:skip_links] = true
 
     options[:attribution] = <<-HTML
-      &copy; 1994&ndash;2017 Lua.org, PUC-Rio.<br>
+      &copy; 1994&ndash;2020 Lua.org, PUC-Rio.<br>
       Licensed under the MIT License.
     HTML
 
+    version '5.4' do
+      self.release = '5.4.1'
+      self.base_url = 'https://www.lua.org/manual/5.4/'
+    end
+
     version '5.3' do
-      self.release = '5.3.4'
+      self.release = '5.3.6'
       self.base_url = 'https://www.lua.org/manual/5.3/'
     end