File tree Expand file tree Collapse file tree 5 files changed +19
-18
lines changed Expand file tree Collapse file tree 5 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ inherit_gem:
5
5
rubocop-jekyll : .rubocop.yml
6
6
7
7
AllCops :
8
- TargetRubyVersion : 2.4
8
+ TargetRubyVersion : 2.3
9
9
Exclude :
10
10
- vendor/**/*
11
11
- spec/*.rb
Original file line number Diff line number Diff line change 1
1
language : ruby
2
2
cache : bundler
3
3
rvm :
4
- - 2.6
4
+ - &latest_ruby 2.6
5
5
- 2.4
6
+ - 2.3
6
7
7
8
script : script/cibuild
8
9
9
10
branches :
10
11
only :
11
12
- master
12
13
env :
13
- - JEKYLL_VERSION=3.7.4
14
-
14
+ matrix :
15
+ - JEKYLL_VERSION="~> 3.8"
15
16
matrix :
16
17
include :
17
18
- # GitHub Pages
18
19
rvm : 2.5.3
19
- env : GH_PAGES=true
20
+ env : JEKYLL_VERSION="~> 3.7.4"
21
+ - rvm : *latest_ruby
22
+ env : JEKYLL_VERSION=">= 4.0.0.pre.alpha1"
20
23
21
24
notifications :
22
25
email : false
Original file line number Diff line number Diff line change 3
3
source "https://rubygems.org"
4
4
gemspec
5
5
6
- if ENV [ "GH_PAGES" ]
7
- gem "github-pages"
8
- elsif ENV [ "JEKYLL_VERSION" ]
9
- gem "jekyll" , "~> #{ ENV [ "JEKYLL_VERSION" ] } "
10
- end
6
+ gem "jekyll" , ENV [ "JEKYLL_VERSION" ] if ENV [ "JEKYLL_VERSION" ]
Original file line number Diff line number Diff line change @@ -14,16 +14,16 @@ Gem::Specification.new do |spec|
14
14
spec . homepage = "https://github.com/jekyll/jekyll-gist"
15
15
spec . license = "MIT"
16
16
17
- spec . required_ruby_version = ">= 2.4.0"
18
-
19
17
spec . files = `git ls-files -z` . split ( "\x0 " )
20
- spec . executables = spec . files . grep ( %r!^bin/! ) { |f | File . basename ( f ) }
21
- spec . test_files = spec . files . grep ( %r!^(test|spec|features)/! )
18
+ spec . test_files = spec . files . grep ( %r!^spec/! )
22
19
spec . require_paths = [ "lib" ]
23
20
24
- spec . add_dependency "octokit" , "~> 4.2"
21
+ spec . required_ruby_version = ">= 2.3.0"
22
+
23
+ spec . add_runtime_dependency "jekyll" , ">= 3.7" , "< 5.0"
24
+ spec . add_runtime_dependency "octokit" , "~> 4.2"
25
+
25
26
spec . add_development_dependency "bundler"
26
- spec . add_development_dependency "jekyll" , ">= 3.7" , "< 5.0"
27
27
spec . add_development_dependency "rake"
28
28
spec . add_development_dependency "rspec"
29
29
spec . add_development_dependency "rubocop-jekyll" , "~> 0.4"
Original file line number Diff line number Diff line change @@ -24,8 +24,10 @@ def render(context)
24
24
else
25
25
raise ArgumentError , <<~ERROR
26
26
Syntax error in tag 'gist' while parsing the following markup:
27
- #{ @markup }
28
- Valid syntax:
27
+
28
+ #{ @markup }
29
+
30
+ Valid syntax:
29
31
{% gist user/1234567 %}
30
32
{% gist user/1234567 foo.js %}
31
33
{% gist 28949e1d5ee2273f9fd3 %}
You can’t perform that action at this time.
0 commit comments