ontopia-tldr 0.1.1-java → 0.1.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/README +1 -1
- data/Rakefile +1 -1
- data/lib/ontopia/tldr.rb +6 -6
- data/lib/ontopia/tldr/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 399d35b31865b3c83951f878e42bb8126faa6457
|
4
|
+
data.tar.gz: eab5b420bd259fe24772cc4685d45ba4fc7e9ef6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e9516d8349378878218bf2bbdff6028638a0786c11e16438a5e21c26c3c6e748521ce8383242cfa4e2836e71ccf4afd45dd5919e467cfe7edb88275265b210a
|
7
|
+
data.tar.gz: 293062374592dc28f786cd4a39284869f1e0df24b0cfb7ec72ab8aee222391bdb51c3ae85a2d7eedbf4276aa57723a082a2177a63b6315815c2b7969d0746a9b
|
data/ChangeLog
CHANGED
data/README
CHANGED
data/Rakefile
CHANGED
data/lib/ontopia/tldr.rb
CHANGED
@@ -273,24 +273,24 @@ select $TYPE, $TOPIC from
|
|
273
273
|
|
274
274
|
def render_topics(topics = @topics)
|
275
275
|
ul_(topics.sort, id: :topics) { |topic|
|
276
|
-
|
276
|
+
[link_to_topic(topic),
|
277
277
|
' (', settings.topic_index[topic].size, ')',
|
278
|
-
'data-index' => topic_to_s(topic).downcase
|
278
|
+
'data-index' => topic_to_s(topic).downcase]
|
279
279
|
}
|
280
280
|
end
|
281
281
|
|
282
282
|
def render_documents(documents = @documents)
|
283
283
|
ul_(documents.sort_by { |k,| k }, id: :documents) { |id, doc|
|
284
|
-
|
285
|
-
'data-index' => doc_to_s(id, doc).downcase
|
284
|
+
[link_to_document(id, doc),
|
285
|
+
'data-index' => doc_to_s(id, doc).downcase]
|
286
286
|
}
|
287
287
|
end
|
288
288
|
|
289
289
|
def render_topics_hash(hash)
|
290
290
|
ul_(hash.map { |k, v| [topic_to_s(k), k, v] }.sort) { |name, key, value|
|
291
|
-
|
291
|
+
[link_to_topic(key, name),
|
292
292
|
value.is_a?(Hash) ? render_topics_hash(value) :
|
293
|
-
ul_(value.sort.uniq) { |topic|
|
293
|
+
ul_(value.sort.uniq) { |topic| link_to_topic(topic) }]
|
294
294
|
}
|
295
295
|
end
|
296
296
|
|
data/lib/ontopia/tldr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ontopia-tldr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: midos
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.2'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
60
|
+
version: '0.2'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: hen
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,13 +123,13 @@ licenses:
|
|
123
123
|
metadata: {}
|
124
124
|
post_install_message: |2+
|
125
125
|
|
126
|
-
ontopia-tldr-0.1.
|
126
|
+
ontopia-tldr-0.1.2 [2015-11-18]:
|
127
127
|
|
128
|
-
*
|
128
|
+
* Updated for sinatra-bells 0.2.
|
129
129
|
|
130
130
|
rdoc_options:
|
131
131
|
- "--title"
|
132
|
-
- ontopia-tldr Application documentation (v0.1.
|
132
|
+
- ontopia-tldr Application documentation (v0.1.2)
|
133
133
|
- "--charset"
|
134
134
|
- UTF-8
|
135
135
|
- "--line-numbers"
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
152
|
rubyforge_project:
|
153
|
-
rubygems_version: 2.
|
153
|
+
rubygems_version: 2.5.0
|
154
154
|
signing_key:
|
155
155
|
specification_version: 4
|
156
156
|
summary: Tolog Document Retrieval with Ontopia.
|