lib/uri/ni/version.rb in uri-ni-0.1.4 vs lib/uri/ni/version.rb in uri-ni-0.1.5

- old
+ new

@@ -1,11 +1,15 @@ # we need this or what follows it complains require 'uri/generic' module URI class NI < Generic - VERSION = "0.1.4" + VERSION = "0.1.5" end # might as well put this here - @@schemes['NI'] = NI + if self.respond_to? :register_scheme + register_scheme 'NI', NI + else + @@schemes['NI'] = NI + end end