Skip to content

Commit

Permalink
Updates for version 3.3 with minumum Ruby version 3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Aug 26, 2023
1 parent 4a13da9 commit b24b097
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
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,7 +33,7 @@ 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 }}
wintests:
Expand All @@ -58,8 +58,3 @@ jobs:
run: bundle install --jobs 4 --retry 3
- name: Run tests
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
if: "matrix.ruby == '3.0'"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -588,8 +588,8 @@ Note, the API method signatures differed in versions before 1.0, in that they al
* {JSON::LD::Writer}

## Dependencies
* [Ruby](https://ruby-lang.org/) (>= 2.6)
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2)
* [Ruby](https://ruby-lang.org/) (>= 3.0)
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.3)
* [JSON](https://rubygems.org/gems/json) (>= 2.6)

## Installation
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
3.2.5
3.3.0
8 changes: 4 additions & 4 deletions json-ld.gemspec
Expand Up @@ -29,17 +29,17 @@ Gem::Specification.new do |gem|
gem.executables = %w[jsonld]
gem.require_paths = %w[lib]

gem.required_ruby_version = '>= 2.6'
gem.required_ruby_version = '>= 3.0'
gem.requirements = []
gem.add_runtime_dependency 'htmlentities', '~> 4.3'
gem.add_runtime_dependency 'json-canonicalization', '~> 0.3', '>= 0.3.2'
gem.add_runtime_dependency 'link_header', '~> 0.0', '>= 0.0.8'
gem.add_runtime_dependency 'multi_json', '~> 1.15'
gem.add_runtime_dependency "rack", '>= 2.2', '< 4'
gem.add_runtime_dependency 'rdf', '~> 3.2', '>= 3.2.10'
gem.add_runtime_dependency 'rdf', '~> 3.3'
gem.add_development_dependency 'jsonlint', '~> 0.4' unless is_java
gem.add_development_dependency 'oj', '~> 3.14' unless is_java
gem.add_development_dependency 'rack-test', '>= 1.1', '< 3'
gem.add_development_dependency 'oj', '~> 3.15' unless is_java
gem.add_development_dependency 'rack-test', '~> 2.1'
gem.add_development_dependency 'rdf-isomorphic', '~> 3.2'
gem.add_development_dependency 'rdf-spec', '~> 3.2'
gem.add_development_dependency 'rdf-trig', '~> 3.2'
Expand Down

0 comments on commit b24b097

Please sign in to comment.