s3_website 2.12.2 → 2.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/changelog.md +4 -0
- data/lib/s3_website/version.rb +1 -1
- data/src/main/scala/s3/website/S3.scala +1 -1
- data/src/test/scala/s3/website/S3WebsiteSpec.scala +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: fefe81565de6df6d5c87dd40fd1e695fbe639428
|
4
|
+
data.tar.gz: c0cca72820092f05329249f0f94e1b5204e715e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03efdfe3021a1d46d6de51846d04598ca7fc7c1be162f345ce9fe8329d9b236c8d44b89fb00615d3c09da9bb4c258c674abb90031daaf545066c3b6a38ca639c
|
7
|
+
data.tar.gz: 339235bdd8b2881e6b78dd6c1e8f2636d3df800dab163be70225a50261f0eb9a4201df2a763088059f15ea49bf0eaf8379c8c0c52b0207bd554a7a8b9d6d661e
|
data/README.md
CHANGED
@@ -32,6 +32,10 @@ Here's how you can get started:
|
|
32
32
|
* Run `s3_website cfg apply`. This will configure your bucket to function as an
|
33
33
|
S3 website. If the bucket does not exist, the command will create it for you.
|
34
34
|
* Run `s3_website push` to push your website to S3. Congratulations! You are live.
|
35
|
+
* At any later time when you would like to synchronise your local website with
|
36
|
+
the S3 website, simply run `s3_website push` again.
|
37
|
+
(It will calculate the difference, update the changed files,
|
38
|
+
upload the new files and delete the obsolete files.)
|
35
39
|
|
36
40
|
### Specifying the location of your website
|
37
41
|
|
data/changelog.md
CHANGED
data/lib/s3_website/version.rb
CHANGED
@@ -80,7 +80,7 @@ object S3 {
|
|
80
80
|
cacheCtrl
|
81
81
|
case (maxAgeSeconds: Some[int], None) =>
|
82
82
|
maxAgeSeconds.map({
|
83
|
-
case seconds if seconds == 0 => s"no-cache
|
83
|
+
case seconds if seconds == 0 => s"no-cache, max-age=0"
|
84
84
|
case seconds => s"max-age=$seconds"
|
85
85
|
})
|
86
86
|
case (None, None) => None
|
@@ -801,7 +801,7 @@ class S3WebsiteSpec extends Specification {
|
|
801
801
|
config = "max_age: 0"
|
802
802
|
setLocalFile("index.html")
|
803
803
|
push()
|
804
|
-
sentPutObjectRequest.getMetadata.getCacheControl must equalTo("no-cache
|
804
|
+
sentPutObjectRequest.getMetadata.getCacheControl must equalTo("no-cache, max-age=0")
|
805
805
|
}
|
806
806
|
|
807
807
|
"support non-US-ASCII directory names" in new BasicSetup {
|
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: 2.12.
|
4
|
+
version: 2.12.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lauri Lehmijoki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|