utopia-project 0.30.1 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/bake/utopia/project/readme/update.rb +22 -8
- data/lib/utopia/project/releases_document.rb +14 -0
- data/lib/utopia/project/version.rb +1 -1
- data/readme.md +4 -0
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- metadata +2 -4
- metadata.gz.sig +0 -0
- data/bake/utopia/project/readme/releases.xrb +0 -13
- data/bake/utopia/project/readme/usage.xrb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc64c130459791ef60f2d944da446cc0230afcf3f9de70a540cfad88628acc6d
|
4
|
+
data.tar.gz: 27a33e6afef9086f18fecc65b069db3da5923b5c8b7d71e43493a70b8d301d2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3fa4c852779d97625b4fae040a821a02f7535045a344f10cf35fe0be3b560dedffb92713747f4b83f2b59c242eb101679cb49398630ea3959a95d8466fee9ef
|
7
|
+
data.tar.gz: 401481c8992b5c18805469de787a293228739463aef439b36b8f0669132e61ee8528cc08bac97eca929ddf96ae6fb128d8df2f1be1526c265816ec1f589cd3f9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -61,19 +61,33 @@ def public_documentation_url
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def usage_section(documentation_url, project)
|
64
|
-
|
65
|
-
scope = Scope.new(documentation_url, project)
|
64
|
+
buffer = String.new
|
66
65
|
|
67
|
-
|
66
|
+
buffer << "Please see the [project documentation](#{documentation_url}) for more details.\n"
|
68
67
|
|
69
|
-
|
68
|
+
project.guides.each do |guide|
|
69
|
+
buffer << " - [#{guide.title}](#{guide.href(documentation_url)}) - #{guide.description.to_markdown}\n"
|
70
|
+
end
|
71
|
+
|
72
|
+
return Markly.parse(buffer)
|
70
73
|
end
|
71
74
|
|
72
75
|
def releases_section(documentation_url, project)
|
73
|
-
|
74
|
-
scope = Scope.new(documentation_url, project)
|
76
|
+
buffer = String.new
|
75
77
|
|
76
|
-
|
78
|
+
buffer << "Please see the [project releases](#{documentation_url}releases/index) for all releases.\n"
|
79
|
+
|
80
|
+
project.releases.first(10).each do |release|
|
81
|
+
buffer << "\n### #{release.name}\n\n"
|
82
|
+
|
83
|
+
if notes = release.notes
|
84
|
+
buffer << notes.to_markdown
|
85
|
+
end
|
86
|
+
|
87
|
+
release.changes.each do |change|
|
88
|
+
buffer << " - [#{change.to_markdown}](#{release.href(documentation_url, anchor: change.id)})\n"
|
89
|
+
end
|
90
|
+
end
|
77
91
|
|
78
|
-
return Markly.parse(
|
92
|
+
return Markly.parse(buffer)
|
79
93
|
end
|
@@ -33,6 +33,20 @@ module Utopia
|
|
33
33
|
@node = node
|
34
34
|
end
|
35
35
|
|
36
|
+
def notes
|
37
|
+
node = @node.next
|
38
|
+
|
39
|
+
notes = Markly::Node.new(:document)
|
40
|
+
|
41
|
+
while node and node.type != :header
|
42
|
+
notes.append_child(node.dup)
|
43
|
+
|
44
|
+
node = node.next
|
45
|
+
end
|
46
|
+
|
47
|
+
return notes
|
48
|
+
end
|
49
|
+
|
36
50
|
def changes
|
37
51
|
return to_enum(:changes) unless block_given?
|
38
52
|
|
data/readme.md
CHANGED
@@ -31,6 +31,10 @@ Please see the [project documentation](https://socketry.github.io/utopia-project
|
|
31
31
|
|
32
32
|
Please see the [project releases](https://socketry.github.io/utopia-project/releases/index) for all releases.
|
33
33
|
|
34
|
+
### v0.31.0
|
35
|
+
|
36
|
+
- Support brief release notes in `releases.md` document.
|
37
|
+
|
34
38
|
### v0.30.0
|
35
39
|
|
36
40
|
- [Rename `changes.md` to `releases.md`](https://socketry.github.io/utopia-project/releases/index#rename-changes.md-to-releases.md)
|
data/releases.md
CHANGED
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.
|
4
|
+
version: 0.32.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-
|
43
|
+
date: 2024-10-12 00:00:00.000000000 Z
|
44
44
|
dependencies:
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: decode
|
@@ -133,9 +133,7 @@ extensions: []
|
|
133
133
|
extra_rdoc_files: []
|
134
134
|
files:
|
135
135
|
- bake/utopia/project.rb
|
136
|
-
- bake/utopia/project/readme/releases.xrb
|
137
136
|
- bake/utopia/project/readme/update.rb
|
138
|
-
- bake/utopia/project/readme/usage.xrb
|
139
137
|
- lib/utopia/project.rb
|
140
138
|
- lib/utopia/project/base.md
|
141
139
|
- lib/utopia/project/base.rb
|
metadata.gz.sig
CHANGED
Binary file
|
@@ -1,13 +0,0 @@
|
|
1
|
-
Please see the [project releases](#{documentation_url}releases/index) for all releases.
|
2
|
-
|
3
|
-
<?r
|
4
|
-
project.releases.first(10).each do |release|
|
5
|
-
?>
|
6
|
-
### #{release.name}
|
7
|
-
|
8
|
-
<?r release.changes do |change| ?>
|
9
|
-
- [#{change.to_markdown}](#{release.href(documentation_url, anchor: change.id)})
|
10
|
-
<?r
|
11
|
-
end
|
12
|
-
end
|
13
|
-
?>
|