lib/onebox/engine/github_blob_onebox.rb in onebox-1.5.21 vs lib/onebox/engine/github_blob_onebox.rb in onebox-1.5.22
- old
+ new
@@ -16,10 +16,10 @@
:MAX_LINES => 20,
:MAX_CHARS => 5000
}
matches_regexp(/^https?:\/\/(www\.)?github\.com.*\/blob\//)
-
+ always_https
def initialize(link, cache = nil, timeout = nil)
super link, cache , timeout
#merge engine options from global Onebox.options interface