configure-s3-website 2.0.0.pre.RC2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +20 -5
- data/lib/configure-s3-website/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8aeecfcf2c39ebb0f814a54d3782130e12e9e25
|
4
|
+
data.tar.gz: c73066e5e5b09d982985efb9b45352dab92a7776
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ddc2df2a4940adb7bb10dd89b6e769011ce9d2101833b0063bdb8f1dad6ae022425cd4ed78b8502b21561ce4944ade726c35c79f2ca119f2d32846dddb90aaf
|
7
|
+
data.tar.gz: f4c9cf08d17924c9147ecb18aca2282e678080f8bb82d7e709ba0a5579e160aa2463a2587d274e6452adc3d77f37394a493e2829b3ba5dca5ee42d0c01962b11
|
data/changelog.md
CHANGED
@@ -2,12 +2,13 @@
|
|
2
2
|
|
3
3
|
This project uses [Semantic Versioning](http://semver.org).
|
4
4
|
|
5
|
-
##
|
5
|
+
## 2.0.0
|
6
6
|
|
7
7
|
### Breaking changes
|
8
8
|
|
9
|
-
|
10
|
-
|
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
|
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
|
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
|
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-
|
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:
|
136
|
+
version: '0'
|
137
137
|
requirements: []
|
138
138
|
rubyforge_project:
|
139
139
|
rubygems_version: 2.5.1
|