ec2-host 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/ec2/host/config.rb +6 -4
- data/lib/ec2/host/version.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: db94b2e015976ec8abde81cc7446ddf0c6a741ae
|
4
|
+
data.tar.gz: 71036104f462964de560c9b55f6ff2093c457354
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7d1c1dd28b2f98794e7fed5da8044c02d651928875011f98db65471f3c2cfa493ffd44a3a757088736fc12dcef802b70c8760b4500ae94839d7c34d0ab04bab
|
7
|
+
data.tar.gz: 84b5db8644b9ca20100fd11a75aa08e960d14ffa77eea32695ee9dc1768d313d50b49a0e83e741b0f012444d435efb42ace7bc276913f9d940e97d84528de9f5
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/ec2/host/config.rb
CHANGED
@@ -129,10 +129,12 @@ class EC2
|
|
129
129
|
def self.config
|
130
130
|
return @config if @config
|
131
131
|
@config = {}
|
132
|
-
File.
|
133
|
-
|
134
|
-
|
135
|
-
|
132
|
+
if File.exist?(config_file)
|
133
|
+
File.readlines(config_file).each do |line|
|
134
|
+
next if line.start_with?('#')
|
135
|
+
key, val = line.chomp.split('=', 2)
|
136
|
+
@config[key] = val
|
137
|
+
end
|
136
138
|
end
|
137
139
|
@config
|
138
140
|
end
|
data/lib/ec2/host/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ec2-host
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naotoshi Seo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|