ufo 4.1.4 → 4.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +4 -4
- data/lib/ufo/network/fetch.rb +8 -1
- data/lib/ufo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfa53f85e3ac49817fc7173c918c0df4fcf438d16136a6fd51feb0ddc82b0e0e
|
4
|
+
data.tar.gz: e02f034850589710adf85058649086082cced6df401e76c854f8eed737ebf5ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d7b2d923c46bad0e2d307f6ebb453ea3382c11dae15d81979ee273ecffbe386470c8ac3f13b1e7beb8def4a58afd37ce0e87f125fd1a3d4899ac82d5981035e
|
7
|
+
data.tar.gz: b3fcdecaf2d7b3507df84bd78c7d790a15b9f5299977bb4396f833470f0c05b15448a505c687e475220763266ea52577d8dfbba8f3baa927cff8f8d76752d74d
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [4.1.5]
|
7
|
+
- provide error message and instructions for case of missing default vpc, pull request #49
|
8
|
+
|
6
9
|
## [4.1.4]
|
7
10
|
- improve regexp for striping trailing comments in env files, fixes #47
|
8
11
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ufo (4.1.
|
4
|
+
ufo (4.1.5)
|
5
5
|
aws-sdk-cloudformation
|
6
6
|
aws-sdk-cloudwatchlogs
|
7
7
|
aws-sdk-ec2
|
@@ -25,19 +25,19 @@ GEM
|
|
25
25
|
minitest (~> 5.1)
|
26
26
|
tzinfo (~> 1.1)
|
27
27
|
aws-eventstream (1.0.1)
|
28
|
-
aws-partitions (1.
|
28
|
+
aws-partitions (1.102.0)
|
29
29
|
aws-sdk-cloudformation (1.6.0)
|
30
30
|
aws-sdk-core (~> 3)
|
31
31
|
aws-sigv4 (~> 1.0)
|
32
32
|
aws-sdk-cloudwatchlogs (1.5.0)
|
33
33
|
aws-sdk-core (~> 3)
|
34
34
|
aws-sigv4 (~> 1.0)
|
35
|
-
aws-sdk-core (3.
|
35
|
+
aws-sdk-core (3.25.0)
|
36
36
|
aws-eventstream (~> 1.0)
|
37
37
|
aws-partitions (~> 1.0)
|
38
38
|
aws-sigv4 (~> 1.0)
|
39
39
|
jmespath (~> 1.0)
|
40
|
-
aws-sdk-ec2 (1.
|
40
|
+
aws-sdk-ec2 (1.43.0)
|
41
41
|
aws-sdk-core (~> 3)
|
42
42
|
aws-sigv4 (~> 1.0)
|
43
43
|
aws-sdk-ecr (1.4.0)
|
data/lib/ufo/network/fetch.rb
CHANGED
@@ -15,7 +15,14 @@ class Ufo::Network
|
|
15
15
|
resp = ec2.describe_vpcs(filters: [
|
16
16
|
{name: "isDefault", values: ["true"]}
|
17
17
|
])
|
18
|
-
resp.vpcs.first
|
18
|
+
default_vpc = resp.vpcs.first
|
19
|
+
if default_vpc
|
20
|
+
default_vpc.vpc_id
|
21
|
+
else
|
22
|
+
puts "A default vpc was not found in this AWS account and region.".colorize(:red)
|
23
|
+
puts "Because there is no default vpc, please specify the --vpc-id option. More info: http://ufoships.com/reference/ufo-init/"
|
24
|
+
exit 1
|
25
|
+
end
|
19
26
|
end
|
20
27
|
memoize :vpc_id
|
21
28
|
|
data/lib/ufo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ufo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-cloudformation
|