jekyll-include_sass 0.5.0 → 1.0.1
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32eeb7d6ca16b275fe274e8d535f8aecb2b453e5be1ef8ba4a703a9197a89eb3
|
4
|
+
data.tar.gz: 169b30f4f07e7afa1cb921eeb5a0af44a0273ce495021d68b2d0a388f2720fd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc597d0203c51565608b1b9f3d5219b150cfdf8aca903614e87c2afc4e27b4961361fc4a1bec30f9ab5f0b5e12fead764b4099d573a2afeae96affdf48a337dc
|
7
|
+
data.tar.gz: 0f226aaf7db5998891bff5c7bed8d4bcecf564562f2ef149293f0f5d9cc25508d1f3984171350d7acdea51b04c74ff6ada6931beec9a7f6ae578b4d100f582c8
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toshimaru
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
requirements: []
|
68
|
-
rubygems_version: 3.
|
68
|
+
rubygems_version: 3.5.11
|
69
69
|
signing_key:
|
70
70
|
specification_version: 4
|
71
71
|
summary: Jekyll include_sass tag which aincludes and converts SASS/SCSS file. Useful
|