MovableInkAWS 0.1.8 → 0.1.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1017fd4533c1f9b954f1f1f4406c1ccd43577c699225b5c24efb60673cf7c77d
4
- data.tar.gz: 8e6d6842f44ba620ae8471e1dfd914cfcdb9a4d579408f9bca06b0d504d8ef6a
3
+ metadata.gz: ee1a2c8481d6a86018db27fd2b80bd5860893c8a615640c5f49b82ae73aee4b2
4
+ data.tar.gz: 87cabc275736604f8157a9794611c28603858f233619edf90325440cbc03bbc8
5
5
  SHA512:
6
- metadata.gz: 554ba89ad8f58564096c006702862ab7fed8b40568fdbc2295093596f3f4ff0fad5523b14ca588b2c45840e71a2dc62be702c82e7de582e36ff3bdf760f57679
7
- data.tar.gz: 5bebb37a8deaa719bf5476039f17f21244c04729cbb296ac31fbc4130c85ffd6a886d6ed798f55a16b8b66e5d73e3491d3fac8355226f2e289b694e8f3d61d7a
6
+ metadata.gz: 0ed46b18675f3443e3c16c8fec22b2a0a9ddb3847f9dc2c4b1898b703daa39bf31f5494207ff5039ed797170e1cb20c32999ff8a2005d3060637b9cd3f1d47c7
7
+ data.tar.gz: 5300b9afe47940466a709feed4d4fa30cd33fd55a63fa3cadf38a628cbb147a92d6d85ceffbc873be09ded9f1fdf902af5996e5764c22f4303c77bdbb0da552e
@@ -44,22 +44,23 @@ module MovableInk
44
44
  end
45
45
  end
46
46
 
47
- def complete_lifecycle_action(hook_name:, group_name:, token:)
47
+ def complete_lifecycle_action(lifecycle_hook_name:, auto_scaling_group_name:, lifecycle_action_token:)
48
48
  run_with_backoff do
49
49
  autoscaling.complete_lifecycle_action({
50
- lifecycle_hook_name: hook_name,
51
- auto_scaling_group_name: group_name,
52
- lifecycle_action_token: token,
50
+ lifecycle_hook_name: lifecycle_hook_name,
51
+ auto_scaling_group_name: auto_scaling_group_name,
52
+ lifecycle_action_token: lifecycle_action_token,
53
53
  lifecycle_action_result: 'CONTINUE'
54
54
  })
55
55
  end
56
56
  end
57
57
 
58
- def record_lifecycle_action_heartbeat(hook_name:, group_name:)
58
+ def record_lifecycle_action_heartbeat(lifecycle_hook_name:, auto_scaling_group_name:, lifecycle_action_token:)
59
59
  run_with_backoff do
60
60
  autoscaling.record_lifecycle_action_heartbeat({
61
- lifecycle_hook_name: hook_name,
62
- auto_scaling_group_name: group_name
61
+ lifecycle_hook_name: lifecycle_hook_name,
62
+ auto_scaling_group_name: auto_scaling_group_name,
63
+ lifecycle_action_token: lifecycle_action_token
63
64
  })
64
65
  end
65
66
  end
@@ -1,5 +1,5 @@
1
1
  module MovableInk
2
2
  class AWS
3
- VERSION = '0.1.8'
3
+ VERSION = '0.1.9'
4
4
  end
5
5
  end
@@ -42,7 +42,7 @@ describe MovableInk::AWS::Autoscaling do
42
42
  allow(aws).to receive(:my_region).and_return('us-east-1')
43
43
  allow(aws).to receive(:autoscaling).and_return(autoscaling)
44
44
 
45
- expect(aws.complete_lifecycle_action(hook_name: 'hook', group_name: 'group', token: 'token')).to eq(Aws::EmptyStructure.new)
45
+ expect(aws.complete_lifecycle_action(lifecycle_hook_name: 'hook', auto_scaling_group_name: 'group', lifecycle_action_token: 'token')).to eq(Aws::EmptyStructure.new)
46
46
  end
47
47
 
48
48
  it "should record lifecycle action heartbeats" do
@@ -50,6 +50,6 @@ describe MovableInk::AWS::Autoscaling do
50
50
  allow(aws).to receive(:my_region).and_return('us-east-1')
51
51
  allow(aws).to receive(:autoscaling).and_return(autoscaling)
52
52
 
53
- expect(aws.record_lifecycle_action_heartbeat(hook_name: 'hook', group_name: 'group')).to eq(Aws::EmptyStructure.new)
53
+ expect(aws.record_lifecycle_action_heartbeat(lifecycle_hook_name: 'hook', auto_scaling_group_name: 'group', lifecycle_action_token: 'token')).to eq(Aws::EmptyStructure.new)
54
54
  end
55
55
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MovableInkAWS
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Chesler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-19 00:00:00.000000000 Z
11
+ date: 2018-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk