roadforest 0.1 → 0.5
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/examples/file-management.rb +12 -13
- data/lib/roadforest-client.rb +3 -0
- data/lib/roadforest-common.rb +2 -0
- data/lib/roadforest-server.rb +7 -0
- data/lib/roadforest-testing.rb +1 -0
- data/lib/roadforest/application.rb +9 -7
- data/lib/roadforest/application/dispatcher.rb +39 -63
- data/lib/roadforest/application/parameters.rb +1 -1
- data/lib/roadforest/application/path-provider.rb +2 -2
- data/lib/roadforest/application/route-adapter.rb +130 -18
- data/lib/roadforest/application/services-host.rb +0 -4
- data/lib/roadforest/augment/affordance.rb +78 -0
- data/lib/roadforest/augment/augmentation.rb +97 -0
- data/lib/roadforest/augment/augmenter.rb +54 -0
- data/lib/roadforest/augmentations.rb +1 -0
- data/lib/roadforest/content-handling.rb +1 -0
- data/lib/roadforest/content-handling/common-engines.rb +67 -0
- data/lib/roadforest/content-handling/engine.rb +2 -14
- data/lib/roadforest/content-handling/handler-wrap.rb +29 -31
- data/lib/roadforest/content-handling/media-type.rb +6 -0
- data/lib/roadforest/{rdf.rb → graph.rb} +1 -1
- data/lib/roadforest/{rdf → graph}/access-manager.rb +12 -74
- data/lib/roadforest/{rdf → graph}/document.rb +1 -1
- data/lib/roadforest/{rdf → graph}/etagging.rb +2 -2
- data/lib/roadforest/{rdf → graph}/focus-list.rb +1 -9
- data/lib/roadforest/{rdf → graph}/graph-copier.rb +2 -2
- data/lib/roadforest/{rdf → graph}/graph-focus.rb +5 -7
- data/lib/roadforest/{rdf → graph}/normalization.rb +1 -1
- data/lib/roadforest/{rdf → graph}/post-focus.rb +2 -3
- data/lib/roadforest/graph/vocabulary.rb +96 -0
- data/lib/roadforest/http/graph-transfer.rb +2 -2
- data/lib/roadforest/interface/application.rb +145 -0
- data/lib/roadforest/interface/blob.rb +38 -0
- data/lib/roadforest/interface/rdf.rb +77 -0
- data/lib/roadforest/interfaces.rb +2 -0
- data/lib/roadforest/remote-host.rb +17 -17
- data/lib/roadforest/resource.rb +4 -0
- data/lib/roadforest/resource/{rdf/leaf-item.rb → leaf-item.rb} +1 -1
- data/lib/roadforest/resource/{rdf/list.rb → list.rb} +1 -1
- data/lib/roadforest/resource/{rdf/parent-item.rb → parent-item.rb} +1 -1
- data/lib/roadforest/resource/{rdf/read-only.rb → read-only.rb} +18 -18
- data/lib/roadforest/resource/role/has-children.rb +1 -1
- data/lib/roadforest/resource/role/writable.rb +2 -2
- data/lib/roadforest/server.rb +1 -1
- data/lib/roadforest/source-rigor.rb +9 -0
- data/lib/roadforest/{rdf/source-rigor → source-rigor}/credence-annealer.rb +2 -2
- data/lib/roadforest/{rdf/source-rigor → source-rigor}/credence.rb +5 -5
- data/lib/roadforest/{rdf/source-rigor → source-rigor}/credence/any.rb +1 -1
- data/lib/roadforest/{rdf/source-rigor → source-rigor}/credence/none-if-role-absent.rb +1 -1
- data/lib/roadforest/{rdf/source-rigor → source-rigor}/credence/role-if-available.rb +1 -1
- data/lib/roadforest/source-rigor/engine.rb +45 -0
- data/lib/roadforest/{rdf → source-rigor}/graph-store.rb +9 -9
- data/lib/roadforest/{rdf/source-rigor → source-rigor}/http-investigator.rb +2 -2
- data/lib/roadforest/{rdf → source-rigor}/investigation.rb +2 -2
- data/lib/roadforest/{rdf/source-rigor → source-rigor}/investigator.rb +3 -3
- data/lib/roadforest/{rdf/source-rigor → source-rigor}/null-investigator.rb +3 -2
- data/lib/roadforest/{rdf → source-rigor}/parcel.rb +5 -5
- data/lib/roadforest/{rdf → source-rigor}/resource-pattern.rb +6 -6
- data/lib/roadforest/{rdf → source-rigor}/resource-query.rb +2 -2
- data/lib/roadforest/source-rigor/rigorous-access.rb +101 -0
- data/lib/roadforest/templates/affordance-doc.haml +23 -0
- data/lib/roadforest/templates/affordance-property-values.haml +13 -0
- data/lib/roadforest/templates/affordance-subject.haml +9 -0
- data/lib/roadforest/templates/affordance-uri-object.haml +2 -0
- data/lib/roadforest/templates/base/{property_value.haml → property-value.haml} +0 -0
- data/lib/roadforest/templates/base/{property_values.haml → property-values.haml} +0 -0
- data/lib/roadforest/templates/distiller/{property_value.haml → property-value.haml} +0 -0
- data/lib/roadforest/templates/distiller/{property_values.haml → property-values.haml} +0 -0
- data/lib/roadforest/templates/min/{property_values.haml → property-values.haml} +0 -0
- data/lib/roadforest/templates/rdfpost-curie.haml +6 -0
- data/lib/roadforest/test-support/dispatcher-facade.rb +2 -0
- data/lib/roadforest/test-support/matchers.rb +169 -5
- data/lib/roadforest/test-support/remote-host.rb +2 -2
- data/lib/roadforest/type-handlers/handler.rb +74 -0
- data/lib/roadforest/type-handlers/jsonld.rb +34 -0
- data/lib/roadforest/type-handlers/rdf-handler.rb +36 -0
- data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer.rb +2 -2
- data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer/document-environment.rb +9 -8
- data/lib/roadforest/type-handlers/rdfa-writer/environment-decorator.rb +312 -0
- data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer/object-environment.rb +3 -3
- data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer/property-environment.rb +5 -11
- data/lib/roadforest/type-handlers/rdfa-writer/render-engine.rb +427 -0
- data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer/render-environment.rb +33 -26
- data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer/subject-environment.rb +7 -23
- data/lib/roadforest/type-handlers/rdfa.rb +73 -0
- data/lib/roadforest/type-handlers/rdfpost.rb +301 -0
- data/lib/roadforest/utility/class-registry.rb +23 -5
- data/spec/.ctrlp-root +0 -0
- data/spec/affordance-augmenter.rb +75 -0
- data/spec/affordances-flow.rb +438 -0
- data/spec/authorization.rb +34 -0
- data/spec/client.rb +13 -12
- data/spec/credence-annealer.rb +5 -5
- data/spec/focus-list.rb +8 -8
- data/spec/full-integration.rb +3 -3
- data/spec/graph-copier.rb +4 -4
- data/spec/graph-store.rb +19 -31
- data/spec/keychain.rb +82 -0
- data/spec/rdf-normalization.rb +2 -2
- data/spec/rdf-parcel.rb +3 -3
- data/spec/rdfa-handler.rb +514 -0
- data/spec/rdfpost.rb +96 -0
- data/spec/source-rigor.rb +57 -0
- data/spec/update-focus.rb +11 -10
- metadata +91 -66
- data/lib/roadforest/blob-model.rb +0 -53
- data/lib/roadforest/content-handling/type-handler.rb +0 -76
- data/lib/roadforest/content-handling/type-handlers/jsonld.rb +0 -36
- data/lib/roadforest/content-handling/type-handlers/rdf-handler.rb +0 -38
- data/lib/roadforest/content-handling/type-handlers/rdfa-writer/render-engine.rb +0 -574
- data/lib/roadforest/content-handling/type-handlers/rdfa.rb +0 -175
- data/lib/roadforest/content-handling/type-handlers/rdfpost.rb +0 -297
- data/lib/roadforest/model.rb +0 -209
- data/lib/roadforest/models.rb +0 -2
- data/lib/roadforest/rdf/source-rigor.rb +0 -44
- data/lib/roadforest/rdf/vocabulary.rb +0 -11
- data/lib/roadforest/resource/http/form-parsing.rb +0 -81
- data/lib/roadforest/resource/rdf.rb +0 -4
- data/spec/form-parsing.rb +0 -1
data/spec/rdfpost.rb
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
require 'rdf/turtle'
|
|
2
|
+
require 'roadforest/type-handlers/rdfpost'
|
|
3
|
+
|
|
4
|
+
describe RoadForest::TypeHandlers::RDFPost do
|
|
5
|
+
let :handler do
|
|
6
|
+
RoadForest::TypeHandlers::RDFPost.new
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
shared_examples "a parsed form submission" do
|
|
10
|
+
let :target_graph do
|
|
11
|
+
graph = ::RDF::Graph.new
|
|
12
|
+
::RDF::Turtle::Reader.new(turtle_source).each_statement do |stmt|
|
|
13
|
+
graph.insert(stmt)
|
|
14
|
+
end
|
|
15
|
+
graph
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
#Allows for tests to break and indent form encoded strings for clarity
|
|
19
|
+
#Does mean that embedded spaces will need to be "+"'d first and %-encoded
|
|
20
|
+
let :clean_string do
|
|
21
|
+
source_string.gsub(/\s*/,"")
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
let :source_list do
|
|
25
|
+
URI::decode_www_form(clean_string)
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
let :result_graph do
|
|
29
|
+
handler.network_to_local("http://example.com",source_list)
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
it "should parse the source to target" do
|
|
33
|
+
result_graph.should be_equivalent_to target_graph
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
#XXX Need tests for malformed graphs
|
|
38
|
+
|
|
39
|
+
describe "Without any object fields" do
|
|
40
|
+
let :source_string do
|
|
41
|
+
<<-EOS
|
|
42
|
+
rdf=
|
|
43
|
+
&n=ex&v=http%3A%2F%2Fexample.com%2F
|
|
44
|
+
&n=rdf&v=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23
|
|
45
|
+
&sn=ex&sv=a
|
|
46
|
+
&pn=ex&pv=b"
|
|
47
|
+
EOS
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
let :turtle_source do
|
|
51
|
+
""
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
it_behaves_like "a parsed form submission"
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
describe "The documentation example" do
|
|
58
|
+
let :turtle_source do
|
|
59
|
+
<<-EOT
|
|
60
|
+
@prefix : <http://xmlns.com/foaf/0.1/> .
|
|
61
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
62
|
+
@prefix dc: <http://purl.org/dc/elements/1.1/> .
|
|
63
|
+
_:o
|
|
64
|
+
:givenname
|
|
65
|
+
"Ora" ;
|
|
66
|
+
:surname
|
|
67
|
+
"Lasilla" ;
|
|
68
|
+
dc:creator
|
|
69
|
+
_:b .
|
|
70
|
+
_:b
|
|
71
|
+
rdf:type
|
|
72
|
+
:Document ;
|
|
73
|
+
dc:title
|
|
74
|
+
"Moby Dick" .
|
|
75
|
+
EOT
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
let :source_string do
|
|
79
|
+
<<-EOS
|
|
80
|
+
rdf=
|
|
81
|
+
&v=http://xmlns.com/foaf/0.1/
|
|
82
|
+
&n=rdf &v=http://www.w3.org/1999/02/22-rdf-syntax-ns%23
|
|
83
|
+
&n=dc &v=http://purl.org/dc/elements/1.1/
|
|
84
|
+
|
|
85
|
+
&sb=o &pv=givenname &ol=Ora
|
|
86
|
+
&pv=surname &ol=Lasilla
|
|
87
|
+
&pn=dc &pv=creator &ob=b
|
|
88
|
+
&sb=b &pn=rdf &pv=type &ov=Document
|
|
89
|
+
&pn=dc &pv=title &ol=Moby+Dick
|
|
90
|
+
EOS
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
it_behaves_like "a parsed form submission"
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
require 'roadforest/source-rigor'
|
|
2
|
+
require 'roadforest/source-rigor/graph-store'
|
|
3
|
+
|
|
4
|
+
describe RoadForest::SourceRigor do
|
|
5
|
+
describe "credence policy" do
|
|
6
|
+
describe ":gossip" do
|
|
7
|
+
let :graph_store do
|
|
8
|
+
RoadForest::SourceRigor::GraphStore.new
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
let :source_rigor do
|
|
12
|
+
RoadForest::SourceRigor::Engine.new.tap do |source_rigor|
|
|
13
|
+
source_rigor.investigator_list(:null)
|
|
14
|
+
source_rigor.policy_list(:may_subject, :any)
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
let :subject do
|
|
19
|
+
RDF::URI.new("urn://subject")
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
let :not_subject do
|
|
23
|
+
RDF::URI.new("urn://not_subject")
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
let :property do
|
|
27
|
+
RDF::URI.new("urn://property")
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
let :query do
|
|
31
|
+
RoadForest::SourceRigor::ResourceQuery.new([], {}) do |query|
|
|
32
|
+
query.subject_context = subject
|
|
33
|
+
query.source_rigor = source_rigor
|
|
34
|
+
query.pattern( [subject, property, :value])
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
let :results do
|
|
39
|
+
query.execute(graph_store)
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
it "should return results about a subject when that context is not available" do
|
|
44
|
+
graph_store.add_statement(subject, property, 7, not_subject)
|
|
45
|
+
results.length.should == 1
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
it "should return the results from the subject's context when it is available" do
|
|
49
|
+
graph_store.add_statement(subject, property, 7, not_subject)
|
|
50
|
+
graph_store.add_statement(subject, property, 11, subject)
|
|
51
|
+
|
|
52
|
+
results.length.should == 1
|
|
53
|
+
results.first.value.object.should == 11
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
data/spec/update-focus.rb
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
require 'roadforest/
|
|
2
|
-
require 'roadforest/
|
|
3
|
-
require 'roadforest/
|
|
1
|
+
require 'roadforest/graph/graph-focus'
|
|
2
|
+
require 'roadforest/source-rigor'
|
|
3
|
+
require 'roadforest/source-rigor/graph-store'
|
|
4
|
+
require 'roadforest/graph/document'
|
|
4
5
|
require 'rdf/rdfa'
|
|
5
6
|
|
|
6
|
-
describe RoadForest::
|
|
7
|
+
describe RoadForest::Graph::GraphFocus, "with UpdateManager" do
|
|
7
8
|
class Voc < ::RDF::Vocabulary("http:/pred.org/"); end
|
|
8
9
|
|
|
9
10
|
let :context_node do
|
|
@@ -38,14 +39,14 @@ describe RoadForest::RDF::GraphFocus, "with UpdateManager" do
|
|
|
38
39
|
end
|
|
39
40
|
|
|
40
41
|
let :document do
|
|
41
|
-
RoadForest::
|
|
42
|
+
RoadForest::Graph::Document.new.tap do |doc|
|
|
42
43
|
doc.source = context_node.to_s
|
|
43
44
|
doc.body_string = body_graph.dump(:rdfa)
|
|
44
45
|
end
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
let :source_graph do
|
|
48
|
-
RoadForest::
|
|
49
|
+
RoadForest::SourceRigor::GraphStore.new.tap do |graph|
|
|
49
50
|
graph.insert_document(document)
|
|
50
51
|
end
|
|
51
52
|
end
|
|
@@ -55,14 +56,14 @@ describe RoadForest::RDF::GraphFocus, "with UpdateManager" do
|
|
|
55
56
|
end
|
|
56
57
|
|
|
57
58
|
let :source_rigor do
|
|
58
|
-
::RoadForest::
|
|
59
|
+
::RoadForest::SourceRigor::Engine.new.tap do |skept|
|
|
59
60
|
skept.policy_list(:may_subject, :any)
|
|
60
61
|
skept.investigator_list(:null)
|
|
61
62
|
end
|
|
62
63
|
end
|
|
63
64
|
|
|
64
65
|
let :access do
|
|
65
|
-
RoadForest::
|
|
66
|
+
RoadForest::SourceRigor::UpdateManager.new.tap do |access|
|
|
66
67
|
access.source_graph = source_graph
|
|
67
68
|
access.target_graph = target_graph
|
|
68
69
|
access.rigor = source_rigor
|
|
@@ -70,7 +71,7 @@ describe RoadForest::RDF::GraphFocus, "with UpdateManager" do
|
|
|
70
71
|
end
|
|
71
72
|
|
|
72
73
|
subject :updater do
|
|
73
|
-
RoadForest::
|
|
74
|
+
RoadForest::Graph::GraphFocus.new(access, context_node)
|
|
74
75
|
end
|
|
75
76
|
|
|
76
77
|
it "should make relevant prefixes available" do
|
|
@@ -85,7 +86,7 @@ describe RoadForest::RDF::GraphFocus, "with UpdateManager" do
|
|
|
85
86
|
|
|
86
87
|
resource_graph = ::RDF::Graph.new(context_node, :data => target_graph)
|
|
87
88
|
|
|
88
|
-
resource_graph.query(:object => RoadForest::
|
|
89
|
+
resource_graph.query(:object => RoadForest::Graph::Vocabulary::RF[:Impulse]).should be_empty
|
|
89
90
|
resource_graph.query(simple_statement).should be_empty
|
|
90
91
|
|
|
91
92
|
resource_graph.query(blank_node_statement).should_not be_empty
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: roadforest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.5'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Judson Lester
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rdf
|
|
@@ -135,111 +135,136 @@ executables: []
|
|
|
135
135
|
extensions: []
|
|
136
136
|
extra_rdoc_files: []
|
|
137
137
|
files:
|
|
138
|
-
- lib/roadforest
|
|
139
|
-
- lib/roadforest/rdf/normalization.rb
|
|
140
|
-
- lib/roadforest/rdf/focus-list.rb
|
|
141
|
-
- lib/roadforest/rdf/graph-copier.rb
|
|
142
|
-
- lib/roadforest/rdf/access-manager.rb
|
|
143
|
-
- lib/roadforest/rdf/source-rigor.rb
|
|
144
|
-
- lib/roadforest/rdf/graph-focus.rb
|
|
145
|
-
- lib/roadforest/rdf/etagging.rb
|
|
146
|
-
- lib/roadforest/rdf/source-rigor/null-investigator.rb
|
|
147
|
-
- lib/roadforest/rdf/source-rigor/credence.rb
|
|
148
|
-
- lib/roadforest/rdf/source-rigor/credence/any.rb
|
|
149
|
-
- lib/roadforest/rdf/source-rigor/credence/role-if-available.rb
|
|
150
|
-
- lib/roadforest/rdf/source-rigor/credence/none-if-role-absent.rb
|
|
151
|
-
- lib/roadforest/rdf/source-rigor/http-investigator.rb
|
|
152
|
-
- lib/roadforest/rdf/source-rigor/investigator.rb
|
|
153
|
-
- lib/roadforest/rdf/source-rigor/credence-annealer.rb
|
|
154
|
-
- lib/roadforest/rdf/post-focus.rb
|
|
155
|
-
- lib/roadforest/rdf/investigation.rb
|
|
156
|
-
- lib/roadforest/rdf/vocabulary.rb
|
|
157
|
-
- lib/roadforest/rdf/document.rb
|
|
158
|
-
- lib/roadforest/rdf/resource-pattern.rb
|
|
159
|
-
- lib/roadforest/rdf/parcel.rb
|
|
160
|
-
- lib/roadforest/rdf/resource-query.rb
|
|
138
|
+
- lib/roadforest-client.rb
|
|
161
139
|
- lib/roadforest/http/message.rb
|
|
162
140
|
- lib/roadforest/http/graph-response.rb
|
|
141
|
+
- lib/roadforest/http/keychain.rb
|
|
163
142
|
- lib/roadforest/http/adapters/excon.rb
|
|
143
|
+
- lib/roadforest/http/user-agent.rb
|
|
164
144
|
- lib/roadforest/http/graph-transfer.rb
|
|
165
|
-
- lib/roadforest/
|
|
166
|
-
- lib/roadforest/
|
|
167
|
-
- lib/roadforest/
|
|
168
|
-
- lib/roadforest/
|
|
169
|
-
- lib/roadforest/
|
|
145
|
+
- lib/roadforest/graph/normalization.rb
|
|
146
|
+
- lib/roadforest/graph/focus-list.rb
|
|
147
|
+
- lib/roadforest/graph/graph-copier.rb
|
|
148
|
+
- lib/roadforest/graph/graph-focus.rb
|
|
149
|
+
- lib/roadforest/graph/etagging.rb
|
|
150
|
+
- lib/roadforest/graph/post-focus.rb
|
|
151
|
+
- lib/roadforest/graph/vocabulary.rb
|
|
152
|
+
- lib/roadforest/graph/document.rb
|
|
153
|
+
- lib/roadforest/graph/access-manager.rb
|
|
154
|
+
- lib/roadforest/graph.rb
|
|
170
155
|
- lib/roadforest/resource/role/writable.rb
|
|
171
156
|
- lib/roadforest/resource/role/has-children.rb
|
|
172
|
-
- lib/roadforest/resource/
|
|
157
|
+
- lib/roadforest/resource/list.rb
|
|
158
|
+
- lib/roadforest/resource/parent-item.rb
|
|
159
|
+
- lib/roadforest/resource/read-only.rb
|
|
160
|
+
- lib/roadforest/resource/leaf-item.rb
|
|
173
161
|
- lib/roadforest/test-support/http-client.rb
|
|
174
162
|
- lib/roadforest/test-support/trace-formatter.rb
|
|
175
163
|
- lib/roadforest/test-support/matchers.rb
|
|
176
164
|
- lib/roadforest/test-support/dispatcher-facade.rb
|
|
177
165
|
- lib/roadforest/test-support/remote-host.rb
|
|
166
|
+
- lib/roadforest/authorization.rb
|
|
178
167
|
- lib/roadforest/server.rb
|
|
179
168
|
- lib/roadforest/application/services-host.rb
|
|
180
169
|
- lib/roadforest/application/path-provider.rb
|
|
181
170
|
- lib/roadforest/application/parameters.rb
|
|
182
171
|
- lib/roadforest/application/dispatcher.rb
|
|
183
172
|
- lib/roadforest/application/route-adapter.rb
|
|
184
|
-
- lib/roadforest/
|
|
185
|
-
- lib/roadforest/
|
|
173
|
+
- lib/roadforest/resource.rb
|
|
174
|
+
- lib/roadforest/source-rigor.rb
|
|
175
|
+
- lib/roadforest/interfaces.rb
|
|
176
|
+
- lib/roadforest/type-handlers/rdf-handler.rb
|
|
177
|
+
- lib/roadforest/type-handlers/rdfa.rb
|
|
178
|
+
- lib/roadforest/type-handlers/handler.rb
|
|
179
|
+
- lib/roadforest/type-handlers/rdfa-writer.rb
|
|
180
|
+
- lib/roadforest/type-handlers/rdfpost.rb
|
|
181
|
+
- lib/roadforest/type-handlers/rdfa-writer/render-engine.rb
|
|
182
|
+
- lib/roadforest/type-handlers/rdfa-writer/subject-environment.rb
|
|
183
|
+
- lib/roadforest/type-handlers/rdfa-writer/render-environment.rb
|
|
184
|
+
- lib/roadforest/type-handlers/rdfa-writer/property-environment.rb
|
|
185
|
+
- lib/roadforest/type-handlers/rdfa-writer/document-environment.rb
|
|
186
|
+
- lib/roadforest/type-handlers/rdfa-writer/environment-decorator.rb
|
|
187
|
+
- lib/roadforest/type-handlers/rdfa-writer/object-environment.rb
|
|
188
|
+
- lib/roadforest/type-handlers/jsonld.rb
|
|
186
189
|
- lib/roadforest/test-support.rb
|
|
187
|
-
- lib/roadforest/rdf.rb
|
|
188
|
-
- lib/roadforest/blob-model.rb
|
|
189
|
-
- lib/roadforest/utility/class-registry.rb
|
|
190
|
-
- lib/roadforest/application.rb
|
|
191
|
-
- lib/roadforest/remote-host.rb
|
|
192
|
-
- lib/roadforest/authorization.rb
|
|
193
190
|
- lib/roadforest/debug.rb
|
|
194
|
-
- lib/roadforest/
|
|
195
|
-
- lib/roadforest/
|
|
196
|
-
- lib/roadforest/
|
|
197
|
-
- lib/roadforest.rb
|
|
198
|
-
- lib/roadforest/
|
|
191
|
+
- lib/roadforest/source-rigor/graph-store.rb
|
|
192
|
+
- lib/roadforest/source-rigor/null-investigator.rb
|
|
193
|
+
- lib/roadforest/source-rigor/rigorous-access.rb
|
|
194
|
+
- lib/roadforest/source-rigor/investigation.rb
|
|
195
|
+
- lib/roadforest/source-rigor/credence.rb
|
|
196
|
+
- lib/roadforest/source-rigor/engine.rb
|
|
197
|
+
- lib/roadforest/source-rigor/credence/any.rb
|
|
198
|
+
- lib/roadforest/source-rigor/credence/role-if-available.rb
|
|
199
|
+
- lib/roadforest/source-rigor/credence/none-if-role-absent.rb
|
|
200
|
+
- lib/roadforest/source-rigor/resource-pattern.rb
|
|
201
|
+
- lib/roadforest/source-rigor/http-investigator.rb
|
|
202
|
+
- lib/roadforest/source-rigor/investigator.rb
|
|
203
|
+
- lib/roadforest/source-rigor/parcel.rb
|
|
204
|
+
- lib/roadforest/source-rigor/credence-annealer.rb
|
|
205
|
+
- lib/roadforest/source-rigor/resource-query.rb
|
|
206
|
+
- lib/roadforest/augmentations.rb
|
|
207
|
+
- lib/roadforest/utility/class-registry.rb
|
|
199
208
|
- lib/roadforest/content-handling/media-type.rb
|
|
200
209
|
- lib/roadforest/content-handling/handler-wrap.rb
|
|
201
|
-
- lib/roadforest/content-handling/
|
|
202
|
-
- lib/roadforest/content-handling/
|
|
203
|
-
- lib/roadforest/content-handling
|
|
204
|
-
- lib/roadforest/
|
|
205
|
-
- lib/roadforest/
|
|
206
|
-
- lib/roadforest/
|
|
207
|
-
- lib/roadforest/
|
|
208
|
-
- lib/roadforest/
|
|
209
|
-
- lib/roadforest/
|
|
210
|
-
- lib/roadforest/
|
|
211
|
-
- lib/roadforest/
|
|
212
|
-
- lib/roadforest/
|
|
210
|
+
- lib/roadforest/content-handling/common-engines.rb
|
|
211
|
+
- lib/roadforest/content-handling/engine.rb
|
|
212
|
+
- lib/roadforest/content-handling.rb
|
|
213
|
+
- lib/roadforest/augment/augmenter.rb
|
|
214
|
+
- lib/roadforest/augment/augmentation.rb
|
|
215
|
+
- lib/roadforest/augment/affordance.rb
|
|
216
|
+
- lib/roadforest/http.rb
|
|
217
|
+
- lib/roadforest/interface/rdf.rb
|
|
218
|
+
- lib/roadforest/interface/blob.rb
|
|
219
|
+
- lib/roadforest/interface/application.rb
|
|
220
|
+
- lib/roadforest/application.rb
|
|
221
|
+
- lib/roadforest/remote-host.rb
|
|
213
222
|
- lib/roadforest/templates/min/subject.haml
|
|
214
223
|
- lib/roadforest/templates/min/doc.haml
|
|
215
|
-
- lib/roadforest/templates/min/
|
|
224
|
+
- lib/roadforest/templates/min/property-values.haml
|
|
216
225
|
- lib/roadforest/templates/base/subject.haml
|
|
217
|
-
- lib/roadforest/templates/base/
|
|
226
|
+
- lib/roadforest/templates/base/property-value.haml
|
|
218
227
|
- lib/roadforest/templates/base/doc.haml
|
|
219
|
-
- lib/roadforest/templates/base/
|
|
228
|
+
- lib/roadforest/templates/base/property-values.haml
|
|
229
|
+
- lib/roadforest/templates/rdfpost-curie.haml
|
|
220
230
|
- lib/roadforest/templates/distiller/subject.haml
|
|
221
|
-
- lib/roadforest/templates/distiller/property_value.haml
|
|
222
231
|
- lib/roadforest/templates/distiller/nil-object.haml
|
|
232
|
+
- lib/roadforest/templates/distiller/property-value.haml
|
|
223
233
|
- lib/roadforest/templates/distiller/doc.haml
|
|
224
|
-
- lib/roadforest/templates/distiller/
|
|
234
|
+
- lib/roadforest/templates/distiller/property-values.haml
|
|
225
235
|
- lib/roadforest/templates/uri-object.haml
|
|
226
236
|
- lib/roadforest/templates/xml-literal-object.haml
|
|
237
|
+
- lib/roadforest/templates/affordance-doc.haml
|
|
227
238
|
- lib/roadforest/templates/object.haml
|
|
228
239
|
- lib/roadforest/templates/node-object.haml
|
|
229
240
|
- lib/roadforest/templates/nil-object.haml
|
|
230
|
-
-
|
|
241
|
+
- lib/roadforest/templates/affordance-property-values.haml
|
|
242
|
+
- lib/roadforest/templates/affordance-subject.haml
|
|
243
|
+
- lib/roadforest/templates/affordance-uri-object.haml
|
|
244
|
+
- lib/roadforest.rb
|
|
245
|
+
- lib/roadforest-common.rb
|
|
246
|
+
- lib/roadforest-testing.rb
|
|
247
|
+
- lib/roadforest-server.rb
|
|
231
248
|
- spec/graph-store.rb
|
|
249
|
+
- spec/authorization.rb
|
|
232
250
|
- spec/focus-list.rb
|
|
233
251
|
- spec/graph-copier.rb
|
|
252
|
+
- spec/rdfa-handler.rb
|
|
234
253
|
- spec/rdf-parcel.rb
|
|
254
|
+
- spec/affordances-flow.rb
|
|
235
255
|
- spec/media-types.rb
|
|
256
|
+
- spec/source-rigor.rb
|
|
257
|
+
- spec/.ctrlp-root
|
|
258
|
+
- spec/keychain.rb
|
|
236
259
|
- spec/rdf-normalization.rb
|
|
237
|
-
- spec/excon-adapter.rb
|
|
238
260
|
- spec/update-focus.rb
|
|
239
261
|
- spec/client.rb
|
|
240
|
-
- spec/
|
|
262
|
+
- spec/excon-adapter.rb
|
|
263
|
+
- spec/rdfpost.rb
|
|
264
|
+
- spec/affordance-augmenter.rb
|
|
241
265
|
- spec/credence-annealer.rb
|
|
242
266
|
- spec/full-integration.rb
|
|
267
|
+
- examples/file-management.rb
|
|
243
268
|
- spec_support/gem_test_suite.rb
|
|
244
269
|
homepage: http://nyarly.github.com/roadforest
|
|
245
270
|
licenses:
|
|
@@ -251,7 +276,7 @@ rdoc_options:
|
|
|
251
276
|
- --main
|
|
252
277
|
- doc/README
|
|
253
278
|
- --title
|
|
254
|
-
- roadforest-0.
|
|
279
|
+
- roadforest-0.5 Documentation
|
|
255
280
|
require_paths:
|
|
256
281
|
- lib/
|
|
257
282
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -266,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
266
291
|
version: '0'
|
|
267
292
|
requirements: []
|
|
268
293
|
rubyforge_project: roadforest
|
|
269
|
-
rubygems_version: 2.0.
|
|
294
|
+
rubygems_version: 2.0.14
|
|
270
295
|
signing_key:
|
|
271
296
|
specification_version: 4
|
|
272
297
|
summary: An RDF+ReST web framework
|