publish_my_data 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +37 -0
- data/Rakefile +41 -0
- data/app/assets/javascripts/publish_my_data/application.js +15 -0
- data/app/assets/javascripts/publish_my_data/resources.js +2 -0
- data/app/assets/stylesheets/publish_my_data/application.css +13 -0
- data/app/assets/stylesheets/publish_my_data/resources.css +4 -0
- data/app/controllers/publish_my_data/application_controller.rb +49 -0
- data/app/controllers/publish_my_data/datasets_controller.rb +48 -0
- data/app/controllers/publish_my_data/errors_controller.rb +9 -0
- data/app/controllers/publish_my_data/home_controller.rb +4 -0
- data/app/controllers/publish_my_data/resources_controller.rb +103 -0
- data/app/controllers/publish_my_data/sparql_controller.rb +50 -0
- data/app/helpers/publish_my_data/application_helper.rb +4 -0
- data/app/helpers/publish_my_data/resources_helper.rb +28 -0
- data/app/helpers/publish_my_data/sparql_helper.rb +7 -0
- data/app/models/publish_my_data/concept_scheme.rb +5 -0
- data/app/models/publish_my_data/dataset.rb +61 -0
- data/app/models/publish_my_data/ontology.rb +5 -0
- data/app/models/publish_my_data/rdf_type.rb +6 -0
- data/app/models/publish_my_data/resource.rb +21 -0
- data/app/views/layouts/publish_my_data/application.html.erb +14 -0
- data/app/views/layouts/publish_my_data/error.html.erb +3 -0
- data/app/views/publish_my_data/datasets/index.html.erb +20 -0
- data/app/views/publish_my_data/datasets/show.html.erb +18 -0
- data/app/views/publish_my_data/datasets/themes.html.erb +3 -0
- data/app/views/publish_my_data/errors/not_found.html.erb +1 -0
- data/app/views/publish_my_data/resources/_predicates_table.html.erb +22 -0
- data/app/views/publish_my_data/resources/_predicates_table_head.html.erb +6 -0
- data/app/views/publish_my_data/resources/_resource_formats.html.erb +11 -0
- data/app/views/publish_my_data/resources/_uri_and_label.html.erb +3 -0
- data/app/views/publish_my_data/resources/index.html.erb +39 -0
- data/app/views/publish_my_data/resources/show.html.erb +3 -0
- data/app/views/publish_my_data/sparql/_ask_formats.html.erb +3 -0
- data/app/views/publish_my_data/sparql/_construct_formats.html.erb +3 -0
- data/app/views/publish_my_data/sparql/_describe_formats.html.erb +1 -0
- data/app/views/publish_my_data/sparql/_error_message.html.erb +3 -0
- data/app/views/publish_my_data/sparql/_form.html.erb +4 -0
- data/app/views/publish_my_data/sparql/_formats.html.erb +6 -0
- data/app/views/publish_my_data/sparql/_pagination.html.erb +6 -0
- data/app/views/publish_my_data/sparql/_results.html.erb +5 -0
- data/app/views/publish_my_data/sparql/_results_data.html.erb +4 -0
- data/app/views/publish_my_data/sparql/_select_formats.html.erb +3 -0
- data/app/views/publish_my_data/sparql/endpoint.html.erb +10 -0
- data/config/initializers/tripod.rb +5 -0
- data/config/initializers/vocabularies.rb +1 -0
- data/config/routes.rb +33 -0
- data/lib/publish_my_data.rb +43 -0
- data/lib/publish_my_data/engine.rb +9 -0
- data/lib/publish_my_data/renderers.rb +44 -0
- data/lib/publish_my_data/sparql_query.rb +117 -0
- data/lib/publish_my_data/sparql_query_result.rb +49 -0
- data/lib/publish_my_data/version.rb +3 -0
- data/lib/tasks/publish_my_data_tasks.rake +4 -0
- data/spec/controllers/publish_my_data/datasets_controller_spec.rb +190 -0
- data/spec/controllers/publish_my_data/resources_controller_spec.rb +399 -0
- data/spec/controllers/publish_my_data/sparql_controller_spec.rb +172 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +68 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +38 -0
- data/spec/dummy/config/environments/production.rb +65 -0
- data/spec/dummy/config/environments/test.rb +41 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +10 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/log/development.log +211 -0
- data/spec/dummy/log/test.log +105012 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/factories/dataset_factories.rb +12 -0
- data/spec/factories/property_factories.rb +13 -0
- data/spec/factories/resource_factories.rb +37 -0
- data/spec/features/running_a_sparql_query_spec.rb +324 -0
- data/spec/features/uri_dereferencing_flow_spec.rb +61 -0
- data/spec/features/uri_dereferencing_spec.rb +89 -0
- data/spec/features/viewing_a_def_spec.rb +45 -0
- data/spec/features/viewing_a_doc_spec.rb +124 -0
- data/spec/features/viewing_resource_not_in_our_domain_spec.rb +31 -0
- data/spec/lib/publish_my_data/sparql_query_spec.rb +495 -0
- data/spec/models/publish_my_data/dataset_spec.rb +29 -0
- data/spec/models/publish_my_data/resource_spec.rb +23 -0
- data/spec/renderers/publish_my_data/renderers_spec.rb +79 -0
- data/spec/spec_helper.rb +53 -0
- metadata +242 -0
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module PublishMyData
|
4
|
+
describe Dataset do
|
5
|
+
|
6
|
+
describe ".uri_from_slug" do
|
7
|
+
it "returns the a uri given the slug" do
|
8
|
+
slug = "my-slug"
|
9
|
+
Dataset.uri_from_slug(slug).should == "http://pmdtest.dev/datasets/#{slug}"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
describe ".slug_from_uri" do
|
14
|
+
it "returns a slug given a uri" do
|
15
|
+
slug = "my-slug"
|
16
|
+
Dataset.slug_from_uri("http://pmdtest.dev/datasets/#{slug}").should == slug
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
describe ".find_by_slug" do
|
21
|
+
it "should perform a find on the uri for the slug" do
|
22
|
+
slug = "my-slug"
|
23
|
+
Dataset.should_receive(:find).with(Dataset.uri_from_slug(slug))
|
24
|
+
Dataset.find_by_slug(slug)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module PublishMyData
|
4
|
+
describe Resource do
|
5
|
+
|
6
|
+
describe ".uri_from_host_and_doc_path" do
|
7
|
+
|
8
|
+
context "with no format" do
|
9
|
+
it "should return the uri formed from the host doc path" do
|
10
|
+
Resource.uri_from_host_and_doc_path('example.com', 'hello/jello').should == 'http://example.com/id/hello/jello'
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
context "with a format" do
|
15
|
+
it "should return the uri formed from the host doc path, with the format stripped off" do
|
16
|
+
Resource.uri_from_host_and_doc_path('example.com', 'hello/jello.rdf', 'rdf').should == 'http://example.com/id/hello/jello'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module PublishMyData
|
4
|
+
|
5
|
+
describe "::ActionController" do
|
6
|
+
|
7
|
+
## symbol to string lookups
|
8
|
+
it "should match :ttl to the right mime type" do
|
9
|
+
Mime::TTL.to_sym.should == :ttl
|
10
|
+
Mime::TTL.to_s.should == "text/turtle"
|
11
|
+
end
|
12
|
+
|
13
|
+
it "should match :rdf to the right mime type" do
|
14
|
+
Mime::RDF.to_sym.should == :rdf
|
15
|
+
Mime::RDF.to_s.should == "application/rdf+xml"
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should match :nt to the right mime type" do
|
19
|
+
Mime::NT.to_sym.should == :nt
|
20
|
+
Mime::NT.to_s.should == "application/n-triples"
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should match :json to the right mime type" do
|
24
|
+
Mime::JSON.to_sym.should == :json
|
25
|
+
Mime::JSON.to_s.should == "application/json"
|
26
|
+
end
|
27
|
+
|
28
|
+
it "should match :xml to the right mime type" do
|
29
|
+
Mime::XML.to_sym.should == :xml
|
30
|
+
Mime::XML.to_s.should == "application/xml"
|
31
|
+
end
|
32
|
+
|
33
|
+
it "should match :text to the right mime type" do
|
34
|
+
Mime::TEXT.to_sym.should == :text
|
35
|
+
Mime::TEXT.to_s.should == "text/plain"
|
36
|
+
end
|
37
|
+
|
38
|
+
it "should match :csv to the right mime type" do
|
39
|
+
Mime::CSV.to_sym.should == :csv
|
40
|
+
Mime::CSV.to_s.should == "text/csv"
|
41
|
+
end
|
42
|
+
|
43
|
+
## string to symbol lookups
|
44
|
+
|
45
|
+
it "should match 'text/turtle' to the right mime type" do
|
46
|
+
Mime::Type.lookup('text/turtle').should == Mime::TTL
|
47
|
+
end
|
48
|
+
|
49
|
+
it "should match 'text/turtle' to the right mime type" do
|
50
|
+
Mime::Type.lookup('application/rdf+xml').should == Mime::RDF
|
51
|
+
end
|
52
|
+
|
53
|
+
it "should match 'text/turtle' to the right mime type" do
|
54
|
+
Mime::Type.lookup('application/n-triples').should == Mime::NT
|
55
|
+
end
|
56
|
+
|
57
|
+
it "should match 'text/plain' to the right mime type" do
|
58
|
+
Mime::Type.lookup('text/plain').should == Mime::TEXT
|
59
|
+
end
|
60
|
+
|
61
|
+
it "should match 'application/sparql+json' to the right mime type" do
|
62
|
+
Mime::Type.lookup('application/sparql-results+json').should == Mime::JSON
|
63
|
+
end
|
64
|
+
|
65
|
+
it "should match 'application/json' to the right mime type" do
|
66
|
+
Mime::Type.lookup('application/json').should == Mime::JSON
|
67
|
+
end
|
68
|
+
|
69
|
+
it "should match 'application/sparql+xml' to the right mime type" do
|
70
|
+
Mime::Type.lookup('application/sparql-results+xml').should == Mime::XML
|
71
|
+
end
|
72
|
+
|
73
|
+
it "should match 'application/xml' to the right mime type" do
|
74
|
+
Mime::Type.lookup('application/xml').should == Mime::XML
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
3
|
+
require File.expand_path("../dummy/config/environment", __FILE__)
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'rspec/autorun'
|
6
|
+
require 'factory_girl_rails'
|
7
|
+
require 'capybara/rails'
|
8
|
+
require 'active_support/core_ext/numeric/bytes'
|
9
|
+
|
10
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
11
|
+
# in spec/support/ and its subdirectories.
|
12
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
13
|
+
|
14
|
+
RSpec.configure do |config|
|
15
|
+
|
16
|
+
# If true, the base class of anonymous controllers will be inferred
|
17
|
+
# automatically. This will be the default behavior in future versions of
|
18
|
+
# rspec-rails.
|
19
|
+
config.infer_base_class_for_anonymous_controllers = false
|
20
|
+
|
21
|
+
# Run specs in random order to surface order dependencies. If you find an
|
22
|
+
# order dependency and want to debug it, you can fix the order by providing
|
23
|
+
# the seed, which is printed after each run.
|
24
|
+
# --seed 1234
|
25
|
+
config.order = "random"
|
26
|
+
|
27
|
+
config.mock_with :rspec
|
28
|
+
|
29
|
+
config.before(:each) do
|
30
|
+
# delete from all graphs.
|
31
|
+
Tripod::SparqlClient::Update.update('
|
32
|
+
# delete from default graph:
|
33
|
+
DELETE {?s ?p ?o} WHERE {?s ?p ?o};
|
34
|
+
# delete from named graphs:
|
35
|
+
DELETE {graph ?g {?s ?p ?o}} WHERE {graph ?g {?s ?p ?o}};
|
36
|
+
')
|
37
|
+
end
|
38
|
+
|
39
|
+
config.before(:each, :type => :controller) do
|
40
|
+
@request.host = 'pmdtest.dev'
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
Capybara.configure do |config|
|
46
|
+
config.default_host = 'http://pmdtest.dev'
|
47
|
+
end
|
48
|
+
|
49
|
+
# set up tripod for dev mode.
|
50
|
+
Tripod.configure do |config|
|
51
|
+
config.update_endpoint = 'http://localhost:3030/pmdtest/update'
|
52
|
+
config.query_endpoint = 'http://localhost:3030/pmdtest/sparql'
|
53
|
+
end
|
metadata
ADDED
@@ -0,0 +1,242 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: publish_my_data
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Ric Roberts
|
9
|
+
- Bill Roberts
|
10
|
+
- Asa Calow
|
11
|
+
- Tekin Suleyman
|
12
|
+
- Guy Hilton
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
date: 2013-03-03 00:00:00.000000000 Z
|
17
|
+
dependencies:
|
18
|
+
- !ruby/object:Gem::Dependency
|
19
|
+
name: rails
|
20
|
+
requirement: &70299115591700 !ruby/object:Gem::Requirement
|
21
|
+
none: false
|
22
|
+
requirements:
|
23
|
+
- - ~>
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 3.2.11
|
26
|
+
type: :runtime
|
27
|
+
prerelease: false
|
28
|
+
version_requirements: *70299115591700
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: tripod
|
31
|
+
requirement: &70299119752540 !ruby/object:Gem::Requirement
|
32
|
+
none: false
|
33
|
+
requirements:
|
34
|
+
- - ~>
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0.3'
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: *70299119752540
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: rdf
|
42
|
+
requirement: &70299115605220 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: *70299115605220
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: kaminari
|
53
|
+
requirement: &70299115603420 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ! '>='
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
type: :runtime
|
60
|
+
prerelease: false
|
61
|
+
version_requirements: *70299115603420
|
62
|
+
description: The PublishMyData Rails Engine. Create rails apps with Linked Data functionality.
|
63
|
+
email:
|
64
|
+
- ric@swirrl.com
|
65
|
+
executables: []
|
66
|
+
extensions: []
|
67
|
+
extra_rdoc_files: []
|
68
|
+
files:
|
69
|
+
- app/assets/javascripts/publish_my_data/application.js
|
70
|
+
- app/assets/javascripts/publish_my_data/resources.js
|
71
|
+
- app/assets/stylesheets/publish_my_data/application.css
|
72
|
+
- app/assets/stylesheets/publish_my_data/resources.css
|
73
|
+
- app/controllers/publish_my_data/application_controller.rb
|
74
|
+
- app/controllers/publish_my_data/datasets_controller.rb
|
75
|
+
- app/controllers/publish_my_data/errors_controller.rb
|
76
|
+
- app/controllers/publish_my_data/home_controller.rb
|
77
|
+
- app/controllers/publish_my_data/resources_controller.rb
|
78
|
+
- app/controllers/publish_my_data/sparql_controller.rb
|
79
|
+
- app/helpers/publish_my_data/application_helper.rb
|
80
|
+
- app/helpers/publish_my_data/resources_helper.rb
|
81
|
+
- app/helpers/publish_my_data/sparql_helper.rb
|
82
|
+
- app/models/publish_my_data/concept_scheme.rb
|
83
|
+
- app/models/publish_my_data/dataset.rb
|
84
|
+
- app/models/publish_my_data/ontology.rb
|
85
|
+
- app/models/publish_my_data/rdf_type.rb
|
86
|
+
- app/models/publish_my_data/resource.rb
|
87
|
+
- app/views/layouts/publish_my_data/application.html.erb
|
88
|
+
- app/views/layouts/publish_my_data/error.html.erb
|
89
|
+
- app/views/publish_my_data/datasets/index.html.erb
|
90
|
+
- app/views/publish_my_data/datasets/show.html.erb
|
91
|
+
- app/views/publish_my_data/datasets/themes.html.erb
|
92
|
+
- app/views/publish_my_data/errors/not_found.html.erb
|
93
|
+
- app/views/publish_my_data/resources/_predicates_table.html.erb
|
94
|
+
- app/views/publish_my_data/resources/_predicates_table_head.html.erb
|
95
|
+
- app/views/publish_my_data/resources/_resource_formats.html.erb
|
96
|
+
- app/views/publish_my_data/resources/_uri_and_label.html.erb
|
97
|
+
- app/views/publish_my_data/resources/index.html.erb
|
98
|
+
- app/views/publish_my_data/resources/show.html.erb
|
99
|
+
- app/views/publish_my_data/sparql/_ask_formats.html.erb
|
100
|
+
- app/views/publish_my_data/sparql/_construct_formats.html.erb
|
101
|
+
- app/views/publish_my_data/sparql/_describe_formats.html.erb
|
102
|
+
- app/views/publish_my_data/sparql/_error_message.html.erb
|
103
|
+
- app/views/publish_my_data/sparql/_form.html.erb
|
104
|
+
- app/views/publish_my_data/sparql/_formats.html.erb
|
105
|
+
- app/views/publish_my_data/sparql/_pagination.html.erb
|
106
|
+
- app/views/publish_my_data/sparql/_results.html.erb
|
107
|
+
- app/views/publish_my_data/sparql/_results_data.html.erb
|
108
|
+
- app/views/publish_my_data/sparql/_select_formats.html.erb
|
109
|
+
- app/views/publish_my_data/sparql/endpoint.html.erb
|
110
|
+
- config/initializers/tripod.rb
|
111
|
+
- config/initializers/vocabularies.rb
|
112
|
+
- config/routes.rb
|
113
|
+
- lib/publish_my_data/engine.rb
|
114
|
+
- lib/publish_my_data/renderers.rb
|
115
|
+
- lib/publish_my_data/sparql_query.rb
|
116
|
+
- lib/publish_my_data/sparql_query_result.rb
|
117
|
+
- lib/publish_my_data/version.rb
|
118
|
+
- lib/publish_my_data.rb
|
119
|
+
- lib/tasks/publish_my_data_tasks.rake
|
120
|
+
- MIT-LICENSE
|
121
|
+
- Rakefile
|
122
|
+
- README.md
|
123
|
+
- spec/controllers/publish_my_data/datasets_controller_spec.rb
|
124
|
+
- spec/controllers/publish_my_data/resources_controller_spec.rb
|
125
|
+
- spec/controllers/publish_my_data/sparql_controller_spec.rb
|
126
|
+
- spec/dummy/app/assets/javascripts/application.js
|
127
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
128
|
+
- spec/dummy/app/controllers/application_controller.rb
|
129
|
+
- spec/dummy/app/helpers/application_helper.rb
|
130
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
131
|
+
- spec/dummy/config/application.rb
|
132
|
+
- spec/dummy/config/boot.rb
|
133
|
+
- spec/dummy/config/environment.rb
|
134
|
+
- spec/dummy/config/environments/development.rb
|
135
|
+
- spec/dummy/config/environments/production.rb
|
136
|
+
- spec/dummy/config/environments/test.rb
|
137
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
138
|
+
- spec/dummy/config/initializers/inflections.rb
|
139
|
+
- spec/dummy/config/initializers/mime_types.rb
|
140
|
+
- spec/dummy/config/initializers/secret_token.rb
|
141
|
+
- spec/dummy/config/initializers/session_store.rb
|
142
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
143
|
+
- spec/dummy/config/locales/en.yml
|
144
|
+
- spec/dummy/config/routes.rb
|
145
|
+
- spec/dummy/config.ru
|
146
|
+
- spec/dummy/log/development.log
|
147
|
+
- spec/dummy/log/test.log
|
148
|
+
- spec/dummy/public/404.html
|
149
|
+
- spec/dummy/public/422.html
|
150
|
+
- spec/dummy/public/500.html
|
151
|
+
- spec/dummy/public/favicon.ico
|
152
|
+
- spec/dummy/Rakefile
|
153
|
+
- spec/dummy/README.rdoc
|
154
|
+
- spec/dummy/script/rails
|
155
|
+
- spec/factories/dataset_factories.rb
|
156
|
+
- spec/factories/property_factories.rb
|
157
|
+
- spec/factories/resource_factories.rb
|
158
|
+
- spec/features/running_a_sparql_query_spec.rb
|
159
|
+
- spec/features/uri_dereferencing_flow_spec.rb
|
160
|
+
- spec/features/uri_dereferencing_spec.rb
|
161
|
+
- spec/features/viewing_a_def_spec.rb
|
162
|
+
- spec/features/viewing_a_doc_spec.rb
|
163
|
+
- spec/features/viewing_resource_not_in_our_domain_spec.rb
|
164
|
+
- spec/lib/publish_my_data/sparql_query_spec.rb
|
165
|
+
- spec/models/publish_my_data/dataset_spec.rb
|
166
|
+
- spec/models/publish_my_data/resource_spec.rb
|
167
|
+
- spec/renderers/publish_my_data/renderers_spec.rb
|
168
|
+
- spec/spec_helper.rb
|
169
|
+
homepage: http://publishmydata.com
|
170
|
+
licenses: []
|
171
|
+
post_install_message:
|
172
|
+
rdoc_options: []
|
173
|
+
require_paths:
|
174
|
+
- lib
|
175
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
176
|
+
none: false
|
177
|
+
requirements:
|
178
|
+
- - ! '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
segments:
|
182
|
+
- 0
|
183
|
+
hash: -1672953919897120648
|
184
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: 1.3.6
|
190
|
+
requirements: []
|
191
|
+
rubyforge_project: publish_my_data
|
192
|
+
rubygems_version: 1.8.15
|
193
|
+
signing_key:
|
194
|
+
specification_version: 3
|
195
|
+
summary: PublishMyData Community Edition
|
196
|
+
test_files:
|
197
|
+
- spec/controllers/publish_my_data/datasets_controller_spec.rb
|
198
|
+
- spec/controllers/publish_my_data/resources_controller_spec.rb
|
199
|
+
- spec/controllers/publish_my_data/sparql_controller_spec.rb
|
200
|
+
- spec/dummy/app/assets/javascripts/application.js
|
201
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
202
|
+
- spec/dummy/app/controllers/application_controller.rb
|
203
|
+
- spec/dummy/app/helpers/application_helper.rb
|
204
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
205
|
+
- spec/dummy/config/application.rb
|
206
|
+
- spec/dummy/config/boot.rb
|
207
|
+
- spec/dummy/config/environment.rb
|
208
|
+
- spec/dummy/config/environments/development.rb
|
209
|
+
- spec/dummy/config/environments/production.rb
|
210
|
+
- spec/dummy/config/environments/test.rb
|
211
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
212
|
+
- spec/dummy/config/initializers/inflections.rb
|
213
|
+
- spec/dummy/config/initializers/mime_types.rb
|
214
|
+
- spec/dummy/config/initializers/secret_token.rb
|
215
|
+
- spec/dummy/config/initializers/session_store.rb
|
216
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
217
|
+
- spec/dummy/config/locales/en.yml
|
218
|
+
- spec/dummy/config/routes.rb
|
219
|
+
- spec/dummy/config.ru
|
220
|
+
- spec/dummy/log/development.log
|
221
|
+
- spec/dummy/log/test.log
|
222
|
+
- spec/dummy/public/404.html
|
223
|
+
- spec/dummy/public/422.html
|
224
|
+
- spec/dummy/public/500.html
|
225
|
+
- spec/dummy/public/favicon.ico
|
226
|
+
- spec/dummy/Rakefile
|
227
|
+
- spec/dummy/README.rdoc
|
228
|
+
- spec/dummy/script/rails
|
229
|
+
- spec/factories/dataset_factories.rb
|
230
|
+
- spec/factories/property_factories.rb
|
231
|
+
- spec/factories/resource_factories.rb
|
232
|
+
- spec/features/running_a_sparql_query_spec.rb
|
233
|
+
- spec/features/uri_dereferencing_flow_spec.rb
|
234
|
+
- spec/features/uri_dereferencing_spec.rb
|
235
|
+
- spec/features/viewing_a_def_spec.rb
|
236
|
+
- spec/features/viewing_a_doc_spec.rb
|
237
|
+
- spec/features/viewing_resource_not_in_our_domain_spec.rb
|
238
|
+
- spec/lib/publish_my_data/sparql_query_spec.rb
|
239
|
+
- spec/models/publish_my_data/dataset_spec.rb
|
240
|
+
- spec/models/publish_my_data/resource_spec.rb
|
241
|
+
- spec/renderers/publish_my_data/renderers_spec.rb
|
242
|
+
- spec/spec_helper.rb
|