Sha256: 4efdd3ce542b0883fa29cd52e87df11698970905d03f9f65b397de617d90705d
Contents?: true
Size: 654 Bytes
Versions: 2
Compression:
Stored size: 654 Bytes
Contents
require "pathname" require "set" require "thor" require_relative "owners/cli" require_relative "owners/config" require_relative "owners/search" require_relative "owners/tree" require_relative "owners/version" module Owners class << self # @api public attr_writer :file # The name of the file used to store ownership # subscriptions. Defaults to OWNERS. # # @api public def file @file ||= "OWNERS" end # Accepts a list of file paths and returns an array of # owners that have subscribed to the specified files. # # @api public def for(*files) Search.new(files).owners end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
owners-0.0.3 | lib/owners.rb |
owners-0.0.2 | lib/owners.rb |