publish_my_data 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -3
- data/app/controllers/publish_my_data/application_controller.rb +21 -32
- data/app/controllers/publish_my_data/datasets_controller.rb +7 -19
- data/app/controllers/publish_my_data/resources_controller.rb +18 -24
- data/app/controllers/publish_my_data/sparql_controller.rb +6 -3
- data/app/controllers/publish_my_data/themes_controller.rb +28 -0
- data/app/helpers/publish_my_data/resources_helper.rb +2 -2
- data/app/models/publish_my_data/concept.rb +14 -0
- data/app/models/publish_my_data/concept_scheme.rb +16 -0
- data/app/models/publish_my_data/dataset.rb +48 -13
- data/app/models/publish_my_data/ontology.rb +35 -0
- data/app/models/publish_my_data/ontology_class.rb +11 -0
- data/app/models/publish_my_data/property.rb +11 -0
- data/app/models/publish_my_data/rdf_type.rb +1 -0
- data/app/models/publish_my_data/resource.rb +80 -6
- data/app/models/publish_my_data/theme.rb +34 -0
- data/app/views/layouts/publish_my_data/application.html.erb +0 -1
- data/app/views/layouts/publish_my_data/error.html.erb +12 -2
- data/app/views/publish_my_data/concept_schemes/_concepts.html.erb +3 -0
- data/app/views/publish_my_data/concept_schemes/show.html.erb +9 -0
- data/app/views/publish_my_data/concepts/show.html.erb +3 -0
- data/app/views/publish_my_data/datasets/index.html.erb +4 -4
- data/app/views/publish_my_data/datasets/show.html.erb +1 -1
- data/app/views/publish_my_data/errors/bad_request.html.erb +1 -0
- data/app/views/publish_my_data/errors/not_found.html.erb +1 -1
- data/app/views/publish_my_data/errors/timeout.html.erb +1 -0
- data/app/views/publish_my_data/errors/uncaught.html.erb +6 -0
- data/app/views/publish_my_data/ontologies/_classes.html.erb +3 -0
- data/app/views/publish_my_data/ontologies/_properties.html.erb +3 -0
- data/app/views/publish_my_data/ontologies/show.html.erb +17 -0
- data/app/views/publish_my_data/properties/show.html.erb +3 -0
- data/app/views/publish_my_data/resources/_predicates_table.html.erb +12 -4
- data/app/views/publish_my_data/resources/_resource_formats.html.erb +5 -5
- data/app/views/publish_my_data/resources/_uri_and_label.html.erb +2 -2
- data/app/views/publish_my_data/resources/index.html.erb +4 -4
- data/app/views/publish_my_data/resources/show.html.erb +3 -3
- data/app/views/publish_my_data/sparql/_pagination.html.erb +2 -2
- data/app/views/publish_my_data/themes/index.html.erb +12 -0
- data/app/views/publish_my_data/themes/show.html.erb +15 -0
- data/config/initializers/{tripod.rb → 00_tripod.rb} +0 -0
- data/config/initializers/10_vocabularies.rb +6 -0
- data/config/initializers/zz_factories.rb +7 -0
- data/config/routes.rb +4 -5
- data/lib/publish_my_data/defined_by_ontology.rb +10 -0
- data/lib/publish_my_data/paginator.rb +63 -0
- data/lib/publish_my_data/render_params/concept_render_params.rb +14 -0
- data/lib/publish_my_data/render_params/concept_scheme_render_params.rb +14 -0
- data/lib/publish_my_data/render_params/ontology_class_render_params.rb +14 -0
- data/lib/publish_my_data/render_params/ontology_render_params.rb +14 -0
- data/lib/publish_my_data/render_params/property_render_params.rb +14 -0
- data/lib/publish_my_data/render_params/resource_render_params.rb +13 -0
- data/lib/publish_my_data/render_params/theme_render_params.rb +23 -0
- data/lib/publish_my_data/render_params.rb +7 -0
- data/lib/publish_my_data/resource_module.rb +8 -0
- data/lib/publish_my_data/version.rb +1 -1
- data/lib/publish_my_data.rb +6 -1
- data/spec/controllers/publish_my_data/datasets_controller_spec.rb +0 -10
- data/spec/controllers/publish_my_data/resources_controller_spec.rb +78 -38
- data/spec/controllers/publish_my_data/sparql_controller_spec.rb +4 -4
- data/spec/controllers/publish_my_data/themes_controller_spec.rb +110 -0
- data/spec/dummy/log/test.log +80255 -0
- data/spec/factories/00_theme_factories.rb +11 -0
- data/spec/factories/concept_scheme_factories.rb +48 -0
- data/spec/factories/dataset_factories.rb +10 -1
- data/spec/factories/ontology_factories.rb +55 -0
- data/spec/factories/property_factories.rb +2 -2
- data/spec/factories/resource_factories.rb +5 -5
- metadata +61 -16
- data/app/assets/javascripts/publish_my_data/resources.js +0 -2
- data/app/assets/stylesheets/publish_my_data/resources.css +0 -4
- data/app/views/publish_my_data/datasets/themes.html.erb +0 -3
- data/config/initializers/vocabularies.rb +0 -1
@@ -0,0 +1,11 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
factory :my_theme, class: PublishMyData::Theme do
|
3
|
+
initialize_with { new(uri) }
|
4
|
+
label 'My Theme'
|
5
|
+
description 'A test theme'
|
6
|
+
slug "my-theme"
|
7
|
+
ignore do
|
8
|
+
uri { "http://#{PublishMyData.local_domain}/def/theme/my_theme" }
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
factory :concept_scheme, class: PublishMyData::ConceptScheme do
|
3
|
+
initialize_with { new(uri,graph_uri) }
|
4
|
+
label 'My Concept Scheme'
|
5
|
+
ignore do
|
6
|
+
uri { "http://#{PublishMyData.local_domain}/def/my-topic/concept-scheme/my-concept-scheme"}
|
7
|
+
graph_uri { "http://#{PublishMyData.local_domain}/def/my-topic/concept-scheme/graph" }
|
8
|
+
end
|
9
|
+
after(:create) do |cs, evaluator|
|
10
|
+
# set up some concepts
|
11
|
+
c = PublishMyData::Concept.new("http://#{PublishMyData.local_domain}/def/my-topic/concept/my-concept", evaluator.graph_uri )
|
12
|
+
c.label = "my concept"
|
13
|
+
c.in_scheme = cs.uri
|
14
|
+
c.save!
|
15
|
+
|
16
|
+
c2 = PublishMyData::Concept.new("http://#{PublishMyData.local_domain}/def/my-topic/concept/my-concept-2", evaluator.graph_uri )
|
17
|
+
c2.label = "my other concept"
|
18
|
+
c2.in_scheme = cs.uri
|
19
|
+
c2.save!
|
20
|
+
|
21
|
+
cs.save!
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
factory :external_concept_scheme, class: PublishMyData::ConceptScheme do
|
26
|
+
initialize_with { new(uri,graph_uri) }
|
27
|
+
label 'My External Concept Scheme'
|
28
|
+
ignore do
|
29
|
+
uri { "http://example.com/def/my-topic/concept-scheme/my-concept-scheme"}
|
30
|
+
graph_uri { "http://#{PublishMyData.local_domain}/def/example-com-my-topic/concept-scheme/graph" }
|
31
|
+
end
|
32
|
+
after(:create) do |cs, evaluator|
|
33
|
+
# set up some concepts
|
34
|
+
c = PublishMyData::Concept.new("http://example.com/def/my-topic/concept/my-concept", evaluator.graph_uri )
|
35
|
+
c.label = "my concept"
|
36
|
+
c.in_scheme = cs.uri
|
37
|
+
c.save!
|
38
|
+
|
39
|
+
c2 = PublishMyData::Concept.new("http://example.com/def/my-topic/concept/my-concept-2", evaluator.graph_uri )
|
40
|
+
c2.label = "my other concept"
|
41
|
+
c2.in_scheme = cs.uri
|
42
|
+
c2.save!
|
43
|
+
|
44
|
+
cs.save!
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
@@ -3,10 +3,19 @@ FactoryGirl.define do
|
|
3
3
|
initialize_with { new(uri, graph_uri) }
|
4
4
|
title 'My Dataset'
|
5
5
|
description 'A test dataset'
|
6
|
-
|
7
6
|
ignore do
|
8
7
|
uri { PublishMyData::Dataset.uri_from_slug("my-dataset") }
|
9
8
|
graph_uri { PublishMyData::Dataset.metadata_graph_uri("my-dataset") }
|
10
9
|
end
|
11
10
|
end
|
11
|
+
|
12
|
+
factory :another_dataset, class: PublishMyData::Dataset do
|
13
|
+
initialize_with { new(uri, graph_uri) }
|
14
|
+
title 'My Other Dataset'
|
15
|
+
description 'Another test dataset'
|
16
|
+
ignore do
|
17
|
+
uri { PublishMyData::Dataset.uri_from_slug("another-dataset") }
|
18
|
+
graph_uri { PublishMyData::Dataset.metadata_graph_uri("another-dataset") }
|
19
|
+
end
|
20
|
+
end
|
12
21
|
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
|
3
|
+
factory :ontology, class: PublishMyData::Ontology do
|
4
|
+
initialize_with { new(uri,graph_uri) }
|
5
|
+
label 'My Ontology'
|
6
|
+
ignore do
|
7
|
+
uri { "http://#{PublishMyData.local_domain}/def/my-topic/ontology"}
|
8
|
+
graph_uri { "http://#{PublishMyData.local_domain}/def/my-topic/ontology/graph" }
|
9
|
+
end
|
10
|
+
after(:create) do |o, evaluator|
|
11
|
+
# set up some classes and props
|
12
|
+
c = PublishMyData::OntologyClass.new("http://#{PublishMyData.local_domain}/def/my-topic/my-class", evaluator.graph_uri )
|
13
|
+
c.defined_by = o.uri
|
14
|
+
c.write_predicate(RDF.type, RDF::OWL.Class)
|
15
|
+
c.save!
|
16
|
+
|
17
|
+
c2 = PublishMyData::OntologyClass.new("http://#{PublishMyData.local_domain}/def/my-topic/my-class-2", evaluator.graph_uri )
|
18
|
+
c2.defined_by = o.uri
|
19
|
+
c2.write_predicate(RDF.type, RDF::OWL.Class)
|
20
|
+
c2.save!
|
21
|
+
|
22
|
+
p = PublishMyData::Property.new("http://#{PublishMyData.local_domain}/def/my-topic/my-property", evaluator.graph_uri)
|
23
|
+
p.defined_by = o.uri
|
24
|
+
p.write_predicate(RDF.type, RDF.Property)
|
25
|
+
p.save!
|
26
|
+
|
27
|
+
p2 = PublishMyData::Property.new("http://#{PublishMyData.local_domain}/def/my-topic/my-property-2", evaluator.graph_uri )
|
28
|
+
p2.defined_by = o.uri
|
29
|
+
p2.write_predicate(RDF.type, RDF.Property)
|
30
|
+
p2.save!
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
factory :external_ontology, class: PublishMyData::Ontology do
|
35
|
+
initialize_with { new(uri,graph_uri) }
|
36
|
+
label 'My Ontology'
|
37
|
+
ignore do
|
38
|
+
uri { "http://example.com/def/my-topic/ontology"}
|
39
|
+
graph_uri { "http://#{PublishMyData.local_domain}/def/example-com-my-topic/ontology/graph" }
|
40
|
+
end
|
41
|
+
after(:create) do |o, evaluator|
|
42
|
+
# set up some classes and props
|
43
|
+
c = PublishMyData::OntologyClass.new("http://example.com/def/my-topic/my-class", evaluator.graph_uri )
|
44
|
+
c.defined_by = o.uri
|
45
|
+
c.write_predicate(RDF.type, RDF::OWL.Class)
|
46
|
+
c.save!
|
47
|
+
|
48
|
+
p = PublishMyData::Property.new("http://example.com/def/my-topic/my-property", evaluator.graph_uri)
|
49
|
+
p.defined_by = o.uri
|
50
|
+
p.write_predicate(RDF.type, RDF.Property)
|
51
|
+
p.save!
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
@@ -2,8 +2,8 @@ FactoryGirl.define do
|
|
2
2
|
factory :mean_result, class: PublishMyData::Resource do
|
3
3
|
initialize_with { new(uri, graph_uri) }
|
4
4
|
ignore do
|
5
|
-
uri { "http
|
6
|
-
graph_uri { "http
|
5
|
+
uri { "http://#{PublishMyData.local_domain}/def/statistics/meanResult" }
|
6
|
+
graph_uri { "http://#{PublishMyData.local_domain}/ontology/statistics" }
|
7
7
|
end
|
8
8
|
after(:build) do |res|
|
9
9
|
res.write_predicate(RDF::RDFS.label, 'Mean Result')
|
@@ -2,8 +2,8 @@ FactoryGirl.define do
|
|
2
2
|
factory :yuri_unicorn_resource, class: PublishMyData::Resource do
|
3
3
|
initialize_with { new(uri, graph_uri) }
|
4
4
|
ignore do
|
5
|
-
uri { "http
|
6
|
-
graph_uri { "http
|
5
|
+
uri { "http://#{PublishMyData.local_domain}/id/unicorns/yuri" }
|
6
|
+
graph_uri { "http://#{PublishMyData.local_domain}/graph/unicorns" }
|
7
7
|
end
|
8
8
|
after(:build) do |res|
|
9
9
|
res.write_predicate(RDF::RDFS.label, 'Yuri The Unicorn')
|
@@ -13,8 +13,8 @@ FactoryGirl.define do
|
|
13
13
|
factory :boris_unicorn_resource, class: PublishMyData::Resource do
|
14
14
|
initialize_with { new(uri, graph_uri) }
|
15
15
|
ignore do
|
16
|
-
uri { "http
|
17
|
-
graph_uri { "http
|
16
|
+
uri { "http://#{PublishMyData.local_domain}/id/unicorns/boris" }
|
17
|
+
graph_uri { "http://#{PublishMyData.local_domain}/graph/unicorns" }
|
18
18
|
end
|
19
19
|
after(:build) do |res|
|
20
20
|
res.write_predicate(RDF::RDFS.label, 'Boris The Unicorn')
|
@@ -27,7 +27,7 @@ FactoryGirl.define do
|
|
27
27
|
initialize_with { new(uri, graph_uri) }
|
28
28
|
ignore do
|
29
29
|
uri { "http://locations.example.com/foo" }
|
30
|
-
graph_uri { "http
|
30
|
+
graph_uri { "http://#{PublishMyData.local_domain}/geo" }
|
31
31
|
end
|
32
32
|
after(:build) do |res|
|
33
33
|
res.write_predicate(RDF::RDFS.label, 'Foo County')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: publish_my_data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,11 +13,11 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2013-03-
|
16
|
+
date: 2013-03-13 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: rails
|
20
|
-
requirement: &
|
20
|
+
requirement: &70221189366420 !ruby/object:Gem::Requirement
|
21
21
|
none: false
|
22
22
|
requirements:
|
23
23
|
- - ~>
|
@@ -25,10 +25,10 @@ dependencies:
|
|
25
25
|
version: 3.2.11
|
26
26
|
type: :runtime
|
27
27
|
prerelease: false
|
28
|
-
version_requirements: *
|
28
|
+
version_requirements: *70221189366420
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: tripod
|
31
|
-
requirement: &
|
31
|
+
requirement: &70221189365800 !ruby/object:Gem::Requirement
|
32
32
|
none: false
|
33
33
|
requirements:
|
34
34
|
- - ~>
|
@@ -36,10 +36,10 @@ dependencies:
|
|
36
36
|
version: '0.3'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
|
-
version_requirements: *
|
39
|
+
version_requirements: *70221189365800
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rdf
|
42
|
-
requirement: &
|
42
|
+
requirement: &70221189365220 !ruby/object:Gem::Requirement
|
43
43
|
none: false
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
@@ -47,10 +47,10 @@ dependencies:
|
|
47
47
|
version: '1.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
|
-
version_requirements: *
|
50
|
+
version_requirements: *70221189365220
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
name: kaminari
|
53
|
-
requirement: &
|
53
|
+
requirement: &70221189364600 !ruby/object:Gem::Requirement
|
54
54
|
none: false
|
55
55
|
requirements:
|
56
56
|
- - ! '>='
|
@@ -58,7 +58,18 @@ dependencies:
|
|
58
58
|
version: '0'
|
59
59
|
type: :runtime
|
60
60
|
prerelease: false
|
61
|
-
version_requirements: *
|
61
|
+
version_requirements: *70221189364600
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rdiscount
|
64
|
+
requirement: &70221189363840 !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: *70221189363840
|
62
73
|
description: The PublishMyData Rails Engine. Create rails apps with Linked Data functionality.
|
63
74
|
email:
|
64
75
|
- ric@swirrl.com
|
@@ -67,29 +78,41 @@ extensions: []
|
|
67
78
|
extra_rdoc_files: []
|
68
79
|
files:
|
69
80
|
- app/assets/javascripts/publish_my_data/application.js
|
70
|
-
- app/assets/javascripts/publish_my_data/resources.js
|
71
81
|
- app/assets/stylesheets/publish_my_data/application.css
|
72
|
-
- app/assets/stylesheets/publish_my_data/resources.css
|
73
82
|
- app/controllers/publish_my_data/application_controller.rb
|
74
83
|
- app/controllers/publish_my_data/datasets_controller.rb
|
75
84
|
- app/controllers/publish_my_data/errors_controller.rb
|
76
85
|
- app/controllers/publish_my_data/home_controller.rb
|
77
86
|
- app/controllers/publish_my_data/resources_controller.rb
|
78
87
|
- app/controllers/publish_my_data/sparql_controller.rb
|
88
|
+
- app/controllers/publish_my_data/themes_controller.rb
|
79
89
|
- app/helpers/publish_my_data/application_helper.rb
|
80
90
|
- app/helpers/publish_my_data/resources_helper.rb
|
81
91
|
- app/helpers/publish_my_data/sparql_helper.rb
|
92
|
+
- app/models/publish_my_data/concept.rb
|
82
93
|
- app/models/publish_my_data/concept_scheme.rb
|
83
94
|
- app/models/publish_my_data/dataset.rb
|
84
95
|
- app/models/publish_my_data/ontology.rb
|
96
|
+
- app/models/publish_my_data/ontology_class.rb
|
97
|
+
- app/models/publish_my_data/property.rb
|
85
98
|
- app/models/publish_my_data/rdf_type.rb
|
86
99
|
- app/models/publish_my_data/resource.rb
|
100
|
+
- app/models/publish_my_data/theme.rb
|
87
101
|
- app/views/layouts/publish_my_data/application.html.erb
|
88
102
|
- app/views/layouts/publish_my_data/error.html.erb
|
103
|
+
- app/views/publish_my_data/concept_schemes/_concepts.html.erb
|
104
|
+
- app/views/publish_my_data/concept_schemes/show.html.erb
|
105
|
+
- app/views/publish_my_data/concepts/show.html.erb
|
89
106
|
- app/views/publish_my_data/datasets/index.html.erb
|
90
107
|
- app/views/publish_my_data/datasets/show.html.erb
|
91
|
-
- app/views/publish_my_data/
|
108
|
+
- app/views/publish_my_data/errors/bad_request.html.erb
|
92
109
|
- app/views/publish_my_data/errors/not_found.html.erb
|
110
|
+
- app/views/publish_my_data/errors/timeout.html.erb
|
111
|
+
- app/views/publish_my_data/errors/uncaught.html.erb
|
112
|
+
- app/views/publish_my_data/ontologies/_classes.html.erb
|
113
|
+
- app/views/publish_my_data/ontologies/_properties.html.erb
|
114
|
+
- app/views/publish_my_data/ontologies/show.html.erb
|
115
|
+
- app/views/publish_my_data/properties/show.html.erb
|
93
116
|
- app/views/publish_my_data/resources/_predicates_table.html.erb
|
94
117
|
- app/views/publish_my_data/resources/_predicates_table_head.html.erb
|
95
118
|
- app/views/publish_my_data/resources/_resource_formats.html.erb
|
@@ -107,11 +130,25 @@ files:
|
|
107
130
|
- app/views/publish_my_data/sparql/_results_data.html.erb
|
108
131
|
- app/views/publish_my_data/sparql/_select_formats.html.erb
|
109
132
|
- app/views/publish_my_data/sparql/endpoint.html.erb
|
110
|
-
-
|
111
|
-
-
|
133
|
+
- app/views/publish_my_data/themes/index.html.erb
|
134
|
+
- app/views/publish_my_data/themes/show.html.erb
|
135
|
+
- config/initializers/00_tripod.rb
|
136
|
+
- config/initializers/10_vocabularies.rb
|
137
|
+
- config/initializers/zz_factories.rb
|
112
138
|
- config/routes.rb
|
139
|
+
- lib/publish_my_data/defined_by_ontology.rb
|
113
140
|
- lib/publish_my_data/engine.rb
|
141
|
+
- lib/publish_my_data/paginator.rb
|
142
|
+
- lib/publish_my_data/render_params/concept_render_params.rb
|
143
|
+
- lib/publish_my_data/render_params/concept_scheme_render_params.rb
|
144
|
+
- lib/publish_my_data/render_params/ontology_class_render_params.rb
|
145
|
+
- lib/publish_my_data/render_params/ontology_render_params.rb
|
146
|
+
- lib/publish_my_data/render_params/property_render_params.rb
|
147
|
+
- lib/publish_my_data/render_params/resource_render_params.rb
|
148
|
+
- lib/publish_my_data/render_params/theme_render_params.rb
|
149
|
+
- lib/publish_my_data/render_params.rb
|
114
150
|
- lib/publish_my_data/renderers.rb
|
151
|
+
- lib/publish_my_data/resource_module.rb
|
115
152
|
- lib/publish_my_data/sparql_query.rb
|
116
153
|
- lib/publish_my_data/sparql_query_result.rb
|
117
154
|
- lib/publish_my_data/version.rb
|
@@ -123,6 +160,7 @@ files:
|
|
123
160
|
- spec/controllers/publish_my_data/datasets_controller_spec.rb
|
124
161
|
- spec/controllers/publish_my_data/resources_controller_spec.rb
|
125
162
|
- spec/controllers/publish_my_data/sparql_controller_spec.rb
|
163
|
+
- spec/controllers/publish_my_data/themes_controller_spec.rb
|
126
164
|
- spec/dummy/app/assets/javascripts/application.js
|
127
165
|
- spec/dummy/app/assets/stylesheets/application.css
|
128
166
|
- spec/dummy/app/controllers/application_controller.rb
|
@@ -152,7 +190,10 @@ files:
|
|
152
190
|
- spec/dummy/Rakefile
|
153
191
|
- spec/dummy/README.rdoc
|
154
192
|
- spec/dummy/script/rails
|
193
|
+
- spec/factories/00_theme_factories.rb
|
194
|
+
- spec/factories/concept_scheme_factories.rb
|
155
195
|
- spec/factories/dataset_factories.rb
|
196
|
+
- spec/factories/ontology_factories.rb
|
156
197
|
- spec/factories/property_factories.rb
|
157
198
|
- spec/factories/resource_factories.rb
|
158
199
|
- spec/features/running_a_sparql_query_spec.rb
|
@@ -180,7 +221,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
180
221
|
version: '0'
|
181
222
|
segments:
|
182
223
|
- 0
|
183
|
-
hash:
|
224
|
+
hash: 3357828101825705185
|
184
225
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
226
|
none: false
|
186
227
|
requirements:
|
@@ -197,6 +238,7 @@ test_files:
|
|
197
238
|
- spec/controllers/publish_my_data/datasets_controller_spec.rb
|
198
239
|
- spec/controllers/publish_my_data/resources_controller_spec.rb
|
199
240
|
- spec/controllers/publish_my_data/sparql_controller_spec.rb
|
241
|
+
- spec/controllers/publish_my_data/themes_controller_spec.rb
|
200
242
|
- spec/dummy/app/assets/javascripts/application.js
|
201
243
|
- spec/dummy/app/assets/stylesheets/application.css
|
202
244
|
- spec/dummy/app/controllers/application_controller.rb
|
@@ -226,7 +268,10 @@ test_files:
|
|
226
268
|
- spec/dummy/Rakefile
|
227
269
|
- spec/dummy/README.rdoc
|
228
270
|
- spec/dummy/script/rails
|
271
|
+
- spec/factories/00_theme_factories.rb
|
272
|
+
- spec/factories/concept_scheme_factories.rb
|
229
273
|
- spec/factories/dataset_factories.rb
|
274
|
+
- spec/factories/ontology_factories.rb
|
230
275
|
- spec/factories/property_factories.rb
|
231
276
|
- spec/factories/resource_factories.rb
|
232
277
|
- spec/features/running_a_sparql_query_spec.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
PMD_DS = RDF::Vocabulary.new("http://publishmydata.com/def/dataset#")
|