Skip to content

Commit

Permalink
Change "bigrails" to "rubyatscale" (#10)
Browse files Browse the repository at this point in the history
* change links

* change email

* bup version
  • Loading branch information
Alex Evanczuk authored Jun 14, 2022
1 parent 485173f commit 610d408
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
See https://github.com/bigrails/code_ownership/releases
See https://github.com/rubyatscale/code_ownership/releases
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ representative at an online or offline event.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at bigrails@gusto.com.
reported to the community leaders responsible for enforcement at rubyatscale@gusto.com.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
code_ownership (1.27.0)
code_ownership (1.27.1)
bigrails-teams
parse_packwerk
sorbet-runtime
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Check out `lib/code_ownership.rb` to see the public API.

Check out `code_ownership_spec.rb` to see examples of how code ownership is used.

There is also a [companion VSCode Extension]([url](https://github.com/bigrails/code-ownership-vscode)) for this gem. Just search `Gusto.code-ownership-vscode` in the VSCode Extension Marketplace.
There is also a [companion VSCode Extension]([url](https://github.com/rubyatscale/code-ownership-vscode)) for this gem. Just search `Gusto.code-ownership-vscode` in the VSCode Extension Marketplace.

## Usage: Declaring Ownership
There are three ways to declare code ownership using this gem.
Expand All @@ -19,7 +19,7 @@ metadata:
```
### Glob-Based Ownership
In your team's configured YML (see [`bigrails-teams`](https://github.com/bigrails/bigrails-teams)), you can set `owned_globs` to be a glob of files your team owns. For example, in `my_team.yml`:
In your team's configured YML (see [`bigrails-teams`](https://github.com/rubyatscale/bigrails-teams)), you can set `owned_globs` to be a glob of files your team owns. For example, in `my_team.yml`:
```yml
name: My Team
owned_globs:
Expand Down
8 changes: 4 additions & 4 deletions code_ownership.gemspec
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
Gem::Specification.new do |spec|
spec.name = "code_ownership"
spec.version = '1.27.0'
spec.version = '1.27.1'
spec.authors = ['Gusto Engineers']
spec.email = ['[email protected]']
spec.summary = 'A gem to help engineering teams declare ownership of code'
spec.description = 'A gem to help engineering teams declare ownership of code'
spec.homepage = 'https://github.com/bigrails/code_ownership'
spec.homepage = 'https://github.com/rubyatscale/code_ownership'
spec.license = 'MIT'

if spec.respond_to?(:metadata)
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/bigrails/code_ownership'
spec.metadata['changelog_uri'] = 'https://github.com/bigrails/code_ownership/releases'
spec.metadata['source_code_uri'] = 'https://github.com/rubyatscale/code_ownership'
spec.metadata['changelog_uri'] = 'https://github.com/rubyatscale/code_ownership/releases'
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
else
raise 'RubyGems 2.0 or newer is required to protect against ' \
Expand Down
2 changes: 1 addition & 1 deletion lib/code_ownership/private.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def self.validate!(files:, autocorrect: true, stage_changes: true)
end

if errors.any?
errors << 'See https://github.com/bigrails/code_ownership#README.md for more details'
errors << 'See https://github.com/rubyatscale/code_ownership#README.md for more details'
raise InvalidCodeOwnershipConfigurationError.new(errors.join("\n")) # rubocop:disable Style/RaiseArgs
end
end
Expand Down
18 changes: 9 additions & 9 deletions spec/lib/code_ownership_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
- app/missing_ownership.rb
See https://github.com/bigrails/code_ownership#README.md for more details
See https://github.com/rubyatscale/code_ownership#README.md for more details
EXPECTED
end
end
Expand Down Expand Up @@ -117,7 +117,7 @@
- frontend/javascripts/packages/my_package/owned_file.jsx (Annotations at the top of file, Owner metadata key in package.json)
- packs/my_pack/owned_file.rb (Annotations at the top of file, Owner metadata key in package.yml)
See https://github.com/bigrails/code_ownership#README.md for more details
See https://github.com/rubyatscale/code_ownership#README.md for more details
EXPECTED
end
end
Expand Down Expand Up @@ -315,7 +315,7 @@
expect(e.message).to eq <<~EXPECTED.chomp
CODEOWNERS out of date. Run `bin/codeownership validate` to update the CODEOWNERS file
See https://github.com/bigrails/code_ownership#README.md for more details
See https://github.com/rubyatscale/code_ownership#README.md for more details
EXPECTED
end
expect(Pathname.new('.github/CODEOWNERS')).to_not exist
Expand All @@ -334,7 +334,7 @@
expect(e.message).to eq <<~EXPECTED.chomp
CODEOWNERS out of date. Run `bin/codeownership validate` to update the CODEOWNERS file
See https://github.com/bigrails/code_ownership#README.md for more details
See https://github.com/rubyatscale/code_ownership#README.md for more details
EXPECTED
end
expect(Pathname.new('.github/CODEOWNERS')).to_not exist
Expand All @@ -359,7 +359,7 @@
expect(e.message).to eq <<~EXPECTED.chomp
CODEOWNERS out of date. Run `bin/codeownership validate` to update the CODEOWNERS file
See https://github.com/bigrails/code_ownership#README.md for more details
See https://github.com/rubyatscale/code_ownership#README.md for more details
EXPECTED
end
expect(Pathname.new('.github/CODEOWNERS')).to_not exist
Expand Down Expand Up @@ -388,7 +388,7 @@
expect(e.message).to eq <<~EXPECTED.chomp
CODEOWNERS out of date. Run `bin/codeownership validate` to update the CODEOWNERS file
See https://github.com/bigrails/code_ownership#README.md for more details
See https://github.com/rubyatscale/code_ownership#README.md for more details
EXPECTED
end
expect(Pathname.new('.github/CODEOWNERS')).to_not exist
Expand Down Expand Up @@ -443,7 +443,7 @@
- "/frontend/some/extra/line/that/should/not/exist @MyOrg/bar-team"
- "# Some extra comment that should not be here"
See https://github.com/bigrails/code_ownership#README.md for more details
See https://github.com/rubyatscale/code_ownership#README.md for more details
EXPECTED
end
end
Expand Down Expand Up @@ -494,7 +494,7 @@
- "/frontend/some/extra/line/that/should/not/exist @MyOrg/bar-team"
- "# Some extra comment that should not be here"
See https://github.com/bigrails/code_ownership#README.md for more details
See https://github.com/rubyatscale/code_ownership#README.md for more details
EXPECTED
end
end
Expand Down Expand Up @@ -541,7 +541,7 @@
- "/packs/my_other_package/**/** @MyOrg/bar-team"
- ""
See https://github.com/bigrails/code_ownership#README.md for more details
See https://github.com/rubyatscale/code_ownership#README.md for more details
EXPECTED
end
end
Expand Down

0 comments on commit 610d408

Please sign in to comment.