s3_website 2.7.6 → 2.8.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4ca49ebc954fd1ded5959e91e27da33d05c28ce
|
4
|
+
data.tar.gz: 0bd579509ed4c85abeeccc887df69c91942fcdc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ea2fa351d97196f9227d01eefff1b362c3556c678b664f07ba65d77ae5d7b6cc174d2e3e7bdfeffd6171ae429f56c62814f968ad717a49eda9fd4748569bf64
|
7
|
+
data.tar.gz: 4649b12be2593ec2afff0b2ffbcce019ddebe58ee961d63ee28d9d34f22e4c1068555bd21615021a9a630644e1c44db20515626b006fd30495bd54d817088af4
|
data/README.md
CHANGED
@@ -127,7 +127,7 @@ gzip: true
|
|
127
127
|
```
|
128
128
|
|
129
129
|
Note that you can additionally specify the file extensions you want to Gzip
|
130
|
-
(`.html`, `.css`, `.js`, and `.txt` will be compressed when `gzip: true`):
|
130
|
+
(`.html`, `.css`, `.js`, `.ico`, and `.txt` will be compressed when `gzip: true`):
|
131
131
|
|
132
132
|
```yaml
|
133
133
|
gzip:
|
@@ -443,6 +443,7 @@ Contributors (in alphabetical order)
|
|
443
443
|
* David Raffensperger
|
444
444
|
* Douglas Teoh
|
445
445
|
* Greg Karékinian
|
446
|
+
* Ian Hattendorf
|
446
447
|
* John Allison
|
447
448
|
* Jon Frisby
|
448
449
|
* Jordan White
|
data/changelog.md
CHANGED
data/lib/s3_website/version.rb
CHANGED
@@ -48,6 +48,15 @@ class S3WebsiteSpec extends Specification {
|
|
48
48
|
push()
|
49
49
|
noUploadsOccurred must beTrue
|
50
50
|
}
|
51
|
+
|
52
|
+
(".html" :: ".css" :: ".js" :: ".txt" :: ".ico" :: Nil).foreach((fileExtension) =>
|
53
|
+
s"gzip files that end with $fileExtension" in new BasicSetup {
|
54
|
+
config = "gzip: true"
|
55
|
+
setLocalFileWithContent((s"file.$fileExtension", "file contents"))
|
56
|
+
push()
|
57
|
+
sentPutObjectRequest.getMetadata.getContentEncoding must equalTo("gzip")
|
58
|
+
}
|
59
|
+
)
|
51
60
|
}
|
52
61
|
|
53
62
|
"""
|
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.
|
4
|
+
version: 2.8.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: 2015-02-
|
11
|
+
date: 2015-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|