code_ownership 1.25.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/code_ownership/cli.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 988c067afbabcc65d5b697aea162ba1c288787e4d7d9a84a261b00f76859aa6b
|
|
4
|
+
data.tar.gz: 6a504214d4470cfd2d1ab103f201069367e39962a390d34382410587a6067e40
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 16b3e48c3cb734857dd66cf03f9d43d89bb92ee3ab92abfc0550004274531e03eef4abc9157fab33e25d815dd5b5c6f055d65987e7526dcb4952212930935678
|
|
7
|
+
data.tar.gz: 0f0cc9f4a1b8938e088bc258d5b247d633beaac3c68ddf37ea269fa3740d27d796b9773354e47855e79ecd5e958b49d97fd9f231f42502e62eab508d1d8ea9a1
|
data/lib/code_ownership/cli.rb
CHANGED
|
@@ -11,7 +11,19 @@ module CodeOwnership
|
|
|
11
11
|
validate!(argv)
|
|
12
12
|
elsif command == 'for_file'
|
|
13
13
|
for_file(argv)
|
|
14
|
+
elsif [nil, "help"].include?(command)
|
|
15
|
+
puts <<~USAGE
|
|
16
|
+
Usage: bin/codeownership <subcommand>
|
|
17
|
+
|
|
18
|
+
Subcommands:
|
|
19
|
+
validate - run all validations
|
|
20
|
+
for_file - find code ownership for a single file
|
|
21
|
+
help - display help information about code_ownership
|
|
22
|
+
USAGE
|
|
23
|
+
else
|
|
24
|
+
puts "'#{command}' is not a code_ownership command. See `bin/codeownership help`."
|
|
14
25
|
end
|
|
26
|
+
|
|
15
27
|
end
|
|
16
28
|
|
|
17
29
|
def self.validate!(argv)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: code_ownership
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.26.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gusto Engineers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-06-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bigrails-teams
|