webpacker 4.2.1 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +1 -1
- data/lib/webpacker/commands.rb +1 -1
- data/lib/webpacker/version.rb +1 -1
- data/package.json +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: 123810c157dda2d179ec4c3b27701cf29ade3fbf5a122d08eab68fa6b8c4b8a7
|
|
4
|
+
data.tar.gz: 6c120aead9282b96fbf070c216d0c2395249deea3ee135f764299d96fd14b423
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 04ede9ec043442d4d59a06e60f04fef3483531df5f1f6afbcc175f4252132421b7bd852c637e1be1427508799c5065fad0ea7fe47d5322f56435951a3142b932
|
|
7
|
+
data.tar.gz: 3ac3f4e8b995982861fa0e5d0771e8244c2f644245dfb8b02b0abccaf3e1485f4677bcd978ac509ebbba2817555ead6d8f92ab9ac02e8ec95c5205b43ac5f7a7
|
data/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
**Please note that Webpacker 4.1.0 has an installer bug. Please use 4.2.0 or above**
|
|
4
4
|
|
|
5
|
-
## [[4.2.
|
|
5
|
+
## [[4.2.2]](https://github.com/rails/webpacker/compare/v4.2.1...v4.2.2) - 2019-12-09
|
|
6
|
+
|
|
7
|
+
- Fixed issue with webpack clean task for nested assets [#2391](https://github.com/rails/webpacker/pull/2391)
|
|
8
|
+
|
|
9
|
+
## [[4.2.1]](https://github.com/rails/webpacker/compare/v4.2.0...v4.2.1) - 2019-12-09
|
|
6
10
|
|
|
7
11
|
- Fixed issue with webpack clean task [#2389](https://github.com/rails/webpacker/pull/2389)
|
|
8
12
|
|
data/Gemfile.lock
CHANGED
data/lib/webpacker/commands.rb
CHANGED
|
@@ -8,7 +8,7 @@ class Webpacker::Commands
|
|
|
8
8
|
def clean(count = 2)
|
|
9
9
|
if config.public_output_path.exist? && config.public_manifest_path.exist? && versions.count > count
|
|
10
10
|
versions.drop(count).flat_map(&:last).each do |file|
|
|
11
|
-
File.delete(file) if File.
|
|
11
|
+
File.delete(file) if File.file?(file)
|
|
12
12
|
logger.info "Removed #{file}"
|
|
13
13
|
end
|
|
14
14
|
end
|
data/lib/webpacker/version.rb
CHANGED
data/package.json
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: webpacker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.2.
|
|
4
|
+
version: 4.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
@@ -287,8 +287,8 @@ homepage: https://github.com/rails/webpacker
|
|
|
287
287
|
licenses:
|
|
288
288
|
- MIT
|
|
289
289
|
metadata:
|
|
290
|
-
source_code_uri: https://github.com/rails/webpacker/tree/v4.2.
|
|
291
|
-
changelog_uri: https://github.com/rails/webpacker/blob/v4.2.
|
|
290
|
+
source_code_uri: https://github.com/rails/webpacker/tree/v4.2.2
|
|
291
|
+
changelog_uri: https://github.com/rails/webpacker/blob/v4.2.2/CHANGELOG.md
|
|
292
292
|
post_install_message:
|
|
293
293
|
rdoc_options: []
|
|
294
294
|
require_paths:
|