sinatra-linkeddata 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +23 -23
- data/UNLICENSE +1 -1
- data/VERSION +1 -1
- data/lib/sinatra/linkeddata.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2087cf9f26c1a33a0b5cb312ccd2dc0f297bab9d7e0bb04965edc75ebe590b50
|
|
4
|
+
data.tar.gz: 7c90d4e30243c3d208cc7d586a855eee5e1ab3d4e6caef161bee186072147931
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77f85b0c766fb5a6a80ec9f5fd796479de061472fe690a2ada94723a010c8345713c13ef36a3db5341186ea5ca4dbe4e2dfea34cfd59c0b032e0d74f5be950eb
|
|
7
|
+
data.tar.gz: 150e9c2d8cb4ec6eacab6c97f728bfafaa6feed54b43be1820f1109522b2a9cbb971aa9e731f98129e6ae2245309c1f0f05aab242bcc397f4273e8bec5fe9ffa
|
data/README.md
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
This is a [Sinatra][] extension that provides [Linked Data][] content
|
|
4
4
|
negotiation for Sinatra applications.
|
|
5
5
|
|
|
6
|
-
* <
|
|
6
|
+
* <https://github.com/ruby-rdf/sinatra-linkeddata>
|
|
7
7
|
|
|
8
|
-
[](
|
|
9
|
-
[](
|
|
8
|
+
[](https://badge.fury.io/rb/sinatra-linkeddata)
|
|
9
|
+
[](https://travis-ci.org/ruby-rdf/sinatra-linkeddata)
|
|
10
10
|
|
|
11
11
|
## Features
|
|
12
12
|
|
|
13
13
|
* Implements [HTTP content negotiation][conneg] for RDF content types using
|
|
14
14
|
the [`Rack::LinkedData`][Rack::LinkedData] middleware.
|
|
15
|
-
* Supports all [RDF.rb][]-compatible serialization formats.
|
|
15
|
+
* Supports all [RDF.rb][] -compatible serialization formats.
|
|
16
16
|
* Supports both classic and modular Sinatra applications.
|
|
17
17
|
|
|
18
18
|
## Examples
|
|
@@ -117,12 +117,12 @@ operation and details of the content negotiation.
|
|
|
117
117
|
|
|
118
118
|
## Dependencies
|
|
119
119
|
|
|
120
|
-
* [Sinatra](
|
|
121
|
-
* [Rack::LinkedData](
|
|
120
|
+
* [Sinatra](https://rubygems.org/gems/sinatra) (~> 2.0)
|
|
121
|
+
* [Rack::LinkedData](https://rubygems.org/gems/rack-linkeddata) (~> 3.1)
|
|
122
122
|
|
|
123
123
|
## Installation
|
|
124
124
|
|
|
125
|
-
The recommended installation method is via [RubyGems](
|
|
125
|
+
The recommended installation method is via [RubyGems](https://rubygems.org/).
|
|
126
126
|
To install the latest official release of the gem, do:
|
|
127
127
|
|
|
128
128
|
% [sudo] gem install sinatra-linkeddata
|
|
@@ -136,29 +136,29 @@ To get a local working copy of the development repository, do:
|
|
|
136
136
|
Alternatively, you can download the latest development version as a tarball
|
|
137
137
|
as follows:
|
|
138
138
|
|
|
139
|
-
% wget
|
|
139
|
+
% wget https://github.com/ruby-rdf/sinatra-linkeddata/tarball/master
|
|
140
140
|
|
|
141
141
|
## References
|
|
142
142
|
|
|
143
|
-
* <
|
|
144
|
-
* <
|
|
145
|
-
* <
|
|
146
|
-
* <
|
|
147
|
-
* <
|
|
148
|
-
* <
|
|
143
|
+
* <https://www.w3.org/DesignIssues/LinkedData.html>
|
|
144
|
+
* <https://linkeddata.org/docs/how-to-publish>
|
|
145
|
+
* <https://linkeddata.org/conneg-303-redirect-code-samples>
|
|
146
|
+
* <https://www.w3.org/TR/cooluris/>
|
|
147
|
+
* <https://www.w3.org/TR/swbp-vocab-pub/>
|
|
148
|
+
* <https://patterns.dataincubator.org/book/publishing-patterns.html>
|
|
149
149
|
|
|
150
150
|
## Authors
|
|
151
151
|
|
|
152
|
-
* [Arto Bendiken](
|
|
152
|
+
* [Arto Bendiken](https://github.com/artob) - <https://ar.to/>
|
|
153
153
|
|
|
154
154
|
## License
|
|
155
155
|
|
|
156
156
|
`Sinatra::LinkedData` is free and unencumbered public domain software. For more
|
|
157
|
-
information, see <
|
|
158
|
-
|
|
159
|
-
[Sinatra]:
|
|
160
|
-
[Rack]:
|
|
161
|
-
[RDF.rb]:
|
|
162
|
-
[Rack::LinkedData]:
|
|
163
|
-
[Linked Data]:
|
|
164
|
-
[conneg]:
|
|
157
|
+
information, see <https://unlicense.org/> or the accompanying UNLICENSE file.
|
|
158
|
+
|
|
159
|
+
[Sinatra]: https://www.sinatrarb.com/
|
|
160
|
+
[Rack]: https://rack.github.com/
|
|
161
|
+
[RDF.rb]: https://ruby-rdf.github.com/rdf/
|
|
162
|
+
[Rack::LinkedData]: https://rubygems.org/gems/rack-linkeddata/
|
|
163
|
+
[Linked Data]: https://linkeddata.org/
|
|
164
|
+
[conneg]: https://en.wikipedia.org/wiki/Content_negotiation
|
data/UNLICENSE
CHANGED
|
@@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
|
21
21
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
22
22
|
OTHER DEALINGS IN THE SOFTWARE.
|
|
23
23
|
|
|
24
|
-
For more information, please refer to <
|
|
24
|
+
For more information, please refer to <https://unlicense.org/>
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.1
|
data/lib/sinatra/linkeddata.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 LinkedData
|
|
10
10
|
autoload :VERSION, 'sinatra/linkeddata/version'
|
|
11
11
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sinatra-linkeddata
|
|
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
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2020-05-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rack-linkeddata
|
|
@@ -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,6 +28,9 @@ 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
|
|
@@ -94,7 +100,7 @@ files:
|
|
|
94
100
|
- VERSION
|
|
95
101
|
- lib/sinatra/linkeddata.rb
|
|
96
102
|
- lib/sinatra/linkeddata/version.rb
|
|
97
|
-
homepage:
|
|
103
|
+
homepage: https://github.com/ruby-rdf/sinatra-linkeddata
|
|
98
104
|
licenses:
|
|
99
105
|
- Unlicense
|
|
100
106
|
metadata: {}
|
|
@@ -113,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
113
119
|
- !ruby/object:Gem::Version
|
|
114
120
|
version: '0'
|
|
115
121
|
requirements: []
|
|
116
|
-
rubygems_version: 3.
|
|
122
|
+
rubygems_version: 3.1.3
|
|
117
123
|
signing_key:
|
|
118
124
|
specification_version: 4
|
|
119
125
|
summary: Linked Data content negotiation for Sinatra applications.
|