mappru 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/mappru +4 -3
- data/lib/mappru/client.rb +5 -0
- data/lib/mappru/driver.rb +2 -0
- data/lib/mappru/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: 6d2863ef4f96c705e0456fed60c95340f14ac98a
|
4
|
+
data.tar.gz: 782fbb40ac0429950b62978c469818dfbbd67216
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d5719b27e17b0b5f079daacf39af19b7659ab68e60a95ab30b7ab0a71d2a1321ee5214c300194af00677968874d7a2b5e2a5efd0aae9730538b3825480fb20a
|
7
|
+
data.tar.gz: e1118fa5356b82b3fb5f6ebd63a9982bf72865f9f93ec6037459f5806b9835409ca016f25888d2afbb881a0d1d4b3bdb77d6fc278ef44f9458020f17890ace99
|
data/exe/mappru
CHANGED
@@ -91,12 +91,13 @@ def run_export(client, options)
|
|
91
91
|
requires = []
|
92
92
|
|
93
93
|
exported.each do |vpc_id, rts|
|
94
|
-
|
95
|
-
|
94
|
+
vpc_name = client.vpc_name_by_id(vpc_id) || vpc_id
|
95
|
+
vpc_dir = File.join(dir, vpc_name)
|
96
|
+
FileUtils.mkdir_p(vpc_dir)
|
96
97
|
|
97
98
|
rts.each do |rt_name, attrs|
|
98
99
|
filename = "#{rt_name}.rtbl"
|
99
|
-
requires << File.join(
|
100
|
+
requires << File.join(vpc_name, filename)
|
100
101
|
rt_file = File.join(vpc_dir, filename)
|
101
102
|
|
102
103
|
logger.info(" write `#{rt_file}`")
|
data/lib/mappru/client.rb
CHANGED
data/lib/mappru/driver.rb
CHANGED
data/lib/mappru/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mappru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- winebarrel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|