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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20a0d5baaba7091074b3acf89006d8ebd2d7d057ca722b6283066cb9c829614f
4
- data.tar.gz: 11af52cb88ada9cb60aba27e21d048df49d5f4c9f8161aadc52bd8925b5289cb
3
+ metadata.gz: 84aadf58253763aeaf2bfde53b5a2bdeb25f3b498aa2a17228ab9a7005e94c9a
4
+ data.tar.gz: 97803c07de41ef843627d396e2284cccbd743e3bbbdf85e88eaca52960ee6033
5
5
  SHA512:
6
- metadata.gz: 21fc14003d2c4d4b2b5dc6ae97e48efc824e1c1d7bd5832c228b4d984a85d68366d7e6c2d41ed94bb6dd6fb59cf8cb3d0284ed95590bbb012860c39039dcf89d
7
- data.tar.gz: dbacb25224a0d5adf71c41c437ed48a3a509854d2263036d209a9cb3b1d55a93ff245af9df14a345ed07ddb9ded99b1343e54475cde2495f7b31f2d394ed31b3
6
+ metadata.gz: 9c3da61fc1524468f7a1f639b5b078be795c1d1ab90d0c7b4a1cc822129df02ec9ea821e63ec6148bd0592ce6770f14756c58189c4e7558eefdcfa0f2e890edd
7
+ data.tar.gz: 91d855572ff4a793cb18a38d60a533fceab8c6aec68caac3693fc5e1525e6696ffafa626121dba5f110236c27f9f80b3237874f9f4e76d05f662d45f24426d61
@@ -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
@@ -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 + "/**/*{#{extensions}}")
54
+ files = Dir.glob(File.join(dir, "**", "*{#{extensions}}"))
55
55
  files.each do |file|
56
56
  next unless regenerate?(file, site)
57
57
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Gzip
5
- VERSION = "2.4.1"
5
+ VERSION = "2.4.2"
6
6
  end
7
7
  end
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.1
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: 2019-12-31 00:00:00.000000000 Z
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.0.1
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