Skip to content

Commit ad4cc51

Browse files
committed
Finish 3.2.0
2 parents de287a3 + 89f073e commit ad4cc51

File tree

8 files changed

+36
-44
lines changed

8 files changed

+36
-44
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
runs-on: ubuntu-latest
1616
env:
1717
CI: true
18+
ALLOW_FAILURES: ${{ endsWith(matrix.ruby, 'head') }}
1819
strategy:
1920
fail-fast: false
2021
matrix:
2122
ruby:
22-
- 2.4
23-
- 2.5
2423
- 2.6
2524
- 2.7
2625
- 3.0
26+
- 3.1
2727
- ruby-head
2828
- jruby
2929
steps:
@@ -36,5 +36,9 @@ jobs:
3636
- name: Install dependencies
3737
run: bundle install --jobs 4 --retry 3
3838
- name: Run tests
39-
run: bundle exec rspec spec
40-
39+
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
40+
- name: Coveralls GitHub Action
41+
uses: coverallsapp/[email protected]
42+
if: "matrix.ruby == '3.0'"
43+
with:
44+
github-token: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ group :development, :test do
2222
gem 'sxp', github: "dryruby/sxp.rb", branch: "develop"
2323
gem 'rest-client-components'
2424
gem 'erubis'
25-
gem 'simplecov', platforms: :mri
26-
gem 'coveralls', '~> 0.8', platforms: :mri
25+
gem 'simplecov', '~> 0.21', platforms: :mri
26+
gem 'simplecov-lcov', '~> 0.8', platforms: :mri
2727
end

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This gem implements the [LD Patch][] specification with a couple of changes and/
2525
* 100% free and unencumbered [public domain](http://unlicense.org/) software.
2626
* Complete [Linked Data Patch Format][LD Patch] parsing and execution
2727
* Implementation Report: {file:etc/earl.html EARL}
28-
* Compatible with Ruby >= 2.4.
28+
* Compatible with Ruby >= 2.6.
2929

3030
## Documentation
3131
Full documentation available on [Rubydoc.info][LD-Patch doc]
@@ -74,12 +74,12 @@ The parser takes branch and follow tables generated from the [LD Patch Grammar](
7474

7575
## Dependencies
7676

77-
* [Ruby](http://ruby-lang.org/) (>= 2.4)
78-
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.1)
79-
* [EBNF][] (~> 1.2)
80-
* [SPARQL][] (~> 3.1)
81-
* [SXP][] (~> 1.1)
82-
* [RDF::XSD][] (~> 3.1)
77+
* [Ruby](http://ruby-lang.org/) (>= 2.6)
78+
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2)
79+
* [EBNF][] (~> 1.3)
80+
* [SPARQL][] (~> 3.2)
81+
* [SXP][] (~> 1.2)
82+
* [RDF::XSD][] (~> 3.2)
8383

8484
## Mailing List
8585
* <http://lists.w3.org/Archives/Public/public-rdf-ruby/>

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.3
1+
3.2.0

ld-patch.gemspec

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,17 @@ Gem::Specification.new do |gem|
2020
Implements the W3C Linked Data Patch Format and operations for RDF.rb.
2121
Makes use of the SPARQL gem for performing updates.)
2222

23-
gem.required_ruby_version = '>= 2.4'
23+
gem.required_ruby_version = '>= 2.6'
2424
gem.requirements = []
25-
gem.add_runtime_dependency 'rdf', '~> 3.1'
26-
gem.add_runtime_dependency 'ebnf', '~> 2.1'
27-
gem.add_runtime_dependency 'sparql', '~> 3.1'
28-
gem.add_runtime_dependency 'sxp', '~> 1.1'
29-
gem.add_runtime_dependency 'rdf-xsd', '~> 3.1'
25+
gem.add_runtime_dependency 'rdf', '~> 3.2'
26+
gem.add_runtime_dependency 'ebnf', '~> 2.2'
27+
gem.add_runtime_dependency 'sparql', '~> 3.2'
28+
gem.add_runtime_dependency 'sxp', '~> 1.2'
29+
gem.add_runtime_dependency 'rdf-xsd', '~> 3.2'
3030

31-
gem.add_development_dependency 'json-ld', '~> 3.1'
31+
gem.add_development_dependency 'json-ld', '~> 3.2'
3232
gem.add_development_dependency 'rack', '~> 2.2'
33-
gem.add_development_dependency 'rdf-spec', '~> 3.1'
34-
gem.add_development_dependency 'open-uri-cached', '~> 0.0', '>= 0.0.5'
33+
gem.add_development_dependency 'rdf-spec', '~> 3.2'
3534
gem.add_development_dependency 'rspec', '~> 3.10'
3635
gem.add_development_dependency 'rspec-its', '~> 1.3'
3736
gem.add_development_dependency 'yard' , '~> 0.9'

spec/parser_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
} .
264264
),
265265
result: %(
266-
(prefix ((rdfs <http://www.w3.org/2000/01/rdf-schema#>) (schema <http://schema.org/>))
266+
(prefix ((rdfs: <http://www.w3.org/2000/01/rdf-schema#>) (schema: <http://schema.org/>))
267267
(patch
268268
(bind ?b3 "W3C/MIT" (path (reverse schema:name)))
269269
(bind ?b2 ?b3 (path (reverse schema:workLocation)))

spec/spec_helper.rb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,17 @@
88

99
begin
1010
require 'simplecov'
11-
require 'coveralls'
11+
require 'simplecov-lcov'
12+
13+
SimpleCov::Formatter::LcovFormatter.config do |config|
14+
#Coveralls is coverage by default/lcov. Send info results
15+
config.report_with_single_file = true
16+
config.single_report_path = 'coverage/lcov.info'
17+
end
18+
1219
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
1320
SimpleCov::Formatter::HTMLFormatter,
14-
Coveralls::SimpleCov::Formatter
21+
SimpleCov::Formatter::LcovFormatter
1522
])
1623
SimpleCov.start do
1724
add_filter "/spec/"

0 commit comments

Comments
 (0)