s3_website 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +4 -0
- data/example-configurations.md +4 -1
- data/features/instructions-for-new-user.feature +4 -0
- data/resources/configuration_file_template.yml +2 -0
- data/s3_website.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fea6e88850680b95f753e74ff1a12402e6670483
|
4
|
+
data.tar.gz: c02c9ddf15d4b6df65803b31bfc33161fc3bb24f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 503d48ed49c1b6411a56f4be61dbd1372ec9768c74069a03f2559e65a65e6e55eb6ee0288040b00162e138a9d221f11d875dd69637ece9057a07d1e459a58e32
|
7
|
+
data.tar.gz: b7a2522205f751d20735883e1255db641e3dd0299251195806538056379dfceb9a8be6255c2596e0b68b692004c18d31e106a1f82aa18d197e5f0f62b4ba000a
|
data/changelog.md
CHANGED
data/example-configurations.md
CHANGED
@@ -19,7 +19,9 @@ s3_bucket: your.domain.net
|
|
19
19
|
If you run `s3_website` on an EC2 instance with IAM roles, it is possible to omit
|
20
20
|
the `s3_id` and `s3_secret`.
|
21
21
|
|
22
|
-
## Optimised for speed
|
22
|
+
## Optimised for speed
|
23
|
+
|
24
|
+
Use CloudFront, gzip, cache headers and greater concurrency:
|
23
25
|
|
24
26
|
````yaml
|
25
27
|
s3_id: <%= ENV['your_domain_net_aws_key'] %>
|
@@ -35,6 +37,7 @@ cloudfront_distribution_config:
|
|
35
37
|
CNAME: your.domain.net
|
36
38
|
max_age: 120
|
37
39
|
gzip: true
|
40
|
+
concurrency_level: 100
|
38
41
|
````
|
39
42
|
|
40
43
|
Above, we store the AWS credentials and the id of the CloudFront distribution as
|
@@ -95,6 +95,10 @@ Feature: Instructions for a new user
|
|
95
95
|
"""
|
96
96
|
# routing_rules:
|
97
97
|
"""
|
98
|
+
Then the file "s3_website.yml" should contain:
|
99
|
+
"""
|
100
|
+
# concurrency_level:
|
101
|
+
"""
|
98
102
|
|
99
103
|
@starts-new-os-process
|
100
104
|
Scenario: Run s3_website with a malformed configuration file
|
data/s3_website.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3_website
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lauri Lehmijoki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|