s3_website 2.12.2 → 2.12.3

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: 394af2c60316995777e9657e4ff07db858cbf7d3
4
- data.tar.gz: 7addbc2e141859787e825625ecb805cc65c6c8f2
3
+ metadata.gz: fefe81565de6df6d5c87dd40fd1e695fbe639428
4
+ data.tar.gz: c0cca72820092f05329249f0f94e1b5204e715e4
5
5
  SHA512:
6
- metadata.gz: e0a177d63c01e92059f1711d2ac2bd1ef54ae9e62cd8e5187c64c7a5688560067ce8d83885f8c22c2e9c310ad293bb9747be522d9e6c6381af67e5196d606b0a
7
- data.tar.gz: 6e01eb1128e2093aecde61aedd45366a13233c61fde6d83c13b2262aea192b1389c7b1abf7f5e8f07d29ca6409a2f81b9416eace31f4e2d91dca3fbebc97ccb5
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
@@ -2,6 +2,10 @@
2
2
 
3
3
  This project uses [Semantic Versioning](http://semver.org).
4
4
 
5
+ ## 2.12.3
6
+
7
+ * Fix <https://github.com/laurilehmijoki/s3_website/issues/208>
8
+
5
9
  ## 2.12.2
6
10
 
7
11
  * Merge <https://github.com/laurilehmijoki/s3_website/pull/190>
@@ -1,3 +1,3 @@
1
1
  module S3Website
2
- VERSION = '2.12.2'
2
+ VERSION = '2.12.3'
3
3
  end
@@ -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; max-age=0"
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; max-age=0")
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.2
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: 2015-10-16 00:00:00.000000000 Z
11
+ date: 2016-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor