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 CHANGED
@@ -1 +1 @@
1
- 0.8.4
1
+ 0.8.5
data/awsborn.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{awsborn}
8
- s.version = "0.8.4"
8
+ s.version = "0.8.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Vrensk", "Jean-Louis Giordano"]
@@ -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.set_app_sticky_cookie(@name, ports, cookie_name)
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.set_lb_sticky_cookie(@name, ports, expiration_period.to_i)
175
+ elb.set_lb_cookie_policy(@name, ports, expiration_period.to_i)
176
176
  end
177
177
 
178
178
  def register_instances (instances)
@@ -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(:set_app_sticky_cookie).with('some-name', [33], 'some_cookie')
306
- @mocked_elb.should_receive(:set_lb_sticky_cookie).with('some-name', [44], 42)
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: 55
4
+ hash: 53
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 4
10
- version: 0.8.4
9
+ - 5
10
+ version: 0.8.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Vrensk