jekyll-gzip 2.4.1 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -4
- data/CHANGELOG.md +8 -1
- data/lib/jekyll/gzip/compressor.rb +1 -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: 84aadf58253763aeaf2bfde53b5a2bdeb25f3b498aa2a17228ab9a7005e94c9a
|
4
|
+
data.tar.gz: 97803c07de41ef843627d396e2284cccbd743e3bbbdf85e88eaca52960ee6033
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c3da61fc1524468f7a1f639b5b078be795c1d1ab90d0c7b4a1cc822129df02ec9ea821e63ec6148bd0592ce6770f14756c58189c4e7558eefdcfa0f2e890edd
|
7
|
+
data.tar.gz: 91d855572ff4a793cb18a38d60a533fceab8c6aec68caac3693fc5e1525e6696ffafa626121dba5f110236c27f9f80b3237874f9f4e76d05f662d45f24426d61
|
data/.travis.yml
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
sudo: false
|
2
2
|
language: ruby
|
3
3
|
rvm:
|
4
|
+
- 2.7
|
4
5
|
- 2.6
|
5
6
|
- 2.5
|
6
7
|
- 2.4
|
7
|
-
- 2.3
|
8
8
|
- ruby-head
|
9
9
|
env:
|
10
10
|
- 'JEKYLL_VERSION="~> 3.0"'
|
@@ -12,8 +12,5 @@ env:
|
|
12
12
|
matrix:
|
13
13
|
allow_failures:
|
14
14
|
- rvm: ruby-head
|
15
|
-
exclude:
|
16
|
-
- rvm: 2.3
|
17
|
-
env: 'JEKYLL_VERSION="~> 4.0"'
|
18
15
|
before_install: gem install bundler
|
19
16
|
script: bundle exec rspec
|
data/CHANGELOG.md
CHANGED
@@ -4,11 +4,18 @@
|
|
4
4
|
|
5
5
|
...
|
6
6
|
|
7
|
+
## 2.4.2 (2020-01-30) [☰](https://github.com/philnash/jekyll-gzip/compare/v2.4.1...v2.4.2)
|
8
|
+
|
9
|
+
### Changed
|
10
|
+
|
11
|
+
- Fixes the path handed to `Dir.glob` by using `File.join` instead of string concatenation
|
12
|
+
|
13
|
+
|
7
14
|
## 2.4.1 (2019-12-31) [☰](https://github.com/philnash/jekyll-gzip/compare/v2.4.0...v2.4.1)
|
8
15
|
|
9
16
|
### Changed
|
10
17
|
|
11
|
-
- Extends regeneration logic to files compressed by directory, not just site.
|
18
|
+
- Extends regeneration logic to files compressed by directory, not just site.
|
12
19
|
- Fixes tests that were just wrong for quite a long time.
|
13
20
|
|
14
21
|
## 2.4.0 (2019-12-31) [☰](https://github.com/philnash/jekyll-gzip/compare/v2.3.0...v2.4.0)
|
@@ -51,7 +51,7 @@ module Jekyll
|
|
51
51
|
def self.compress_directory(dir, site)
|
52
52
|
extensions = zippable_extensions(site).join(',')
|
53
53
|
replace_file = replace_files(site)
|
54
|
-
files = Dir.glob(dir
|
54
|
+
files = Dir.glob(File.join(dir, "**", "*{#{extensions}}"))
|
55
55
|
files.each do |file|
|
56
56
|
next unless regenerate?(file, site)
|
57
57
|
|
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: 2.4.
|
4
|
+
version: 2.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phil Nash
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
|
-
rubygems_version: 3.
|
138
|
+
rubygems_version: 3.1.2
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Generate gzipped assets and files for your Jekyll site at build time
|