The guard isn't really necessary in practice, and as per the previous checkin it was incorrect if ::VERSION was defined; but the fix in the previous checkin didn't work on ruby 1.8.7
In an application where the constant VERSION is defined at global scope, Fog::VERSION would not get defined; causing a failure in core/connection.rb
So specify false for the second argument to const_defined? to restrict it to local scope.
Now available within "fog/core"
Just reverted a change where depending on Fog::VERSION for the
User-Agent made a dependency on requiring "lib/fog" which also requires
all providers and services.
That is highly undesirable from a modular perspective!