jekyll-toc.gemspec in jekyll-toc-0.13.1 vs jekyll-toc.gemspec in jekyll-toc-0.14.0
- old
+ new
@@ -1,14 +1,14 @@
# frozen_string_literal: true
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'version'
+require 'table_of_contents/version'
Gem::Specification.new do |spec|
spec.name = 'jekyll-toc'
- spec.version = JekyllToc::VERSION
+ spec.version = Jekyll::TableOfContents::VERSION
spec.summary = 'Jekyll Table of Contents plugin'
spec.description = 'Jekyll (Ruby static website generator) plugin which generates a table of contents.'
spec.authors = %w(toshimaru torbjoernk)
spec.email = 'me@toshimaru.net'
spec.files = `git ls-files -z`.split("\x0")
@@ -17,8 +17,8 @@
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.4'
- spec.add_dependency 'jekyll', '>= 3.7'
- spec.add_dependency 'nokogiri', '~> 1.9'
+ spec.add_dependency 'jekyll', '>= 3.8'
+ spec.add_dependency 'nokogiri', '~> 1.10'
end