Skip to content

Commit 9c45187

Browse files
committed
Modernize code.
1 parent 667b042 commit 9c45187

9 files changed

Lines changed: 22 additions & 19 deletions

‎.github/workflows/documentation-coverage.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v6
17+
- uses: actions/checkout@v7
1818
- uses: ruby/setup-ruby@v1
1919
with:
2020
ruby-version: ruby

‎.github/workflows/documentation.yaml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
workflow_dispatch:
78

89
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages:
910
permissions:
@@ -24,7 +25,7 @@ jobs:
2425
runs-on: ubuntu-latest
2526

2627
steps:
27-
- uses: actions/checkout@v6
28+
- uses: actions/checkout@v7
2829

2930
- uses: ruby/setup-ruby@v1
3031
with:
@@ -39,7 +40,7 @@ jobs:
3940
run: bundle exec bake utopia:project:static --force no
4041

4142
- name: Upload documentation artifact
42-
uses: actions/upload-pages-artifact@v4
43+
uses: actions/upload-pages-artifact@v5
4344
with:
4445
path: docs
4546

@@ -54,4 +55,4 @@ jobs:
5455
steps:
5556
- name: Deploy to GitHub Pages
5657
id: deployment
57-
uses: actions/deploy-pages@v4
58+
uses: actions/deploy-pages@v5

‎.github/workflows/rubocop.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v6
13+
- uses: actions/checkout@v7
1414
- uses: ruby/setup-ruby@v1
1515
with:
1616
ruby-version: ruby

‎.github/workflows/test-coverage.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- ruby
2424

2525
steps:
26-
- uses: actions/checkout@v6
26+
- uses: actions/checkout@v7
2727
- uses: ruby/setup-ruby@v1
2828
with:
2929
ruby-version: ${{matrix.ruby}}
@@ -33,7 +33,7 @@ jobs:
3333
timeout-minutes: 5
3434
run: bundle exec bake test
3535

36-
- uses: actions/upload-artifact@v5
36+
- uses: actions/upload-artifact@v7
3737
with:
3838
include-hidden-files: true
3939
if-no-files-found: error
@@ -45,13 +45,13 @@ jobs:
4545
runs-on: ubuntu-latest
4646

4747
steps:
48-
- uses: actions/checkout@v6
48+
- uses: actions/checkout@v7
4949
- uses: ruby/setup-ruby@v1
5050
with:
5151
ruby-version: ruby
5252
bundler-cache: true
5353

54-
- uses: actions/download-artifact@v6
54+
- uses: actions/download-artifact@v8
5555

5656
- name: Validate coverage
5757
timeout-minutes: 5

‎.github/workflows/test-external.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- "4.0"
2323

2424
steps:
25-
- uses: actions/checkout@v6
25+
- uses: actions/checkout@v7
2626
- uses: ruby/setup-ruby@v1
2727
with:
2828
ruby-version: ${{matrix.ruby}}

‎.github/workflows/test.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
experimental: true
3737

3838
steps:
39-
- uses: actions/checkout@v6
39+
- uses: actions/checkout@v7
4040
- uses: ruby/setup-ruby@v1
4141
with:
4242
ruby-version: ${{matrix.ruby}}

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/agents.md
2-
/.context
2+
/.agents/
33
/.bundle
44
/pkg
55
/gems.locked

‎protocol-websocket.gemspec‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Gem::Specification.new do |spec|
1616
spec.homepage = "https://github.com/socketry/protocol-websocket"
1717

1818
spec.metadata = {
19+
"bug_tracker_uri" => "https://github.com/socketry/protocol-websocket/issues",
20+
"changelog_uri" => "https://github.com/socketry/protocol-websocket/blob/main/releases.md",
1921
"documentation_uri" => "https://socketry.github.io/protocol-websocket/",
2022
"source_code_uri" => "https://github.com/socketry/protocol-websocket.git",
2123
}

‎readme.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,26 +62,26 @@ Please see the [project releases](https://socketry.github.io/protocol-websocket/
6262

6363
We welcome contributions to this project.
6464

65-
1. Fork it.
65+
1. Fork the repository.
6666
2. Create your feature branch (`git checkout -b my-new-feature`).
67-
3. Commit your changes (`git commit -am 'Add some feature'`).
67+
3. Commit your changes (`git commit -am 'Add some feature.'`).
6868
4. Push to the branch (`git push origin my-new-feature`).
69-
5. Create new Pull Request.
69+
5. Create a new pull request.
7070

7171
### Running Tests
7272

7373
To run the test suite:
7474

75-
``` shell
76-
bundle exec sus
75+
``` bash
76+
$ bundle exec sus
7777
```
7878

7979
### Making Releases
8080

8181
To make a new release:
8282

83-
``` shell
84-
bundle exec bake gem:release:patch # or minor or major
83+
``` bash
84+
$ bundle exec bake gem:release:patch # or minor or major
8585
```
8686

8787
### Developer Certificate of Origin

0 commit comments

Comments
 (0)