jekyll-include_sass 0.3.0 → 0.5.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: 91dcafb04d7dd02ed45e89bed1bb9e283044f0370a6429540b03796a7a16ab1a
4
- data.tar.gz: '0080086b6521554da126a4b69dadd841582b54d39b70ee0bf14087267f3563fd'
3
+ metadata.gz: 5b9d6082c6f018552b5247760c2d8fcaeab62d25c9e510ac037125f2676b5ecb
4
+ data.tar.gz: 77760592721e3590c8f168b24590bb5ca8dce6b896d72ddbe9d95744e8d5f72f
5
5
  SHA512:
6
- metadata.gz: 9eab0fd0a98e189b024719338bd070f901d6cedc601bd4d11c9c2b09b70683b9d4c72e07ad7a69c7465202763f4c82567aecd80c0416fdbdb7a4f0237c86554d
7
- data.tar.gz: ae9c0b2b2f07a29dd2bfebd9c07a174307f4ba1c185391d1862521dd6d5a3414f6b84f385e7b96b936ef3ad47c64f1f0ebbaa57c650a950e99e9c5f8d5d65fc1
6
+ metadata.gz: 05ba23efc01e1f8abb4af60c3e90fe51bd0c92314d598baed744bdccb20b22b2c4b7631f8278dad276c655554003a2655584bb083d2ff15d782760ff9ad9a6da
7
+ data.tar.gz: f1a15ab92876fdd968dc1b779615345b7de0592297155665dec5eabef073398088b980b8f07b5df82fb276d8c6f209aa192d883e88ede8dc42516de70578b205
data/Appraisals ADDED
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ # NOTE: Test against jekyll-4.0 fails, so exclude it from supported versions.
4
+ SUPPORTED_VERSIONS = %w[3.9 4.1 4.2 4.3].freeze
5
+
6
+ SUPPORTED_VERSIONS.each do |version|
7
+ appraise "jekyll-#{version}" do
8
+ gem 'jekyll', version
9
+ gem 'kramdown-parser-gfm' if version == '3.9'
10
+ end
11
+ end
data/Gemfile CHANGED
@@ -1,4 +1,13 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in jekyll-include_sass.gemspec
4
6
  gemspec
7
+
8
+ gem 'appraisal'
9
+ gem "bundler"
10
+ gem "minitest"
11
+ gem "pry"
12
+ gem "rake"
13
+ gem "rubocop"
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016 toshimaru
3
+ Copyright (c) 2016-2023 toshimaru
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/jekyll-include_sass.svg)](https://badge.fury.io/rb/jekyll-include_sass)
2
- [![Build Status](https://travis-ci.org/toshimaru/jekyll-include_sass.svg)](https://travis-ci.org/toshimaru/jekyll-include_sass)
2
+ [![CI](https://github.com/toshimaru/jekyll-include_sass/actions/workflows/ci.yml/badge.svg)](https://github.com/toshimaru/jekyll-include_sass/actions/workflows/ci.yml)
3
3
 
4
4
  # Jekyll::IncludeSass
5
5
 
@@ -32,7 +32,7 @@ via. [Supported CSS](https://www.ampproject.org/docs/guides/responsive/style_pag
32
32
 
33
33
  Put your `style.scss` in Jekyll's `_includes` directory.
34
34
 
35
- ### HTML Version
35
+ ### for HTML
36
36
 
37
37
  Add the following inside `<head>` in your site's template(s):
38
38
 
@@ -42,7 +42,7 @@ Add the following inside `<head>` in your site's template(s):
42
42
  </style>
43
43
  ```
44
44
 
45
- ### AMP Version
45
+ ### for AMP
46
46
 
47
47
  ```html
48
48
  <style amp-custom>
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/gem_tasks"
2
4
  require "rake/testtask"
3
5
 
@@ -7,4 +9,4 @@ Rake::TestTask.new(:test) do |t|
7
9
  t.test_files = FileList['test/**/*_test.rb']
8
10
  end
9
11
 
10
- task :default => :test
12
+ task default: :test
@@ -0,0 +1,14 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "bundler"
7
+ gem "minitest"
8
+ gem "pry"
9
+ gem "rake"
10
+ gem "rubocop"
11
+ gem "jekyll", "3.9"
12
+ gem "kramdown-parser-gfm"
13
+
14
+ gemspec path: "../"
@@ -0,0 +1,13 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "bundler"
7
+ gem "minitest"
8
+ gem "pry"
9
+ gem "rake"
10
+ gem "rubocop"
11
+ gem "jekyll", "4.1"
12
+
13
+ gemspec path: "../"
@@ -0,0 +1,13 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "bundler"
7
+ gem "minitest"
8
+ gem "pry"
9
+ gem "rake"
10
+ gem "rubocop"
11
+ gem "jekyll", "4.2"
12
+
13
+ gemspec path: "../"
@@ -0,0 +1,13 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "bundler"
7
+ gem "minitest"
8
+ gem "pry"
9
+ gem "rake"
10
+ gem "rubocop"
11
+ gem "jekyll", "4.3"
12
+
13
+ gemspec path: "../"
@@ -1,6 +1,6 @@
1
- lib = File.expand_path('../lib', __FILE__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require 'jekyll/include_sass/version'
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/jekyll/include_sass/version'
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "jekyll-include_sass"
@@ -13,17 +13,16 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://github.com/toshimaru/jekyll-include_sass"
14
14
  spec.license = "MIT"
15
15
 
16
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
16
  spec.bindir = "exe"
18
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
18
  spec.require_paths = ["lib"]
19
+ spec.files = Dir.chdir(__dir__) do
20
+ `git ls-files -z`.split("\x0").reject do |f|
21
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
22
+ end
23
+ end
20
24
 
21
- spec.required_ruby_version = '>= 2.4'
22
-
23
- spec.add_runtime_dependency "jekyll", "~> 3.0"
25
+ spec.required_ruby_version = '>= 2.7'
24
26
 
25
- spec.add_development_dependency "bundler", "~> 2.0"
26
- spec.add_development_dependency "rake", "~> 10.0"
27
- spec.add_development_dependency "minitest", "~> 5.0"
28
- spec.add_development_dependency "pry"
27
+ spec.add_dependency 'jekyll', '>= 3.9'
29
28
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module IncludeSass
5
- VERSION = "0.3.0"
5
+ VERSION = "0.5.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,85 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-include_sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - toshimaru
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-10 00:00:00.000000000 Z
11
+ date: 2023-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '3.0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '3.0'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '2.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '2.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '10.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '10.0'
55
- - !ruby/object:Gem::Dependency
56
- name: minitest
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '5.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '5.0'
69
- - !ruby/object:Gem::Dependency
70
- name: pry
71
15
  requirement: !ruby/object:Gem::Requirement
72
16
  requirements:
73
17
  - - ">="
74
18
  - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
19
+ version: '3.9'
20
+ type: :runtime
77
21
  prerelease: false
78
22
  version_requirements: !ruby/object:Gem::Requirement
79
23
  requirements:
80
24
  - - ">="
81
25
  - !ruby/object:Gem::Version
82
- version: '0'
26
+ version: '3.9'
83
27
  description: Jekyll include_sass tag is a shorthand tag for including SASS/SCSS file
84
28
  inside head tag. It's useful when you don't want to reference external CSS, for
85
29
  example, in AMP.
@@ -89,14 +33,15 @@ executables: []
89
33
  extensions: []
90
34
  extra_rdoc_files: []
91
35
  files:
92
- - ".gitignore"
93
- - ".travis.yml"
36
+ - Appraisals
94
37
  - Gemfile
95
38
  - LICENSE.txt
96
39
  - README.md
97
40
  - Rakefile
98
- - bin/console
99
- - bin/setup
41
+ - gemfiles/jekyll_3.9.gemfile
42
+ - gemfiles/jekyll_4.1.gemfile
43
+ - gemfiles/jekyll_4.2.gemfile
44
+ - gemfiles/jekyll_4.3.gemfile
100
45
  - jekyll-include_sass.gemspec
101
46
  - lib/jekyll-include_sass.rb
102
47
  - lib/jekyll/include_sass/version.rb
@@ -105,7 +50,7 @@ homepage: https://github.com/toshimaru/jekyll-include_sass
105
50
  licenses:
106
51
  - MIT
107
52
  metadata: {}
108
- post_install_message:
53
+ post_install_message:
109
54
  rdoc_options: []
110
55
  require_paths:
111
56
  - lib
@@ -113,15 +58,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
58
  requirements:
114
59
  - - ">="
115
60
  - !ruby/object:Gem::Version
116
- version: '2.4'
61
+ version: '2.7'
117
62
  required_rubygems_version: !ruby/object:Gem::Requirement
118
63
  requirements:
119
64
  - - ">="
120
65
  - !ruby/object:Gem::Version
121
66
  version: '0'
122
67
  requirements: []
123
- rubygems_version: 3.0.3
124
- signing_key:
68
+ rubygems_version: 3.4.1
69
+ signing_key:
125
70
  specification_version: 4
126
71
  summary: Jekyll include_sass tag which aincludes and converts SASS/SCSS file. Useful
127
72
  for AMP HTML!
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- before_install: gem install bundler
4
- rvm:
5
- - 2.4.6
6
- - 2.5.5
7
- - 2.6.3
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "jekyll/include_sass"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here