code_teams 1.0.0 → 1.0.1
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/README.md +6 -4
- metadata +3 -5
- data/sorbet/config +0 -2
- data/sorbet/rbi/todo.rbi +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d502e7a3fa030ae01c9a378f92c7a68b3023790fc7c6bf4a989c9e64cb97ae9
|
4
|
+
data.tar.gz: 361dfec2d98681b5a8c8f972073d42be8a90e5b99a631ee9592526138d3ca585
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c87952e403b7cac5697fa96f622a0d4e79bda1ffac2e29ad5091a6d04fbe72280e507a6553c692c80e5ce4ee4670006e419ea3ee9b25045886b7259821c07c1a
|
7
|
+
data.tar.gz: 926e7cd12648bc5506a9f80c74b95d4a66af1fea5ae277f69efa45fbf81ff5c4a4928674f86c999d02cc6a1a221c236ad220f4066034f67dafab2cb0cff024f6
|
data/README.md
CHANGED
@@ -41,7 +41,9 @@ class MyGithubPlugin < CodeTeams::Plugin
|
|
41
41
|
errors = T.let([], T::Array[String])
|
42
42
|
|
43
43
|
teams.each do |team|
|
44
|
-
|
44
|
+
if self.for(team).github.team.nil?
|
45
|
+
errors << missing_key_error_message(team, 'github.team')
|
46
|
+
end
|
45
47
|
end
|
46
48
|
|
47
49
|
errors
|
@@ -53,7 +55,7 @@ After adding the proper GitHub information to the team YML:
|
|
53
55
|
```yml
|
54
56
|
name: My Team
|
55
57
|
github:
|
56
|
-
team: '@org/my-team
|
58
|
+
team: '@org/my-team'
|
57
59
|
members:
|
58
60
|
- member1
|
59
61
|
- member2
|
@@ -70,8 +72,8 @@ Your plugins can be as simple or as complex as you want. Here are some other thi
|
|
70
72
|
- Identifying which teams own which feature flags
|
71
73
|
- Mapping teams to specific portions of the code through `code_ownership`
|
72
74
|
- Allowing teams to protect certain files and require approval on modification of certain files
|
73
|
-
- Specifying owned dependencies (
|
74
|
-
- Specifying how to get in touch with the team via
|
75
|
+
- Specifying owned dependencies (Ruby gems, JavaScript packages, and more)
|
76
|
+
- Specifying how to get in touch with the team via Slack (their channel and handle)
|
75
77
|
|
76
78
|
## Configuration
|
77
79
|
You'll want to ensure that all teams are valid in your CI environment. We recommend running code like this in CI:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: code_teams
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gusto Engineers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorbet-runtime
|
@@ -91,8 +91,6 @@ files:
|
|
91
91
|
- lib/code_teams.rb
|
92
92
|
- lib/code_teams/plugin.rb
|
93
93
|
- lib/code_teams/plugins/identity.rb
|
94
|
-
- sorbet/config
|
95
|
-
- sorbet/rbi/todo.rbi
|
96
94
|
homepage: https://github.com/rubyatscale/code_teams
|
97
95
|
licenses:
|
98
96
|
- MIT
|
@@ -116,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
114
|
- !ruby/object:Gem::Version
|
117
115
|
version: '0'
|
118
116
|
requirements: []
|
119
|
-
rubygems_version: 3.
|
117
|
+
rubygems_version: 3.1.6
|
120
118
|
signing_key:
|
121
119
|
specification_version: 4
|
122
120
|
summary: A low-dependency gem for declaring and querying engineering teams
|
data/sorbet/config
DELETED