Skip to content

Commit 492d6b7

Browse files
committed
Finish 2.1.0
2 parents 6b51d57 + 9ae6574 commit 492d6b7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+185
-24199
lines changed

.coveralls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
repo_token: U92RjLkZjzwi3VDahukmbTXemdvLS1oEs

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This workflow runs continuous CI across different versions of ruby on all branches and pull requests to develop.
2+
3+
name: CI
4+
on:
5+
push:
6+
branches: [ '**' ]
7+
pull_request:
8+
branches: [ develop ]
9+
workflow_dispatch:
10+
11+
jobs:
12+
tests:
13+
name: Ruby ${{ matrix.ruby }}
14+
if: "contains(github.event.commits[0].message, '[ci skip]') == false"
15+
runs-on: ubuntu-latest
16+
env:
17+
CI: true
18+
ALLOW_FAILURES: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'jruby' }}
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
ruby:
23+
- 2.6
24+
- 2.7
25+
- 3.0
26+
- 3.1
27+
- ruby-head
28+
- jruby
29+
steps:
30+
- name: Clone repository
31+
uses: actions/checkout@v2
32+
- name: Set up Ruby
33+
uses: ruby/setup-ruby@v1
34+
with:
35+
ruby-version: ${{ matrix.ruby }}
36+
- name: Install dependencies
37+
run: bundle install --jobs 4 --retry 3
38+
- name: Run tests
39+
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
40+

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ Gemfile.lock
1111
*.sw?
1212
benchmark/
1313

14-
.storage
14+
.storage
15+
coverage
16+
test-output
17+
report

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,8 @@
8282
- Ships with a limited server "Lamprey"
8383
- Note: 0.1.0 was a gem containing only an `RDF::Vocabulary`, this
8484
has been moved to `rdf-vocab`
85+
86+
0.2.1
87+
------
88+
- Deprecates Ruby < 2.6, supports Ruby 3.
89+
- Updated dependencies.

CONSTRAINED_BY.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ This file documents constraints imposed by `RDF::LDP`, `Rack:LDP` middleware, an
66
RDF Types
77
---------
88

9-
The `RDF::LDP` core does not set types for resources. Complying with [LDP 4.3.1.2](http://www.w3.org/TR/ldp/#h-ldprs-gen-atleast1rdftype) is left to the client (or the server implementer). Interaction models are expressed as Link headers, and the client may infer rdf:types in accordance with the specification.
9+
The `RDF::LDP` core does not set types for resources. Complying with [LDP 4.3.1.2](https://www.w3.org/TR/ldp/#h-ldprs-gen-atleast1rdftype) is left to the client (or the server implementer). Interaction models are expressed as Link headers, and the client may infer rdf:types in accordance with the specification.
1010

11-
Similarly, we do not enforce the recommendation of [LDP 5.2.1.3](http://www.w3.org/TR/ldp/#h-ldpc-nordfcontainertypes) for containers not to have type ` rdf:Bag`, `rdf:Seq` or `rdf:List`. This is left to the client (or server implementer) to manage.
11+
Similarly, we do not enforce the recommendation of [LDP 5.2.1.3](https://www.w3.org/TR/ldp/#h-ldpc-nordfcontainertypes) for containers not to have type ` rdf:Bag`, `rdf:Seq` or `rdf:List`. This is left to the client (or server implementer) to manage.
1212

1313
POST/PUT Requests
1414
------------------
@@ -47,7 +47,7 @@ For Indirect Contianers with an `ldp:insertedContentRelation` other than `ldp:Me
4747
Named Graphs
4848
-------------
4949

50-
Serializations supporting quads are allowed in POST and PUT requests. Graph names are ignored, and the file is treated as a single graph representing the resource. This behavior is seen as in compliance with [4.2.4.1](http://www.w3.org/TR/ldp/#h-ldpr-put-replaceall).
50+
Serializations supporting quads are allowed in POST and PUT requests. Graph names are ignored, and the file is treated as a single graph representing the resource. This behavior is seen as in compliance with [4.2.4.1](https://www.w3.org/TR/ldp/#h-ldpr-put-replaceall).
5151

5252
HTTP PATCH
5353
-----------
@@ -56,4 +56,4 @@ We currently support HTTP PATCH with the LDPatch and SPARQL Update formats. PATC
5656

5757
----
5858

59-
Linking to this document fulfills [Section 4.2.1.6](http://www.w3.org/TR/ldp#h-ldpr-gen-pubclireqs) of the LDP specification. Implementers of servers based on `RDF::LDP` and `Rack::LDP` are advised to create their own documents to clarify how these constraints effect their own services.
59+
Linking to this document fulfills [Section 4.2.1.6](https://www.w3.org/TR/ldp#h-ldpr-gen-pubclireqs) of the LDP specification. Implementers of servers based on `RDF::LDP` and `Rack::LDP` are advised to create their own documents to clarify how these constraints effect their own services.

CREDITS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* Gregg Kellogg <gregg@greggkellogg.net>

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,6 @@ end
5252
group :test do
5353
gem 'equivalent-xml'
5454
gem 'rake'
55+
gem 'simplecov', '~> 0.16', platforms: :mri
56+
gem 'coveralls', '~> 0.8', '>= 0.8.23', platforms: :mri
5557
end

README.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
RDF::LDP
22
========
3-
4-
[![Build Status](https://travis-ci.org/ruby-rdf/rdf-ldp.svg?branch=develop)](https://travis-ci.org/ruby-rdf/rdf-ldp)
3+
[![Gem Version](https://badge.fury.io/rb/rdf-ldp.png)](https://badge.fury.io/rb/rdf-ldp)
4+
[![Build Status](https://github.com/ruby-rdf/rdf-ldp/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/rdf-ldp/actions?query=workflow%3ACI)
5+
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-ldp/badge.svg)](https://coveralls.io/github/ruby-rdf/rdf-ldp)
6+
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
57

68
Server-side support for Linked Data Platform (LDP) with RDF.rb. To get started
79
with LDP, see the [LDP Primer](https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp-primer/ldp-primer.html).
@@ -89,7 +91,7 @@ app = proc do |env|
8991
# The `Rack::LDP` middleware marhsalls the request to the resource, builds the response,
9092
# and handles conneg for RDF serializations (when the body is an `RDF::LDP::RDFSource`).
9193
#
92-
# @see http://www.rubydoc.info/github/rack/rack/master/file/SPEC#The_Response
94+
# @see https://www.rubydoc.info/github/rack/rack/master/file/SPEC#The_Response
9395
9496
[200, {}, RDF::LDP::Resource.find(RDF::URI(env['REQUEST_URI']), repository)]
9597
end
@@ -148,10 +150,33 @@ gem to run the suite and generate the tests.
148150
RDF.rb Compatibility
149151
--------------------------
150152

151-
As of version 2.0, this software depends on RDF.rb 3.1 or greater.
153+
As of version 2.1, this software depends on RDF.rb 3.2 or greater.
152154

155+
## Contributing
153156

154-
License
155-
========
157+
This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
158+
159+
* Do your best to adhere to the existing coding conventions and idioms.
160+
* Don't use hard tabs, and don't leave trailing whitespace on any line.
161+
Before committing, run `git diff --check` to make sure of this.
162+
* Do document every method you add using [YARD][] annotations. Read the
163+
[tutorial][YARD-GS] or just look at the existing code for examples.
164+
* Don't touch the `.gemspec` or `VERSION` files. If you need to change them,
165+
do so on your private branch only.
166+
* Do feel free to add yourself to the `CREDITS` file and the
167+
corresponding list in the the `README`. Alphabetical order applies.
168+
* Don't touch the `AUTHORS` file. If your contributions are significant
169+
enough, be assured we will eventually add you in there.
170+
* Do note that in order for us to merge any non-trivial changes (as a rule
171+
of thumb, additions larger than about 15 lines of code), we need an
172+
explicit [public domain dedication][PDD] on record from you,
173+
which you will be asked to agree to on the first commit to a repo within the organization.
174+
Note that the agreement applies to all repos in the [Ruby RDF](https://github.com/ruby-rdf/) organization.
175+
176+
## License
156177

157178
This software is released under a public domain waiver (Unlicense).
179+
180+
[YARD]: https://yardoc.org/
181+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
182+
[PDD]: https://unlicense.org/#unlicensing-contributions

UNLICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
2121
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2222
OTHER DEALINGS IN THE SOFTWARE.
2323

24-
For more information, please refer to <http://unlicense.org/>
24+
For more information, please refer to <https://unlicense.org/>

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.1
1+
2.1.0

0 commit comments

Comments
 (0)