Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Jekyll gem as a runtime_dependency #98

Merged
merged 5 commits into from
Jan 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
source 'https://rubygems.org'

gemspec

gem 'appraisal'
gem 'minitest-reporters'
gem 'minitest'
gem 'pry'
gem 'rake'
gem 'rubocop'
gem 'simplecov'
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Toshimaru
Copyright (c) 2020 Toshimaru

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 7 additions & 0 deletions gemfiles/jekyll_3.7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

source "https://rubygems.org"

gem "appraisal"
gem "minitest-reporters"
gem "minitest"
gem "pry"
gem "rake"
gem "rubocop"
gem "simplecov"
gem "jekyll", "3.7"

gemspec path: "../"
7 changes: 7 additions & 0 deletions gemfiles/jekyll_3.8.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

source "https://rubygems.org"

gem "appraisal"
gem "minitest-reporters"
gem "minitest"
gem "pry"
gem "rake"
gem "rubocop"
gem "simplecov"
gem "jekyll", "3.8"

gemspec path: "../"
7 changes: 7 additions & 0 deletions gemfiles/jekyll_4.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

source "https://rubygems.org"

gem "appraisal"
gem "minitest-reporters"
gem "minitest"
gem "pry"
gem "rake"
gem "rubocop"
gem "simplecov"
gem "jekyll", "4.0"

gemspec path: "../"
16 changes: 5 additions & 11 deletions jekyll-toc.gemspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'version'
Expand All @@ -6,7 +8,7 @@ Gem::Specification.new do |spec|
spec.name = 'jekyll-toc'
spec.version = JekyllToc::VERSION
spec.summary = 'Jekyll Table of Contents plugin'
spec.description = 'A liquid filter plugin for Jekyll which generates a table of contents.'
spec.description = 'Jekyll (Ruby static website generator) plugin which generates a table of contents.'
spec.authors = %w(toshimaru torbjoernk)
spec.email = '[email protected]'
spec.files = `git ls-files -z`.split("\x0")
Expand All @@ -17,14 +19,6 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = '>= 2.4'

spec.add_runtime_dependency 'nokogiri', '~> 1.9'

spec.add_development_dependency 'appraisal'
spec.add_development_dependency 'jekyll', '>= 3.7'
spec.add_development_dependency 'minitest', '~> 5.11'
spec.add_development_dependency 'minitest-reporters'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'simplecov'
spec.add_dependency 'jekyll', '>= 3.7'
spec.add_dependency 'nokogiri', '~> 1.9'
end