kelbim 0.3.0.beta8 → 0.3.0.beta9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65d42e0daf794fceac10fabca0eaae0bcca9a881
4
- data.tar.gz: 417c2813b63465ce4ca36622b8dcb4aced60f76b
3
+ metadata.gz: b5322bbfd95e407dc650787a1d1bb328a49ec9fa
4
+ data.tar.gz: 78a5ce5c6f892644eddc5c7c65b80f19278485b6
5
5
  SHA512:
6
- metadata.gz: cd375fe7096ab0ec924d0da16c4897adb41062c4a8d7774edd2c0f2df5cdd61a2c54b817cc3e454af387356fcd31b6826129de506cfd5908b4b796eab93cbb3c
7
- data.tar.gz: 3e5e45f4272edac5f211bd9418ac68edf2d6af996f636338ad43e7b0356dfc2048c800704cc5a3ceaeda07b29f8b37727f2133e479749dc118e0733a2f7169dc
6
+ metadata.gz: 98ef88b5a3a35e93b0ecfa347ae37a3751753d7268d72231c7908e16a21c3ae963469cef46f41affd33a13f517459d8bee64261ac926d9014c4cf4be5cf387d6
7
+ data.tar.gz: bc00c7fd8d3b519e2f1e106cf54cb25ffae5c32ef12ed6af61e5211dda31087ac962c307361514b70a83a87e776cdaf50d5211a036a026d163341cfea846e595
data/README.md CHANGED
@@ -113,6 +113,7 @@ ec2 "vpc-XXXXXXXXX" do
113
113
  "nyar",
114
114
  "yog"
115
115
  )
116
+ # or `any_instances`
116
117
 
117
118
  listeners do
118
119
  listener [:tcp, 80] => [:tcp, 80]
@@ -51,6 +51,11 @@ module Kelbim
51
51
  end
52
52
  end
53
53
 
54
+ def any_instances
55
+ call_once(:instances)
56
+ @result.any_instances = true
57
+ end
58
+
54
59
  def listeners(&block)
55
60
  call_once(:listeners)
56
61
  @result.listeners = Listeners.new(@context, @name, &block).result
@@ -1,5 +1,5 @@
1
1
  module Kelbim
2
- VERSION = "0.3.0.beta8"
2
+ VERSION = "0.3.0.beta9"
3
3
  end
4
4
 
5
5
  Version = Kelbim::VERSION
@@ -236,6 +236,8 @@ module Kelbim
236
236
  end
237
237
 
238
238
  def compare_instances(dsl)
239
+ return true if dsl.any_instances
240
+
239
241
  aws_instance_ids = @load_balancer.instances.map {|i| i.id }.sort
240
242
 
241
243
  dsl_instance_ids = dsl.instances.map {|i|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelbim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.beta8
4
+ version: 0.3.0.beta9
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-14 00:00:00.000000000 Z
11
+ date: 2016-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-v1
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  version: 1.3.1
212
212
  requirements: []
213
213
  rubyforge_project:
214
- rubygems_version: 2.4.5.1
214
+ rubygems_version: 2.6.6
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: Kelbim is a tool to manage ELB.