jekyll-include_sass 0.4.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: 0f923163d428cf33a047391fa015a23bf466afbc3b8a00d38bcfe00fb79f34d8
4
- data.tar.gz: 697ab0b63c4ddd7646eed604ca91fcf7a572841779c7247572b01c97d7b1a57e
3
+ metadata.gz: 5b9d6082c6f018552b5247760c2d8fcaeab62d25c9e510ac037125f2676b5ecb
4
+ data.tar.gz: 77760592721e3590c8f168b24590bb5ca8dce6b896d72ddbe9d95744e8d5f72f
5
5
  SHA512:
6
- metadata.gz: a27204833a8e743ea8e4291586b6230902a8b68b0f1e7dd674d2c1813bf9f1a59d683c2a51a8dfaa0eacadc08b8dbdbddf790f5428a41b6f48ec74cf854f21dd
7
- data.tar.gz: ad25116203d83ec5abde059cd2b0164c90a567674ff887a8617b8e5dd5f6df0f2dbee3e64165ea08b2a932d987e2e3a44fba6e71eb5569fd89bd847f33864870
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", "< 5.0"
25
+ spec.required_ruby_version = '>= 2.7'
24
26
 
25
- spec.add_development_dependency "bundler", "~> 2.0"
26
- spec.add_development_dependency "rake"
27
- spec.add_development_dependency "minitest"
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.4.0"
5
+ VERSION = "0.5.0"
6
6
  end
7
7
  end
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.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-08-05 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
@@ -16,76 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '5.0'
19
+ version: '3.9'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '3.0'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '5.0'
33
- - !ruby/object:Gem::Dependency
34
- name: bundler
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.0'
40
- type: :development
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '2.0'
47
- - !ruby/object:Gem::Dependency
48
- name: rake
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: '0'
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: '0'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: '0'
75
- - !ruby/object:Gem::Dependency
76
- name: pry
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- version: '0'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: '0'
26
+ version: '3.9'
89
27
  description: Jekyll include_sass tag is a shorthand tag for including SASS/SCSS file
90
28
  inside head tag. It's useful when you don't want to reference external CSS, for
91
29
  example, in AMP.
@@ -95,14 +33,15 @@ executables: []
95
33
  extensions: []
96
34
  extra_rdoc_files: []
97
35
  files:
98
- - ".gitignore"
99
- - ".travis.yml"
36
+ - Appraisals
100
37
  - Gemfile
101
38
  - LICENSE.txt
102
39
  - README.md
103
40
  - Rakefile
104
- - bin/console
105
- - 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
106
45
  - jekyll-include_sass.gemspec
107
46
  - lib/jekyll-include_sass.rb
108
47
  - lib/jekyll/include_sass/version.rb
@@ -111,7 +50,7 @@ homepage: https://github.com/toshimaru/jekyll-include_sass
111
50
  licenses:
112
51
  - MIT
113
52
  metadata: {}
114
- post_install_message:
53
+ post_install_message:
115
54
  rdoc_options: []
116
55
  require_paths:
117
56
  - lib
@@ -119,15 +58,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
58
  requirements:
120
59
  - - ">="
121
60
  - !ruby/object:Gem::Version
122
- version: '2.4'
61
+ version: '2.7'
123
62
  required_rubygems_version: !ruby/object:Gem::Requirement
124
63
  requirements:
125
64
  - - ">="
126
65
  - !ruby/object:Gem::Version
127
66
  version: '0'
128
67
  requirements: []
129
- rubygems_version: 3.0.3
130
- signing_key:
68
+ rubygems_version: 3.4.1
69
+ signing_key:
131
70
  specification_version: 4
132
71
  summary: Jekyll include_sass tag which aincludes and converts SASS/SCSS file. Useful
133
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,8 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- cache: bundler
4
- before_install: gem install bundler
5
- rvm:
6
- - 2.4.6
7
- - 2.5.5
8
- - 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