configure-s3-website 2.0.0.pre.RC2 → 2.0.0

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: 2313aed03d85c1deee7be724073bed423e967af5
4
- data.tar.gz: 5977ed491a0422fdec20a2409e03f015b410fbdf
3
+ metadata.gz: d8aeecfcf2c39ebb0f814a54d3782130e12e9e25
4
+ data.tar.gz: c73066e5e5b09d982985efb9b45352dab92a7776
5
5
  SHA512:
6
- metadata.gz: 1680c01cfcce66125781ac283521ef07efdb67e37257cfb20c5288de284841a740ff2179725e3b4518fe4f098f4515c77c611d4102da47536579add78dda92fc
7
- data.tar.gz: 3e32bb6f000e5f9e173d1e0f079dd7b5a89f3d3ff3835afd63aeb9707bc398e7b47fafabbc7bd835fa98c64529380bb460f05352aa0d64d6da8e7fbee8b35291
6
+ metadata.gz: 4ddc2df2a4940adb7bb10dd89b6e769011ce9d2101833b0063bdb8f1dad6ae022425cd4ed78b8502b21561ce4944ade726c35c79f2ca119f2d32846dddb90aaf
7
+ data.tar.gz: f4c9cf08d17924c9147ecb18aca2282e678080f8bb82d7e709ba0a5579e160aa2463a2587d274e6452adc3d77f37394a493e2829b3ba5dca5ee42d0c01962b11
@@ -2,12 +2,13 @@
2
2
 
3
3
  This project uses [Semantic Versioning](http://semver.org).
4
4
 
5
- ## Next
5
+ ## 2.0.0
6
6
 
7
7
  ### Breaking changes
8
8
 
9
- Since the CloudFront integration now uses the official Ruby AWS SDK, the
10
- accepted format of the `cloudfront_distribution_config` is slightly different.
9
+ The CloudFront integration now uses the official Ruby AWS
10
+ SDK. As a consequence, the accepted format of the
11
+ `cloudfront_distribution_config` is slightly different.
11
12
 
12
13
  Below are some examples of changes that you have to perform, depending on the
13
14
  contents of your `cloudfront_distribution_config` setting.
@@ -33,8 +34,8 @@ contents of your `cloudfront_distribution_config` setting.
33
34
 
34
35
  * There might be other incompatible settings in your old configuration, but
35
36
  should them exist, the AWS SDK client will print you a helpful error and then
36
- safely exit. If this happens, just fix the problems that client reports and
37
- try again.
37
+ safely exit. If this happens, just fix the problems that the CloudFront client
38
+ reports and try again.
38
39
 
39
40
  Also, the arrays in hashes are now merged:
40
41
 
@@ -45,6 +46,20 @@ dest = {:x => [{:z => 2}]}
45
46
  Results: {:x => [{:y => 1, :z => 2}]}
46
47
  ```
47
48
 
49
+ With the help of array merging, given your config file contains the following
50
+ setting:
51
+
52
+ ```yaml
53
+ cloudfront_distribution_config:
54
+ origins:
55
+ items:
56
+ - origin_path: /subfolder
57
+ ```
58
+
59
+ ... `configure-s3-website` will include the `origin_path` setting within the
60
+ properties of the first element in the `items` array of your distribution
61
+ settings.
62
+
48
63
  ## 1.7.5
49
64
 
50
65
  * Fix CreateBucket broken in 1.7.4
@@ -1,3 +1,3 @@
1
1
  module ConfigureS3Website
2
- VERSION = '2.0.0-RC2'
2
+ VERSION = '2.0.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configure-s3-website
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre.RC2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lauri Lehmijoki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-21 00:00:00.000000000 Z
11
+ date: 2016-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deep_merge
@@ -131,9 +131,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - ">"
134
+ - - ">="
135
135
  - !ruby/object:Gem::Version
136
- version: 1.3.1
136
+ version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
139
  rubygems_version: 2.5.1