Commit 77b4ba2c authored by Sruthi's avatar Sruthi
Browse files

Imported Upstream version 1.42.0

parent c68a488a
1.42.0 07/05/2016
==========================================================
make namespace detection fix 1.8.x compatible
1.41.0 07/01/2016
==========================================================
bump as 1.40.1 is not showing up in some cases
1.40.1 06/28/2016
==========================================================
fix namespace constant detection
1.40.0 05/19/2016 1.40.0 05/19/2016
========================================================== ==========================================================
......
...@@ -31,9 +31,9 @@ module Fog ...@@ -31,9 +31,9 @@ module Fog
end end
def service_provider_constant(service_name, provider_name) def service_provider_constant(service_name, provider_name)
Fog.const_get(service_name).const_get(provider_name) Fog.const_get(service_name).const_get(provider_name, false)
rescue NameError # Try to find the constant from in an alternate location rescue NameError # Try to find the constant from in an alternate location
Fog.const_get(provider_name).const_get(service_name) Fog.const_get(provider_name).const_get(service_name, false)
end end
def service_name def service_name
......
module Fog module Fog
module Core module Core
VERSION = "1.40.0" VERSION = "1.42.0"
end end
end end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment