jekyll-assets 2.2.6 → 2.2.7
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b60091fd94e607aa756f20b2c108ef15882c4ab2
|
4
|
+
data.tar.gz: af2a668f6dfe50e8f89fe8101c2e30d983582623
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efb0bcc8f8ff2ca2590778644df54bd793f81225422fcf748df9ceca0a0d650d85bc390d220ab9c9223cade43b9c6ac93789008f3d50fe18a85cf935a4892590
|
7
|
+
data.tar.gz: fb67b6f9a049fb19c499819f74c35d68b96ba0e6cf9c2aaf9fcf9065531cc6909d40f58c4de6fed2c446ca2692cec8af442db0d0ec03927cfecba211dbf743d7
|
data/lib/jekyll/assets/env.rb
CHANGED
@@ -43,7 +43,6 @@ module Jekyll
|
|
43
43
|
)
|
44
44
|
|
45
45
|
jekyll.sprockets.excludes.map(&jekyll.config["exclude"].method(:<<))
|
46
|
-
jekyll.config["keep_files"] |= jekyll.sprockets.asset_config["prefix"].gsub(/\A\//, "").to_a
|
47
46
|
jekyll.config["exclude"].uniq!
|
48
47
|
end
|
49
48
|
end
|
@@ -289,9 +288,11 @@ module Jekyll
|
|
289
288
|
# These are assets that aren't proxied, they returned fals when
|
290
289
|
# they were asked if they belonged to a proxy.
|
291
290
|
|
292
|
-
|
293
|
-
|
294
|
-
|
291
|
+
if assets.key?(false)
|
292
|
+
manifest.compile(assets[false].map(
|
293
|
+
&:logical_path
|
294
|
+
))
|
295
|
+
end
|
295
296
|
|
296
297
|
# Proxied assets will not compile the normal way since they are
|
297
298
|
# always considered uniq when used, and they supply their own inline
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module JekyllAssetsPatchesJekyllCleaner
|
2
|
+
def obsolete_files
|
3
|
+
super.delete_if do |v|
|
4
|
+
v.start_with?(site.in_dest_dir(
|
5
|
+
site.sprockets.prefix_path
|
6
|
+
))
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
module Jekyll
|
12
|
+
class Cleaner
|
13
|
+
prepend JekyllAssetsPatchesJekyllCleaner
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordon Bedwell
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-05-
|
13
|
+
date: 2016-05-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sprockets
|
@@ -185,6 +185,7 @@ files:
|
|
185
185
|
- lib/jekyll/assets/liquid/tag/proxies.rb
|
186
186
|
- lib/jekyll/assets/logger.rb
|
187
187
|
- lib/jekyll/assets/manifest.rb
|
188
|
+
- lib/jekyll/assets/patches/jekyll/cleaner.rb
|
188
189
|
- lib/jekyll/assets/patches/jekyll/site.rb
|
189
190
|
- lib/jekyll/assets/patches/kernel.rb
|
190
191
|
- lib/jekyll/assets/patches/sprockets/asset.rb
|