configure-s3-website 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c33ce4f35ab6af0df19dc186cd931a5cc70d96e4
4
- data.tar.gz: 86ef41e2572b387d6ea1666b030135e5179341d0
3
+ metadata.gz: 08b5066bdcecf96cf6e4e9f2d0c4e1f4a8ed6023
4
+ data.tar.gz: 0b40908190a3ca1bb15a02f6fd0f1d53b765a47b
5
5
  SHA512:
6
- metadata.gz: fd81ad8e3e2d4304ffd8cd9231671e9f428fb380064ba60b1624b4401600abf5ec1b4480befb8d8f48acd8de737a5a6dbb3e8e2de7dfda552c606533568c2288
7
- data.tar.gz: b3654371cf9a0e2ec151c94af155577ec438421714e179786f5e956b1c57010d63bf8228a688d4cf39cabe25aab5df3723c4e28ae9aa4b938b5211841b9ad33e
6
+ metadata.gz: c2d26e2b560294b0655e1ffc7fe6052ceb6bad7a8da2140af9da6fdfa95acdb2f6555a003a9c182c8a972354a1f26e7703b6033764a0acf5c2299e9182c7a232
7
+ data.tar.gz: 801dc529a403eab16e13f4213d0d65cfa9ed9d823b68eae9a2d91bf8fc262523aaca7f15e780a24052a4eb848e7a83f6a5998ecc020d46e9c2dcea127258cc48
@@ -2,6 +2,10 @@
2
2
 
3
3
  This project uses [Semantic Versioning](http://semver.org).
4
4
 
5
+ ## 2.2.0
6
+
7
+ * Convert `http_error_code_returned_equals` value to string
8
+
5
9
  ## 2.1.0
6
10
 
7
11
  * Add ability to use an AWS profile instead of explicit `s3_id` and `s3_secret`
@@ -47,7 +47,7 @@ module ConfigureS3Website
47
47
  rule_value.map { |redirect_rule_key, redirect_rule_value|
48
48
  [
49
49
  redirect_rule_key.to_sym,
50
- redirect_rule_key == "http_redirect_code" ?
50
+ redirect_rule_key == "http_redirect_code" || redirect_rule_key == "http_error_code_returned_equals" ?
51
51
  redirect_rule_value.to_s
52
52
  #redirect_rule_value.to_s # Permit numeric redirect values in the YAML config file. (The S3 API does not allow numeric redirect values, hence this block of code.)
53
53
  :
@@ -1,3 +1,3 @@
1
1
  module ConfigureS3Website
2
- VERSION = '2.1.0'
2
+ VERSION = '2.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configure-s3-website
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.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: 2017-08-08 00:00:00.000000000 Z
11
+ date: 2017-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deep_merge