applb 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/README.md +2 -2
- data/lib/applb/converter.rb +2 -1
- data/lib/applb/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: 9d36371dbd509e977ef9bbf031611a7c43b32fd0
|
4
|
+
data.tar.gz: 3904b19c4f6832b3f9da1e0956cf5ce5a811ade3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 166ab04db9b8ab93c4da9b8e3b52bcf7d56cf80d4c9b7c366eca1ce6028aa7bbd30bcc1948f0df7e89ed110c94642df4dac4ab6117917ecbd82218e445f93d4b
|
7
|
+
data.tar.gz: afe0a6dee6c359a7a35ea5914bf9f6aafc6a60546986c8606c07e8e9c08534aee4310cf046567082191093f8b77ee0361d919b6abbe6839fe609b47aca544ca6
|
data/README.md
CHANGED
@@ -205,12 +205,12 @@ end
|
|
205
205
|
|
206
206
|
## Use template
|
207
207
|
|
208
|
-
```
|
208
|
+
```ruby
|
209
209
|
template "target_groups" do
|
210
210
|
target_groups do
|
211
211
|
target_group "my-target-group" do
|
212
212
|
protocol "HTTP"
|
213
|
-
port context.port || 80 # use default 80 or override context value
|
213
|
+
port context.port || 80 # use default 80 or override with context value
|
214
214
|
vpc_id "vpc-XXXXXXXX"
|
215
215
|
health_check_interval_seconds 30
|
216
216
|
health_check_path "/healthcheck"
|
data/lib/applb/converter.rb
CHANGED
@@ -16,7 +16,8 @@ module Applb
|
|
16
16
|
private
|
17
17
|
|
18
18
|
def output_alb(vpc_id, tags_by_arn, lbs_by_name)
|
19
|
-
|
19
|
+
path = Pathname.new(File.expand_path('../', __FILE__)).join('output_alb.erb')
|
20
|
+
ERB.new(path.read, nil, '-').result(binding)
|
20
21
|
end
|
21
22
|
end
|
22
23
|
end
|
data/lib/applb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: applb
|
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
|
- wata
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|