s3_website 1.6.7 → 1.6.8
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 +8 -8
- data/changelog.md +5 -0
- data/lib/s3_website/upload.rb +1 -1
- data/s3_website.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ODMzNTUyZTcyNTMyMzk4NDJkYmM3ODE1MjI5NjI3MmYwZGNiZWY4ZQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NGM0MjBhYmIyNDMxNjYwMGYxZTEzYTI5MzQ1NzBhYTVlNGVkZGE0Mg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OTgzZjIxZjMyOTVkMWVhZDQ5NDc1ZmQyMGE2NmE5MWYzMTgxYjNkYTRmZmEx
|
|
10
|
+
OTM5MmQyOWQwY2YzYWUyMWNiMDI0YTZkODlmNTFlMWI4OTA4MmQ4MzRlNzU4
|
|
11
|
+
YWM2MjA3MTc1ZjhmNDE2NWE2ODI3OWIyN2E4ZjBmNmRlODk5YmM=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NzBlZmU2NTdhYzA2YTI4Y2E0YzVlOWJiYjliYTkzYTdkMjZkNGQxZDNmYjNi
|
|
14
|
+
NzgwMDNmZjlkZDk4MDBkYmIwMWI0ZDdhZDMxODRmNmQ2OWIzNWJiNzM3MTE2
|
|
15
|
+
NTcxYWY1NmI5NjhiMmNjNGZjYjhjNzU3ZDNkMTg4NGMxM2ZjZmQ=
|
data/changelog.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
This project uses [Semantic Versioning](http://semver.org).
|
|
4
4
|
|
|
5
|
+
## 1.6.8
|
|
6
|
+
|
|
7
|
+
* Fix content-type problem
|
|
8
|
+
(<https://github.com/laurilehmijoki/s3_website/pull/66>)
|
|
9
|
+
|
|
5
10
|
## 1.6.7
|
|
6
11
|
|
|
7
12
|
* Support the eu-west-1 location constraint for the commands `cfg apply` and
|
data/lib/s3_website/upload.rb
CHANGED
|
@@ -76,7 +76,7 @@ module S3Website
|
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
def resolve_content_type
|
|
79
|
-
is_text = mime_type.start_with?
|
|
79
|
+
is_text = mime_type.start_with?('text/') || mime_type == 'application/json'
|
|
80
80
|
if is_text
|
|
81
81
|
"#{mime_type}; charset=utf-8" # Let's consider UTF-8 as the de-facto encoding standard for text
|
|
82
82
|
else
|
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.6.
|
|
4
|
+
version: 1.6.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lauri Lehmijoki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|