diff --git a/Changelog.md b/Changelog.md index fc0259d..79d4b22 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,16 @@ # Changelog +## 0.5.1 / 2022-04-10 + +* Support Ruby 3.0 through 3.3, dropping support for 2.6 and 2.7 + ([#83], [#90], and [#100] by [mvz]) + +[mvz]: https://github.com/mvz + +[#83]: https://github.com/mvz/ghtml2pdf/pull/83 +[#90]: https://github.com/mvz/ghtml2pdf/pull/90 +[#100]: https://github.com/mvz/ghtml2pdf/pull/100 + ## 0.5.0 / 2022-04-10 * Set output file from input file if not provided diff --git a/README.md b/README.md index f0b8656..226515e 100644 --- a/README.md +++ b/README.md @@ -34,15 +34,21 @@ and provide feedback. Also see Contributing below. Add this line to your application's Gemfile: - gem 'ghtml2pdf' +```ruby +gem 'ghtml2pdf' +``` And then execute: - $ bundle +```bash +bundle +``` Or install it yourself as: - $ gem install ghtml2pdf +```bash +gem install ghtml2pdf +``` You will also need to install WebKit2GTK+, the Gtk+ bindings for WebKit2, and GObject Introspection. You should probably also install AT-Spi 2 to @@ -56,7 +62,9 @@ On Debian and Ubuntu, this can be accomplished by installing the packages The intended usage will be something like: - ghtml2pdf input.html output.pdf +```bash +ghtml2pdf input.html output.pdf +``` ## Development @@ -83,10 +91,12 @@ out. * Try not to include changes that are irrelevant to your feature in the same commit. -You can submit your tickets and pull requests at [GHtml2Pdf's GitHub -repository](https://github.com/mvz/ghtml2pdf). +You can submit your tickets and pull requests at +[GHtml2Pdf's GitHub repository](https://github.com/mvz/ghtml2pdf). ## License +Copyright © 2015–2024 [Matijs van Zuijlen](http://www.matijs.net) + The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). diff --git a/lib/ghtml2pdf/version.rb b/lib/ghtml2pdf/version.rb index 5a99a6c..a23bff2 100644 --- a/lib/ghtml2pdf/version.rb +++ b/lib/ghtml2pdf/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module GHtml2Pdf - VERSION = "0.5.0" + VERSION = "0.5.1" end