Shopify/shopify_app — pull request #84 by timcheadle (2014-04-02 19:12:20+00:00)
Title: Fixed protocol stripping, since gsub! returns nil if no change

Fixes issue #82. `String#gsub!` returns nil if there's no pattern found, so the previous chaining didn't work.