From 6b6fd71ac29c9e916e19fc9ebf340605247746a0 Mon Sep 17 00:00:00 2001
From: Klas Arvidsson <klas.arvidsson@liu.se>
Date: Mon, 10 Feb 2020 21:06:46 +0100
Subject: [PATCH] ruby-doc.org: convenience rules

---
 files/squid/helpers/rules.d/ruby.rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/files/squid/helpers/rules.d/ruby.rules b/files/squid/helpers/rules.d/ruby.rules
index 6feafe1..d5b6879 100644
--- a/files/squid/helpers/rules.d/ruby.rules
+++ b/files/squid/helpers/rules.d/ruby.rules
@@ -7,10 +7,12 @@
 ^https?://rubular\.com/.*			       true
 ^https?://docs\.ruby-doc\.com/docs/ProgrammingRuby/.*  true
 
-// support files
+// support rules
 ^https?://ruby-doc\.org/css/.*               true
 ^https?://ruby-doc\.org/js/.*                true
 ^https?://ruby-doc\.org/favicon\.ico         true
+^https?://ruby-doc\.org/core(-2\.7\.0)?         true
+^https?://ruby-doc\.org/stdlib(-2\.7\.0)?       true
 
 // Old
 // ^https?://ruby-doc\.org/.*  true
-- 
GitLab