lib/onebox/engine/github_gist_onebox.rb in onebox-1.5.21 vs lib/onebox/engine/github_gist_onebox.rb in onebox-1.5.22

- old
+ new

@@ -6,9 +6,10 @@ include JSON MAX_FILES = 3 matches_regexp Regexp.new("^http(?:s)?://gist\\.(?:(?:\\w)+\\.)?(github)\\.com(?:/)?") + always_https def url "https://api.github.com/gists/#{match[:sha]}" end