cloud_info 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/gemspec.rb +1 -1
- data/lib/cloud_info.rb +2 -1
- metadata +3 -3
data/gemspec.rb
CHANGED
data/lib/cloud_info.rb
CHANGED
@@ -12,7 +12,8 @@ class CloudInfo
|
|
12
12
|
end
|
13
13
|
|
14
14
|
# if a cache exist it uses it instead of finding the servers
|
15
|
-
def hosts
|
15
|
+
def hosts
|
16
|
+
use_cache = @options[:use_cache]
|
16
17
|
# check yaml file first
|
17
18
|
if use_cache and File.exist?(@cache_path)
|
18
19
|
@hosts = (CloudInfo.read_yaml(@cache_path) || {})[env_name]
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 5
|
9
|
+
version: 0.1.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Tung Nguyen
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-03-
|
17
|
+
date: 2010-03-11 00:00:00 -08:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|