Skip to content

Commit aa10870

Browse files
author
Alex Evanczuk
authored
Fix link to README (#7)
* Fix link to README * bump version
1 parent 6e4bfd0 commit aa10870

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
code_ownership (1.24.0)
4+
code_ownership (1.25.0)
55
bigrails-teams
66
parse_packwerk
77
sorbet-runtime

code_ownership.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |spec|
22
spec.name = "code_ownership"
3-
spec.version = '1.24.0'
3+
spec.version = '1.25.0'
44
spec.authors = ['Gusto Engineers']
55
spec.email = ['[email protected]']
66
spec.summary = 'A gem to help engineering teams declare ownership of code'

lib/code_ownership/private.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def self.validate!(files:, autocorrect: true, stage_changes: true)
5050
end
5151

5252
if errors.any?
53-
errors << 'See https://github.com/bigrails/code_ownership/README.md for more details'
53+
errors << 'See https://github.com/bigrails/code_ownership#README.md for more details'
5454
raise InvalidCodeOwnershipConfigurationError.new(errors.join("\n")) # rubocop:disable Style/RaiseArgs
5555
end
5656
end

spec/lib/code_ownership_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
3737
- app/missing_ownership.rb
3838
39-
See https://github.com/bigrails/code_ownership/README.md for more details
39+
See https://github.com/bigrails/code_ownership#README.md for more details
4040
EXPECTED
4141
end
4242
end
@@ -117,7 +117,7 @@
117117
- frontend/javascripts/packages/my_package/owned_file.jsx (Annotations at the top of file, Owner metadata key in package.json)
118118
- packs/my_pack/owned_file.rb (Annotations at the top of file, Owner metadata key in package.yml)
119119
120-
See https://github.com/bigrails/code_ownership/README.md for more details
120+
See https://github.com/bigrails/code_ownership#README.md for more details
121121
EXPECTED
122122
end
123123
end
@@ -315,7 +315,7 @@
315315
expect(e.message).to eq <<~EXPECTED.chomp
316316
CODEOWNERS out of date. Ensure pre-commit hook is set up correctly and used. You can also run bin/codeownership validate to update the CODEOWNERS file
317317
318-
See https://github.com/bigrails/code_ownership/README.md for more details
318+
See https://github.com/bigrails/code_ownership#README.md for more details
319319
EXPECTED
320320
end
321321
expect(Pathname.new('.github/CODEOWNERS')).to_not exist
@@ -334,7 +334,7 @@
334334
expect(e.message).to eq <<~EXPECTED.chomp
335335
CODEOWNERS out of date. Ensure pre-commit hook is set up correctly and used. You can also run bin/codeownership validate to update the CODEOWNERS file
336336
337-
See https://github.com/bigrails/code_ownership/README.md for more details
337+
See https://github.com/bigrails/code_ownership#README.md for more details
338338
EXPECTED
339339
end
340340
expect(Pathname.new('.github/CODEOWNERS')).to_not exist
@@ -359,7 +359,7 @@
359359
expect(e.message).to eq <<~EXPECTED.chomp
360360
CODEOWNERS out of date. Ensure pre-commit hook is set up correctly and used. You can also run bin/codeownership validate to update the CODEOWNERS file
361361
362-
See https://github.com/bigrails/code_ownership/README.md for more details
362+
See https://github.com/bigrails/code_ownership#README.md for more details
363363
EXPECTED
364364
end
365365
expect(Pathname.new('.github/CODEOWNERS')).to_not exist
@@ -388,7 +388,7 @@
388388
expect(e.message).to eq <<~EXPECTED.chomp
389389
CODEOWNERS out of date. Ensure pre-commit hook is set up correctly and used. You can also run bin/codeownership validate to update the CODEOWNERS file
390390
391-
See https://github.com/bigrails/code_ownership/README.md for more details
391+
See https://github.com/bigrails/code_ownership#README.md for more details
392392
EXPECTED
393393
end
394394
expect(Pathname.new('.github/CODEOWNERS')).to_not exist

0 commit comments

Comments
 (0)