lib/monkey_patches/addressable/uri.rb in url_canonicalize-0.1.5 vs lib/monkey_patches/addressable/uri.rb in url_canonicalize-0.1.9
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
module Addressable
# Patch for Addressable's URI class
class URI
def self.canonicalize(uri)
url = parse(uri).to_s # uri can be anything Addressable::URI can handle