jekyll-s3 2.4.1 → 2.4.2
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.
- data/README.md +0 -3
- data/changelog.md +7 -0
- data/features/cassettes/cucumber_tags/new-and-changed-files.yml +85 -84
- data/features/cassettes/cucumber_tags/no-new-or-changed-files.yml +117 -68
- data/features/cassettes/cucumber_tags/one-file-to-delete.yml +135 -86
- data/features/cassettes/cucumber_tags/only-changed-files.yml +140 -93
- data/features/cassettes/cucumber_tags/s3-and-cloudfront-when-updating-a-file.yml +277 -215
- data/features/jekyll-s3-cloudfront.feature +1 -7
- data/features/jekyll-s3-upload.feature +7 -3
- data/features/jekyll-s3-website-performance.feature +16 -20
- data/features/support/test_site_dirs/cdn-powered.with-one-change.blog.fi/_jekyll_s3.yml +1 -1
- data/features/support/test_site_dirs/cdn-powered.with-one-change.blog.fi/_site/index.html +2 -0
- data/features/support/test_site_dirs/new-and-changed-files.com/_site/css/styles.css +1 -0
- data/jekyll-s3.gemspec +3 -3
- metadata +6 -6
@@ -10,17 +10,11 @@ Feature: Invalidate the Cloudfront distribution
|
|
10
10
|
Scenario: Upload to S3 and then invalidate the Cloudfront distribution
|
11
11
|
When my Jekyll site is in "features/support/test_site_dirs/cdn-powered.blog.fi"
|
12
12
|
Then jekyll-s3 will push my blog to S3 and invalidate the Cloudfront distribution
|
13
|
-
And the output should
|
13
|
+
And the output should contain
|
14
14
|
"""
|
15
|
-
Deploying _site/* to jekyll-s3-test.net
|
16
|
-
Uploading 2 new file(s)
|
17
|
-
Upload css/styles.css: Success!
|
18
|
-
Upload index.html: Success!
|
19
|
-
Done! Go visit: http://jekyll-s3-test.net.s3-website-us-east-1.amazonaws.com/index.html
|
20
15
|
Invalidating Cloudfront items...
|
21
16
|
/
|
22
17
|
succeeded
|
23
|
-
|
24
18
|
"""
|
25
19
|
|
26
20
|
@s3-and-cloudfront-when-updating-a-file
|
@@ -8,14 +8,18 @@ Feature: upload Jekyll site to S3
|
|
8
8
|
Scenario: Push a new Jekyll site to S3
|
9
9
|
When my Jekyll site is in "features/support/test_site_dirs/my.blog.com"
|
10
10
|
Then jekyll-s3 will push my blog to S3
|
11
|
-
And the output should
|
11
|
+
And the output should contain
|
12
12
|
"""
|
13
13
|
Deploying _site/* to jekyll-s3-test.net
|
14
14
|
Uploading 2 new file(s)
|
15
|
+
"""
|
16
|
+
And the output should contain
|
17
|
+
"""
|
15
18
|
Upload css/styles.css: Success!
|
19
|
+
"""
|
20
|
+
And the output should contain
|
21
|
+
"""
|
16
22
|
Upload index.html: Success!
|
17
|
-
Done! Go visit: http://jekyll-s3-test.net.s3-website-us-east-1.amazonaws.com/index.html
|
18
|
-
|
19
23
|
"""
|
20
24
|
|
21
25
|
@new-files-for-sydney
|
@@ -8,54 +8,50 @@ Feature: improve response times of your Jekyll website
|
|
8
8
|
Scenario: Set Cache-Control: max-age for all uploaded files
|
9
9
|
When my Jekyll site is in "features/support/test_site_dirs/site.with.maxage.com"
|
10
10
|
Then jekyll-s3 will push my blog to S3
|
11
|
-
And the output should
|
11
|
+
And the output should contain
|
12
12
|
"""
|
13
|
-
Deploying _site/* to jekyll-s3-test.net
|
14
|
-
Uploading 2 new file(s)
|
15
13
|
Upload css/styles.css [max-age=120]: Success!
|
14
|
+
"""
|
15
|
+
And the output should contain
|
16
|
+
"""
|
16
17
|
Upload index.html [max-age=120]: Success!
|
17
|
-
Done! Go visit: http://jekyll-s3-test.net.s3-website-us-east-1.amazonaws.com/index.html
|
18
|
-
|
19
18
|
"""
|
20
19
|
|
21
20
|
@new-files
|
22
21
|
Scenario: Set Cache-Control: max-age for CSS files only
|
23
22
|
When my Jekyll site is in "features/support/test_site_dirs/site.with.css-maxage.com"
|
24
23
|
Then jekyll-s3 will push my blog to S3
|
25
|
-
And the output should
|
24
|
+
And the output should contain
|
26
25
|
"""
|
27
|
-
Deploying _site/* to jekyll-s3-test.net
|
28
|
-
Uploading 2 new file(s)
|
29
26
|
Upload css/styles.css [max-age=100]: Success!
|
27
|
+
"""
|
28
|
+
And the output should contain
|
29
|
+
"""
|
30
30
|
Upload index.html [max-age=0]: Success!
|
31
|
-
Done! Go visit: http://jekyll-s3-test.net.s3-website-us-east-1.amazonaws.com/index.html
|
32
|
-
|
33
31
|
"""
|
34
32
|
|
35
33
|
@new-files
|
36
34
|
Scenario: Set Content-Encoding: gzip HTTP header for HTML files
|
37
35
|
When my Jekyll site is in "features/support/test_site_dirs/site.with.gzipped-html.com"
|
38
36
|
Then jekyll-s3 will push my blog to S3
|
39
|
-
And the output should
|
37
|
+
And the output should contain
|
40
38
|
"""
|
41
|
-
Deploying _site/* to jekyll-s3-test.net
|
42
|
-
Uploading 2 new file(s)
|
43
39
|
Upload css/styles.css: Success!
|
40
|
+
"""
|
41
|
+
And the output should contain
|
42
|
+
"""
|
44
43
|
Upload index.html [gzipped]: Success!
|
45
|
-
Done! Go visit: http://jekyll-s3-test.net.s3-website-us-east-1.amazonaws.com/index.html
|
46
|
-
|
47
44
|
"""
|
48
45
|
|
49
46
|
@new-files
|
50
47
|
Scenario: Set both the Content-Encoding: gzip and Cache-Control: max-age headers
|
51
48
|
When my Jekyll site is in "features/support/test_site_dirs/site.with.gzipped-and-max-aged-content.com"
|
52
49
|
Then jekyll-s3 will push my blog to S3
|
53
|
-
And the output should
|
50
|
+
And the output should contain
|
54
51
|
"""
|
55
|
-
Deploying _site/* to jekyll-s3-test.net
|
56
|
-
Uploading 2 new file(s)
|
57
52
|
Upload css/styles.css [gzipped] [max-age=300]: Success!
|
53
|
+
"""
|
54
|
+
And the output should contain
|
55
|
+
"""
|
58
56
|
Upload index.html [gzipped] [max-age=300]: Success!
|
59
|
-
Done! Go visit: http://jekyll-s3-test.net.s3-website-us-east-1.amazonaws.com/index.html
|
60
|
-
|
61
57
|
"""
|
data/jekyll-s3.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "jekyll-s3"
|
6
|
-
s.version = "2.4.
|
6
|
+
s.version = "2.4.2"
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
s.authors = ["Philippe Creux", "Lauri Lehmijoki"]
|
9
9
|
s.email = ["pcreux@gmail.com", "lauri.lehmijoki@iki.fi"]
|
@@ -15,8 +15,8 @@ distribution, making it easy to deliver your blog via the CDN.}
|
|
15
15
|
|
16
16
|
s.default_executable = %q{jekyll-s3}
|
17
17
|
|
18
|
-
s.add_dependency 'aws-sdk', '~> 1.8.
|
19
|
-
s.add_dependency 'filey-diff', '~> 1.
|
18
|
+
s.add_dependency 'aws-sdk', '~> 1.8.5'
|
19
|
+
s.add_dependency 'filey-diff', '~> 1.1'
|
20
20
|
s.add_dependency 'simple-cloudfront-invalidator', '~> 1.0'
|
21
21
|
s.add_dependency 'erubis', '~> 2.7.0'
|
22
22
|
s.add_dependency 'mime-types', '= 1.19'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-03-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: aws-sdk
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.8.
|
22
|
+
version: 1.8.5
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,7 +27,7 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: 1.8.
|
30
|
+
version: 1.8.5
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
name: filey-diff
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
@@ -35,7 +35,7 @@ dependencies:
|
|
35
35
|
requirements:
|
36
36
|
- - ~>
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: '1.
|
38
|
+
version: '1.1'
|
39
39
|
type: :runtime
|
40
40
|
prerelease: false
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.1'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: simple-cloudfront-invalidator
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|