jekyll-assets 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/assets.rb +11 -13
- data/lib/jekyll/assets/addons.rb +7 -7
- data/lib/jekyll/assets/hooks.rb +13 -13
- data/lib/jekyll/assets/liquid.rb +3 -3
- data/lib/jekyll/assets/liquid/drop.rb +1 -1
- data/lib/jekyll/assets/liquid/filters.rb +11 -4
- data/lib/jekyll/assets/liquid/tag.rb +6 -4
- data/lib/jekyll/assets/liquid/tag/defaults.rb +2 -1
- data/lib/jekyll/assets/liquid/tag/parser.rb +3 -0
- data/lib/jekyll/assets/liquid/tag/proxied_asset.rb +2 -0
- data/lib/jekyll/assets/patches.rb +4 -4
- data/lib/jekyll/assets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e60cdfaf7d596d389bbcec21a66107d67ccfbe90
|
4
|
+
data.tar.gz: 63f5eb9b6403c796ecfaada67cff9be970010926
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 242655cdc3b881ec265a3bc30ee3db55f13d96faff90c854c5027da88226faf13fe8d9657b58a9b915b511adb3c44cb4fd8e8726e26f4af1cf050a143eb02d53
|
7
|
+
data.tar.gz: aa748e44f62d26348ea837b172dce3d3abb352fd051834af124bd3f1d0b94aa3087c3aa9051b9474a6fec75232670b16d8e05b4b15de8a56d0697f458caeb35c
|
data/lib/jekyll/assets.rb
CHANGED
@@ -2,23 +2,21 @@
|
|
2
2
|
# Copyright: 2012-2015 - MIT License
|
3
3
|
# Encoding: utf-8
|
4
4
|
|
5
|
-
|
5
|
+
require "tilt"
|
6
6
|
require "sprockets"
|
7
7
|
require "jekyll"
|
8
8
|
|
9
|
-
require "jekyll/assets/patches"
|
10
|
-
require "jekyll/assets/version"
|
11
|
-
|
12
9
|
module Jekyll
|
13
10
|
module Assets
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
11
|
+
require_relative "assets/version"
|
12
|
+
require_relative "assets/patches"
|
13
|
+
require_relative "assets/cached"
|
14
|
+
require_relative "assets/config"
|
15
|
+
require_relative "assets/env"
|
16
|
+
require_relative "assets/hook"
|
17
|
+
require_relative "assets/logger"
|
18
|
+
require_relative "assets/hooks"
|
19
|
+
require_relative "assets/liquid"
|
20
|
+
require_relative "assets/addons"
|
23
21
|
end
|
24
22
|
end
|
data/lib/jekyll/assets/addons.rb
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
# Copyright: 2012-2015 - MIT License
|
3
3
|
# Encoding: utf-8
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
5
|
+
require_relative "addons/compass"
|
6
|
+
require_relative "addons/bootstrap"
|
7
|
+
require_relative "addons/autoprefixer"
|
8
|
+
require_relative "addons/processors/liquid"
|
9
|
+
require_relative "addons/proxies/magick"
|
10
|
+
require_relative "addons/font_awesome"
|
11
|
+
require_relative "addons/js_es6"
|
data/lib/jekyll/assets/hooks.rb
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
# Copyright: 2012-2015 - MIT License
|
3
3
|
# Encoding: utf-8
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
require_relative "hooks/jekyll/drops"
|
6
|
+
require_relative "hooks/jekyll/setup"
|
7
|
+
require_relative "hooks/jekyll/write"
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
9
|
+
require_relative "hooks/compression"
|
10
|
+
require_relative "hooks/configuration"
|
11
|
+
require_relative "hooks/context_patches"
|
12
|
+
require_relative "hooks/disable_erb"
|
13
|
+
require_relative "hooks/helpers"
|
14
|
+
require_relative "hooks/logger"
|
15
|
+
require_relative "hooks/sources"
|
16
|
+
require_relative "hooks/sprockets"
|
17
|
+
require_relative "hooks/version"
|
18
|
+
require_relative "hooks/cache"
|
data/lib/jekyll/assets/liquid.rb
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
module Jekyll
|
6
6
|
module Assets
|
7
7
|
module Liquid
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
require_relative "liquid/drop"
|
9
|
+
require_relative "liquid/filters"
|
10
|
+
require_relative "liquid/tag"
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
@@ -6,13 +6,20 @@ module Jekyll
|
|
6
6
|
module Assets
|
7
7
|
module Liquid
|
8
8
|
module Filters
|
9
|
-
ACCEPTABLE_FILTERS = %W(
|
10
|
-
|
9
|
+
ACCEPTABLE_FILTERS = %W(
|
10
|
+
css
|
11
|
+
image
|
12
|
+
asset_path
|
13
|
+
stylesheet
|
14
|
+
javascript
|
15
|
+
style
|
16
|
+
img
|
17
|
+
js
|
18
|
+
)
|
11
19
|
|
12
20
|
ACCEPTABLE_FILTERS.each do |val|
|
13
21
|
define_method val do |path, args = ""|
|
14
|
-
|
15
|
-
tag.render(@context)
|
22
|
+
Tag.send(:new, val, "#{path} #{args}", "").render(@context)
|
16
23
|
end
|
17
24
|
end
|
18
25
|
end
|
@@ -2,14 +2,16 @@
|
|
2
2
|
# Copyright: 2012-2015 - MIT License
|
3
3
|
# Encoding: utf-8
|
4
4
|
|
5
|
+
require "fastimage"
|
6
|
+
|
5
7
|
module Jekyll
|
6
8
|
module Assets
|
7
9
|
module Liquid
|
8
10
|
class Tag < ::Liquid::Tag
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
11
|
+
require_relative "tag/proxies"
|
12
|
+
require_relative "tag/proxied_asset"
|
13
|
+
require_relative "tag/defaults"
|
14
|
+
require_relative "tag/parser"
|
13
15
|
attr_reader :args
|
14
16
|
|
15
17
|
class << self
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Copyright: 2012-2015 - MIT License
|
3
3
|
# Encoding: utf-8
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
require_relative "patches/jekyll/cleaner"
|
6
|
+
require_relative "patches/sprockets/asset"
|
7
|
+
require_relative "patches/jekyll/site"
|
8
|
+
require_relative "patches/kernel"
|
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.1.
|
4
|
+
version: 2.1.2
|
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: 2015-12-
|
13
|
+
date: 2015-12-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sprockets
|