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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b9d6082c6f018552b5247760c2d8fcaeab62d25c9e510ac037125f2676b5ecb
4
- data.tar.gz: 77760592721e3590c8f168b24590bb5ca8dce6b896d72ddbe9d95744e8d5f72f
3
+ metadata.gz: 23502ac6f93f69ab113b3923a86305ee305cca899a7bf4d21e664c68b6b34d8c
4
+ data.tar.gz: 27d3fd6daf838faedcb7c67a1e2d4d9ee43500ba4e3b5f92a9851b2329c7b241
5
5
  SHA512:
6
- metadata.gz: 05ba23efc01e1f8abb4af60c3e90fe51bd0c92314d598baed744bdccb20b22b2c4b7631f8278dad276c655554003a2655584bb083d2ff15d782760ff9ad9a6da
7
- data.tar.gz: f1a15ab92876fdd968dc1b779615345b7de0592297155665dec5eabef073398088b980b8f07b5df82fb276d8c6f209aa192d883e88ede8dc42516de70578b205
6
+ metadata.gz: e879f7c950c9f5ea1a6a3aab5a33e1eab72f43e055eb44a8b5925f6ccb9d86767c2c86275dadb0459de454454303ab4896c8d934c47a65a0143af50f50c8ed11
7
+ data.tar.gz: 9025bc95e635ab9baddaec3aefc3575b16114806dce4127157beaef7fc54a7b39f8e4f8712120877d3492b07a9c783b1061b428a28f52322cc8fb5d794ba4f5a
data/Gemfile CHANGED
@@ -8,6 +8,7 @@ gemspec
8
8
  gem 'appraisal'
9
9
  gem "bundler"
10
10
  gem "minitest"
11
+ gem "minitest-reporters"
11
12
  gem "pry"
12
13
  gem "rake"
13
14
  gem "rubocop"
@@ -5,6 +5,7 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "bundler"
7
7
  gem "minitest"
8
+ gem "minitest-reporters"
8
9
  gem "pry"
9
10
  gem "rake"
10
11
  gem "rubocop"
@@ -5,6 +5,7 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "bundler"
7
7
  gem "minitest"
8
+ gem "minitest-reporters"
8
9
  gem "pry"
9
10
  gem "rake"
10
11
  gem "rubocop"
@@ -5,6 +5,7 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "bundler"
7
7
  gem "minitest"
8
+ gem "minitest-reporters"
8
9
  gem "pry"
9
10
  gem "rake"
10
11
  gem "rubocop"
@@ -5,6 +5,7 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "bundler"
7
7
  gem "minitest"
8
+ gem "minitest-reporters"
8
9
  gem "pry"
9
10
  gem "rake"
10
11
  gem "rubocop"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module IncludeSass
5
- VERSION = "0.5.0"
5
+ VERSION = "1.0.0"
6
6
  end
7
7
  end
@@ -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 "Invalid file extension. Please specify sass or scss as a file."
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("include_sass", Jekyll::Tags::IncludeSassTag)
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.5.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-01-24 00:00:00.000000000 Z
11
+ date: 2023-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll