fog-core 1.41.0 → 1.42.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/Gemfile18 +5 -0
- data/changelog.md +5 -0
- data/lib/fog/core/services_mixin.rb +11 -2
- 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: fe927be3957366d29c86dc7816b9129a78f136f7
|
4
|
+
data.tar.gz: 27d29d06c716e82261583e223f8ad30a46cf1c81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3ed8d0d2b41b090e0c7fd6414fb650eccb62480ed39679bb29289ce331a0977d90c5c7d1d267b96997444fc50eb5bcc30faf543fd2953ea7bd2be2b98dec28d
|
7
|
+
data.tar.gz: f0f1556d175a9fc2ae40ba27f3fa88707d43d675222180706b587d6a7d5b39d617f344735e080199e6abe4e63885a1f16f5ce03ba8dbc0d2bb5ca11925faac5d
|
data/.travis.yml
CHANGED
data/Gemfile18
ADDED
data/changelog.md
CHANGED
@@ -31,9 +31,18 @@ module Fog
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def service_provider_constant(service_name, provider_name)
|
34
|
-
Fog.const_get(service_name).const_get(provider_name
|
34
|
+
Fog.const_get(service_name).const_get(*const_get_args(provider_name))
|
35
35
|
rescue NameError # Try to find the constant from in an alternate location
|
36
|
-
Fog.const_get(provider_name).const_get(service_name
|
36
|
+
Fog.const_get(provider_name).const_get(*const_get_args(service_name))
|
37
|
+
end
|
38
|
+
|
39
|
+
# Ruby 1.8 does not support the second 'inherit' argument to #const_get
|
40
|
+
def const_get_args(*args)
|
41
|
+
if RUBY_VERSION < '1.9'
|
42
|
+
args
|
43
|
+
else
|
44
|
+
args + [false]
|
45
|
+
end
|
37
46
|
end
|
38
47
|
|
39
48
|
def service_name
|
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.42.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: 2016-07-
|
12
|
+
date: 2016-07-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: builder
|
@@ -179,6 +179,7 @@ files:
|
|
179
179
|
- CONTRIBUTING.md
|
180
180
|
- CONTRIBUTORS.md
|
181
181
|
- Gemfile
|
182
|
+
- Gemfile18
|
182
183
|
- LICENSE.md
|
183
184
|
- README.md
|
184
185
|
- Rakefile
|