jekyll-include_sass 0.2.0 → 0.3.0

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
  SHA256:
3
- metadata.gz: e85538cfb797df85be30042af36308b52e997935da6ce5f26816f20371248221
4
- data.tar.gz: 22ea68421bcf6497646a93a42abecebeb1258406203ee8a87bf8110ca1721459
3
+ metadata.gz: 91dcafb04d7dd02ed45e89bed1bb9e283044f0370a6429540b03796a7a16ab1a
4
+ data.tar.gz: '0080086b6521554da126a4b69dadd841582b54d39b70ee0bf14087267f3563fd'
5
5
  SHA512:
6
- metadata.gz: 93c2debfaf26825ce2e18d8ad07dab5b20b016b546dea97240bba1cdd6cd30034a762e28465a95d70ce53f2bfbd82524c936194f54d0a860599ec13f2759aa6e
7
- data.tar.gz: d7c4261752ffb6a3e223280a9101bcf4d24e5c47af27d0a84a9c81236b7103453a377e26ef8ec65b2ca5ae38ee4a5a260553ef2942ca5f6e68fb1ba3a7a8c14c
6
+ metadata.gz: 9eab0fd0a98e189b024719338bd070f901d6cedc601bd4d11c9c2b09b70683b9d4c72e07ad7a69c7465202763f4c82567aecd80c0416fdbdb7a4f0237c86554d
7
+ data.tar.gz: ae9c0b2b2f07a29dd2bfebd9c07a174307f4ba1c185391d1862521dd6d5a3414f6b84f385e7b96b936ef3ad47c64f1f0ebbaa57c650a950e99e9c5f8d5d65fc1
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module IncludeSass
5
- VERSION = "0.2.0"
5
+ VERSION = "0.3.0"
6
6
  end
7
7
  end
@@ -6,9 +6,12 @@ module Jekyll
6
6
  include Jekyll::Filters
7
7
 
8
8
  def render(context)
9
+ file = render_variable(context) || @file
10
+ validate_file_name(file)
11
+
9
12
  @context = context
10
13
 
11
- case File.extname(@file)
14
+ case File.extname(file)
12
15
  when '.sass'
13
16
  sassify(super)
14
17
  when '.scss'
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.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - toshimaru
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-02 00:00:00.000000000 Z
11
+ date: 2019-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll