awspec 1.5.1 → 1.5.2

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: 6fe998760f93b86dc7701a60a93fd32aac29c022
4
- data.tar.gz: 6b2dc3d9ebaf9dbc759ae5cde264d0e415505ed5
3
+ metadata.gz: 44af76209138b22176e5d14dae6e0ba6f01348ad
4
+ data.tar.gz: d8ec0df5cd855b26bc633db1a5dbcc64fc82d4fa
5
5
  SHA512:
6
- metadata.gz: 7fdd812ac8a0f340376f246f1051f91e14f0924d7c17496eaf207160a332023e5249945b1589c958a537b3582412f6d84a5e714c9452d798105db0f82d9c633c
7
- data.tar.gz: 2ed5eaf23ece386af5b1293aaf5243698f6677f669b2eaef5fa9088d7b984259c1c6e7927b077c21aec938bb1320223f031c5cc610a819ef6009d7034469d5a9
6
+ metadata.gz: 815b45cac75efea6e1fe28ff2bd498723b83dd0c954cbb73219b1f29409348686131d53e74f4a8a4ab764726d15f71d69d6b79005cb9c0a40e992e928739d6d1
7
+ data.tar.gz: a5bd514359d6f55efd6b8bd2201d3fcd7bc3c87b53502c77383dd9ba6638555aa5b48edafd4ecfa07a63deef79ff3fa56e5f358dcfdcce800bd317947061fbc4
@@ -61,8 +61,8 @@ it { should have_acl_grant(grantee: '<%= #{grantee} %>', permission: '<%= grant.
61
61
  it do
62
62
  should have_lifecycle_rule(
63
63
  id: '<%= rule.id %>',
64
- <%- if rule.prefix -%>
65
- prefix: '<%= rule.prefix %>',
64
+ <%- if rule.filter && rule.filter.prefix -%>
65
+ filter: { prefix: '<%= rule.filter.prefix %>' },
66
66
  <%- end -%>
67
67
  <%- rule.noncurrent_version_expiration.to_h.each do |k, v| -%>
68
68
  noncurrent_version_expiration: { <%= k %>: <%= v %> },
@@ -96,7 +96,9 @@ Aws.config[:s3] = {
96
96
  },
97
97
  {
98
98
  id: 'MyRuleName2',
99
- prefix: '123/',
99
+ filter: {
100
+ prefix: '123/'
101
+ },
100
102
  status: 'Enabled',
101
103
  transitions: [
102
104
  {
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '1.5.1'
2
+ VERSION = '1.5.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-18 00:00:00.000000000 Z
11
+ date: 2018-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk