publish_my_data 1.3.24 → 1.3.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@
7
7
  This is a linked data dataset containing
8
8
  %strong
9
9
  - if (resource.size)
10
- = number_to_human(resource.size).downcase
10
+ = number_with_delimiter(resource.size)
11
11
  RDF triples about the topic, which can be queried using our <a href="/docs#ways-to-access-data">APIs</a> or <a href="/sparql">SPARQL endpoint</a>.
12
12
  %p{style:"margin-bottom:24px;"}
13
13
  RDF triples in datasets are updated atomically, and share descriptive metadata.
@@ -3,6 +3,12 @@
3
3
  - page_kind 'themed list of datasets'
4
4
  - set_pmd_page_class 'theme'
5
5
 
6
+ - format_options = {only_path:false, page: @pagination_params.page, per_page: @pagination_params.per_page}
7
+ - additional_format('N-triples', url_for(format_options.merge(format: 'nt')))
8
+ - additional_format('Turtle', url_for(format_options.merge(format: 'ttl')))
9
+ - additional_format('RDF/XML', url_for(format_options.merge(format: 'rdf')))
10
+ - additional_format('JSON', url_for(format_options.merge(format: 'json')))
11
+
6
12
  %header
7
13
  = fullwidth do
8
14
  = badge("theme")
@@ -1,3 +1,3 @@
1
1
  module PublishMyData
2
- VERSION = "1.3.24"
2
+ VERSION = "1.3.25"
3
3
  end
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: 1.3.24
4
+ version: 1.3.25
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -543,7 +543,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
543
543
  version: '0'
544
544
  segments:
545
545
  - 0
546
- hash: 1559180828901413297
546
+ hash: -4039090137328981127
547
547
  required_rubygems_version: !ruby/object:Gem::Requirement
548
548
  none: false
549
549
  requirements: