derby 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +6 -2
- data/VERSION +1 -1
- data/lib/derby/server.rb +2 -2
- metadata +61 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ef9f0dfbc423f57dbd783d9a43430ce47540c6b
|
4
|
+
data.tar.gz: '09101d23e32f13998ab7abbd9e29f6a50b0ca34f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38011a5decabd5686d47b66036c86c6e958de1c75244a4a87a113b1facc85936485cb53f3b59fb48958017f2ec029598bbb380b2c929cba3fbf6be2aaf6b9f7b
|
7
|
+
data.tar.gz: 02d9642cb1244728f89a774c7a080990c3c2a4aedaeaf12cb9efb3c6128b291790e5820ca9dcc44a1a2651ff918a3be970b4bbb128df09fe8a933a566b7d1321
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -4,13 +4,17 @@ Derby
|
|
4
4
|
__Note__: this project is a work in progress attempting to track ongoing work on
|
5
5
|
the [Fedora Commons](http://fedorarepository.org/) API specification.
|
6
6
|
|
7
|
-
![Derby
|
7
|
+
![Derby is mostly a logo](/logo/derby.png)
|
8
8
|
|
9
|
-
|
9
|
+
[![Build Status](https://travis-ci.org/fcrepo4-labs/derby.svg?branch=master)](https://travis-ci.org/fcrepo4-labs/derby)
|
10
|
+
|
11
|
+
Derby is an LDP Server with Fedora support.
|
10
12
|
|
11
13
|
Implementation Status
|
12
14
|
---------------------
|
13
15
|
|
16
|
+
_Derby is mostly a logo._
|
17
|
+
|
14
18
|
The base LDP implementation is provided by
|
15
19
|
[`RDF::LDP`](https://github.com/ruby-rdf/rdf-ldp). `ldp:RDFSource` support is
|
16
20
|
in-memory only; `ldp:NonRDFSource`s are stored on disk at `./.storage` and are
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/lib/derby/server.rb
CHANGED
@@ -13,11 +13,11 @@ module Derby
|
|
13
13
|
configure { set :repository, RDF::Repository.new }
|
14
14
|
|
15
15
|
get '/' do
|
16
|
-
begin
|
16
|
+
begin
|
17
17
|
RDF::LDP::Resource.find(RDF::URI(request.url), settings.repository)
|
18
18
|
rescue RDF::LDP::NotFound
|
19
19
|
RDF::LDP::Container.new(RDF::URI(request.url), settings.repository)
|
20
|
-
.create(
|
20
|
+
.create(StringIO.new, 'text/turtle')
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
metadata
CHANGED
@@ -1,22 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: derby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf-ldp
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0.5'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 0.5.1
|
@@ -24,9 +21,6 @@ dependencies:
|
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0.5'
|
30
24
|
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
26
|
version: 0.5.1
|
@@ -50,20 +44,14 @@ dependencies:
|
|
50
44
|
requirements:
|
51
45
|
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
54
|
-
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 1.1.13
|
47
|
+
version: '2.0'
|
57
48
|
type: :development
|
58
49
|
prerelease: false
|
59
50
|
version_requirements: !ruby/object:Gem::Requirement
|
60
51
|
requirements:
|
61
52
|
- - "~>"
|
62
53
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
64
|
-
- - ">="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: 1.1.13
|
54
|
+
version: '2.0'
|
67
55
|
- !ruby/object:Gem::Dependency
|
68
56
|
name: rspec
|
69
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,6 +94,62 @@ dependencies:
|
|
106
94
|
- - "~>"
|
107
95
|
- !ruby/object:Gem::Version
|
108
96
|
version: '0.8'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: capybara_discoball
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: faraday
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: nokogiri
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: ldp_testsuite_wrapper
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.0.4
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.0.4
|
109
153
|
description: Implements the Fedora Commons API specification. Powered by RDF::LDP.
|
110
154
|
email: johnson.tom@gmail.com
|
111
155
|
executables:
|
@@ -142,9 +186,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
186
|
version: '0'
|
143
187
|
requirements: []
|
144
188
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
189
|
+
rubygems_version: 2.5.1
|
146
190
|
signing_key:
|
147
191
|
specification_version: 4
|
148
192
|
summary: A pure Ruby Fedora Commons implementation.
|
149
193
|
test_files: []
|
150
|
-
has_rdoc: false
|