lib/onebox/engine/github_gist_onebox.rb in onebox-1.3.0 vs lib/onebox/engine/github_gist_onebox.rb in onebox-1.3.1
- old
+ new
@@ -15,10 +15,10 @@
def url
"https://api.github.com/gists/#{match[:sha]}"
end
def to_html
- "<script src=\"http://gist.github.com/#{match[:sha]}.js\"></script>"
+ "<script src=\"//gist.github.com/#{match[:sha]}.js\"></script>"
end
private
def data