utopia-project 0.15.3 → 0.15.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: 328a7d6f0c1c504487c9d6bd1819b76c00b43710ab7723599efbe192da2147a1
4
- data.tar.gz: 7ca0ce6e72b8ee1098b5dfd4e030115a2486da727d2c05c37c0e8183c39ffc2b
3
+ metadata.gz: 2b57a18176afa9434511f28f02302fee700be285f2b758619354753af53577a3
4
+ data.tar.gz: 6ae9b2ef4860fcf69a94fa374f45e593398888e14410b0dc646e0823f9b4feee
5
5
  SHA512:
6
- metadata.gz: 23412ec5df8a024bcd82bd9ff383304ba1f1c95ee781e5ec7c166ad96186d1d7b776e74ede14a40dd446a2a8e55f21bf5f90cbc68c406b78c70ad666f470a031
7
- data.tar.gz: 03abc625c0f905a5e3e438454aa2aea1bdccd8fda1e8407d40ada29fc995fc7fc19b3f28ad07aee672234fab87e5f63bd8113383f3e160ce187cb3eb9f1183a9
6
+ metadata.gz: 63d9424f566e31010506ab7cef1dacd28495967d86ac08c29dec93bb11158c4c43fd7751e3adb920e4df1f4d14d3e941d9dce612530dc62ba37640098d520dd4
7
+ data.tar.gz: cca320d9ebdb86b78e6b8f655028ef0e3978776f2df6f300dd4f693b0225e447a81a28c3eb1f1601fae58eef2962afcde674b13b3bb4de899a2a36d53c1d94d1
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Utopia
24
24
  module Project
25
- VERSION = "0.15.3"
25
+ VERSION = "0.15.4"
26
26
  end
27
27
  end
@@ -7,13 +7,10 @@ documentation = symbol.documentation
7
7
  pragmas = documentation&.filter(Decode::Comment::Pragma).to_a
8
8
 
9
9
  if pragmas&.any? ?>
10
- <ul class="pragmas">
10
+ <ul class="pragmas #{attributes[:class]}">
11
11
  <?r pragmas.each do |pragma| ?>
12
12
  <li class="pragma #{pragma.directive}">
13
13
  <span class="directive">#{pragma.directive}</span>
14
- <?r if text = pragma.text ?>
15
- <span class="details">#{base.format(text.first, symbol, tight: true)}</span>
16
- <?r end ?>
17
14
  </li>
18
15
  <?r end ?>
19
16
  </ul>
@@ -10,7 +10,6 @@
10
10
  <dl><?r
11
11
  documentation.traverse do |node, descend|
12
12
  node.each do |child|
13
- next if child.is_a?(Decode::Comment::Pragma)
14
13
  ?><dt>
15
14
  <strong>#{child.directive}</strong><?r
16
15
  case child
@@ -14,6 +14,8 @@
14
14
  <?r if symbol.container? ?>
15
15
  <a href="#{base.link_for(symbol)}"><code class="language-#{symbol.language.name}">#{symbol.long_form}</code></a>
16
16
 
17
+ #{partial 'content:pragmas', symbol: symbol, class: 'inline'}
18
+
17
19
  <?r if documentation and text = documentation.text ?>
18
20
  #{base.format(text.first, symbol)}
19
21
  <?r end ?>
@@ -6,7 +6,7 @@
6
6
  ?>
7
7
  <content:heading><code class="language-#{symbol.language.name}">#{symbol.qualified_name}</code></content:heading>
8
8
 
9
- #{partial 'content:pragmas', symbol: symbol}
9
+ #{partial 'content:signature', symbol: symbol}
10
10
 
11
11
  <?r
12
12
  if document = base.document_for(symbol)
@@ -267,6 +267,10 @@ ul.pragmas {
267
267
  font-size: 80%;
268
268
  }
269
269
 
270
+ ul.pragmas.inline {
271
+ display: inline;
272
+ }
273
+
270
274
  ul.pragmas .directive {
271
275
  font-weight: bold;
272
276
  }
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.15.3
4
+ version: 0.15.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams