Skip to content

Commit ba5f25b

Browse files
committed
Add releases.md.
1 parent dec705e commit ba5f25b

File tree

4 files changed

+34
-7
lines changed

4 files changed

+34
-7
lines changed

bake.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# frozen_string_literal: true
2+
3+
# Released under the MIT License.
4+
# Copyright, 2020-2024, by Samuel Williams.
5+
6+
# Update the project documentation with the new version number.
7+
#
8+
# @parameter version [String] The new version number.
9+
def after_gem_release_version_increment(version)
10+
context["releases:update"].call(version)
11+
context["utopia:project:readme:update"].call
12+
end

gems.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
group :maintenance, optional: true do
1111
gem "bake-modernize"
1212
gem "bake-gem"
13+
gem "bake-releases"
1314

1415
gem "utopia-project"
1516
end

readme.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
Sus is a testing framework for Ruby.
44

5-
- It's similar to RSpec but with less baggage and more parallelism.
6-
- It uses `expect` style syntax with first-class predicates.
7-
- It has direct [support for code coverage](https://github.com/socketry/covered).
8-
- It supports the [VSCode Test Runner interface](https://github.com/socketry/sus-vscode).
9-
- It's based on my experience writing thousands of tests.
10-
- It's easy to extend (see the `sus-fixtures-` gems for examples).
5+
- It's similar to RSpec but with less baggage and more parallelism.
6+
- It uses `expect` style syntax with first-class predicates.
7+
- It has direct [support for code coverage](https://github.com/socketry/covered).
8+
- It supports the [VSCode Test Runner interface](https://github.com/socketry/sus-vscode).
9+
- It's based on my experience writing thousands of tests.
10+
- It's easy to extend (see the `sus-fixtures-` gems for examples).
1111

1212
[![Development Status](https://github.com/socketry/sus/workflows/Test/badge.svg)](https://github.com/socketry/sus/actions?workflow=Test)
1313

@@ -25,9 +25,17 @@ Please see the [project documentation](https://socketry.github.io/sus/) for more
2525

2626
- [Getting Started](https://socketry.github.io/sus/guides/getting-started/index) - This guide explains how to use the `sus` gem to write tests for your Ruby projects.
2727

28+
## Releases
29+
30+
Please see the [project releases](https://socketry.github.io/sus/releases/index) for all releases.
31+
32+
### Unreleased
33+
34+
- `Sus::Config` now has a `prepare_warnings!` hook which enables deprecated warnings by default. This is generally considered good behaviour for a test framework.
35+
2836
## See Also
2937

30-
- [sus-vscode](https://github.com/socketry/sus-vscode) - Visual Studio Code extension for Sus.
38+
- [sus-vscode](https://github.com/socketry/sus-vscode) - Visual Studio Code extension for Sus.
3139

3240
## Contributing
3341

releases.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Releases
2+
3+
## Unreleased
4+
5+
- `Sus::Config` now has a `prepare_warnings!` hook which enables deprecated warnings by default. This is generally considered good behaviour for a test framework.
6+

0 commit comments

Comments
 (0)