Skip to content

Commit

Permalink
Updates for version 3.3.0 with minimum Ruby version 3.0.
Browse files Browse the repository at this point in the history
Updates Nokogiri to 1.15 to address vulnerability.
  • Loading branch information
gkellogg committed Aug 26, 2023
1 parent 63c57df commit 20a9af8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.6, 2.7, '3.0', 3.1, 3.2, ruby-head, jruby]
ruby: ['3.0', 3.1, 3.2, ruby-head, jruby]
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand All @@ -33,6 +33,6 @@ jobs:
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
if: "matrix.ruby == '3.0'"
if: "matrix.ruby == '3.2'"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ group :debug do
end

group :test do
gem 'simplecov', '~> 0.21', platforms: :mri
gem 'simplecov', '~> 0.22', platforms: :mri
gem 'simplecov-lcov', '~> 0.8', platforms: :mri
end
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ GRDDL-type triple generation, such as for html>head>title anchor tags.
If the `RDFa` parser is available, {RDF::Microdata::Format} will not assert content type `text/html` or file extension `.html`, as this is also asserted by RDFa. Instead, the RDFa reader will invoke the microdata reader if an `@itemscope` attribute is detected.

## Dependencies
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2)
* [RDF::RDFa](https://rubygems.org/gems/rdf-xsd) (~> 3.2)
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.3)
* [RDF::RDFa](https://rubygems.org/gems/rdf-xsd) (~> 3.3)
* [RDF::XSD](https://rubygems.org/gems/rdf-xsd) (~> 3.2)
* [HTMLEntities](https://rubygems.org/gems/htmlentities) ('~> 4.3')
* [Nokogiri](https://rubygems.org/gems/nokogiri) (~> 1.12)
* [Nokogiri](https://rubygems.org/gems/nokogiri) (~> 1.15)

## Documentation
Full documentation available on [Rubydoc.info][Microdata doc]
Expand Down
12 changes: 6 additions & 6 deletions rdf-microdata.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ Gem::Specification.new do |gem|
gem.files = %w(AUTHORS README.md UNLICENSE VERSION) + Dir.glob('lib/**/*.rb') + Dir.glob('etc/*')
gem.require_paths = %w(lib)

gem.required_ruby_version = '>= 2.6'
gem.required_ruby_version = '>= 3.0'
gem.requirements = []
gem.add_runtime_dependency 'rdf', '~> 3.2'
gem.add_runtime_dependency 'rdf-rdfa', '~> 3.2', '>= 3.2.3'
gem.add_runtime_dependency 'rdf', '~> 3.3'
gem.add_runtime_dependency 'rdf-rdfa', '~> 3.3'
gem.add_runtime_dependency 'rdf-xsd', '~> 3.2', '>= 3.2.1'
gem.add_runtime_dependency 'htmlentities', '~> 4.3'
gem.add_runtime_dependency 'nokogiri' , '~> 1.13', '>= 1.13.8'
gem.add_runtime_dependency 'nokogiri' , '~> 1.15', '>= 1.15.4'

gem.add_development_dependency 'equivalent-xml' , '~> 0.6'
gem.add_development_dependency 'yard' , '~> 0.9'
Expand All @@ -40,8 +40,8 @@ Gem::Specification.new do |gem|

gem.add_development_dependency 'rdf-spec', '~> 3.2'
gem.add_development_dependency 'rdf-turtle', '~> 3.2'
gem.add_development_dependency 'rdf-isomorphic', '~> 3.2'
gem.add_development_dependency 'json-ld', '~> 3.2'
gem.add_development_dependency 'rdf-isomorphic', '~> 3.3'
gem.add_development_dependency 'json-ld', '~> 3.3'

gem.post_install_message = nil
end

0 comments on commit 20a9af8

Please sign in to comment.