fog-core 1.27.4 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +7 -2
- data/lib/fog/baremetal.rb +23 -0
- data/lib/fog/core.rb +1 -0
- data/lib/fog/core/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3adfecc06e8a5e94b89b4734caca15a4b650984
|
4
|
+
data.tar.gz: 18cad321f56ecf4f8031d220dc8c1bf292b7479a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f06f19bda33e2a1ec1316f6fcb50e2bbbc940217d9a9f8e6c97304b088a4ae02fcfd81ef8dbb3356b40f2f04f510f44052f99db9918f98388c08c186e679f3b
|
7
|
+
data.tar.gz: 92c242001650b228e5ae34426836f014235d128263c66f96a1d3970135985e7e5f4cf38448e50f53866fc1dbc4e0ba205600f6bf99eae2b40f3c96c4284616c6
|
data/changelog.md
CHANGED
@@ -1,10 +1,15 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0 01/30/2015
|
2
|
+
==========================================================
|
3
|
+
|
4
|
+
add Fog::Baremetal
|
5
|
+
|
6
|
+
1.27.4 01/26/2015
|
2
7
|
==========================================================
|
3
8
|
|
4
9
|
model fix for new formatador usage
|
5
10
|
fixes around formatador delegation
|
6
11
|
|
7
|
-
1.27.3 12/01/
|
12
|
+
1.27.3 12/01/2014
|
8
13
|
==========================================================
|
9
14
|
|
10
15
|
rubocop fixes for fog collection
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Fog
|
2
|
+
module Baremetal
|
3
|
+
def self.[](provider)
|
4
|
+
new(:provider => provider)
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.new(attributes)
|
8
|
+
attributes = attributes.dup # Prevent delete from having side effects
|
9
|
+
provider = attributes.delete(:provider).to_s.downcase.to_sym
|
10
|
+
|
11
|
+
if providers.include?(provider)
|
12
|
+
require "fog/#{provider}/baremetal"
|
13
|
+
return Fog::Baremetal.const_get(Fog.providers[provider]).new(attributes)
|
14
|
+
end
|
15
|
+
|
16
|
+
raise ArgumentError, "#{provider} has no baremetal service"
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.providers
|
20
|
+
Fog.services[:baremetal]
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/fog/core.rb
CHANGED
data/lib/fog/core/version.rb
CHANGED
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.
|
4
|
+
version: 1.28.0
|
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: 2015-01-
|
12
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: builder
|
@@ -228,6 +228,7 @@ files:
|
|
228
228
|
- changelog.md
|
229
229
|
- fog-core.gemspec
|
230
230
|
- lib/fog/account.rb
|
231
|
+
- lib/fog/baremetal.rb
|
231
232
|
- lib/fog/billing.rb
|
232
233
|
- lib/fog/cdn.rb
|
233
234
|
- lib/fog/compute.rb
|