Skip to content

Commit 26d19bc

Browse files
committed
Modernize code.
1 parent 40b9166 commit 26d19bc

File tree

6 files changed

+31
-6
lines changed

6 files changed

+31
-6
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, 2025, 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

config/sus.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# frozen_string_literal: true
22

3-
# Use the covered gem for test coverage reporting:
3+
# Released under the MIT License.
4+
# Copyright, 2025, by Samuel Williams.
5+
46
require "covered/sus"
57
include Covered::Sus

readme.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ RuboCop rules for Socketry projects.
66

77
## Installation
88

9-
```
10-
bundle add rubocop-socketry
11-
```
9+
bundle add rubocop-socketry
1210

1311
## Usage
1412

@@ -30,6 +28,10 @@ Layout/ConsistentBlankLineIndentation:
3028
Enabled: true
3129
```
3230
31+
## Releases
32+
33+
There are no documented releases.
34+
3335
## Contributing
3436
3537
We welcome contributions to this project.

releases.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Releases
2+
3+
## Unreleased
4+
5+
- Initial implementaiton of `Layout/ConsistentBlankLineIndentation`.

rubocop-socketry.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
66
spec.name = "rubocop-socketry"
77
spec.version = RuboCop::Socketry::VERSION
88

9-
spec.summary = "Personal RuboCop rules for Socketry projects"
9+
spec.summary = "RuboCop rules for Socketry projects"
1010
spec.authors = ["Samuel Williams"]
1111
spec.license = "MIT"
1212

@@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
1717

1818
spec.metadata = {
1919
"default_lint_roller_plugin" => "RuboCop::Socketry::Plugin",
20+
"documentation_uri" => "https://socketry.github.io/rubocop-socketry/",
2021
"funding_uri" => "https://github.com/sponsors/ioquatix/",
2122
"source_code_uri" => "https://github.com/socketry/rubocop-socketry.git",
2223
}

test/rubocop/socketry/layout/consistent_blank_line_indentation.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# frozen_string_literal: true
22

3+
# Released under the MIT License.
4+
# Copyright, 2025, by Samuel Williams.
5+
36
require "rubocop/socketry/layout/consistent_blank_line_indentation"
47

58
describe RuboCop::Socketry::Layout::ConsistentBlankLineIndentation do
@@ -362,4 +365,4 @@
362365
expect(offenses.length).to be == 0
363366
end
364367
end
365-
end
368+
end

0 commit comments

Comments
 (0)