diff --git a/.travis.yml b/.travis.yml index 69a3e21..7bd181b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ rvm: + - 2.6.10 - 2.7.8 - 3.1.6 - 3.2.5 diff --git a/README.md b/README.md index 116d87c..61b0a73 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # xmp - Extensible Metadata Platform (XMP) parser -MP provides object oriented interface to [XMP data](http://en.wikipedia.org/wiki/Extensible_Metadata_Platform). XMP data can be found in PDF, JPEG, GIF, PNG, and many other formats. +XMP provides an object oriented interface to [XMP data](http://en.wikipedia.org/wiki/Extensible_Metadata_Platform). XMP data can be found in PDF, JPEG, GIF, PNG, and many other formats. ## Supported Formats @@ -59,9 +59,12 @@ gem 'exifr', '~> 1.3' ``` ## Requirements -* Ruby 2 or Ruby 3 -* Nokogiri (1.10 or newer, gem dependency - will be installed automatically) -* EXIFR (1.3 or newer) - optional +* Ruby 2 (supported on >= 2.6, though xmp may work on earlier versions) or Ruby 3 +* nokogiri (>= 1.10). The xmp gem depends on this gem. It will be installed automatically. + * On Ruby 2.6, nokogiri 1.13.10 will be installed; nokogiri >= 1.14 require Ruby 2.7. + * On Ruby 2.7, nokogiri 1.15.5 will be installed; nokogiri >= 1.16 require Ruby 3. + * See https://nokogiri.org/CHANGELOG.html for nokogiri support for older or newer Ruby versions. +* exifr (>= 1.3). This gem is optional. If you need it, add it to your Gemfile. ## Development diff --git a/xmp.gemspec b/xmp.gemspec index 6396c8d..5f03365 100644 --- a/xmp.gemspec +++ b/xmp.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| s.extra_rdoc_files = %w(README.md) - s.required_ruby_version = '>= 2.7.0' + s.required_ruby_version = '>= 2.6.0' s.add_dependency 'nokogiri', '~> 1.0'