ttl2html 0.2.1 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ttl2html.rb +3 -1
- data/lib/ttl2html/template.rb +1 -1
- data/lib/ttl2html/version.rb +1 -1
- data/lib/xlsx2shape.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb0589adeaf36033815a542a3bd97fc30d654957322d526783a5da6926e53e17
|
4
|
+
data.tar.gz: d11cb4f235afe13a7a0588c507eb619d421cd4eae9093fe62711e1523b4a1036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1a16d48e2ac1a8eca8e3c16680c167f59cc2be30e97f6b7c14134e69d0d300267d3b81615b593f4e9ebff646f97478cc3184b8ad371305fa6a1a107670ee38e
|
7
|
+
data.tar.gz: 33bf46e85a244c921278400d1918064ec1b220429cbf57f4d113177f224a146b469e920079fa81dc508715cbf8957b03df1714753ac29dd26dba6234c032c48d
|
data/lib/ttl2html.rb
CHANGED
@@ -126,6 +126,8 @@ module TTL2HTML
|
|
126
126
|
param[:title] = template.get_title(v)
|
127
127
|
if @data.keys.find{|e| e.start_with?(uri + "/") }
|
128
128
|
file = uri + "/index.html"
|
129
|
+
elsif uri.end_with?("/")
|
130
|
+
file = uri + "index.html"
|
129
131
|
else
|
130
132
|
file = uri + ".html"
|
131
133
|
end
|
@@ -150,7 +152,7 @@ module TTL2HTML
|
|
150
152
|
template = Template.new("index.html.erb", @config)
|
151
153
|
param = @config.dup
|
152
154
|
param[:data_global] = @data
|
153
|
-
subjects.each do |subject|
|
155
|
+
subjects.sort.each do |subject|
|
154
156
|
param[:index_data] ||= []
|
155
157
|
param[:index_data] << subject.to_s
|
156
158
|
end
|
data/lib/ttl2html/template.rb
CHANGED
@@ -128,7 +128,7 @@ module TTL2HTML
|
|
128
128
|
return get_language_literal(data[@param[:title_property]])
|
129
129
|
end
|
130
130
|
%w(
|
131
|
-
|
131
|
+
http://www.w3.org/2000/01/rdf-schema#label
|
132
132
|
http://purl.org/dc/terms/title
|
133
133
|
http://purl.org/dc/elements/1.1/title
|
134
134
|
http://schema.org/name
|
data/lib/ttl2html/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
TTL2HTML::VERSION = "0.2.
|
1
|
+
TTL2HTML::VERSION = "0.2.6"
|
data/lib/xlsx2shape.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ttl2html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masao Takaku
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|