Skip to content

Commit

Permalink
Change kramdown version lower boundary requirement to allow Ruby 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Aug 16, 2020
1 parent 60df0e8 commit 6f57e48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

gemspec

if RUBY_VERSION.start_with?("2.0")
gem "kramdown", "1.16.2"
end

group :test do
gem 'benchmark-ips', '~> 2.7.2'
gem 'simplecov', '~> 0.16.1'
Expand Down
2 changes: 1 addition & 1 deletion tty-markdown.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = ">= 2.0.0"

spec.add_dependency "kramdown", ">= 1.17", "< 3.0"
spec.add_dependency "kramdown", ">= 1.16.2", "< 3.0"
spec.add_dependency "pastel", "~> 0.8"
spec.add_dependency "rouge", "~> 3.14"
spec.add_dependency "strings", "~> 0.2.0"
Expand Down

0 comments on commit 6f57e48

Please sign in to comment.