convection 2.2.18 → 2.2.19

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
  SHA1:
3
- metadata.gz: 1d941d2062593d23a03bb6297c10937b7a90e22e
4
- data.tar.gz: da3122f8e748f7dfc3007293454b3db26db44ce4
3
+ metadata.gz: 2dadfd9cdedf74e98bfcfdf100e8c54ca8311b22
4
+ data.tar.gz: cbe5cdd9030b88ed705a4757dfeb3e8697e01f3d
5
5
  SHA512:
6
- metadata.gz: 7a83ae7143903925990f305f8974c6c9d19779bf3d82a15629695ecf7f702d4e21d783af899c1a20821d5b786eff9470e3d0ee9e5431760dba581240a80b5f59
7
- data.tar.gz: 48363a5f19cb74c0034caf4a57d01818d4bda970a98766f6d047099117694513ec0a3a57eddf77f01e9fa6c41305b880b955c0519bde3973b6a4d0760f02654d
6
+ metadata.gz: 8717c37599f214924de980a2ef9fda1618888258ceedae04a0df8127cfd7e11523dc86f510852639931332e0a8937c539b77d2f296794e9cc8dee997ec6f9f64
7
+ data.tar.gz: 46c0f2bb0aa0018b4b60b31c53b41c06d1a04ea4dcf772712829765a41ef6af79284b9184feacb2f37b2e687b58b22daff9f8e7cd5f0c4f1a251651742cdcf35
@@ -7,8 +7,16 @@ module Convection
7
7
  # Represents a {http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-forwardedvalues.html
8
8
  # CloudFront ForwardedValues Embedded Property Type}
9
9
  class CloudFrontForwardedValues < ResourceProperty
10
+ property :cookies, 'Cookies'
10
11
  property :headers, 'Headers', :type => :list
11
12
  property :query_string, 'QueryString', :default => false
13
+ property :query_string_cache_keys, 'QueryStringCacheKeys'
14
+
15
+ def cookies(&block)
16
+ values = ResourceProperty::CloudFrontForwardedValuesCookies.new(self)
17
+ values.instance_exec(&block) if block
18
+ properties['Cookies'].set(values)
19
+ end
12
20
  end
13
21
  end
14
22
  end
@@ -0,0 +1,16 @@
1
+ require_relative '../resource_property'
2
+
3
+ module Convection
4
+ module Model
5
+ class Template
6
+ class ResourceProperty
7
+ # Represents a {https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-forwardedvalues-cookies.html
8
+ # CloudFront ForwardedValues Cookies Embedded Property Type}
9
+ class CloudFrontForwardedValuesCookies < ResourceProperty
10
+ property :forward, 'Forward'
11
+ property :whitelisted_names, 'WhitelistedNames', :type => :list
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: convection
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.18
4
+ version: 2.2.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Manero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-21 00:00:00.000000000 Z
11
+ date: 2018-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -268,6 +268,7 @@ files:
268
268
  - lib/convection/model/template/resource_property/aws_cloudfront_defaultcachebehavior.rb
269
269
  - lib/convection/model/template/resource_property/aws_cloudfront_distribution_config.rb
270
270
  - lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
271
+ - lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues_cookies.rb
271
272
  - lib/convection/model/template/resource_property/aws_cloudfront_georestriction.rb
272
273
  - lib/convection/model/template/resource_property/aws_cloudfront_logging.rb
273
274
  - lib/convection/model/template/resource_property/aws_cloudfront_origin.rb