fog-core 1.27.1 → 1.27.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +5 -0
- data/lib/fog/account.rb +2 -2
- data/lib/fog/billing.rb +1 -1
- data/lib/fog/compute.rb +6 -2
- data/lib/fog/core/version.rb +1 -1
- data/lib/fog/dns.rb +1 -1
- data/lib/fog/monitoring.rb +1 -1
- data/lib/fog/network.rb +1 -1
- data/lib/fog/orchestration.rb +1 -1
- data/lib/fog/storage.rb +1 -1
- data/lib/fog/support.rb +1 -1
- data/lib/fog/vpn.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb0c85564583ea60af61b0763f78fee6089c8230
|
4
|
+
data.tar.gz: 8f4cf853cd883f2906163109271902bf9f658544
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4517193ec6b81e6962b98f1c1c0f5882f4f7611ebf131941c6efbe3f6792bb69cd69d4595bfcf26765d9b67360d3efc59063bc3b8e6a7f0c695e13028dbc89d0
|
7
|
+
data.tar.gz: c13706aa2a55be66ded1df68e013621757a06d02ef0cb9ee0b11100478274c266a7e376b55c2f1b8066cf319dbd7a7857f09ef917dd2e409f4214b0cfe98ea31
|
data/changelog.md
CHANGED
data/lib/fog/account.rb
CHANGED
@@ -9,7 +9,7 @@ module Fog
|
|
9
9
|
provider = attributes.delete(:provider).to_s.downcase.to_sym
|
10
10
|
|
11
11
|
if provider == :stormondemand
|
12
|
-
require "fog/storm_on_demand
|
12
|
+
require "fog/account/storm_on_demand"
|
13
13
|
Fog::Account::StormOnDemand.new(attributes)
|
14
14
|
else
|
15
15
|
raise ArgumentError, "#{provider} has no account service"
|
@@ -17,7 +17,7 @@ module Fog
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def self.providers
|
20
|
-
Fog.services[:account]
|
20
|
+
Fog.services[:account] || []
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
data/lib/fog/billing.rb
CHANGED
@@ -8,7 +8,7 @@ module Fog
|
|
8
8
|
attributes = attributes.dup
|
9
9
|
provider = attributes.delete(:provider).to_s.downcase.to_sym
|
10
10
|
if provider == :stormondemand
|
11
|
-
require "fog/storm_on_demand
|
11
|
+
require "fog/billing/storm_on_demand"
|
12
12
|
Fog::Billing::StormOnDemand.new(attributes)
|
13
13
|
else
|
14
14
|
raise ArgumentError, "#{provider} has no billing service"
|
data/lib/fog/compute.rb
CHANGED
@@ -42,7 +42,7 @@ module Fog
|
|
42
42
|
Fog::Compute::RackspaceV2.new(attributes)
|
43
43
|
end
|
44
44
|
when :stormondemand
|
45
|
-
require "fog/storm_on_demand
|
45
|
+
require "fog/compute/storm_on_demand"
|
46
46
|
Fog::Compute::StormOnDemand.new(attributes)
|
47
47
|
when :vcloud
|
48
48
|
require "fog/vcloud/compute"
|
@@ -52,7 +52,11 @@ module Fog
|
|
52
52
|
Fog::Compute::VcloudDirector.new(attributes)
|
53
53
|
else
|
54
54
|
if providers.include?(provider)
|
55
|
-
|
55
|
+
begin
|
56
|
+
require "fog/#{provider}/compute"
|
57
|
+
rescue LoadError
|
58
|
+
require "fog/compute/#{provider}"
|
59
|
+
end
|
56
60
|
begin
|
57
61
|
Fog::Compute.const_get(Fog.providers[provider])
|
58
62
|
rescue
|
data/lib/fog/core/version.rb
CHANGED
data/lib/fog/dns.rb
CHANGED
@@ -8,7 +8,7 @@ module Fog
|
|
8
8
|
attributes = attributes.dup # prevent delete from having side effects
|
9
9
|
case provider = attributes.delete(:provider).to_s.downcase.to_sym
|
10
10
|
when :stormondemand
|
11
|
-
require "fog/storm_on_demand
|
11
|
+
require "fog/dns/storm_on_demand"
|
12
12
|
Fog::DNS::StormOnDemand.new(attributes)
|
13
13
|
else
|
14
14
|
if providers.include?(provider)
|
data/lib/fog/monitoring.rb
CHANGED
@@ -8,7 +8,7 @@ module Fog
|
|
8
8
|
attributes = attributes.dup
|
9
9
|
provider = attributes.delete(:provider).to_s.downcase.to_sym
|
10
10
|
if provider == :stormondemand
|
11
|
-
require "fog/storm_on_demand
|
11
|
+
require "fog/monitoring/storm_on_demand"
|
12
12
|
Fog::Monitoring::StormOnDemand.new(attributes)
|
13
13
|
else
|
14
14
|
raise ArgumentError, "#{provider} has no monitoring service"
|
data/lib/fog/network.rb
CHANGED
@@ -9,7 +9,7 @@ module Fog
|
|
9
9
|
provider = attributes.delete(:provider).to_s.downcase.to_sym
|
10
10
|
|
11
11
|
if provider == :stormondemand
|
12
|
-
require "fog/storm_on_demand
|
12
|
+
require "fog/network/storm_on_demand"
|
13
13
|
return Fog::Network::StormOnDemand.new(attributes)
|
14
14
|
elsif providers.include?(provider)
|
15
15
|
require "fog/#{provider}/network"
|
data/lib/fog/orchestration.rb
CHANGED
@@ -9,7 +9,7 @@ module Fog
|
|
9
9
|
provider = attributes.delete(:provider).to_s.downcase.to_sym
|
10
10
|
|
11
11
|
if providers.include?(provider)
|
12
|
-
require "fog/#{provider}/
|
12
|
+
require "fog/#{provider}/orchestration"
|
13
13
|
return Fog::Orchestration.const_get(Fog.providers[provider]).new(attributes)
|
14
14
|
end
|
15
15
|
|
data/lib/fog/storage.rb
CHANGED
@@ -13,7 +13,7 @@ module Fog
|
|
13
13
|
require "fog/internet_archive/storage"
|
14
14
|
Fog::Storage::InternetArchive.new(attributes)
|
15
15
|
when :stormondemand
|
16
|
-
require "fog/storm_on_demand
|
16
|
+
require "fog/storage/storm_on_demand"
|
17
17
|
Fog::Storage::StormOnDemand.new(attributes)
|
18
18
|
else
|
19
19
|
if providers.include?(provider)
|
data/lib/fog/support.rb
CHANGED
@@ -9,7 +9,7 @@ module Fog
|
|
9
9
|
provider = attributes.delete(:provider).to_s.downcase.to_sym
|
10
10
|
|
11
11
|
if provider == :stormondemand
|
12
|
-
require "fog/storm_on_demand
|
12
|
+
require "fog/support/storm_on_demand"
|
13
13
|
Fog::Support::StormOnDemand.new(attributes)
|
14
14
|
else
|
15
15
|
raise ArgumentError, "#{provider} has no support service"
|
data/lib/fog/vpn.rb
CHANGED
@@ -9,7 +9,7 @@ module Fog
|
|
9
9
|
provider = attributes.delete(:provider).to_s.downcase.to_sym
|
10
10
|
|
11
11
|
if provider == :stormondemand
|
12
|
-
require "fog/storm_on_demand
|
12
|
+
require "fog/vpn/storm_on_demand"
|
13
13
|
Fog::VPN::StormOnDemand.new(attributes)
|
14
14
|
else
|
15
15
|
raise ArgumentError, "#{provider} has no vpn service"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.27.
|
4
|
+
version: 1.27.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Light
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-12-
|
12
|
+
date: 2014-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: builder
|