jekyll-include_sass 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/gemfiles/jekyll_3.9.gemfile +1 -0
- data/gemfiles/jekyll_4.1.gemfile +1 -0
- data/gemfiles/jekyll_4.2.gemfile +1 -0
- data/gemfiles/jekyll_4.3.gemfile +1 -0
- data/lib/jekyll/include_sass/version.rb +1 -1
- data/lib/jekyll/tags/include_sass.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23502ac6f93f69ab113b3923a86305ee305cca899a7bf4d21e664c68b6b34d8c
|
4
|
+
data.tar.gz: 27d3fd6daf838faedcb7c67a1e2d4d9ee43500ba4e3b5f92a9851b2329c7b241
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e879f7c950c9f5ea1a6a3aab5a33e1eab72f43e055eb44a8b5925f6ccb9d86767c2c86275dadb0459de454454303ab4896c8d934c47a65a0143af50f50c8ed11
|
7
|
+
data.tar.gz: 9025bc95e635ab9baddaec3aefc3575b16114806dce4127157beaef7fc54a7b39f8e4f8712120877d3492b07a9c783b1061b428a28f52322cc8fb5d794ba4f5a
|
data/Gemfile
CHANGED
data/gemfiles/jekyll_3.9.gemfile
CHANGED
data/gemfiles/jekyll_4.1.gemfile
CHANGED
data/gemfiles/jekyll_4.2.gemfile
CHANGED
data/gemfiles/jekyll_4.3.gemfile
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
module Jekyll
|
4
4
|
module Tags
|
5
|
+
# Render sass or scss files
|
6
|
+
#
|
7
|
+
# Usage: {% include_sass file.sass %}
|
8
|
+
# {% include_scss file.scss %}
|
5
9
|
class IncludeSassTag < IncludeTag
|
6
10
|
include Jekyll::Filters
|
7
11
|
|
@@ -17,11 +21,12 @@ module Jekyll
|
|
17
21
|
when '.scss'
|
18
22
|
scssify(super)
|
19
23
|
else
|
20
|
-
raise
|
24
|
+
raise 'Invalid file extension. Please specify sass or scss as a file.'
|
21
25
|
end
|
22
26
|
end
|
23
27
|
end
|
24
28
|
end
|
25
29
|
end
|
26
30
|
|
27
|
-
Liquid::Template.register_tag(
|
31
|
+
Liquid::Template.register_tag('include_sass', Jekyll::Tags::IncludeSassTag)
|
32
|
+
Liquid::Template.register_tag('include_scss', Jekyll::Tags::IncludeSassTag)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-include_sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toshimaru
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|