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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a3d94f9c2b739da1bd99584f6168c3efa2eec8f89e8be2e62f0ba76ebc0622c
4
- data.tar.gz: 1d44e3cca0978864069f10c6c629b3a5967a95f7da4f841bbd3423cc624da87a
3
+ metadata.gz: 8a3e19c34b5452f22e82d54ac0e4ad22bfb82f76854c52aedf2ed76183b944c4
4
+ data.tar.gz: 15a9c097e2bcee2614769aab1555f6e993487f1c06bb62a24c92ddfde6deef87
5
5
  SHA512:
6
- metadata.gz: c198291793271662d43d26ba5fca15014c9ee33fdbf9676eb5711fd08a757daf6d8ff281fdb436a577059bcdf92ddbbc1a58880e7ba54bdfbb5870385d5c9940
7
- data.tar.gz: db7c122bbb10cb6ecd8d2bad9eef1ae2b2e682422b97ca3324ec157a41bd5e47b7827befffd24da1e33764a1d4a4034ec97211ce9efcd98f1d426952ec02ee10
6
+ metadata.gz: e1e1b58f0dfe11c3c8e9667a697ef7eeeb66c2a6654113a31bed370e23eb70c7d52c614eb370db6de7094f891d27165b630510d645f7b7b5b4fa9f4d4f181954
7
+ data.tar.gz: 5a1f94276e104b8c5041f78af7614f02e738310fe195e66852a13779744ae84cf5d08e8ed9fc9a0962d131b8eb3e970cf653f897995aa57bfbc50bf721564576
data/.gitignore CHANGED
@@ -11,4 +11,5 @@ Gemfile.lock
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
13
 
14
- .sass-cache/
14
+ .sass-cache/
15
+ .jekyll-cache/
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.1.0...master)
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
- * Adds setting to replace original files with gzipped for serving from AWS S3
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
- * Hooks into Jekyll::Assets if available
18
- * Adds frozen string literal comment
23
+ - Hooks into Jekyll::Assets if available
24
+ - Adds frozen string literal comment
19
25
 
20
26
  ### Changed
21
27
 
22
- * Uses built in `Jekyll.env` instead of `ENV["JEKYLL_ENV"]`
23
- * Changes `Jekyll::Zopfli::Compressor` to a module and implements a `compress_directory` method
24
- * Moves Jekyll::Zopfli::ZIPPABLE_EXTENSIONS into plugin config that can overwritten in the site config
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
- * Only run the post write hook when the environment variable `JEKYLL_ENV` is `production`
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
- * Methods to Gzip compress text files throughout a Jekyll site using Zopfli
37
- * Site post write hook to trigger compression
42
+ - Methods to Gzip compress text files throughout a Jekyll site using Zopfli
43
+ - Site post write hook to trigger compression
data/Gemfile CHANGED
@@ -4,3 +4,7 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in jekyll-zopfli.gemspec
6
6
  gemspec
7
+
8
+ jekyll_version = ENV["JEKYLL_VERSION"] || "~> 4.0"
9
+
10
+ gem "jekyll", jekyll_version
@@ -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", "~> 3.0"
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"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Zopfli
5
- VERSION = "2.1.0"
5
+ VERSION = "2.2.0"
6
6
  end
7
7
  end
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.1.0
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-03-30 00:00:00.000000000 Z
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