Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Prevent VERSION and VERSION_CODE warnings on Ruby >1.9 and possibly o…

…lder versions.
  • Loading branch information...
commit 07e7ba246bb842a4ba4b2b486bb4ba9ee84c4005 1 parent 8d019e6
@PatrickTulskie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/gtfs/url_source.rb
View
2  lib/gtfs/url_source.rb
@@ -1,5 +1,5 @@
require 'net/http'
-require 'URI'
+require 'URI' unless defined?(::URI)
module GTFS
class URLSource < Source
Please sign in to comment.
Something went wrong with that request. Please try again.