jekyll-s3 2.1.0 → 2.1.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.
- data/README.md +6 -33
- data/changelog.md +33 -0
- data/features/cli-output.feature +0 -6
- data/jekyll-s3.gemspec +1 -1
- data/lib/jekyll-s3/config_loader.rb +0 -2
- metadata +2 -1
data/README.md
CHANGED
@@ -33,7 +33,9 @@ s3_bucket: your.blog.bucket.com
|
|
33
33
|
|
34
34
|
* Run `jekyll-s3`. Done.
|
35
35
|
|
36
|
-
##
|
36
|
+
## Additional features
|
37
|
+
|
38
|
+
### Reduced Redundancy
|
37
39
|
|
38
40
|
You can reduce the cost of hosting your blog on S3 by using Reduced Redundancy Storage:
|
39
41
|
|
@@ -41,7 +43,7 @@ You can reduce the cost of hosting your blog on S3 by using Reduced Redundancy S
|
|
41
43
|
* All objects uploaded after this change will use the Reduced Redundancy Storage.
|
42
44
|
* If you want to change all of the files in the bucket, you can change them through the AWS console, or update the timestamp on the files before running `jekyll-s3` again
|
43
45
|
|
44
|
-
|
46
|
+
### How to use Cloudfront to deliver your blog
|
45
47
|
|
46
48
|
It is easy to deliver your S3-based web site via Cloudfront, the CDN of Amazon.
|
47
49
|
|
@@ -52,7 +54,7 @@ It is easy to deliver your S3-based web site via Cloudfront, the CDN of Amazon.
|
|
52
54
|
* Run `jekyll-s3` to deploy your site to S3 and invalidate the Cloudfront
|
53
55
|
distribution
|
54
56
|
|
55
|
-
|
57
|
+
### The headless mode
|
56
58
|
|
57
59
|
Jekyll-s3 has a headless mode, in which the interactions with a user are
|
58
60
|
disabled.
|
@@ -64,36 +66,6 @@ unpublish blog posts.)
|
|
64
66
|
Enable the headless mode by adding the `--headless` or `-h` argument after
|
65
67
|
`jekyll-s3`.
|
66
68
|
|
67
|
-
## Changelog
|
68
|
-
|
69
|
-
### 2.1.0
|
70
|
-
|
71
|
-
* Added support for S3 reduced redundancy storage
|
72
|
-
|
73
|
-
### 2.0.0
|
74
|
-
|
75
|
-
* Set content type of the uploaded files
|
76
|
-
* (Increment major version because of the changed return value in
|
77
|
-
Jekyll::S3::CLI::run)
|
78
|
-
|
79
|
-
### 1.0.0
|
80
|
-
|
81
|
-
* CloudFront invalidation on changed files only
|
82
|
-
* Start using [Semantic versioning](http://semver.org/)
|
83
|
-
|
84
|
-
### 0.0.7
|
85
|
-
|
86
|
-
* Headless mode
|
87
|
-
|
88
|
-
### 0.0.6
|
89
|
-
|
90
|
-
* Upload only new or changed files
|
91
|
-
* Support ERB syntax in `_jekyll_s3.yml`
|
92
|
-
|
93
|
-
### 0.0.5
|
94
|
-
|
95
|
-
* Invalidate the Cloudfront distribution of the Jekyll S3 bucket.
|
96
|
-
|
97
69
|
## Known issues
|
98
70
|
|
99
71
|
### Only S3 buckets in the US Standard region work
|
@@ -106,6 +78,7 @@ the bucket in the US Standard region.
|
|
106
78
|
## Development
|
107
79
|
|
108
80
|
* Install bundler and run `bundle install`
|
81
|
+
* Run all tests by invoking `rake test`
|
109
82
|
* Run the integration tests by running `bundle exec cucumber`
|
110
83
|
* Run the unit tests by running `bundle exec rspec spec/lib/*.rb`
|
111
84
|
|
data/changelog.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## 2.1.1
|
4
|
+
|
5
|
+
* Remove optional settings from the generated `_jekyll_s3.yml` file
|
6
|
+
|
7
|
+
## 2.1.0
|
8
|
+
|
9
|
+
* Added support for S3 reduced redundancy storage
|
10
|
+
|
11
|
+
## 2.0.0
|
12
|
+
|
13
|
+
* Set content type of the uploaded files
|
14
|
+
* (Increment major version because of the changed return value in
|
15
|
+
Jekyll::S3::CLI::run)
|
16
|
+
|
17
|
+
## 1.0.0
|
18
|
+
|
19
|
+
* CloudFront invalidation on changed files only
|
20
|
+
* Start using [Semantic versioning](http://semver.org/)
|
21
|
+
|
22
|
+
## 0.0.7
|
23
|
+
|
24
|
+
* Headless mode
|
25
|
+
|
26
|
+
## 0.0.6
|
27
|
+
|
28
|
+
* Upload only new or changed files
|
29
|
+
* Support ERB syntax in `_jekyll_s3.yml`
|
30
|
+
|
31
|
+
## 0.0.5
|
32
|
+
|
33
|
+
* Invalidate the Cloudfront distribution of the Jekyll S3 bucket.
|
data/features/cli-output.feature
CHANGED
@@ -21,8 +21,6 @@ Feature: Command-line interface feedback
|
|
21
21
|
s3_id: YOUR_AWS_S3_ACCESS_KEY_ID
|
22
22
|
s3_secret: YOUR_AWS_S3_SECRET_ACCESS_KEY
|
23
23
|
s3_bucket: your.blog.bucket.com
|
24
|
-
s3_reduced_redundancy: false
|
25
|
-
cloudfront_distribution_id: YOUR_CLOUDFRONT_DIST_ID (OPTIONAL)
|
26
24
|
"""
|
27
25
|
|
28
26
|
Scenario: Run jekyll-s3 with an empty configuration file
|
@@ -35,7 +33,6 @@ Feature: Command-line interface feedback
|
|
35
33
|
s3_id: YOUR_AWS_S3_ACCESS_KEY_ID
|
36
34
|
s3_secret: YOUR_AWS_S3_SECRET_ACCESS_KEY
|
37
35
|
s3_bucket: your.blog.bucket.com
|
38
|
-
s3_reduced_redundancy: false
|
39
36
|
"""
|
40
37
|
|
41
38
|
Scenario: Run jekyll-s3 with a malformed configuration file
|
@@ -52,7 +49,6 @@ Feature: Command-line interface feedback
|
|
52
49
|
s3_id: YOUR_AWS_S3_ACCESS_KEY_ID
|
53
50
|
s3_secret: YOUR_AWS_S3_SECRET_ACCESS_KEY
|
54
51
|
s3_bucket: your.blog.bucket.com
|
55
|
-
s3_reduced_redundancy: false
|
56
52
|
"""
|
57
53
|
|
58
54
|
Scenario: Run jekyll-s3 with a configuration file that does not contain a bucket
|
@@ -62,7 +58,6 @@ Feature: Command-line interface feedback
|
|
62
58
|
s3_id: YOUR_AWS_S3_ACCESS_KEY_ID
|
63
59
|
s3_secret: YOUR_AWS_S3_SECRET_ACCESS_KEY
|
64
60
|
s3_bucket:
|
65
|
-
s3_reduced_redundancy: false
|
66
61
|
"""
|
67
62
|
When I run `jekyll-s3`
|
68
63
|
Then the output should contain:
|
@@ -71,7 +66,6 @@ Feature: Command-line interface feedback
|
|
71
66
|
s3_id: YOUR_AWS_S3_ACCESS_KEY_ID
|
72
67
|
s3_secret: YOUR_AWS_S3_SECRET_ACCESS_KEY
|
73
68
|
s3_bucket: your.blog.bucket.com
|
74
|
-
s3_reduced_redundancy: false
|
75
69
|
"""
|
76
70
|
|
77
71
|
Scenario: Run jekyll-s3
|
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.1.
|
6
|
+
s.version = "2.1.1"
|
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"]
|
@@ -6,8 +6,6 @@ module Jekyll
|
|
6
6
|
s3_id: YOUR_AWS_S3_ACCESS_KEY_ID
|
7
7
|
s3_secret: YOUR_AWS_S3_SECRET_ACCESS_KEY
|
8
8
|
s3_bucket: your.blog.bucket.com
|
9
|
-
s3_reduced_redundancy: false
|
10
|
-
cloudfront_distribution_id: YOUR_CLOUDFRONT_DIST_ID (OPTIONAL)
|
11
9
|
EOF
|
12
10
|
|
13
11
|
def self.check_jekyll_project(site_dir)
|
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.1.
|
4
|
+
version: 2.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -223,6 +223,7 @@ files:
|
|
223
223
|
- README.md
|
224
224
|
- Rakefile
|
225
225
|
- bin/jekyll-s3
|
226
|
+
- changelog.md
|
226
227
|
- features/cassettes/cucumber_tags/new-and-changed-files.yml
|
227
228
|
- features/cassettes/cucumber_tags/new-files.yml
|
228
229
|
- features/cassettes/cucumber_tags/no-new-or-changed-files.yml
|