Explorar o código

Update Crystal documentation (0.19.2)

Thibaut Courouble %!s(int64=9) %!d(string=hai) anos
pai
achega
6df717c877
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/docs/scrapers/crystal.rb

+ 2 - 2
lib/docs/scrapers/crystal.rb

@@ -1,9 +1,9 @@
 module Docs
   class Crystal < UrlScraper
     self.type = 'crystal'
-    self.release = '0.18.7'
+    self.release = '0.19.2'
     self.base_url = 'https://crystal-lang.org/'
-    self.root_path = 'api/0.18.7/index.html'
+    self.root_path = "api/#{release}/index.html"
     self.initial_paths = %w(docs/index.html)
     self.links = {
       home: 'https://crystal-lang.org/',