History

Merge pull request #2401 from spuun/crystal-1.15.0

Update Crystal docs to 1.15.0

Simon Legner committed 1 year ago

Commit ec5d57c2 parents aa16f83 937326d1 file · +3 −2Browse files

Unified · Split

lib/docs/scrapers/crystal.rb+3−2
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
2 class Crystal < UrlScraper2 class Crystal < UrlScraper
3 include MultipleBaseUrls3 include MultipleBaseUrls
4 self.type = 'crystal'4 self.type = 'crystal'
5 self.release = '1.14.0'5 self.release = '1.15.0'
6 self.base_urls = [6 self.base_urls = [
7 "https://crystal-lang.org/api/#{release}/",7 "https://crystal-lang.org/api/#{release}/",
8 "https://crystal-lang.org/reference/#{release[0..2]}/",8 "https://crystal-lang.org/reference/#{release[0..2]}/",
@@ -21,6 +21,7 @@ module Docs · 12 unmodified lines
21 21
22 options[:skip_patterns] = [22 options[:skip_patterns] = [
23 %r{\ACrystal/System/},23 %r{\ACrystal/System/},
24 %r{\ACrystal/PointerPairingHeap/},
24 %r{\AIO/Evented.html\z},25 %r{\AIO/Evented.html\z},
25 %r{\ARegex/PCRE2.html\z}26 %r{\ARegex/PCRE2.html\z}
26 ]27 ]
@@ -34,7 +35,7 @@ module Docs · 7 unmodified lines
34 HTML35 HTML
35 else36 else
36 <<-HTML37 <<-HTML
37 &copy; 2012&ndash;2024 Manas Technology Solutions.<br>38 &copy; 2012&ndash;2025 Manas Technology Solutions.<br>
38 Licensed under the Apache License, Version 2.0.39 Licensed under the Apache License, Version 2.0.
39 HTML40 HTML
40 end41 end