publish_my_data 0.0.32 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/images/publish_my_data/small-spinner.gif +0 -0
- data/app/assets/images/publish_my_data/sort-asc.gif +0 -0
- data/app/assets/images/publish_my_data/sort-desc.gif +0 -0
- data/app/assets/javascripts/bootstrap/affix.js +126 -0
- data/app/assets/javascripts/bootstrap/alert.js +98 -0
- data/app/assets/javascripts/bootstrap/button.js +109 -0
- data/app/assets/javascripts/bootstrap/carousel.js +217 -0
- data/app/assets/javascripts/bootstrap/collapse.js +179 -0
- data/app/assets/javascripts/bootstrap/dropdown.js +154 -0
- data/app/assets/javascripts/bootstrap/modal.js +246 -0
- data/app/assets/javascripts/bootstrap/popover.js +117 -0
- data/app/assets/javascripts/bootstrap/scrollspy.js +158 -0
- data/app/assets/javascripts/bootstrap/tab.js +135 -0
- data/app/assets/javascripts/bootstrap/tooltip.js +386 -0
- data/app/assets/javascripts/bootstrap/transition.js +56 -0
- data/app/assets/javascripts/publish_my_data/grid/10_data-loader.js +142 -0
- data/app/assets/javascripts/publish_my_data/grid/20_cube-grid.js +512 -0
- data/app/assets/javascripts/publish_my_data/grid/30_cube-dimension.js +77 -0
- data/app/assets/javascripts/publish_my_data/grid/40_cube-dimension-dropdown.js +87 -0
- data/app/assets/javascripts/publish_my_data/grid/45_cube-dimension-label.js +58 -0
- data/app/assets/javascripts/publish_my_data/grid/50_cube-dimensions-controls.js +336 -0
- data/app/assets/javascripts/publish_my_data/grid/60_dataset_cube_grid.js +187 -0
- data/app/assets/javascripts/publish_my_data/grid/70_sparql_results_grid.js +135 -0
- data/app/assets/javascripts/publish_my_data/select_text.js +27 -0
- data/app/assets/javascripts/publish_my_data.js +3 -0
- data/app/assets/javascripts/slick_grid/10_event-drag.js +402 -0
- data/app/assets/javascripts/slick_grid/20_slick-core.js +458 -0
- data/app/assets/javascripts/slick_grid/30_slick-grid.js +3295 -0
- data/app/assets/stylesheets/bootstrap/_alerts.scss +67 -0
- data/app/assets/stylesheets/bootstrap/_badges.scss +51 -0
- data/app/assets/stylesheets/bootstrap/_breadcrumbs.scss +23 -0
- data/app/assets/stylesheets/bootstrap/_button-groups.scss +248 -0
- data/app/assets/stylesheets/bootstrap/_buttons.scss +160 -0
- data/app/assets/stylesheets/bootstrap/_carousel.scss +209 -0
- data/app/assets/stylesheets/bootstrap/_close.scss +33 -0
- data/app/assets/stylesheets/bootstrap/_code.scss +56 -0
- data/app/assets/stylesheets/bootstrap/_component-animations.scss +29 -0
- data/app/assets/stylesheets/bootstrap/_dropdowns.scss +194 -0
- data/app/assets/stylesheets/bootstrap/_forms.scss +350 -0
- data/app/assets/stylesheets/bootstrap/_glyphicons.scss +232 -0
- data/app/assets/stylesheets/bootstrap/_grid.scss +346 -0
- data/app/assets/stylesheets/bootstrap/_input-groups.scss +127 -0
- data/app/assets/stylesheets/bootstrap/_jumbotron.scss +40 -0
- data/app/assets/stylesheets/bootstrap/_labels.scss +58 -0
- data/app/assets/stylesheets/bootstrap/_list-group.scss +88 -0
- data/app/assets/stylesheets/bootstrap/_media.scss +56 -0
- data/app/assets/stylesheets/bootstrap/_mixins.scss +728 -0
- data/app/assets/stylesheets/bootstrap/_modals.scss +145 -0
- data/app/assets/stylesheets/bootstrap/_navbar.scss +625 -0
- data/app/assets/stylesheets/bootstrap/_navs.scss +229 -0
- data/app/assets/stylesheets/bootstrap/_normalize.scss +396 -0
- data/app/assets/stylesheets/bootstrap/_pager.scss +55 -0
- data/app/assets/stylesheets/bootstrap/_pagination.scss +83 -0
- data/app/assets/stylesheets/bootstrap/_panels.scss +148 -0
- data/app/assets/stylesheets/bootstrap/_popovers.scss +133 -0
- data/app/assets/stylesheets/bootstrap/_print.scss +100 -0
- data/app/assets/stylesheets/bootstrap/_progress-bars.scss +95 -0
- data/app/assets/stylesheets/bootstrap/_responsive-utilities.scss +209 -0
- data/app/assets/stylesheets/bootstrap/_scaffolding.scss +130 -0
- data/app/assets/stylesheets/bootstrap/_tables.scss +236 -0
- data/app/assets/stylesheets/bootstrap/_theme.scss +232 -0
- data/app/assets/stylesheets/bootstrap/_thumbnails.scss +31 -0
- data/app/assets/stylesheets/bootstrap/_tooltip.scss +95 -0
- data/app/assets/stylesheets/bootstrap/_type.scss +238 -0
- data/app/assets/stylesheets/bootstrap/_utilities.scss +42 -0
- data/app/assets/stylesheets/bootstrap/_variables.scss +620 -0
- data/app/assets/stylesheets/bootstrap/_wells.scss +29 -0
- data/app/assets/stylesheets/bootstrap/bootstrap.scss +59 -0
- data/app/assets/stylesheets/publish_my_data/core.scss +244 -0
- data/app/assets/stylesheets/publish_my_data/data_grid.scss +103 -0
- data/app/assets/stylesheets/publish_my_data/variables.scss +1 -0
- data/app/assets/stylesheets/{publish_my_data.css → publish_my_data.scss} +13 -2
- data/app/assets/stylesheets/slick_grid/slick_grid.scss +155 -0
- data/app/assets/stylesheets/slick_grid/slick_grid_default_theme.scss +97 -0
- data/app/controllers/concerns/publish_my_data/data_cube.rb +42 -0
- data/app/controllers/publish_my_data/data_cube/dimensions_controller.rb +58 -0
- data/app/controllers/publish_my_data/data_cube/observations_controller.rb +54 -0
- data/app/controllers/publish_my_data/datasets_controller.rb +0 -11
- data/app/controllers/publish_my_data/example_resources_controller.rb +11 -0
- data/app/controllers/publish_my_data/home_controller.rb +4 -0
- data/app/controllers/publish_my_data/information_resources_controller.rb +0 -13
- data/app/helpers/publish_my_data/application_helper.rb +66 -0
- data/app/helpers/publish_my_data/crumb_helper.rb +61 -0
- data/app/helpers/publish_my_data/datasets_helper.rb +31 -0
- data/app/helpers/publish_my_data/resources_helper.rb +24 -0
- data/app/models/concerns/publish_my_data/cube_results.rb +51 -0
- data/app/models/concerns/publish_my_data/dataset_powers.rb +13 -0
- data/app/models/publish_my_data/data_cube/cube.rb +358 -0
- data/app/models/publish_my_data/data_cube/dimension.rb +58 -0
- data/app/models/publish_my_data/vocabulary.rb +0 -4
- data/app/views/layouts/publish_my_data/application.html.haml +18 -0
- data/app/views/layouts/publish_my_data/error.html.haml +21 -0
- data/app/views/publish_my_data/classes/show.html.haml +28 -0
- data/app/views/publish_my_data/concept_schemes/show.html.haml +79 -0
- data/app/views/publish_my_data/concepts/show.html.haml +28 -0
- data/app/views/publish_my_data/data_cube/_controls.html.haml +19 -0
- data/app/views/publish_my_data/data_cube/_grid.html.haml +37 -0
- data/app/views/publish_my_data/datasets/_example_resources.html.haml +47 -0
- data/app/views/publish_my_data/datasets/_types_table.html.erb +33 -0
- data/app/views/publish_my_data/datasets/index.html.haml +32 -0
- data/app/views/publish_my_data/datasets/show.html.haml +186 -0
- data/app/views/publish_my_data/errors/not_found.html.haml +18 -0
- data/app/views/publish_my_data/errors/response_too_large.html.haml +16 -0
- data/app/views/publish_my_data/errors/timeout.html.haml +16 -0
- data/app/views/publish_my_data/errors/uncaught.html.haml +16 -0
- data/app/views/publish_my_data/example_resources/index.js.erb +1 -0
- data/app/views/publish_my_data/home/accessibility.html.haml +1 -0
- data/app/views/publish_my_data/home/docs.html.haml +1 -0
- data/app/views/publish_my_data/home/home.html.haml +5 -0
- data/app/views/publish_my_data/home/privacy.html.haml +1 -0
- data/app/views/publish_my_data/ontologies/show.html.haml +100 -0
- data/app/views/publish_my_data/properties/show.html.haml +28 -0
- data/app/views/publish_my_data/resources/_resource_data.html.haml +16 -0
- data/app/views/publish_my_data/resources/_sparql_section.html.haml +22 -0
- data/app/views/publish_my_data/resources/index.html.haml +37 -0
- data/app/views/publish_my_data/resources/show.html.haml +36 -0
- data/app/views/publish_my_data/shared/_browser_warning.html.haml +4 -0
- data/app/views/publish_my_data/shared/_deprecation_notice.html.haml +8 -0
- data/app/views/publish_my_data/shared/_footer.html.haml +11 -0
- data/app/views/publish_my_data/shared/_google_analytics.html.haml +11 -0
- data/app/views/publish_my_data/shared/_logo.html.haml +1 -0
- data/app/views/publish_my_data/shared/_meta_title.html.haml +2 -0
- data/app/views/publish_my_data/sparql/_form.html.haml +28 -0
- data/app/views/publish_my_data/sparql/_formats_dropdown.html.haml +11 -0
- data/app/views/publish_my_data/sparql/endpoint.html.haml +125 -0
- data/app/views/publish_my_data/sparql/formats_dropdowns/_ask.html.haml +7 -0
- data/app/views/publish_my_data/sparql/formats_dropdowns/_construct.html.haml +7 -0
- data/app/views/publish_my_data/sparql/formats_dropdowns/_describe.html.haml +1 -0
- data/app/views/publish_my_data/sparql/formats_dropdowns/_select.html.haml +9 -0
- data/app/views/publish_my_data/themes/index.html.haml +30 -0
- data/app/views/publish_my_data/themes/show.html.haml +43 -0
- data/config/routes.rb +20 -5
- data/lib/publish_my_data/version.rb +1 -1
- data/lib/publish_my_data.rb +7 -12
- data/spec/controllers/publish_my_data/datasets_controller_spec.rb +0 -75
- data/spec/controllers/publish_my_data/information_resources_controller_spec.rb +2 -11
- data/spec/dummy/config/environments/development.rb +0 -4
- data/spec/dummy/config/environments/test.rb +0 -4
- data/spec/dummy/log/test.log +62962 -0
- data/spec/dummy/tmp/cache/sass/e509ccd4d793d2c162d70125e9f3656b6c28f357/(__TEMPLATE__)c +0 -0
- data/spec/features/running_a_sparql_query_spec.rb +1 -1
- data/spec/features/uri_dereferencing_spec.rb +1 -1
- metadata +200 -58
- data/app/controllers/concerns/publish_my_data/data_download.rb +0 -22
- data/app/controllers/publish_my_data/vocabularies_controller.rb +0 -18
- data/app/views/layouts/publish_my_data/application.html.erb +0 -13
- data/app/views/layouts/publish_my_data/error.html.erb +0 -13
- data/app/views/publish_my_data/classes/show.html.erb +0 -3
- data/app/views/publish_my_data/concept_schemes/_concepts.html.erb +0 -18
- data/app/views/publish_my_data/concept_schemes/show.html.erb +0 -11
- data/app/views/publish_my_data/concepts/show.html.erb +0 -3
- data/app/views/publish_my_data/datasets/index.html.erb +0 -20
- data/app/views/publish_my_data/datasets/show.html.erb +0 -18
- data/app/views/publish_my_data/errors/not_found.html.erb +0 -1
- data/app/views/publish_my_data/errors/response_too_large.html.erb +0 -1
- data/app/views/publish_my_data/errors/timeout.html.erb +0 -1
- data/app/views/publish_my_data/errors/uncaught.html.erb +0 -6
- data/app/views/publish_my_data/ontologies/show.html.erb +0 -17
- data/app/views/publish_my_data/properties/show.html.erb +0 -3
- data/app/views/publish_my_data/resources/_predicates_table.html.erb +0 -30
- data/app/views/publish_my_data/resources/_predicates_table_head.html.erb +0 -6
- data/app/views/publish_my_data/resources/_resource_formats.html.erb +0 -4
- data/app/views/publish_my_data/resources/_summaries.html.erb +0 -18
- data/app/views/publish_my_data/resources/_uri_and_label.html.erb +0 -3
- data/app/views/publish_my_data/resources/index.html.erb +0 -40
- data/app/views/publish_my_data/resources/show.html.erb +0 -3
- data/app/views/publish_my_data/sparql/_ask_formats.html.erb +0 -3
- data/app/views/publish_my_data/sparql/_construct_formats.html.erb +0 -3
- data/app/views/publish_my_data/sparql/_describe_formats.html.erb +0 -1
- data/app/views/publish_my_data/sparql/_error_message.html.erb +0 -3
- data/app/views/publish_my_data/sparql/_form.html.erb +0 -4
- data/app/views/publish_my_data/sparql/_formats.html.erb +0 -6
- data/app/views/publish_my_data/sparql/_pagination.html.erb +0 -6
- data/app/views/publish_my_data/sparql/_results.html.erb +0 -5
- data/app/views/publish_my_data/sparql/_results_data.html.erb +0 -4
- data/app/views/publish_my_data/sparql/_select_formats.html.erb +0 -3
- data/app/views/publish_my_data/sparql/endpoint.html.erb +0 -10
- data/app/views/publish_my_data/themes/index.html.erb +0 -13
- data/app/views/publish_my_data/themes/show.html.erb +0 -15
- data/config/initializers/20_s3_setup.rb +0 -4
- data/spec/controllers/publish_my_data/vocabularies_controller_spec.rb +0 -14
- data/spec/support/data_download.rb +0 -60
Binary file
|
@@ -67,7 +67,7 @@ describe "A visitor dereferencing a URI" do
|
|
67
67
|
it "should render the 404 page with the right status" do
|
68
68
|
visit 'http://pmdtest.dev/foo/'
|
69
69
|
page.status_code.should == 404
|
70
|
-
page.should have_content 'Not
|
70
|
+
page.should have_content 'Resource Not Found'
|
71
71
|
end
|
72
72
|
|
73
73
|
end
|
metadata
CHANGED
@@ -1,23 +1,25 @@
|
|
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: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Ric Roberts
|
9
9
|
- Bill Roberts
|
10
|
+
- Ed Forshaw
|
10
11
|
- Asa Calow
|
12
|
+
- Ash Moran
|
11
13
|
- Tekin Suleyman
|
12
14
|
- Guy Hilton
|
13
15
|
autorequire:
|
14
16
|
bindir: bin
|
15
17
|
cert_chain: []
|
16
|
-
date: 2013-
|
18
|
+
date: 2013-09-14 00:00:00.000000000 Z
|
17
19
|
dependencies:
|
18
20
|
- !ruby/object:Gem::Dependency
|
19
21
|
name: rails
|
20
|
-
requirement: &
|
22
|
+
requirement: &70329792915900 !ruby/object:Gem::Requirement
|
21
23
|
none: false
|
22
24
|
requirements:
|
23
25
|
- - ~>
|
@@ -25,10 +27,10 @@ dependencies:
|
|
25
27
|
version: '3.2'
|
26
28
|
type: :runtime
|
27
29
|
prerelease: false
|
28
|
-
version_requirements: *
|
30
|
+
version_requirements: *70329792915900
|
29
31
|
- !ruby/object:Gem::Dependency
|
30
32
|
name: tripod
|
31
|
-
requirement: &
|
33
|
+
requirement: &70329792914780 !ruby/object:Gem::Requirement
|
32
34
|
none: false
|
33
35
|
requirements:
|
34
36
|
- - ~>
|
@@ -36,10 +38,10 @@ dependencies:
|
|
36
38
|
version: 0.7.22
|
37
39
|
type: :runtime
|
38
40
|
prerelease: false
|
39
|
-
version_requirements: *
|
41
|
+
version_requirements: *70329792914780
|
40
42
|
- !ruby/object:Gem::Dependency
|
41
43
|
name: rdf
|
42
|
-
requirement: &
|
44
|
+
requirement: &70329792914020 !ruby/object:Gem::Requirement
|
43
45
|
none: false
|
44
46
|
requirements:
|
45
47
|
- - ~>
|
@@ -47,10 +49,10 @@ dependencies:
|
|
47
49
|
version: '1.0'
|
48
50
|
type: :runtime
|
49
51
|
prerelease: false
|
50
|
-
version_requirements: *
|
52
|
+
version_requirements: *70329792914020
|
51
53
|
- !ruby/object:Gem::Dependency
|
52
54
|
name: aws-sdk
|
53
|
-
requirement: &
|
55
|
+
requirement: &70329792913320 !ruby/object:Gem::Requirement
|
54
56
|
none: false
|
55
57
|
requirements:
|
56
58
|
- - ! '>='
|
@@ -58,10 +60,10 @@ dependencies:
|
|
58
60
|
version: '0'
|
59
61
|
type: :runtime
|
60
62
|
prerelease: false
|
61
|
-
version_requirements: *
|
63
|
+
version_requirements: *70329792913320
|
62
64
|
- !ruby/object:Gem::Dependency
|
63
65
|
name: kaminari
|
64
|
-
requirement: &
|
66
|
+
requirement: &70329792912260 !ruby/object:Gem::Requirement
|
65
67
|
none: false
|
66
68
|
requirements:
|
67
69
|
- - ! '>='
|
@@ -69,10 +71,10 @@ dependencies:
|
|
69
71
|
version: '0'
|
70
72
|
type: :runtime
|
71
73
|
prerelease: false
|
72
|
-
version_requirements: *
|
74
|
+
version_requirements: *70329792912260
|
73
75
|
- !ruby/object:Gem::Dependency
|
74
76
|
name: rdiscount
|
75
|
-
requirement: &
|
77
|
+
requirement: &70329792911080 !ruby/object:Gem::Requirement
|
76
78
|
none: false
|
77
79
|
requirements:
|
78
80
|
- - ! '>='
|
@@ -80,7 +82,62 @@ dependencies:
|
|
80
82
|
version: '0'
|
81
83
|
type: :runtime
|
82
84
|
prerelease: false
|
83
|
-
version_requirements: *
|
85
|
+
version_requirements: *70329792911080
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: rails_autolink
|
88
|
+
requirement: &70329792910640 !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
type: :runtime
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: *70329792910640
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: haml-rails
|
99
|
+
requirement: &70329792909980 !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
101
|
+
requirements:
|
102
|
+
- - ! '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :runtime
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: *70329792909980
|
108
|
+
- !ruby/object:Gem::Dependency
|
109
|
+
name: jquery-rails
|
110
|
+
requirement: &70329792909120 !ruby/object:Gem::Requirement
|
111
|
+
none: false
|
112
|
+
requirements:
|
113
|
+
- - ! '>='
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
116
|
+
type: :runtime
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: *70329792909120
|
119
|
+
- !ruby/object:Gem::Dependency
|
120
|
+
name: sass-rails
|
121
|
+
requirement: &70329792924540 !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ! '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
type: :runtime
|
128
|
+
prerelease: false
|
129
|
+
version_requirements: *70329792924540
|
130
|
+
- !ruby/object:Gem::Dependency
|
131
|
+
name: entypo-rails
|
132
|
+
requirement: &70329792922940 !ruby/object:Gem::Requirement
|
133
|
+
none: false
|
134
|
+
requirements:
|
135
|
+
- - ! '>='
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0'
|
138
|
+
type: :runtime
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: *70329792922940
|
84
141
|
description: The PublishMyData Rails Engine. Create rails apps with Linked Data functionality.
|
85
142
|
email:
|
86
143
|
- ric@swirrl.com
|
@@ -88,29 +145,109 @@ executables: []
|
|
88
145
|
extensions: []
|
89
146
|
extra_rdoc_files: []
|
90
147
|
files:
|
148
|
+
- app/assets/images/publish_my_data/small-spinner.gif
|
149
|
+
- app/assets/images/publish_my_data/sort-asc.gif
|
150
|
+
- app/assets/images/publish_my_data/sort-desc.gif
|
151
|
+
- app/assets/javascripts/bootstrap/affix.js
|
152
|
+
- app/assets/javascripts/bootstrap/alert.js
|
153
|
+
- app/assets/javascripts/bootstrap/button.js
|
154
|
+
- app/assets/javascripts/bootstrap/carousel.js
|
155
|
+
- app/assets/javascripts/bootstrap/collapse.js
|
156
|
+
- app/assets/javascripts/bootstrap/dropdown.js
|
157
|
+
- app/assets/javascripts/bootstrap/modal.js
|
158
|
+
- app/assets/javascripts/bootstrap/popover.js
|
159
|
+
- app/assets/javascripts/bootstrap/scrollspy.js
|
160
|
+
- app/assets/javascripts/bootstrap/tab.js
|
161
|
+
- app/assets/javascripts/bootstrap/tooltip.js
|
162
|
+
- app/assets/javascripts/bootstrap/transition.js
|
163
|
+
- app/assets/javascripts/publish_my_data/grid/10_data-loader.js
|
164
|
+
- app/assets/javascripts/publish_my_data/grid/20_cube-grid.js
|
165
|
+
- app/assets/javascripts/publish_my_data/grid/30_cube-dimension.js
|
166
|
+
- app/assets/javascripts/publish_my_data/grid/40_cube-dimension-dropdown.js
|
167
|
+
- app/assets/javascripts/publish_my_data/grid/45_cube-dimension-label.js
|
168
|
+
- app/assets/javascripts/publish_my_data/grid/50_cube-dimensions-controls.js
|
169
|
+
- app/assets/javascripts/publish_my_data/grid/60_dataset_cube_grid.js
|
170
|
+
- app/assets/javascripts/publish_my_data/grid/70_sparql_results_grid.js
|
171
|
+
- app/assets/javascripts/publish_my_data/select_text.js
|
91
172
|
- app/assets/javascripts/publish_my_data.js
|
92
|
-
- app/assets/
|
93
|
-
- app/
|
173
|
+
- app/assets/javascripts/slick_grid/10_event-drag.js
|
174
|
+
- app/assets/javascripts/slick_grid/20_slick-core.js
|
175
|
+
- app/assets/javascripts/slick_grid/30_slick-grid.js
|
176
|
+
- app/assets/stylesheets/bootstrap/_alerts.scss
|
177
|
+
- app/assets/stylesheets/bootstrap/_badges.scss
|
178
|
+
- app/assets/stylesheets/bootstrap/_breadcrumbs.scss
|
179
|
+
- app/assets/stylesheets/bootstrap/_button-groups.scss
|
180
|
+
- app/assets/stylesheets/bootstrap/_buttons.scss
|
181
|
+
- app/assets/stylesheets/bootstrap/_carousel.scss
|
182
|
+
- app/assets/stylesheets/bootstrap/_close.scss
|
183
|
+
- app/assets/stylesheets/bootstrap/_code.scss
|
184
|
+
- app/assets/stylesheets/bootstrap/_component-animations.scss
|
185
|
+
- app/assets/stylesheets/bootstrap/_dropdowns.scss
|
186
|
+
- app/assets/stylesheets/bootstrap/_forms.scss
|
187
|
+
- app/assets/stylesheets/bootstrap/_glyphicons.scss
|
188
|
+
- app/assets/stylesheets/bootstrap/_grid.scss
|
189
|
+
- app/assets/stylesheets/bootstrap/_input-groups.scss
|
190
|
+
- app/assets/stylesheets/bootstrap/_jumbotron.scss
|
191
|
+
- app/assets/stylesheets/bootstrap/_labels.scss
|
192
|
+
- app/assets/stylesheets/bootstrap/_list-group.scss
|
193
|
+
- app/assets/stylesheets/bootstrap/_media.scss
|
194
|
+
- app/assets/stylesheets/bootstrap/_mixins.scss
|
195
|
+
- app/assets/stylesheets/bootstrap/_modals.scss
|
196
|
+
- app/assets/stylesheets/bootstrap/_navbar.scss
|
197
|
+
- app/assets/stylesheets/bootstrap/_navs.scss
|
198
|
+
- app/assets/stylesheets/bootstrap/_normalize.scss
|
199
|
+
- app/assets/stylesheets/bootstrap/_pager.scss
|
200
|
+
- app/assets/stylesheets/bootstrap/_pagination.scss
|
201
|
+
- app/assets/stylesheets/bootstrap/_panels.scss
|
202
|
+
- app/assets/stylesheets/bootstrap/_popovers.scss
|
203
|
+
- app/assets/stylesheets/bootstrap/_print.scss
|
204
|
+
- app/assets/stylesheets/bootstrap/_progress-bars.scss
|
205
|
+
- app/assets/stylesheets/bootstrap/_responsive-utilities.scss
|
206
|
+
- app/assets/stylesheets/bootstrap/_scaffolding.scss
|
207
|
+
- app/assets/stylesheets/bootstrap/_tables.scss
|
208
|
+
- app/assets/stylesheets/bootstrap/_theme.scss
|
209
|
+
- app/assets/stylesheets/bootstrap/_thumbnails.scss
|
210
|
+
- app/assets/stylesheets/bootstrap/_tooltip.scss
|
211
|
+
- app/assets/stylesheets/bootstrap/_type.scss
|
212
|
+
- app/assets/stylesheets/bootstrap/_utilities.scss
|
213
|
+
- app/assets/stylesheets/bootstrap/_variables.scss
|
214
|
+
- app/assets/stylesheets/bootstrap/_wells.scss
|
215
|
+
- app/assets/stylesheets/bootstrap/bootstrap.scss
|
216
|
+
- app/assets/stylesheets/publish_my_data/core.scss
|
217
|
+
- app/assets/stylesheets/publish_my_data/data_grid.scss
|
218
|
+
- app/assets/stylesheets/publish_my_data/variables.scss
|
219
|
+
- app/assets/stylesheets/publish_my_data.scss
|
220
|
+
- app/assets/stylesheets/slick_grid/slick_grid.scss
|
221
|
+
- app/assets/stylesheets/slick_grid/slick_grid_default_theme.scss
|
222
|
+
- app/controllers/concerns/publish_my_data/data_cube.rb
|
94
223
|
- app/controllers/concerns/publish_my_data/resource_rendering.rb
|
95
224
|
- app/controllers/concerns/publish_my_data/sparql_processing.rb
|
96
225
|
- app/controllers/publish_my_data/application_controller.rb
|
226
|
+
- app/controllers/publish_my_data/data_cube/dimensions_controller.rb
|
227
|
+
- app/controllers/publish_my_data/data_cube/observations_controller.rb
|
97
228
|
- app/controllers/publish_my_data/datasets_controller.rb
|
98
229
|
- app/controllers/publish_my_data/errors_controller.rb
|
230
|
+
- app/controllers/publish_my_data/example_resources_controller.rb
|
231
|
+
- app/controllers/publish_my_data/home_controller.rb
|
99
232
|
- app/controllers/publish_my_data/information_resources_controller.rb
|
100
233
|
- app/controllers/publish_my_data/queries_controller.rb
|
101
234
|
- app/controllers/publish_my_data/resources_controller.rb
|
102
235
|
- app/controllers/publish_my_data/sparql_controller.rb
|
103
236
|
- app/controllers/publish_my_data/themes_controller.rb
|
104
|
-
- app/controllers/publish_my_data/vocabularies_controller.rb
|
105
237
|
- app/helpers/publish_my_data/application_helper.rb
|
238
|
+
- app/helpers/publish_my_data/crumb_helper.rb
|
239
|
+
- app/helpers/publish_my_data/datasets_helper.rb
|
106
240
|
- app/helpers/publish_my_data/resources_helper.rb
|
107
241
|
- app/helpers/publish_my_data/sparql_helper.rb
|
108
242
|
- app/models/concerns/publish_my_data/all_features.rb
|
109
243
|
- app/models/concerns/publish_my_data/basic_features.rb
|
244
|
+
- app/models/concerns/publish_my_data/cube_results.rb
|
110
245
|
- app/models/concerns/publish_my_data/dataset_powers.rb
|
111
246
|
- app/models/concerns/publish_my_data/defined_by_ontology.rb
|
112
247
|
- app/models/publish_my_data/concept.rb
|
113
248
|
- app/models/publish_my_data/concept_scheme.rb
|
249
|
+
- app/models/publish_my_data/data_cube/cube.rb
|
250
|
+
- app/models/publish_my_data/data_cube/dimension.rb
|
114
251
|
- app/models/publish_my_data/dataset.rb
|
115
252
|
- app/models/publish_my_data/example_resource.rb
|
116
253
|
- app/models/publish_my_data/ontology.rb
|
@@ -122,43 +259,49 @@ files:
|
|
122
259
|
- app/models/publish_my_data/third_party/concept_scheme.rb
|
123
260
|
- app/models/publish_my_data/third_party/ontology.rb
|
124
261
|
- app/models/publish_my_data/vocabulary.rb
|
125
|
-
- app/views/layouts/publish_my_data/application.html.
|
126
|
-
- app/views/layouts/publish_my_data/error.html.
|
127
|
-
- app/views/publish_my_data/classes/show.html.
|
128
|
-
- app/views/publish_my_data/concept_schemes/
|
129
|
-
- app/views/publish_my_data/
|
130
|
-
- app/views/publish_my_data/
|
131
|
-
- app/views/publish_my_data/
|
132
|
-
- app/views/publish_my_data/datasets/
|
133
|
-
- app/views/publish_my_data/
|
134
|
-
- app/views/publish_my_data/
|
135
|
-
- app/views/publish_my_data/
|
136
|
-
- app/views/publish_my_data/errors/
|
137
|
-
- app/views/publish_my_data/
|
138
|
-
- app/views/publish_my_data/
|
139
|
-
- app/views/publish_my_data/
|
140
|
-
- app/views/publish_my_data/
|
141
|
-
- app/views/publish_my_data/
|
142
|
-
- app/views/publish_my_data/
|
143
|
-
- app/views/publish_my_data/
|
144
|
-
- app/views/publish_my_data/
|
145
|
-
- app/views/publish_my_data/
|
146
|
-
- app/views/publish_my_data/
|
147
|
-
- app/views/publish_my_data/
|
148
|
-
- app/views/publish_my_data/
|
149
|
-
- app/views/publish_my_data/
|
150
|
-
- app/views/publish_my_data/
|
151
|
-
- app/views/publish_my_data/
|
152
|
-
- app/views/publish_my_data/
|
153
|
-
- app/views/publish_my_data/
|
154
|
-
- app/views/publish_my_data/
|
155
|
-
- app/views/publish_my_data/
|
156
|
-
- app/views/publish_my_data/
|
157
|
-
- app/views/publish_my_data/
|
158
|
-
- app/views/publish_my_data/
|
262
|
+
- app/views/layouts/publish_my_data/application.html.haml
|
263
|
+
- app/views/layouts/publish_my_data/error.html.haml
|
264
|
+
- app/views/publish_my_data/classes/show.html.haml
|
265
|
+
- app/views/publish_my_data/concept_schemes/show.html.haml
|
266
|
+
- app/views/publish_my_data/concepts/show.html.haml
|
267
|
+
- app/views/publish_my_data/data_cube/_controls.html.haml
|
268
|
+
- app/views/publish_my_data/data_cube/_grid.html.haml
|
269
|
+
- app/views/publish_my_data/datasets/_example_resources.html.haml
|
270
|
+
- app/views/publish_my_data/datasets/_types_table.html.erb
|
271
|
+
- app/views/publish_my_data/datasets/index.html.haml
|
272
|
+
- app/views/publish_my_data/datasets/show.html.haml
|
273
|
+
- app/views/publish_my_data/errors/not_found.html.haml
|
274
|
+
- app/views/publish_my_data/errors/response_too_large.html.haml
|
275
|
+
- app/views/publish_my_data/errors/timeout.html.haml
|
276
|
+
- app/views/publish_my_data/errors/uncaught.html.haml
|
277
|
+
- app/views/publish_my_data/example_resources/index.js.erb
|
278
|
+
- app/views/publish_my_data/home/accessibility.html.haml
|
279
|
+
- app/views/publish_my_data/home/docs.html.haml
|
280
|
+
- app/views/publish_my_data/home/home.html.haml
|
281
|
+
- app/views/publish_my_data/home/privacy.html.haml
|
282
|
+
- app/views/publish_my_data/ontologies/show.html.haml
|
283
|
+
- app/views/publish_my_data/properties/show.html.haml
|
284
|
+
- app/views/publish_my_data/resources/_resource_data.html.haml
|
285
|
+
- app/views/publish_my_data/resources/_sparql_section.html.haml
|
286
|
+
- app/views/publish_my_data/resources/index.html.haml
|
287
|
+
- app/views/publish_my_data/resources/show.html.haml
|
288
|
+
- app/views/publish_my_data/shared/_browser_warning.html.haml
|
289
|
+
- app/views/publish_my_data/shared/_deprecation_notice.html.haml
|
290
|
+
- app/views/publish_my_data/shared/_footer.html.haml
|
291
|
+
- app/views/publish_my_data/shared/_google_analytics.html.haml
|
292
|
+
- app/views/publish_my_data/shared/_logo.html.haml
|
293
|
+
- app/views/publish_my_data/shared/_meta_title.html.haml
|
294
|
+
- app/views/publish_my_data/sparql/_form.html.haml
|
295
|
+
- app/views/publish_my_data/sparql/_formats_dropdown.html.haml
|
296
|
+
- app/views/publish_my_data/sparql/endpoint.html.haml
|
297
|
+
- app/views/publish_my_data/sparql/formats_dropdowns/_ask.html.haml
|
298
|
+
- app/views/publish_my_data/sparql/formats_dropdowns/_construct.html.haml
|
299
|
+
- app/views/publish_my_data/sparql/formats_dropdowns/_describe.html.haml
|
300
|
+
- app/views/publish_my_data/sparql/formats_dropdowns/_select.html.haml
|
301
|
+
- app/views/publish_my_data/themes/index.html.haml
|
302
|
+
- app/views/publish_my_data/themes/show.html.haml
|
159
303
|
- config/initializers/00_tripod.rb
|
160
304
|
- config/initializers/10_vocabularies.rb
|
161
|
-
- config/initializers/20_s3_setup.rb
|
162
305
|
- config/routes.rb
|
163
306
|
- lib/publish_my_data/engine.rb
|
164
307
|
- lib/publish_my_data/paginator.rb
|
@@ -176,7 +319,6 @@ files:
|
|
176
319
|
- spec/controllers/publish_my_data/resources_controller_spec.rb
|
177
320
|
- spec/controllers/publish_my_data/sparql_controller_spec.rb
|
178
321
|
- spec/controllers/publish_my_data/themes_controller_spec.rb
|
179
|
-
- spec/controllers/publish_my_data/vocabularies_controller_spec.rb
|
180
322
|
- spec/dummy/app/assets/javascripts/application.js
|
181
323
|
- spec/dummy/app/assets/stylesheets/application.css
|
182
324
|
- spec/dummy/app/controllers/application_controller.rb
|
@@ -206,6 +348,7 @@ files:
|
|
206
348
|
- spec/dummy/Rakefile
|
207
349
|
- spec/dummy/README.rdoc
|
208
350
|
- spec/dummy/script/rails
|
351
|
+
- spec/dummy/tmp/cache/sass/e509ccd4d793d2c162d70125e9f3656b6c28f357/(__TEMPLATE__)c
|
209
352
|
- spec/factories/00_theme_factories.rb
|
210
353
|
- spec/factories/concept_scheme_factories.rb
|
211
354
|
- spec/factories/dataset_factories.rb
|
@@ -231,10 +374,10 @@ files:
|
|
231
374
|
- spec/models/publish_my_data/third_party_ontology_spec.rb
|
232
375
|
- spec/spec_helper.rb
|
233
376
|
- spec/support/all_features.rb
|
234
|
-
- spec/support/data_download.rb
|
235
377
|
- spec/support/vocabularies.rb
|
236
378
|
homepage: http://github.com/Swirrl/publish_my_data
|
237
|
-
licenses:
|
379
|
+
licenses:
|
380
|
+
- MIT
|
238
381
|
post_install_message:
|
239
382
|
rdoc_options: []
|
240
383
|
require_paths:
|
@@ -247,7 +390,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
247
390
|
version: '0'
|
248
391
|
segments:
|
249
392
|
- 0
|
250
|
-
hash:
|
393
|
+
hash: 3412882275436729677
|
251
394
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
395
|
none: false
|
253
396
|
requirements:
|
@@ -266,7 +409,6 @@ test_files:
|
|
266
409
|
- spec/controllers/publish_my_data/resources_controller_spec.rb
|
267
410
|
- spec/controllers/publish_my_data/sparql_controller_spec.rb
|
268
411
|
- spec/controllers/publish_my_data/themes_controller_spec.rb
|
269
|
-
- spec/controllers/publish_my_data/vocabularies_controller_spec.rb
|
270
412
|
- spec/dummy/app/assets/javascripts/application.js
|
271
413
|
- spec/dummy/app/assets/stylesheets/application.css
|
272
414
|
- spec/dummy/app/controllers/application_controller.rb
|
@@ -296,6 +438,7 @@ test_files:
|
|
296
438
|
- spec/dummy/Rakefile
|
297
439
|
- spec/dummy/README.rdoc
|
298
440
|
- spec/dummy/script/rails
|
441
|
+
- spec/dummy/tmp/cache/sass/e509ccd4d793d2c162d70125e9f3656b6c28f357/(__TEMPLATE__)c
|
299
442
|
- spec/factories/00_theme_factories.rb
|
300
443
|
- spec/factories/concept_scheme_factories.rb
|
301
444
|
- spec/factories/dataset_factories.rb
|
@@ -321,5 +464,4 @@ test_files:
|
|
321
464
|
- spec/models/publish_my_data/third_party_ontology_spec.rb
|
322
465
|
- spec/spec_helper.rb
|
323
466
|
- spec/support/all_features.rb
|
324
|
-
- spec/support/data_download.rb
|
325
467
|
- spec/support/vocabularies.rb
|
@@ -1,22 +0,0 @@
|
|
1
|
-
module PublishMyData
|
2
|
-
module DataDownload
|
3
|
-
def find_latest_download_url_for_resource(resource)
|
4
|
-
# find the latest download for this dataset
|
5
|
-
# Note: filenames on s3 take the format: "<prefix>_<slug>_<time>.nt.zip"
|
6
|
-
# Only look for ones that were made on the same day as the the modified date, to restrict the results
|
7
|
-
# (v. small possibility of errors for changes aroung midnight, but unlikely people will be changing datasets then anyway!)
|
8
|
-
s3 = AWS::S3.new
|
9
|
-
downloads = s3.buckets[PublishMyData.downloads_s3_bucket].objects.with_prefix(resource.download_prefix).to_a
|
10
|
-
|
11
|
-
download_url = nil
|
12
|
-
if downloads.any?
|
13
|
-
download_url = downloads.last.public_url.to_s
|
14
|
-
end
|
15
|
-
download_url
|
16
|
-
end
|
17
|
-
|
18
|
-
def type_for_resource(resource)
|
19
|
-
resource.class.name.demodulize.underscore # ontology, concept_scheme or vocabulary
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
require_dependency "publish_my_data/application_controller"
|
2
|
-
|
3
|
-
module PublishMyData
|
4
|
-
class VocabulariesController < ApplicationController
|
5
|
-
include PublishMyData::DataDownload
|
6
|
-
|
7
|
-
def dump
|
8
|
-
vocabulary = Vocabulary.find_by_data_dump(request.url)
|
9
|
-
|
10
|
-
# if we can't find a current download it's cos we haven't generated it yet since ds was modified
|
11
|
-
# ... and we should 404.
|
12
|
-
url = find_latest_download_url_for_resource(vocabulary)
|
13
|
-
raise Tripod::Errors::ResourceNotFound unless url
|
14
|
-
|
15
|
-
redirect_to url
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>PublishMyData</title>
|
5
|
-
<%= stylesheet_link_tag "publish_my_data/application", :media => "all" %>
|
6
|
-
<%= javascript_include_tag "publish_my_data/application" %>
|
7
|
-
</head>
|
8
|
-
<body>
|
9
|
-
|
10
|
-
<%= yield %>
|
11
|
-
|
12
|
-
</body>
|
13
|
-
</html>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>PublishMyData - Error</title>
|
5
|
-
<%= stylesheet_link_tag "publish_my_data/application", :media => "all" %>
|
6
|
-
<%= javascript_include_tag "publish_my_data/application" %>
|
7
|
-
</head>
|
8
|
-
<body>
|
9
|
-
|
10
|
-
<%= yield %>
|
11
|
-
|
12
|
-
</body>
|
13
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<table>
|
2
|
-
<thead>
|
3
|
-
<tr><th><%= pluralize concepts.length, 'concept' %></th></tr>
|
4
|
-
</thead>
|
5
|
-
<tbody>
|
6
|
-
<% concepts.each do |c| %>
|
7
|
-
<tr>
|
8
|
-
<td class="details">
|
9
|
-
<hgroup>
|
10
|
-
<h3><%= c.label %><br/></h3>
|
11
|
-
<%= link_to c.uri.to_s, c.uri.to_s %>
|
12
|
-
</hgroup>
|
13
|
-
<section><%= c.comment %></section>
|
14
|
-
</td>
|
15
|
-
</tr>
|
16
|
-
<% end %>
|
17
|
-
</tbody>
|
18
|
-
</table>
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<h1>Concept Scheme: <%= concept_scheme.label || concept_scheme.uri %></h1>
|
2
|
-
|
3
|
-
<%= concept_scheme.description %>
|
4
|
-
|
5
|
-
<h2>Overview</h2>
|
6
|
-
<%= render 'publish_my_data/resources/predicates_table', resource: concept_scheme %>
|
7
|
-
|
8
|
-
<h2>Concepts</h2>
|
9
|
-
<%= render 'publish_my_data/concept_schemes/concepts', concepts: concept_scheme.concepts %>
|
10
|
-
|
11
|
-
<%= render 'publish_my_data/resources/resource_formats', :resource => concept_scheme, :resource_descriptor => 'concept scheme' %>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<h1>datasets index</h1>
|
2
|
-
|
3
|
-
<% if @theme %>
|
4
|
-
Datasets in theme: <%= @theme %>
|
5
|
-
<br/><br/>
|
6
|
-
<% end %>
|
7
|
-
|
8
|
-
<% @datasets.each do |d| %>
|
9
|
-
<%= link_to d.title, d %> <br/>
|
10
|
-
<% end %>
|
11
|
-
|
12
|
-
<%= paginate @datasets %>
|
13
|
-
|
14
|
-
<br/>
|
15
|
-
|
16
|
-
Get this list as:
|
17
|
-
<%= link_to 'N-triples', :format => 'nt', :page => @pagination_params.page, :per_page => @pagination_params.per_page %>
|
18
|
-
<%= link_to 'Turtle', :format => 'ttl', :page => @pagination_params.page, :per_page => @pagination_params.per_page %>
|
19
|
-
<%= link_to 'RDF/XML', :format => 'rdf',:page => @pagination_params.page, :per_page => @pagination_params.per_page %>
|
20
|
-
<%= link_to 'JSON', :format => 'json', :page => @pagination_params.page, :per_page => @pagination_params.per_page %>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<h1>Dataset: <%= dataset.title %></h1>
|
2
|
-
|
3
|
-
<%= dataset.description %>
|
4
|
-
|
5
|
-
<h2> Types in this ds</h2>
|
6
|
-
|
7
|
-
<% dataset.types.each do |t| %>
|
8
|
-
<%= link_to t.label || t.uri, resource_path_from_uri(t.uri) %>
|
9
|
-
(<%= link_to "#{dataset.type_count(t)} resources", list_resources_path(dataset: dataset.slug, type_uri: t.uri)%>)
|
10
|
-
<br/>
|
11
|
-
<% end %>
|
12
|
-
|
13
|
-
<br/>
|
14
|
-
Get this page as:
|
15
|
-
<%= link_to 'N-triples', format: 'nt' %>
|
16
|
-
<%= link_to 'Turtle', format: 'ttl' %>
|
17
|
-
<%= link_to 'RDF/XML', format: 'rdf' %>
|
18
|
-
<%= link_to 'JSON', format: 'json' %>
|
@@ -1 +0,0 @@
|
|
1
|
-
<h1>Not found</h1>
|
@@ -1 +0,0 @@
|
|
1
|
-
<h1>Response too large</h1>
|
@@ -1 +0,0 @@
|
|
1
|
-
<h1>Timeout</h1>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<h1>Ontology <%= ontology.label || ontology.uri %></h1>
|
2
|
-
|
3
|
-
<%= ontology.description %>
|
4
|
-
|
5
|
-
<h2>Overview</h2>
|
6
|
-
<%= render 'publish_my_data/resources/predicates_table', resource: ontology %>
|
7
|
-
|
8
|
-
<h3>Classes</h3>
|
9
|
-
<%= render 'publish_my_data/resources/summaries', :resources => ontology.classes %>
|
10
|
-
|
11
|
-
<h3>Properties</h3>
|
12
|
-
<%= render 'publish_my_data/resources/summaries', :resources => ontology.properties %>
|
13
|
-
|
14
|
-
<br/><br/>
|
15
|
-
|
16
|
-
Get this ontology as:
|
17
|
-
<%= render 'publish_my_data/resources/resource_formats', :resource => ontology, :resource_descriptor => "ontology" %>
|