jekyll-brotli 2.0.0 → 2.1.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: e258a9af9ac7724c0d5f8c94b7a887a8c00c034500932c5c70e59b48e9335198
4
- data.tar.gz: 7e79bf93c991886027600ffa5aa7160ce26298b01c0c2d5d6cf3efaf04182b17
3
+ metadata.gz: 30fe005662022fcb3fc0e15c3b8c6e6d3ca7bb4050ef1ab98044840bbc74b4c8
4
+ data.tar.gz: 3ae490ae5b18d874f42447a103c9735c8f2dd0d950015697f5ae9f38e0053c02
5
5
  SHA512:
6
- metadata.gz: b25959e083aafbe1495a362d56f6e284a189ca9817b2bc0476b3eec7cdae339ba9b59407a4342e5f431d6cf5fe24e99a8783d79a9782b2dfb3ec25cdcbb71644
7
- data.tar.gz: ae0ae4eb22939055d3cfd7db6c1e9b5f04b32c75b709d60fdf0c90a795407a46f924c735c5e192bcf5c8da27718a960e0687b0e955a51c8b43219dc14cfc6910
6
+ metadata.gz: b1a404deb1999f4600f50ad54cf4d16910e6caa9442d11fb32248ef46e9db8cd63f0cc626e45057791afae42f96aea93e02deed8a6203de1353adbadee641064
7
+ data.tar.gz: 5d2f3f39333970454c33fe7dc62a88aa989305342f3f0e183f751522b5379eea1d8637dabdd4c7db795778da2c50b4f99a835c02e92352f86679b721333b69b6
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
@@ -1,9 +1,18 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
+ - 2.6
4
5
  - 2.5
5
6
  - 2.4
6
7
  - 2.3
7
- - 2.2
8
- before_install: gem install bundler -v 1.16.1
9
- script: bundle exec rspec
8
+ - ruby-head
9
+ env:
10
+ - 'JEKYLL_VERSION="~> 3.0"'
11
+ - 'JEKYLL_VERSION="~> 4.0"'
12
+ matrix:
13
+ allow_failures:
14
+ - rvm: ruby-head
15
+ exclude:
16
+ - rvm: 2.3
17
+ env: 'JEKYLL_VERSION="~> 4.0"'
18
+ script: bundle exec rspec
data/CHANGELOG.md CHANGED
@@ -1,25 +1,31 @@
1
1
  # Changelog
2
2
 
3
- ## Ongoing [☰](https://github.com/philnash/jekyll-brotli/compare/v1.1.0...master)
3
+ ## Ongoing [☰](https://github.com/philnash/jekyll-brotli/compare/v2.0.0...master)
4
4
 
5
5
  ...
6
6
 
7
+ ## 2.1.0 (2018-11-24) [☰](https://github.com/philnash/jekyll-brotli/compare/v2.0.0...v2.1.0)
8
+
9
+ ### Changed
10
+
11
+ - Opens up version support for Jekyll 4 (thanks [@thedanbob](https://github.com/thedanbob))
12
+
7
13
  ## 2.0.0 (2018-11-24) [☰](https://github.com/philnash/jekyll-brotli/compare/v1.0.0...v2.0.0)
8
14
 
9
15
  ### Added
10
16
 
11
- * Adds frozen string literal comments
12
- * Tries to hook into Jekyll::Assets if available
17
+ - Adds frozen string literal comments
18
+ - Tries to hook into Jekyll::Assets if available
13
19
 
14
20
  ### Changed
15
21
 
16
- * Uses built in `Jekyll.env` instead of `ENV["JEKYLL_ENV"]`
17
- * Changes `Jekyll::Brotli::Compressor` to a module and implements a `compress_directory` method
18
- * Moves Jekyll::Brotli::COMPRESSABLE_EXTENSIONS into plugin config that can overwritten in the site config
22
+ - Uses built in `Jekyll.env` instead of `ENV["JEKYLL_ENV"]`
23
+ - Changes `Jekyll::Brotli::Compressor` to a module and implements a `compress_directory` method
24
+ - Moves Jekyll::Brotli::COMPRESSABLE_EXTENSIONS into plugin config that can overwritten in the site config
19
25
 
20
26
  ## 1.0.0 (2018-01-03) [☰](https://github.com/philnash/jekyll-brotli/commits/v1.0.0)
21
27
 
22
28
  ### Added
23
29
 
24
- * Methods to Gzip compress text files throughout a Jekyll site using Brotli
25
- * Site post write hook to trigger compression
30
+ - Methods to Gzip compress text files throughout a Jekyll site using Brotli
31
+ - 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-brotli.gemspec
6
6
  gemspec
7
+
8
+ jekyll_version = ENV["JEKYLL_VERSION"] || "~> 4.0"
9
+
10
+ gem "jekyll", jekyll_version
@@ -20,11 +20,11 @@ Gem::Specification.new do |spec|
20
20
  spec.bindir = "exe"
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
-
24
- spec.add_dependency "jekyll", "~> 3.0"
23
+
24
+ spec.add_dependency "jekyll", ">= 3.0", "< 5.0"
25
25
  spec.add_dependency "brotli", "~> 0.2.0"
26
26
 
27
- spec.add_development_dependency "bundler", "~> 1.16"
27
+ spec.add_development_dependency "bundler", ">= 1.16", "< 3.0"
28
28
  spec.add_development_dependency "rake", "~> 10.0"
29
29
  spec.add_development_dependency "rspec", "~> 3.0"
30
30
  spec.add_development_dependency "simplecov", "~> 0.15.1"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Brotli
5
- VERSION = "2.0.0"
5
+ VERSION = "2.1.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-brotli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.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-11-24 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: brotli
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -42,16 +48,22 @@ dependencies:
42
48
  name: bundler
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - "~>"
51
+ - - ">="
46
52
  - !ruby/object:Gem::Version
47
53
  version: '1.16'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: '3.0'
48
57
  type: :development
49
58
  prerelease: false
50
59
  version_requirements: !ruby/object:Gem::Requirement
51
60
  requirements:
52
- - - "~>"
61
+ - - ">="
53
62
  - !ruby/object:Gem::Version
54
63
  version: '1.16'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: '3.0'
55
67
  - !ruby/object:Gem::Dependency
56
68
  name: rake
57
69
  requirement: !ruby/object:Gem::Requirement
@@ -138,8 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
150
  - !ruby/object:Gem::Version
139
151
  version: '0'
140
152
  requirements: []
141
- rubyforge_project:
142
- rubygems_version: 2.7.7
153
+ rubygems_version: 3.0.3
143
154
  signing_key:
144
155
  specification_version: 4
145
156
  summary: Generate brotli compressed assets and files for your Jekyll site at build