utopia-project 0.17.0 → 0.17.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be0c2350cacbd53815de1f283c95df475ae786f5d379b78b8df034a257493067
4
- data.tar.gz: e6d9f96489ce00b15ba31c978d9ffb1441517493fe347260d4d219f22312acb8
3
+ metadata.gz: a6176970e81e3db9ebf924a9eed9861a31138b43d6db9a29054856abd87e154f
4
+ data.tar.gz: 3a367e385bcdc566400ab235bbf291ad58165f03593a5e0f9ab1800df605b697
5
5
  SHA512:
6
- metadata.gz: c02ab81cd31c07845f7a512b412502ee68103c66f65e489ece1679bad12f1aa8fd678e354371bf9c18473a181915a992a964ce27809faaf5c6c1a5b59396f48d
7
- data.tar.gz: e0c6f7b404f2b42f246e4facaec7cfca848be34d5f54a15418ae579bf2a75f893f51d34d701fc7b4f1b75205057da86a595d56aec4fd9f2ab8b14133fd0edb75
6
+ metadata.gz: e37cf4cbe1dfd1d7301bab29990c71363970afc6c339991bd0de327cdbd875f2adef1b2802904d0a77ac96c41c7d297f87b7fe61e393645edab294d2936abe57
7
+ data.tar.gz: edad3d8c936317fa48d03dbafb4294e8c9d0115700bbedad69d296f735cbff7122e50e501b032a5f2b069851532a22d709388652276c061c4ea60506519b3e68
checksums.yaml.gz.sig CHANGED
Binary file
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Utopia
24
24
  module Project
25
- VERSION = "0.17.0"
25
+ VERSION = "0.17.4"
26
26
  end
27
27
  end
@@ -9,9 +9,9 @@ pragmas = documentation&.filter(Decode::Comment::Pragma).to_a
9
9
  if pragmas&.any? ?>
10
10
  <ul class="pragmas #{attributes[:class]}">
11
11
  <?r pragmas.each do |pragma| ?>
12
- <li class="pragma #{pragma.directive}" title="#{pragma.text.first}">
12
+ <li class="pragma #{pragma.directive}" title="#{pragma.text&.first}">
13
13
  #{pragma.directive}
14
14
  </li>
15
15
  <?r end ?>
16
16
  </ul>
17
- <?r end ?>
17
+ <?r end ?>
@@ -3,7 +3,7 @@
3
3
  symbol = self[:symbol]
4
4
  documentation = symbol&.documentation
5
5
 
6
- if documentation.children?
6
+ if documentation&.children?
7
7
  ?>
8
8
  <details open>
9
9
  <summary><h4>Signature</h4></summary>
@@ -37,4 +37,4 @@
37
37
  </details>
38
38
  <?r
39
39
  end
40
- ?>
40
+ ?>
@@ -14,5 +14,9 @@ on '**/*/index' do |request, path|
14
14
 
15
15
  @node, @symbol = @base.lookup(lexical_path)
16
16
 
17
+ unless @symbol
18
+ fail! :not_found
19
+ end
20
+
17
21
  path.components = ["show"]
18
- end
22
+ end
@@ -9,8 +9,8 @@
9
9
  <?r
10
10
  if document = base.document_for(symbol)
11
11
  ?>#{document.to_html}<?r
12
- elsif documentation = symbol.documentation
13
- ?>#{base.format(documentation.text.join("\n"), symbol)}<?r
12
+ elsif text = symbol.documentation&.text
13
+ ?>#{base.format(text.join("\n"), symbol)}<?r
14
14
  end
15
15
  ?>
16
16
 
@@ -63,4 +63,4 @@
63
63
  </section>
64
64
 
65
65
  <content:discuss/>
66
- </content:page>
66
+ </content:page>
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utopia-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -36,7 +36,7 @@ cert_chain:
36
36
  RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
37
37
  HiLJ8VOFx6w=
38
38
  -----END CERTIFICATE-----
39
- date: 2021-09-19 00:00:00.000000000 Z
39
+ date: 2021-12-25 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decode
@@ -328,7 +328,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
328
328
  - !ruby/object:Gem::Version
329
329
  version: '0'
330
330
  requirements: []
331
- rubygems_version: 3.1.6
331
+ rubygems_version: 3.3.3
332
332
  signing_key:
333
333
  specification_version: 4
334
334
  summary: A project documentation tool based on Utopia.
metadata.gz.sig CHANGED
Binary file