fog/fog — pull request #1342 by ronen (2012-12-05 12:25:13+00:00)
Title: Bug fix: Ensure Fog::VERSION gets defined

In the case where the constant `VERSION` is defined at global scope (in the application or due to some gem that pollutes the global namespace), `Fog::VERSION` would not get defined. This caused a failure in `core/connection.rb`

Simple fix: specify `false` for the second argument to `const_defined?` to restrict it to local scope.

(An even simpler fix would be to remove the `const_defined?` guard. I don't know what it's there for, but leaving it in place in case there's a reason for it.)