Permalink
Browse files

Define compat URI#hostname for <1.9.3

  • Loading branch information...
1 parent c49a6f6 commit 39e28ddd0943bdc6fffd73ea8c410e8cc1c25f3d @nahi committed Oct 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/httpclient/util.rb
View
2 lib/httpclient/util.rb
@@ -12,7 +12,7 @@ class String
end
end
-if RUBY_VERSION < "1.9.0"
+if RUBY_VERSION < "1.9.3"
require 'uri'
module URI
class Generic

0 comments on commit 39e28dd

Please sign in to comment.