Skip to content

rubyatscale/fast_code_owners

Repository files navigation

fast_code_owners

A thin Ruby wrapper around codeowners-rs

Why?

The codeowners-rs CLI is a fast alternative to the Ruby gem code_ownership. However, since codeowners-rs is written in Rust, it can't provide direct Ruby APIs.

fast_code_owners provides Ruby APIs that delegate to codeowners-rs. Much of this code was lifted from code_ownership.

Installation

gem install fast_code_owners

Usage

require 'fast_code_owners'

team = FastCodeOwners.for_file('path/to/file.rb')

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rubyatscale/fast_code_owners.

About

Lightning fast codeowners-rs ruby wrapper

Resources

Stars

Watchers

Forks

Packages

No packages published