File tree Expand file tree Collapse file tree 5 files changed +36
-29
lines changed Expand file tree Collapse file tree 5 files changed +36
-29
lines changed Original file line number Diff line number Diff line change 1
1
language : ruby
2
+ cache : bundler
3
+ rvm :
4
+ - &latest_ruby 2.6
5
+ - 2.4
6
+ - 2.3
7
+
2
8
script : script/cibuild
3
- sudo : false
4
- notifications :
5
- email : false
9
+
6
10
branches :
7
11
only :
8
12
- master
9
- rvm :
10
- - 2.5
11
- - 2.4
12
- - 2.3
13
13
env :
14
- - " "
15
- - JEKYLL_VERSION=3.7.4
14
+ matrix :
15
+ - JEKYLL_VERSION="~> 3.8"
16
16
matrix :
17
17
include :
18
18
- # GitHub Pages
19
- rvm : 2.5.1
20
- env : GH_PAGES=true
19
+ rvm : 2.5.3
20
+ env : JEKYLL_VERSION="~> 3.7.4"
21
+ - rvm : *latest_ruby
22
+ env : JEKYLL_VERSION=">= 4.0.0.pre.alpha1"
23
+
24
+ notifications :
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 10
10
11
11
* chore(deps): drop support for Liquid < ; 4.0 (#66 )
12
12
13
+ ### Bug Fixes
14
+
15
+ * Re-introduce Ruby 2.3 support and test Jekyll 3.7+ (#72 )
16
+
13
17
## 1.5.0 / 2017-12-03
14
18
15
19
### Documentation
Original file line number Diff line number Diff line change @@ -14,18 +14,18 @@ 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.3.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"
25
- spec . add_development_dependency "bundler" , "~> 1.6"
26
- spec . add_development_dependency "jekyll" , ">= 3.5"
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
+
26
+ spec . add_development_dependency "bundler"
27
27
spec . add_development_dependency "rake"
28
28
spec . add_development_dependency "rspec"
29
- spec . add_development_dependency "rubocop-jekyll" , "~> 0.3 "
29
+ spec . add_development_dependency "rubocop-jekyll" , "~> 0.4 "
30
30
spec . add_development_dependency "webmock"
31
31
end
Original file line number Diff line number Diff line change @@ -26,12 +26,14 @@ def render(context)
26
26
else
27
27
raise ArgumentError , <<~ERROR
28
28
Syntax error in tag 'gist' while parsing the following markup:
29
+
29
30
#{ @markup }
30
- Valid syntax:
31
- {% gist user/1234567 %}
32
- {% gist user/1234567 foo.js %}
33
- {% gist 28949e1d5ee2273f9fd3 %}
34
- {% gist 28949e1d5ee2273f9fd3 best.md %}
31
+
32
+ Valid syntax:
33
+ {% gist user/1234567 %}
34
+ {% gist user/1234567 foo.js %}
35
+ {% gist 28949e1d5ee2273f9fd3 %}
36
+ {% gist 28949e1d5ee2273f9fd3 best.md %}
35
37
36
38
ERROR
37
39
end
You can’t perform that action at this time.
0 commit comments