s3_website 2.7.0 → 2.7.1

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: 778dcd186e3206eaf5e03252a3926747dd8d7ba1
4
- data.tar.gz: 74dd5fbc8caa9f73115e9fcba347301cf99eeb9d
3
+ metadata.gz: b16d61f88d92a39c8fd0f0b174ede0244d994aab
4
+ data.tar.gz: 19f39cde88d46c4a8f7355cdd4bbdebe2e497c89
5
5
  SHA512:
6
- metadata.gz: 1cd34d83b87621b4cb05204c651a6af6c1fda88e2d7c0edfbfafa9d782217099650d7a3309d48c76b960328c0406f97df530861840a1e57bc10c859b17de5c23
7
- data.tar.gz: 0f9260d64f41f661334de67f665b817245d15938abb3582443ab3f2b13915f17927a101c2c1581586196cd47203ef1e9147e54d5ef1fcf9e0ca9161268c4dbbd
6
+ metadata.gz: 01f0b6b1e80cd8ce4607f945b02b0f2e2375c6edd1ed8ae8d60d0ed5b05b2d1685dda0504f344dc4ee4d54f1e008281e9032101afbd60dffff34f64c50a8104a
7
+ data.tar.gz: b56e58fd215dfb3c431968c7cb465e51f5fbaff6cd8f3c0a5ddc266fb0e4a23bccaa1e7c030022b983e204f0e4bb582de39f3380a9772b70c18d5988ae090b52
data/.travis.yml CHANGED
@@ -4,4 +4,4 @@ scala:
4
4
  jdk:
5
5
  - openjdk6
6
6
  - openjdk7
7
- - oraclejdk8
7
+ - oraclejdk8
data/README.md CHANGED
@@ -219,7 +219,9 @@ create a CloudFront distribution for you.
219
219
  If you already have a CloudFront distribution that serves data from your website
220
220
  S3 bucket, just add the following line into the file `s3_website.yml`:
221
221
 
222
- cloudfront_distribution_id: your-dist-id
222
+ ```yaml
223
+ cloudfront_distribution_id: your-dist-id
224
+ ```
223
225
 
224
226
  Next time you run `s3_website push`, it will invalidate the items on CloudFront and
225
227
  thus force the CDN system to reload the changes from your website S3 bucket.
@@ -254,7 +256,9 @@ You can instruct the push command to invalidate the root resource instead of the
254
256
  *index.html* resource by adding the following setting into the configuration
255
257
  file:
256
258
 
257
- cloudfront_invalidate_root: true
259
+ ```yaml
260
+ cloudfront_invalidate_root: true
261
+ ```
258
262
 
259
263
  To recap, this setting instructs s3_website to invalidate the root resource
260
264
  (e.g., *article/*) instead of the filename'd resource (e.g.,
@@ -318,15 +322,20 @@ command `s3_website cfg apply` internally calls the `configure-s3-website` gem.)
318
322
  If your website has a lot of redirects, you may find the following setting
319
323
  helpful:
320
324
 
321
- treat_zero_length_objects_as_redirects: true
325
+ ```yaml
326
+ treat_zero_length_objects_as_redirects: true
327
+ ```
322
328
 
323
- The setting allows `s3_website push` to infer whether a redirect exists or not.
329
+ The setting allows `s3_website push` to infer whether a redirect exists on the S3 bucket.
324
330
  You will experience faster `push` performance when this setting is `true`.
325
- However, if this setting is enabled and you modify the `redirects` setting in
331
+
332
+ If this setting is enabled and you modify the `redirects` setting in
326
333
  *s3_website.yml*, use `push --force` to apply the modified values.
327
334
 
328
335
  For backward-compatibility reasons, this setting is `false` by default.
329
336
 
337
+ In this context, the word *object* refers to object on S3, not file-system file.
338
+
330
339
  ### Specifying custom concurrency level
331
340
 
332
341
  By default, `s3_website` does 3 operations in parallel. An operation can be an
@@ -335,7 +344,7 @@ HTTP PUT operation against the S3 API, for example.
335
344
  You can increase the concurrency level by adding the following setting into the
336
345
  `s3_website.yml` file:
337
346
 
338
- ```
347
+ ```yaml
339
348
  concurrency_level: <integer>
340
349
  ```
341
350
 
@@ -434,6 +443,7 @@ Contributors (in alphabetical order)
434
443
  * Douglas Teoh
435
444
  * Greg Karékinian
436
445
  * John Allison
446
+ * Jon Frisby
437
447
  * Jordan White
438
448
  * Justin Latimer
439
449
  * László Bácsi
data/changelog.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  This project uses [Semantic Versioning](http://semver.org).
4
4
 
5
+ ## 2.7.1
6
+
7
+ * Loosen dependency requirements
8
+
9
+ See <https://github.com/laurilehmijoki/s3_website/pull/135> for discussion.
10
+
5
11
  ## 2.7.0
6
12
 
7
13
  * Add setting `treat_zero_length_objects_as_redirects`
@@ -12,6 +18,8 @@ This project uses [Semantic Versioning](http://semver.org).
12
18
  redirects on your site, you may find that this feature decreases the duration
13
19
  of `s3_website push`.
14
20
 
21
+ See <https://github.com/laurilehmijoki/s3_website/issues/132> for discussion.
22
+
15
23
  ## 2.6.1
16
24
 
17
25
  * Always invalidate the object */index.html* if the setting `cloudfront_invalidate_root` is on
@@ -1,3 +1,3 @@
1
1
  module S3Website
2
- VERSION = '2.7.0'
2
+ VERSION = '2.7.1'
3
3
  end
data/release CHANGED
@@ -18,8 +18,7 @@ end
18
18
 
19
19
  puts "Building s3_website.jar..."
20
20
  jar_location = 'target/scala-2.11/s3_website.jar'
21
- run "./sbt clean"
22
- run "./sbt assembly"
21
+ run "./sbt clean assembly"
23
22
 
24
23
  # The bin s3_website uses the MD5 checksum to verify that the jar is not corrupted
25
24
  jar_md5 = Digest::MD5.file(jar_location).hexdigest
@@ -33,7 +32,7 @@ run "rake build"
33
32
 
34
33
  client = Octokit::Client.new(:login => 'laurilehmijoki', :password => ENV['S3_WEBSITE_RELEASE_KEY'])
35
34
  release = client.create_release(
36
- 'laurilehmijoki/s3_website',
35
+ 'laurilehmijoki/s3_website',
37
36
  tag_name,
38
37
  :body => "See https://github.com/laurilehmijoki/s3_website/blob/master/changelog.md##{version.gsub('.', '')}"
39
38
  )
@@ -1 +1 @@
1
- ddc9ee41507905b63f16ab01634e9e5a
1
+ 1fd00c96b6f35828bf1a32575f1dffb2
data/s3_website.gemspec CHANGED
@@ -17,10 +17,10 @@ Gem::Specification.new do |s|
17
17
 
18
18
  s.default_executable = %q{s3_website}
19
19
 
20
- s.add_dependency 'thor', '= 0.18.1'
20
+ s.add_dependency 'thor', '~> 0.18'
21
21
  s.add_dependency 'configure-s3-website', '= 1.6.0'
22
22
  s.add_dependency 'colored', '1.2'
23
- s.add_dependency 'dotenv', '~> 0.11.1'
23
+ s.add_dependency 'dotenv', '~> 1.0'
24
24
 
25
25
  s.add_development_dependency 'rake', '10.1.1'
26
26
  s.add_development_dependency 'octokit', '3.1.0'
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_website
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.7.1
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-23 00:00:00.000000000 Z
11
+ date: 2014-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.1
19
+ version: '0.18'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.18.1
26
+ version: '0.18'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: configure-s3-website
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: dotenv
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.11.1
61
+ version: '1.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.11.1
68
+ version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -103,8 +103,8 @@ executables:
103
103
  extensions: []
104
104
  extra_rdoc_files: []
105
105
  files:
106
- - .gitignore
107
- - .travis.yml
106
+ - ".gitignore"
107
+ - ".travis.yml"
108
108
  - Gemfile
109
109
  - LICENSE
110
110
  - README.md
@@ -153,17 +153,17 @@ require_paths:
153
153
  - lib
154
154
  required_ruby_version: !ruby/object:Gem::Requirement
155
155
  requirements:
156
- - - '>='
156
+ - - ">="
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
- - - '>='
161
+ - - ">="
162
162
  - !ruby/object:Gem::Version
163
163
  version: '0'
164
164
  requirements: []
165
165
  rubyforge_project:
166
- rubygems_version: 2.2.1
166
+ rubygems_version: 2.2.2
167
167
  signing_key:
168
168
  specification_version: 4
169
169
  summary: Manage your S3 website