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.
Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/examples/file-management.rb +12 -13
  3. data/lib/roadforest-client.rb +3 -0
  4. data/lib/roadforest-common.rb +2 -0
  5. data/lib/roadforest-server.rb +7 -0
  6. data/lib/roadforest-testing.rb +1 -0
  7. data/lib/roadforest/application.rb +9 -7
  8. data/lib/roadforest/application/dispatcher.rb +39 -63
  9. data/lib/roadforest/application/parameters.rb +1 -1
  10. data/lib/roadforest/application/path-provider.rb +2 -2
  11. data/lib/roadforest/application/route-adapter.rb +130 -18
  12. data/lib/roadforest/application/services-host.rb +0 -4
  13. data/lib/roadforest/augment/affordance.rb +78 -0
  14. data/lib/roadforest/augment/augmentation.rb +97 -0
  15. data/lib/roadforest/augment/augmenter.rb +54 -0
  16. data/lib/roadforest/augmentations.rb +1 -0
  17. data/lib/roadforest/content-handling.rb +1 -0
  18. data/lib/roadforest/content-handling/common-engines.rb +67 -0
  19. data/lib/roadforest/content-handling/engine.rb +2 -14
  20. data/lib/roadforest/content-handling/handler-wrap.rb +29 -31
  21. data/lib/roadforest/content-handling/media-type.rb +6 -0
  22. data/lib/roadforest/{rdf.rb → graph.rb} +1 -1
  23. data/lib/roadforest/{rdf → graph}/access-manager.rb +12 -74
  24. data/lib/roadforest/{rdf → graph}/document.rb +1 -1
  25. data/lib/roadforest/{rdf → graph}/etagging.rb +2 -2
  26. data/lib/roadforest/{rdf → graph}/focus-list.rb +1 -9
  27. data/lib/roadforest/{rdf → graph}/graph-copier.rb +2 -2
  28. data/lib/roadforest/{rdf → graph}/graph-focus.rb +5 -7
  29. data/lib/roadforest/{rdf → graph}/normalization.rb +1 -1
  30. data/lib/roadforest/{rdf → graph}/post-focus.rb +2 -3
  31. data/lib/roadforest/graph/vocabulary.rb +96 -0
  32. data/lib/roadforest/http/graph-transfer.rb +2 -2
  33. data/lib/roadforest/interface/application.rb +145 -0
  34. data/lib/roadforest/interface/blob.rb +38 -0
  35. data/lib/roadforest/interface/rdf.rb +77 -0
  36. data/lib/roadforest/interfaces.rb +2 -0
  37. data/lib/roadforest/remote-host.rb +17 -17
  38. data/lib/roadforest/resource.rb +4 -0
  39. data/lib/roadforest/resource/{rdf/leaf-item.rb → leaf-item.rb} +1 -1
  40. data/lib/roadforest/resource/{rdf/list.rb → list.rb} +1 -1
  41. data/lib/roadforest/resource/{rdf/parent-item.rb → parent-item.rb} +1 -1
  42. data/lib/roadforest/resource/{rdf/read-only.rb → read-only.rb} +18 -18
  43. data/lib/roadforest/resource/role/has-children.rb +1 -1
  44. data/lib/roadforest/resource/role/writable.rb +2 -2
  45. data/lib/roadforest/server.rb +1 -1
  46. data/lib/roadforest/source-rigor.rb +9 -0
  47. data/lib/roadforest/{rdf/source-rigor → source-rigor}/credence-annealer.rb +2 -2
  48. data/lib/roadforest/{rdf/source-rigor → source-rigor}/credence.rb +5 -5
  49. data/lib/roadforest/{rdf/source-rigor → source-rigor}/credence/any.rb +1 -1
  50. data/lib/roadforest/{rdf/source-rigor → source-rigor}/credence/none-if-role-absent.rb +1 -1
  51. data/lib/roadforest/{rdf/source-rigor → source-rigor}/credence/role-if-available.rb +1 -1
  52. data/lib/roadforest/source-rigor/engine.rb +45 -0
  53. data/lib/roadforest/{rdf → source-rigor}/graph-store.rb +9 -9
  54. data/lib/roadforest/{rdf/source-rigor → source-rigor}/http-investigator.rb +2 -2
  55. data/lib/roadforest/{rdf → source-rigor}/investigation.rb +2 -2
  56. data/lib/roadforest/{rdf/source-rigor → source-rigor}/investigator.rb +3 -3
  57. data/lib/roadforest/{rdf/source-rigor → source-rigor}/null-investigator.rb +3 -2
  58. data/lib/roadforest/{rdf → source-rigor}/parcel.rb +5 -5
  59. data/lib/roadforest/{rdf → source-rigor}/resource-pattern.rb +6 -6
  60. data/lib/roadforest/{rdf → source-rigor}/resource-query.rb +2 -2
  61. data/lib/roadforest/source-rigor/rigorous-access.rb +101 -0
  62. data/lib/roadforest/templates/affordance-doc.haml +23 -0
  63. data/lib/roadforest/templates/affordance-property-values.haml +13 -0
  64. data/lib/roadforest/templates/affordance-subject.haml +9 -0
  65. data/lib/roadforest/templates/affordance-uri-object.haml +2 -0
  66. data/lib/roadforest/templates/base/{property_value.haml → property-value.haml} +0 -0
  67. data/lib/roadforest/templates/base/{property_values.haml → property-values.haml} +0 -0
  68. data/lib/roadforest/templates/distiller/{property_value.haml → property-value.haml} +0 -0
  69. data/lib/roadforest/templates/distiller/{property_values.haml → property-values.haml} +0 -0
  70. data/lib/roadforest/templates/min/{property_values.haml → property-values.haml} +0 -0
  71. data/lib/roadforest/templates/rdfpost-curie.haml +6 -0
  72. data/lib/roadforest/test-support/dispatcher-facade.rb +2 -0
  73. data/lib/roadforest/test-support/matchers.rb +169 -5
  74. data/lib/roadforest/test-support/remote-host.rb +2 -2
  75. data/lib/roadforest/type-handlers/handler.rb +74 -0
  76. data/lib/roadforest/type-handlers/jsonld.rb +34 -0
  77. data/lib/roadforest/type-handlers/rdf-handler.rb +36 -0
  78. data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer.rb +2 -2
  79. data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer/document-environment.rb +9 -8
  80. data/lib/roadforest/type-handlers/rdfa-writer/environment-decorator.rb +312 -0
  81. data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer/object-environment.rb +3 -3
  82. data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer/property-environment.rb +5 -11
  83. data/lib/roadforest/type-handlers/rdfa-writer/render-engine.rb +427 -0
  84. data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer/render-environment.rb +33 -26
  85. data/lib/roadforest/{content-handling/type-handlers → type-handlers}/rdfa-writer/subject-environment.rb +7 -23
  86. data/lib/roadforest/type-handlers/rdfa.rb +73 -0
  87. data/lib/roadforest/type-handlers/rdfpost.rb +301 -0
  88. data/lib/roadforest/utility/class-registry.rb +23 -5
  89. data/spec/.ctrlp-root +0 -0
  90. data/spec/affordance-augmenter.rb +75 -0
  91. data/spec/affordances-flow.rb +438 -0
  92. data/spec/authorization.rb +34 -0
  93. data/spec/client.rb +13 -12
  94. data/spec/credence-annealer.rb +5 -5
  95. data/spec/focus-list.rb +8 -8
  96. data/spec/full-integration.rb +3 -3
  97. data/spec/graph-copier.rb +4 -4
  98. data/spec/graph-store.rb +19 -31
  99. data/spec/keychain.rb +82 -0
  100. data/spec/rdf-normalization.rb +2 -2
  101. data/spec/rdf-parcel.rb +3 -3
  102. data/spec/rdfa-handler.rb +514 -0
  103. data/spec/rdfpost.rb +96 -0
  104. data/spec/source-rigor.rb +57 -0
  105. data/spec/update-focus.rb +11 -10
  106. metadata +91 -66
  107. data/lib/roadforest/blob-model.rb +0 -53
  108. data/lib/roadforest/content-handling/type-handler.rb +0 -76
  109. data/lib/roadforest/content-handling/type-handlers/jsonld.rb +0 -36
  110. data/lib/roadforest/content-handling/type-handlers/rdf-handler.rb +0 -38
  111. data/lib/roadforest/content-handling/type-handlers/rdfa-writer/render-engine.rb +0 -574
  112. data/lib/roadforest/content-handling/type-handlers/rdfa.rb +0 -175
  113. data/lib/roadforest/content-handling/type-handlers/rdfpost.rb +0 -297
  114. data/lib/roadforest/model.rb +0 -209
  115. data/lib/roadforest/models.rb +0 -2
  116. data/lib/roadforest/rdf/source-rigor.rb +0 -44
  117. data/lib/roadforest/rdf/vocabulary.rb +0 -11
  118. data/lib/roadforest/resource/http/form-parsing.rb +0 -81
  119. data/lib/roadforest/resource/rdf.rb +0 -4
  120. 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/rdf/source-rigor'
2
- require 'roadforest/rdf/graph-store'
3
- require 'roadforest/rdf/document'
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::RDF::GraphFocus, "with UpdateManager" do
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::RDF::Document.new.tap do |doc|
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::RDF::GraphStore.new.tap do |graph|
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::RDF::SourceRigor.new.tap do |skept|
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::RDF::UpdateManager.new.tap do |access|
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::RDF::GraphFocus.new(access, context_node)
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::RDF::Vocabulary::RF[:Impulse]).should be_empty
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.1'
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: 2013-12-30 00:00:00.000000000 Z
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/rdf/graph-store.rb
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/resource/rdf/list.rb
166
- - lib/roadforest/resource/rdf/parent-item.rb
167
- - lib/roadforest/resource/rdf/read-only.rb
168
- - lib/roadforest/resource/rdf/leaf-item.rb
169
- - lib/roadforest/resource/http/form-parsing.rb
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/rdf.rb
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/model.rb
185
- - lib/roadforest/models.rb
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/http/user-agent.rb
195
- - lib/roadforest/http/keychain.rb
196
- - lib/roadforest/http.rb
197
- - lib/roadforest.rb
198
- - lib/roadforest/content-handling/engine.rb
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/type-handler.rb
202
- - lib/roadforest/content-handling/type-handlers/jsonld.rb
203
- - lib/roadforest/content-handling/type-handlers/rdf-handler.rb
204
- - lib/roadforest/content-handling/type-handlers/rdfa.rb
205
- - lib/roadforest/content-handling/type-handlers/rdfa-writer.rb
206
- - lib/roadforest/content-handling/type-handlers/rdfpost.rb
207
- - lib/roadforest/content-handling/type-handlers/rdfa-writer/render-engine.rb
208
- - lib/roadforest/content-handling/type-handlers/rdfa-writer/subject-environment.rb
209
- - lib/roadforest/content-handling/type-handlers/rdfa-writer/render-environment.rb
210
- - lib/roadforest/content-handling/type-handlers/rdfa-writer/property-environment.rb
211
- - lib/roadforest/content-handling/type-handlers/rdfa-writer/document-environment.rb
212
- - lib/roadforest/content-handling/type-handlers/rdfa-writer/object-environment.rb
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/property_values.haml
224
+ - lib/roadforest/templates/min/property-values.haml
216
225
  - lib/roadforest/templates/base/subject.haml
217
- - lib/roadforest/templates/base/property_value.haml
226
+ - lib/roadforest/templates/base/property-value.haml
218
227
  - lib/roadforest/templates/base/doc.haml
219
- - lib/roadforest/templates/base/property_values.haml
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/property_values.haml
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
- - examples/file-management.rb
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/form-parsing.rb
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.1 Documentation
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.3
294
+ rubygems_version: 2.0.14
270
295
  signing_key:
271
296
  specification_version: 4
272
297
  summary: An RDF+ReST web framework