utopia-project 0.28.0 → 0.28.1

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: b31386125a2a1880b8d162ff278234e5c969b5ad658639e93ecf543b259b55d5
4
- data.tar.gz: 35cab271274f82f93153d527631c3798342c5f08e2dd8a1e317a521730b89866
3
+ metadata.gz: d0591e6fd134a4db7b7d5cb2aa3544d95d0c4d735b2a8bbcc8641680ed0a989c
4
+ data.tar.gz: 18dff4e63c0f516141956f096fe4fb01126f96b25241d2f98350265ec98a03a3
5
5
  SHA512:
6
- metadata.gz: 98738871025a6afa851a009f41ea8a4d8cd47b54ace8ecf64fce5fe78b90e31e8bf0923ce9bed3ee2cd18de1a69e92e0b01d22ca61542dc68ed5d969c428758a
7
- data.tar.gz: 96fa148979e16c1cea5d46c9ff8e669c4588b8183d47005bf6d3f41484aca4013232127c4dcbfea4dd12b7b2388895e35f70d83695ae1bcad72416d190967c18
6
+ metadata.gz: 7a3a2f447e0aaec0d45e16a2be94984d6f86563205a7f0eed7cd47473364dead009b7fcaf2f520fa81949803a17731f16ee4ed53e2bc51cc60767448429fd440
7
+ data.tar.gz: b01389c251adf4568196d36c58f5e0de345062e4dc4b19c7966dc57305492f27f57e93e09260b1a4bdd6d9e088a33e9b70c912dd50354d6d852b34182e444ae0
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,10 +1,12 @@
1
+ Please see the [project changes](#{documentation_url}/changes/index) for all releases.
2
+
1
3
  <?r
2
- project.releases.each do |release|
4
+ project.releases.first(10).each do |release|
3
5
  ?>
4
6
  ### #{release.name}
5
7
 
6
8
  <?r release.summary do |title| ?>
7
- - [#{title}](#{release.href(documentation_url, title)})
9
+ - [#{title}](#{release.href(documentation_url, anchor: title)})
8
10
  <?r
9
11
  end
10
12
  end
@@ -45,8 +45,8 @@ module Utopia
45
45
  end
46
46
  end
47
47
 
48
- def href(base = "/", change)
49
- "#{base}changes/index##{change.downcase.gsub(/\s+/, "-")}"
48
+ def href(base = "/", anchor:)
49
+ "#{base}changes/index##{anchor.downcase.gsub(/\s+/, "-")}"
50
50
  end
51
51
  end
52
52
 
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Utopia
7
7
  module Project
8
- VERSION = "0.28.0"
8
+ VERSION = "0.28.1"
9
9
  end
10
10
  end
@@ -0,0 +1,19 @@
1
+ <p>Please browse the <a href="changes/index">changes</a> for all releases.</p>
2
+
3
+ <?r
4
+ base = self[:base]
5
+
6
+ base.releases.first(10).each do |release|
7
+ ?>
8
+ <section>
9
+ <h3>#{release.name}</h3>
10
+
11
+ <ul>
12
+ <?r release.summary do |title| ?>
13
+ <li><a href="#{release.href(anchor: title)}">#{title}</a></li>
14
+ <?r end ?>
15
+ </ul>
16
+ </section>
17
+ <?r
18
+ end
19
+ ?>
data/pages/controller.rb CHANGED
@@ -14,5 +14,9 @@ on 'index' do
14
14
  @document.replace_section("Usage") do |header|
15
15
  header.insert_after(@document.html_node("<content:usage/>"))
16
16
  end
17
+
18
+ @document.replace_section("Releases", children: true) do |header|
19
+ header.insert_after(@document.html_node("<content:releases/>"))
20
+ end
17
21
  end
18
22
  end
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.28.0
4
+ version: 0.28.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -151,6 +151,7 @@ files:
151
151
  - pages/_heading.xnode
152
152
  - pages/_navigation.xnode
153
153
  - pages/_page.xnode
154
+ - pages/_releases.xnode
154
155
  - pages/_thumbnail.xnode
155
156
  - pages/_usage.xnode
156
157
  - pages/_youtube-video.xnode
metadata.gz.sig CHANGED
Binary file