From a2a3cb0a88055f9d0d2540901b402a0bdb9713fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20B=C3=B6rjesson?= Date: Fri, 10 Jan 2025 13:27:07 +0100 Subject: [PATCH 1/3] Update crystal docs to 1.15.0 --- lib/docs/scrapers/crystal.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/crystal.rb b/lib/docs/scrapers/crystal.rb index c06d2fa7..ee92d0d8 100644 --- a/lib/docs/scrapers/crystal.rb +++ b/lib/docs/scrapers/crystal.rb @@ -2,7 +2,7 @@ module Docs class Crystal < UrlScraper include MultipleBaseUrls self.type = 'crystal' - self.release = '1.14.0' + self.release = '1.15.0' self.base_urls = [ "https://crystal-lang.org/api/#{release}/", "https://crystal-lang.org/reference/#{release[0..2]}/", From 8f57d64457ada032d6f75bf887bbaea3c653a6f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20B=C3=B6rjesson?= Date: Fri, 10 Jan 2025 13:27:29 +0100 Subject: [PATCH 2/3] Bump copyright year --- lib/docs/scrapers/crystal.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/crystal.rb b/lib/docs/scrapers/crystal.rb index ee92d0d8..92faf468 100644 --- a/lib/docs/scrapers/crystal.rb +++ b/lib/docs/scrapers/crystal.rb @@ -34,7 +34,7 @@ module Docs HTML else <<-HTML - © 2012–2024 Manas Technology Solutions.
+ © 2012–2025 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0. HTML end From 937326d437d3fbafcdb8b9f4432a2fa24e7feb0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20B=C3=B6rjesson?= Date: Sat, 11 Jan 2025 10:08:42 +0100 Subject: [PATCH 3/3] Exclude non-existing Crystal/PointerPairingHeap from scraping --- lib/docs/scrapers/crystal.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/docs/scrapers/crystal.rb b/lib/docs/scrapers/crystal.rb index 92faf468..caa178f2 100644 --- a/lib/docs/scrapers/crystal.rb +++ b/lib/docs/scrapers/crystal.rb @@ -21,6 +21,7 @@ module Docs options[:skip_patterns] = [ %r{\ACrystal/System/}, + %r{\ACrystal/PointerPairingHeap/}, %r{\AIO/Evented.html\z}, %r{\ARegex/PCRE2.html\z} ]