utopia-project 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be23cff7691ea961b8a937c962b18d6f7b3154ad22af394cb9d6168020855e66
4
- data.tar.gz: b9b89af946e962e8044cc12dfe9a050cedb55ea6f73b112b92d29a58c794130e
3
+ metadata.gz: e612f6bb7f73ee5ae451c51be1d67936b1789bf189fa8de35f371524e56b1985
4
+ data.tar.gz: f09d2b33fc0c5b5dbf01de0bd663fb1500ef299231e6dd5fff5bfc18bbc439f9
5
5
  SHA512:
6
- metadata.gz: '0781807983fefb1066fd513957c6140b092633cae6597a4e407f3d782dbc8b2c2515de7bac6dfafdb8907c580364efac230611cd8ff211e0c89f32c93e3a0113'
7
- data.tar.gz: 11899a85d013208ecd9ff95d7c497f48e7ba5fb6eb792c8057c4aebfc677595125444cb28fb04a958fa93e061fa1a3c62d636eb4028407b12ccc34caeface47b
6
+ metadata.gz: fc14c8c05a5ffaa8be42329b5279af0135fd5f4d2159f184cac6aceb88b2d007913ba1c9f1e3dc831e2fea84589b40e07641186641f1ccc882e8f5d269f95c7a
7
+ data.tar.gz: 8d506cdcd2134bc4e2a5790fea2b1a3871cfe4f7255b27d63be67eeb76458748f3da0572cf8eba7d20c9b932edfe6b89873dc1e38c32a68740ea4526b72c1319
checksums.yaml.gz.sig CHANGED
Binary file
@@ -13,7 +13,7 @@ require 'decode'
13
13
  require 'thread/local'
14
14
 
15
15
  require_relative 'document'
16
- require_relative 'changes_document'
16
+ require_relative 'releases_document'
17
17
 
18
18
  require_relative 'guide'
19
19
  require_relative 'linkify'
@@ -192,15 +192,15 @@ module Utopia
192
192
  readme_document&.title || "Project"
193
193
  end
194
194
 
195
- def changes_document
196
- if path = self.path_for('changes.md')
197
- ChangesDocument.new(File.read(path), self)
195
+ def releases_document
196
+ if path = self.path_for('releases.md')
197
+ ReleasesDocument.new(File.read(path), self)
198
198
  end
199
199
  end
200
200
 
201
201
  def releases
202
- if changes_document = self.changes_document
203
- changes_document.releases
202
+ if releases_document = self.releases_document
203
+ releases_document.releases
204
204
  end
205
205
  end
206
206
  end
@@ -7,7 +7,7 @@ require_relative 'document'
7
7
 
8
8
  module Utopia
9
9
  module Project
10
- class ChangesDocument < Document
10
+ class ReleasesDocument < Document
11
11
  class Summary
12
12
  def initialize(node)
13
13
  @node = node
@@ -58,7 +58,7 @@ module Utopia
58
58
  end
59
59
 
60
60
  def href(base = "/", anchor:)
61
- "#{base}changes/index##{anchor.downcase.gsub(/\s+/, "-")}"
61
+ "#{base}releases/index##{anchor.downcase.gsub(/\s+/, "-")}"
62
62
  end
63
63
  end
64
64
 
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Utopia
7
7
  module Project
8
- VERSION = "0.29.0"
8
+ VERSION = "0.30.0"
9
9
  end
10
10
  end
@@ -1,4 +1,4 @@
1
- <p>Please browse the <a href="changes/index">changes</a> for all releases.</p>
1
+ <p>Please browse the <a href="releases/index">releases</a> for more details.</p>
2
2
 
3
3
  <?r
4
4
  base = self[:base]
@@ -6,5 +6,5 @@
6
6
  prepend Actions
7
7
 
8
8
  on 'index' do
9
- @document = @base.changes_document
9
+ @document = @base.releases_document
10
10
  end
@@ -6,7 +6,7 @@
6
6
  ?>
7
7
  <content:heading>Project</content:heading>
8
8
 
9
- <p>This project does not have a <code>changes.md</code> file.</p>
9
+ <p>This project does not have a <code>releases.md</code> file.</p>
10
10
  <?r
11
11
  end
12
12
  ?>
data/readme.md CHANGED
@@ -31,13 +31,17 @@ Please see the [project documentation](https://socketry.github.io/utopia-project
31
31
 
32
32
  Please see the [project changes](https://socketry.github.io/utopia-project/changes/index) for all releases.
33
33
 
34
- ### Next
34
+ ### v0.30.0
35
35
 
36
- - [Improve `changes.md` document organization](https://socketry.github.io/utopia-project/changes/index#improve-changes.md-document-organization)
36
+ - [Rename `changes.md` to `releases.md`](https://socketry.github.io/utopia-project/releases/index#rename-changes.md-to-releases.md)
37
+
38
+ ### v0.29.0
39
+
40
+ - [Improve `changes.md` document organization](https://socketry.github.io/utopia-project/releases/index#improve-changes.md-document-organization)
37
41
 
38
42
  ### v0.28.0
39
43
 
40
- - [Introduce `changes.md` document](https://socketry.github.io/utopia-project/changes/index#introduce-changes.md-document)
44
+ - [Introduce `changes.md` document](https://socketry.github.io/utopia-project/releases/index#introduce-changes.md-document)
41
45
 
42
46
  ## See Also
43
47
 
@@ -2,7 +2,13 @@
2
2
 
3
3
  This document outlines major changes and new features in each release of the project.
4
4
 
5
- ## Next
5
+ ## v0.30.0
6
+
7
+ ### Rename `changes.md` to `releases.md`
8
+
9
+ The `changes.md` document has been renamed to `releases.md` to better reflect its purpose.
10
+
11
+ ## v0.29.0
6
12
 
7
13
  ### Improve `changes.md` document organization
8
14
 
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.29.0
4
+ version: 0.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -40,7 +40,7 @@ cert_chain:
40
40
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
41
41
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
42
42
  -----END CERTIFICATE-----
43
- date: 2024-08-19 00:00:00.000000000 Z
43
+ date: 2024-08-23 00:00:00.000000000 Z
44
44
  dependencies:
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: decode
@@ -136,14 +136,13 @@ files:
136
136
  - bake/utopia/project/readme/releases.xrb
137
137
  - bake/utopia/project/readme/update.rb
138
138
  - bake/utopia/project/readme/usage.xrb
139
- - changes.md
140
139
  - lib/utopia/project.rb
141
140
  - lib/utopia/project/base.md
142
141
  - lib/utopia/project/base.rb
143
- - lib/utopia/project/changes_document.rb
144
142
  - lib/utopia/project/document.rb
145
143
  - lib/utopia/project/guide.rb
146
144
  - lib/utopia/project/linkify.rb
145
+ - lib/utopia/project/releases_document.rb
147
146
  - lib/utopia/project/renderer.rb
148
147
  - lib/utopia/project/version.rb
149
148
  - license.md
@@ -155,8 +154,6 @@ files:
155
154
  - pages/_thumbnail.xnode
156
155
  - pages/_usage.xnode
157
156
  - pages/_youtube-video.xnode
158
- - pages/changes/controller.rb
159
- - pages/changes/index.xnode
160
157
  - pages/controller.rb
161
158
  - pages/errors/exception.xnode
162
159
  - pages/errors/file-not-found.xnode
@@ -165,6 +162,8 @@ files:
165
162
  - pages/guides/show.xnode
166
163
  - pages/index.xnode
167
164
  - pages/links.yaml
165
+ - pages/releases/controller.rb
166
+ - pages/releases/index.xnode
168
167
  - pages/source/_discuss.xnode
169
168
  - pages/source/_pragmas.xnode
170
169
  - pages/source/_signature.xnode
@@ -255,6 +254,7 @@ files:
255
254
  - public/_static/site.css
256
255
  - public/robots.txt
257
256
  - readme.md
257
+ - releases.md
258
258
  - template/Gemfile
259
259
  - template/config.ru
260
260
  - template/preload.rb
metadata.gz.sig CHANGED
Binary file