awsborn 0.8.4 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/awsborn.gemspec +1 -1
- data/lib/awsborn/load_balancer.rb +2 -2
- data/spec/load_balancer_spec.rb +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.5
|
data/awsborn.gemspec
CHANGED
@@ -167,12 +167,12 @@ module Awsborn
|
|
167
167
|
|
168
168
|
def set_app_cookie_policy(ports, cookie_name)
|
169
169
|
raise ":cookie_name is missing" if cookie_name.nil?
|
170
|
-
elb.
|
170
|
+
elb.set_app_cookie_policy(@name, ports, cookie_name)
|
171
171
|
end
|
172
172
|
|
173
173
|
def set_lb_cookie_policy(ports, expiration_period)
|
174
174
|
raise ":expiration_period is missing" if expiration_period.nil?
|
175
|
-
elb.
|
175
|
+
elb.set_lb_cookie_policy(@name, ports, expiration_period.to_i)
|
176
176
|
end
|
177
177
|
|
178
178
|
def register_instances (instances)
|
data/spec/load_balancer_spec.rb
CHANGED
@@ -302,8 +302,8 @@ describe Awsborn::LoadBalancer do
|
|
302
302
|
]
|
303
303
|
)
|
304
304
|
@mocked_elb.should_receive(:remove_all_cookie_policies).with('some-name')
|
305
|
-
@mocked_elb.should_receive(:
|
306
|
-
@mocked_elb.should_receive(:
|
305
|
+
@mocked_elb.should_receive(:set_app_cookie_policy).with('some-name', [33], 'some_cookie')
|
306
|
+
@mocked_elb.should_receive(:set_lb_cookie_policy).with('some-name', [44], 42)
|
307
307
|
|
308
308
|
@balancer.update_sticky_cookies
|
309
309
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awsborn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 53
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 0.8.
|
9
|
+
- 5
|
10
|
+
version: 0.8.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Vrensk
|