Skip to content

Commit

Permalink
Require Ruby v2.5+ and nokogiri v1.11 (#143)
Browse files Browse the repository at this point in the history
* require Ruby 2.5+

* Require nokogiri 1.11

closes #142

* rubocop TargetRubyVersion: 2.5
  • Loading branch information
toshimaru authored May 16, 2021
1 parent 48b0970 commit c3d18cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.4
TargetRubyVersion: 2.5
NewCops: enable
Exclude:
- "*.gemspec"
Expand Down
4 changes: 2 additions & 2 deletions jekyll-toc.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec)/})
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.4'
spec.required_ruby_version = '>= 2.5'

spec.add_dependency 'jekyll', '>= 3.9'
spec.add_dependency 'nokogiri', '~> 1.10'
spec.add_dependency 'nokogiri', '~> 1.11'
end

0 comments on commit c3d18cb

Please sign in to comment.