Skip to content

Commit

Permalink
Document supported versions
Browse files Browse the repository at this point in the history
Now, pdfkit supports Ruby 2.5 or later.
  • Loading branch information
tricknotes committed Jan 22, 2021
1 parent 4338b9a commit 5be849c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -2,6 +2,11 @@

Create PDFs using plain old HTML+CSS. Uses [wkhtmltopdf](http://github.com/antialize/wkhtmltopdf) on the back-end which renders HTML using Webkit.

## Supported versions

- Ruby 2.5, 2.6
- Rails 4.2, 5.2, 6.0

## Install

### PDFKit
Expand Down
2 changes: 2 additions & 0 deletions pdfkit.gemspec
Expand Up @@ -18,6 +18,8 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.required_ruby_version = '>= 2.5'

s.requirements << "wkhtmltopdf"

# Development Dependencies
Expand Down

0 comments on commit 5be849c

Please sign in to comment.