Skip to content

Commit b0e35fa

Browse files
ashmarolijekyllbot
authored andcommitted
Re-introduce Ruby 2.3 support and test Jekyll 3.7+ (#90)
Merge pull request 90
1 parent f97a9ba commit b0e35fa

File tree

4 files changed

+23
-10
lines changed

4 files changed

+23
-10
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ inherit_gem:
66
rubocop-jekyll: .rubocop.yml
77

88
AllCops:
9-
TargetRubyVersion: 2.4
9+
TargetRubyVersion: 2.3

.travis.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
language: ruby
22
cache: bundler
33
rvm:
4-
- 2.6
5-
- 2.4
4+
- &latest_ruby 2.6
5+
- 2.4
6+
- 2.3
67

78
before_install:
89
- gem update --system
@@ -13,7 +14,15 @@ script: script/cibuild
1314

1415
env:
1516
global:
16-
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
17+
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
18+
matrix:
19+
- JEKYLL_VERSION="~> 3.8"
20+
matrix:
21+
include:
22+
- rvm: *latest_ruby
23+
env: JEKYLL_VERSION="~> 3.7.4"
24+
- rvm: *latest_ruby
25+
env: JEKYLL_VERSION=">= 4.0.0.pre.alpha1"
1726

1827
notifications:
1928
email: false

appveyor.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@ branches:
77
build: off
88

99
environment:
10+
JEKYLL_VERSION: "~> 3.8"
1011
matrix:
11-
- RUBY_FOLDER_VER: "25-x64"
12-
- RUBY_FOLDER_VER: "25"
12+
- RUBY_FOLDER_VER: "26"
13+
JEKYLL_VERSION : "~> 3.7.4"
14+
- RUBY_FOLDER_VER: "26"
15+
JEKYLL_VERSION : ">= 4.0.0.pre.alpha1"
16+
- RUBY_FOLDER_VER: "26"
1317
- RUBY_FOLDER_VER: "24"
18+
- RUBY_FOLDER_VER: "23"
1419

1520
install:
16-
- SET PATH=C:\Ruby%RUBY_FOLDER_VER%\bin;%PATH%
21+
- SET PATH=C:\Ruby%RUBY_FOLDER_VER%-x64\bin;%PATH%
1722
- bundle install --retry 5 --jobs=%NUMBER_OF_PROCESSORS% --clean --path vendor\bundle
1823

1924
test_script:

jekyll-compose.gemspec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ Gem::Specification.new do |spec|
1414
spec.homepage = "https://github.com/jekyll/jekyll-compose"
1515
spec.license = "MIT"
1616

17-
spec.files = `git ls-files -z`.split("\x0").grep(%r!(bin|lib)/!)
18-
spec.executables = spec.files.grep(%r!^bin/!) { |f| File.basename(f) }
17+
spec.files = `git ls-files -z`.split("\x0").grep(%r!^lib/!)
1918
spec.require_paths = ["lib"]
2019

21-
spec.required_ruby_version = ">= 2.4.0"
20+
spec.required_ruby_version = ">= 2.3.0"
2221

2322
spec.add_dependency "jekyll", ">= 3.7", "< 5.0"
2423

0 commit comments

Comments
 (0)