jekyll-zopfli 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 +4 -4
- data/.gitignore +2 -1
- data/.travis.yml +7 -1
- data/CHANGELOG.md +16 -10
- data/Gemfile +4 -0
- data/jekyll-zopfli.gemspec +1 -1
- data/lib/jekyll/zopfli/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a3e19c34b5452f22e82d54ac0e4ad22bfb82f76854c52aedf2ed76183b944c4
|
4
|
+
data.tar.gz: 15a9c097e2bcee2614769aab1555f6e993487f1c06bb62a24c92ddfde6deef87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1e1b58f0dfe11c3c8e9667a697ef7eeeb66c2a6654113a31bed370e23eb70c7d52c614eb370db6de7094f891d27165b630510d645f7b7b5b4fa9f4d4f181954
|
7
|
+
data.tar.gz: 5a1f94276e104b8c5041f78af7614f02e738310fe195e66852a13779744ae84cf5d08e8ed9fc9a0962d131b8eb3e970cf653f897995aa57bfbc50bf721564576
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -6,8 +6,14 @@ rvm:
|
|
6
6
|
- 2.4
|
7
7
|
- 2.3
|
8
8
|
- ruby-head
|
9
|
+
env:
|
10
|
+
- 'JEKYLL_VERSION="~> 3.0"'
|
11
|
+
- 'JEKYLL_VERSION="~> 4.0"'
|
9
12
|
matrix:
|
10
13
|
allow_failures:
|
11
14
|
- rvm: ruby-head
|
15
|
+
exclude:
|
16
|
+
- rvm: 2.3
|
17
|
+
env: 'JEKYLL_VERSION="~> 4.0"'
|
12
18
|
before_install: gem install bundler
|
13
|
-
script: bundle exec rspec
|
19
|
+
script: bundle exec rspec
|
data/CHANGELOG.md
CHANGED
@@ -1,37 +1,43 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## Ongoing [☰](https://github.com/philnash/jekyll-gzip/compare/v2.
|
3
|
+
## Ongoing [☰](https://github.com/philnash/jekyll-gzip/compare/v2.2.0...master)
|
4
4
|
|
5
5
|
...
|
6
6
|
|
7
|
+
## 2.2.0 (2019-08-26) [☰](https://github.com/philnash/jekyll-zopfli/compare/v2.1.0...v2.2.0)
|
8
|
+
|
9
|
+
### Changed
|
10
|
+
|
11
|
+
- Opens up version support for Jekyll 4 (thanks [@thedanbob](https://github.com/thedanbob))
|
12
|
+
|
7
13
|
## 2.1.0 (2019-03-30) [☰](https://github.com/philnash/jekyll-zopfli/compare/v2.0.0...v2.1.0)
|
8
14
|
|
9
15
|
### Added
|
10
16
|
|
11
|
-
|
17
|
+
- Adds setting to replace original files with gzipped for serving from AWS S3
|
12
18
|
|
13
19
|
## 2.0.0 (2018-11-24) [☰](https://github.com/philnash/jekyll-zopfli/compare/v1.1.0...v2.0.0)
|
14
20
|
|
15
21
|
### Added
|
16
22
|
|
17
|
-
|
18
|
-
|
23
|
+
- Hooks into Jekyll::Assets if available
|
24
|
+
- Adds frozen string literal comment
|
19
25
|
|
20
26
|
### Changed
|
21
27
|
|
22
|
-
|
23
|
-
|
24
|
-
|
28
|
+
- Uses built in `Jekyll.env` instead of `ENV["JEKYLL_ENV"]`
|
29
|
+
- Changes `Jekyll::Zopfli::Compressor` to a module and implements a `compress_directory` method
|
30
|
+
- Moves Jekyll::Zopfli::ZIPPABLE_EXTENSIONS into plugin config that can overwritten in the site config
|
25
31
|
|
26
32
|
## 1.1.0 (2018-01-03) [☰](https://github.com/philnash/jekyll-zopfli/compare/v1.0.0...v1.1.0)
|
27
33
|
|
28
34
|
### Changed
|
29
35
|
|
30
|
-
|
36
|
+
- Only run the post write hook when the environment variable `JEKYLL_ENV` is `production`
|
31
37
|
|
32
38
|
## 1.0.0 (2018-01-02) [☰](https://github.com/philnash/jekyll-zopfli/commits/v1.0.0)
|
33
39
|
|
34
40
|
### Added
|
35
41
|
|
36
|
-
|
37
|
-
|
42
|
+
- Methods to Gzip compress text files throughout a Jekyll site using Zopfli
|
43
|
+
- Site post write hook to trigger compression
|
data/Gemfile
CHANGED
data/jekyll-zopfli.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
|
-
spec.add_dependency "jekyll", "
|
24
|
+
spec.add_dependency "jekyll", ">= 3.0", "< 5.0"
|
25
25
|
spec.add_dependency "zopfli", "~> 0.0.7"
|
26
26
|
|
27
27
|
spec.add_development_dependency "bundler", ">= 1.16", "< 3.0"
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-zopfli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.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: 2019-
|
11
|
+
date: 2019-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.0'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '3.0'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: zopfli
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|