Skip to content

Commit

Permalink
Make this work on ruby 1.8 and 1.9 both.
Browse files Browse the repository at this point in the history
  • Loading branch information
courtenay committed Feb 23, 2012
1 parent 27372f2 commit f77dd9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/openid/yadis/xrires.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class XRIHTTPError < StandardError; end

class ProxyResolver

DEFAULT_PROXY ||= 'http://proxy.xri.net/'
DEFAULT_PROXY = 'http://proxy.xri.net/' unless defined?(DEFAULT_PROXY)

def initialize(proxy_url=nil)
if proxy_url
Expand Down

0 comments on commit f77dd9e

Please sign in to comment.