puppetlabs/Razor — pull request #280 by tjmcs (2012-12-14 18:05:43+00:00)
Title: Fixes issue #275 (throwing an "uninitialized constant URI::DEFAULT_PARSER" error)

Previous version of this file caused an "uninitialized constant URI::DEFAULT_PARSER" error when adding a broker under Ruby 1.8.7. To fix the issue, simply replaced the code snippet that uses the undefined constant (at least in 1.8.7) with a method that returns the same thing (and that DOES work under both 1.8.7 and 1.9.x).