jekyll-gzip 1.0.0 → 1.1.0
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/LICENSE.txt +1 -1
- data/README.md +7 -1
- data/lib/jekyll/gzip.rb +3 -1
- data/lib/jekyll/gzip/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d86e365ec93b205a8c49378bf879c2331cb87a1f49152a5bee66f98c86c6eb22
|
4
|
+
data.tar.gz: 1c907018e1dca4314bfaf82ed2ad030260d27f0a278688af76409bf151a0a7c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18fa320d5ae950b63597c6f3a84e8d1799b9342b3d47777e94dce6d8805b328bc749a774a45cedc43f93a91b9e461c30e1a8e5d0f5a21756097fe2f25d7e76ad
|
7
|
+
data.tar.gz: ebd5c9f90b6f3bed402113d833fe62fd6dc97b92f5de9b264984f44da24b04bbaf6b674963085160d5807a724647a9175cd1f0ad15c68b984af1352c6a09efcc
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -10,6 +10,10 @@ Why not just generate those gzip files at build time? And with the maximum compr
|
|
10
10
|
|
11
11
|
`Jekyll::Gzip` does just that. Add the gem to your Jekyll application and when you build your site it will generate gzip files for all text based files (HTML, CSS, JavaScript, etc).
|
12
12
|
|
13
|
+
## Want even more compression?
|
14
|
+
|
15
|
+
Zlib's gzipping capabilities don't quite squeeze all the compression out of our files that we could want. If you want a slower but better compression algorithm, check out [Jekyll::Zopfli](https://github.com/philnash/jekyll-zopfli).
|
16
|
+
|
13
17
|
## Installation
|
14
18
|
|
15
19
|
Add this line to your application's Gemfile:
|
@@ -26,7 +30,9 @@ bundle install
|
|
26
30
|
|
27
31
|
## Usage
|
28
32
|
|
29
|
-
Once you have the gem installed, run `bundle exec jekyll build`. In your destination directory (`_site` by default) you will find gzipped files.
|
33
|
+
Once you have the gem installed, run `JEKYLL_ENV=production bundle exec jekyll build`. In your destination directory (`_site` by default) you will find gzipped files.
|
34
|
+
|
35
|
+
`Jekyll::Gzip` only runs when the environment variable `JEKYLL_ENV` is set to `production` as dealing with gzipping files is unnecessary in development mode and just slows down the site build.
|
30
36
|
|
31
37
|
### Serving pre-compiled gzip files
|
32
38
|
|
data/lib/jekyll/gzip.rb
CHANGED
data/lib/jekyll/gzip/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-gzip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phil Nash
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project:
|
126
|
-
rubygems_version: 2.7.
|
126
|
+
rubygems_version: 2.7.4
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: Generate gzipped assets and files for your Jekyll site at build time
|