mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-12 21:03:32 -06:00
Add to CI matrix: windows, macOS; Ruby 2.7; allow later versions of bundler
(#1165)
This PR: - matricizes (?) the OS parameter: we now also test on `windows` and `macOS` - matricizes the Ruby version parameter: we now also test on Ruby 2.7 - loosens the `.gemspec` requirement for `bundler` to allow things greater than `2.3.5` - interestingly, this is because the Ruby 2.7 container has a **later** version of bundler than the 3.1 one! The last point makes this user-facing, and thus I'll trigger a release for this PR sometime soon. These only apply to the `jekyll-build` job. Here, I think we have a broader obligation to support various use-cases (maybe they're deploying on GitLab, generating files locally, etc.); in contrast, the `github-pages` gem is used exclusively for deploying to GitHub Pages, so we should try to match that environment exactly. This PR closes #1145.
This commit is contained in:
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
||||
spec.files = `git ls-files -z ':!:*.jpg' ':!:*.png'`.split("\x0").select { |f| f.match(%r{^(assets|bin|_layouts|_includes|lib|Rakefile|_sass|LICENSE|README|CHANGELOG|favicon)}i) }
|
||||
spec.executables << 'just-the-docs'
|
||||
|
||||
spec.add_development_dependency "bundler", "~> 2.3.5"
|
||||
spec.add_development_dependency "bundler", ">= 2.3.5"
|
||||
spec.add_runtime_dependency "jekyll", ">= 3.8.5"
|
||||
spec.add_runtime_dependency "jekyll-seo-tag", ">= 2.0"
|
||||
spec.add_runtime_dependency "rake", ">= 12.3.1"
|
||||
|
Reference in New Issue
Block a user