sinatra-rdf 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -23
- data/VERSION +1 -1
- data/lib/sinatra/rdf.rb +1 -1
- metadata +19 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebbe8266b5628872724c46b9a9a80eb100efd738f49c3a8093dc2343ceead230
|
4
|
+
data.tar.gz: 942fb76c8cfd5a2e34e1898ccb993be8b7b5737cc40ac65349aa0ab34b8f9be4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 121b8e313ff20594996a39a16f010bbd56f05898ddd143d695164e38354da62b20c9bb000ba64ec9e289cff22fe3b3e6775c388cb1fe968ad7d2188c2f2913d4
|
7
|
+
data.tar.gz: 0d1e90c3cd97aba52a81a5ddf217917ff675ba5f9595d1f34971b48a04a9921b255bc4639b436a5fdc9877da956050b7278a9b3a8c1c6961abea0fa74b9ef7e9
|
data/README.md
CHANGED
@@ -5,16 +5,17 @@ negotiation for Sinatra applications.
|
|
5
5
|
|
6
6
|
This version is based on [rack-linkeddata][] without the hard dependency on the [linkeddata][] gem, to allow applications to better manage their dependencies
|
7
7
|
|
8
|
-
* <
|
8
|
+
* <https://github.com/ruby-rdf/sinatra-rdf>
|
9
9
|
|
10
|
-
[![Gem Version](https://badge.fury.io/rb/sinatra-rdf.svg)](
|
11
|
-
[![Build Status](https://
|
10
|
+
[![Gem Version](https://badge.fury.io/rb/sinatra-rdf.svg)](https://badge.fury.io/rb/sinatra-rdf)
|
11
|
+
[![Build Status](https://github.com/ruby-rdf/sinatra-rdf/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/sinatra-rdf/actions?query=workflow%3ACI)
|
12
|
+
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
|
12
13
|
|
13
14
|
## Features
|
14
15
|
|
15
16
|
* Implements [HTTP content negotiation][conneg] for RDF content types using
|
16
17
|
the [`Rack::RDF`][Rack::RDF] middleware.
|
17
|
-
* Supports all [RDF.rb][]-compatible serialization formats.
|
18
|
+
* Supports all [RDF.rb][] -compatible serialization formats.
|
18
19
|
* Supports both classic and modular Sinatra applications.
|
19
20
|
|
20
21
|
## Examples
|
@@ -118,12 +119,12 @@ operation and details of the content negotiation.
|
|
118
119
|
|
119
120
|
## Dependencies
|
120
121
|
|
121
|
-
* [Sinatra](
|
122
|
-
* [Rack::RDF](
|
122
|
+
* [Sinatra](https://rubygems.org/gems/sinatra) (~> 2.0)
|
123
|
+
* [Rack::RDF](https://rubygems.org/gems/rack-rdf) (~> 3.1)
|
123
124
|
|
124
125
|
## Installation
|
125
126
|
|
126
|
-
The recommended installation method is via [RubyGems](
|
127
|
+
The recommended installation method is via [RubyGems](https://rubygems.org/).
|
127
128
|
To install the latest official release of the gem, do:
|
128
129
|
|
129
130
|
% [sudo] gem install sinatra-rdf
|
@@ -137,29 +138,29 @@ To get a local working copy of the development repository, do:
|
|
137
138
|
Alternatively, you can download the latest development version as a tarball
|
138
139
|
as follows:
|
139
140
|
|
140
|
-
% wget
|
141
|
+
% wget https://github.com/ruby-rdf/sinatra-rdf/tarball/master
|
141
142
|
|
142
143
|
## References
|
143
144
|
|
144
|
-
* <
|
145
|
-
* <
|
146
|
-
* <
|
147
|
-
* <
|
148
|
-
* <
|
149
|
-
* <
|
145
|
+
* <https://www.w3.org/DesignIssues/LinkedData.html>
|
146
|
+
* <https://linkeddata.org/docs/how-to-publish>
|
147
|
+
* <https://linkeddata.org/conneg-303-redirect-code-samples>
|
148
|
+
* <https://www.w3.org/TR/cooluris/>
|
149
|
+
* <https://www.w3.org/TR/swbp-vocab-pub/>
|
150
|
+
* <https://patterns.dataincubator.org/book/publishing-patterns.html>
|
150
151
|
|
151
152
|
## Authors
|
152
153
|
|
153
|
-
* [Arto Bendiken](
|
154
|
+
* [Arto Bendiken](https://github.com/artob) - <https://ar.to/>
|
154
155
|
|
155
156
|
## License
|
156
157
|
|
157
158
|
`Sinatra::RDF` is free and unencumbered public domain software. For more
|
158
|
-
information, see <
|
159
|
-
|
160
|
-
[Sinatra]:
|
161
|
-
[Rack]:
|
162
|
-
[RDF.rb]:
|
163
|
-
[Rack::RDF]:
|
164
|
-
[Linked Data]:
|
165
|
-
[conneg]:
|
159
|
+
information, see <https://unlicense.org/> or the accompanying UNLICENSE file.
|
160
|
+
|
161
|
+
[Sinatra]: https://www.sinatrarb.com/
|
162
|
+
[Rack]: https://rack.github.com/
|
163
|
+
[RDF.rb]: https://ruby-rdf.github.com/rdf/
|
164
|
+
[Rack::RDF]: https://rubygems.org/gems/rack-rdf/
|
165
|
+
[Linked Data]: https://linkeddata.org/
|
166
|
+
[conneg]: https://en.wikipedia.org/wiki/Content_negotiation
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.1
|
data/lib/sinatra/rdf.rb
CHANGED
@@ -5,7 +5,7 @@ module Sinatra
|
|
5
5
|
##
|
6
6
|
# To override negotiation on Content-Type, set :format in `linkeddata_options` to a RDF Format class, or symbol identifying a format.
|
7
7
|
#
|
8
|
-
# @see
|
8
|
+
# @see https://www.sinatrarb.com/extensions.html
|
9
9
|
module RDF
|
10
10
|
autoload :VERSION, 'sinatra/rdf/version'
|
11
11
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-rdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arto Bendiken
|
8
8
|
- Gregg Kellogg
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-12-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack-rdf
|
@@ -18,6 +18,9 @@ dependencies:
|
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '3.1'
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 3.1.1
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -25,48 +28,51 @@ dependencies:
|
|
25
28
|
- - "~>"
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: '3.1'
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.1.1
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: sinatra
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
31
37
|
requirements:
|
32
38
|
- - "~>"
|
33
39
|
- !ruby/object:Gem::Version
|
34
|
-
version: '2.
|
40
|
+
version: '2.1'
|
35
41
|
type: :runtime
|
36
42
|
prerelease: false
|
37
43
|
version_requirements: !ruby/object:Gem::Requirement
|
38
44
|
requirements:
|
39
45
|
- - "~>"
|
40
46
|
- !ruby/object:Gem::Version
|
41
|
-
version: '2.
|
47
|
+
version: '2.1'
|
42
48
|
- !ruby/object:Gem::Dependency
|
43
49
|
name: yard
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
45
51
|
requirements:
|
46
52
|
- - "~>"
|
47
53
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0.9
|
54
|
+
version: '0.9'
|
49
55
|
type: :development
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
52
58
|
requirements:
|
53
59
|
- - "~>"
|
54
60
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.9
|
61
|
+
version: '0.9'
|
56
62
|
- !ruby/object:Gem::Dependency
|
57
63
|
name: rspec
|
58
64
|
requirement: !ruby/object:Gem::Requirement
|
59
65
|
requirements:
|
60
66
|
- - "~>"
|
61
67
|
- !ruby/object:Gem::Version
|
62
|
-
version: '3.
|
68
|
+
version: '3.10'
|
63
69
|
type: :development
|
64
70
|
prerelease: false
|
65
71
|
version_requirements: !ruby/object:Gem::Requirement
|
66
72
|
requirements:
|
67
73
|
- - "~>"
|
68
74
|
- !ruby/object:Gem::Version
|
69
|
-
version: '3.
|
75
|
+
version: '3.10'
|
70
76
|
- !ruby/object:Gem::Dependency
|
71
77
|
name: rack-test
|
72
78
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,11 +99,11 @@ files:
|
|
93
99
|
- UNLICENSE
|
94
100
|
- VERSION
|
95
101
|
- lib/sinatra/rdf.rb
|
96
|
-
homepage:
|
102
|
+
homepage: https://ruby-rdf.github.com/sinatra-rdf
|
97
103
|
licenses:
|
98
104
|
- Unlicense
|
99
105
|
metadata: {}
|
100
|
-
post_install_message:
|
106
|
+
post_install_message:
|
101
107
|
rdoc_options: []
|
102
108
|
require_paths:
|
103
109
|
- lib
|
@@ -112,8 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
118
|
- !ruby/object:Gem::Version
|
113
119
|
version: '0'
|
114
120
|
requirements: []
|
115
|
-
rubygems_version: 3.1.
|
116
|
-
signing_key:
|
121
|
+
rubygems_version: 3.1.4
|
122
|
+
signing_key:
|
117
123
|
specification_version: 4
|
118
124
|
summary: Linked Data content negotiation for Sinatra applications.
|
119
125
|
test_files: []
|