lib/sprockets/uri_tar.rb in sprockets-3.6.0 vs lib/sprockets/uri_tar.rb in sprockets-3.6.1

- old
+ new

@@ -12,13 +12,11 @@ def initialize(uri, env) @root = env.root @env = env uri = uri.to_s if uri.include?("://".freeze) - uri_array = uri.split("://".freeze) - @scheme = uri_array.shift - @scheme << "://".freeze - @path = uri_array.join("".freeze) + @scheme, _, @path = uri.partition("://".freeze) + @scheme << "://".freeze else @scheme = "".freeze @path = uri end end