codeowners-checker 1.0.2 → 1.0.3
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/issues.md +29 -0
- data/lib/codeowners/checker/version.rb +1 -1
- data/lib/codeowners/cli/suggest_file_from_pattern.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2ab2f62e2427574e64399dc1a1f3681aafc9280af254f04214f1b9be7d50944
|
4
|
+
data.tar.gz: 562d0c9c43d6f49694820b25ed7b47ad7474f72ba097b98dcd4c1292cacdc62e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c0cac23ce8db93e59db7466709a33a90acd43e8168d1ddc22ad57ba1ceff569df2c4d14bc43b71d2fd08a476c182fc467837862c630315db6eeffce9b11c5ab
|
7
|
+
data.tar.gz: a4541d789b24f3baf6adae817bde3d1fd04cf49e2c26e0fea177067c4186a2724b31515ec3811e58286624a83e9f7b1adfd05cb964a6fd9b3170f5f1c0e4f36f
|
data/issues.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
problems
|
2
|
+
|
3
|
+
- linked lines groups serve to attach or dettach specific info into a chunk of text
|
4
|
+
- linked lines belong to a group and group belong to file
|
5
|
+
|
6
|
+
|
7
|
+
what we're trying to solve
|
8
|
+
|
9
|
+
1. we have a file that have a tree structure without holding the tree
|
10
|
+
CodeOwners holds the flat structure
|
11
|
+
|
12
|
+
2. we need to interpret and parse the tree structure from the file
|
13
|
+
Group holds the tree structure with LineGroupers and pure lines
|
14
|
+
|
15
|
+
3. we need to iterate over the lines to verify the file consistency
|
16
|
+
Checker do that.
|
17
|
+
|
18
|
+
3.1 we interact with user when find similar and duplicated lines
|
19
|
+
|
20
|
+
4. we need to remove a line and remove a group if the line was the last pattern
|
21
|
+
in the group.
|
22
|
+
- the Line knows how to remove them selves.
|
23
|
+
|
24
|
+
5. we need to add or change lines
|
25
|
+
- the Group knows what file it belongs and allow to insert a pattern in the
|
26
|
+
middle or in the bottom of the file
|
27
|
+
|
28
|
+
|
29
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codeowners-checker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jônatas Davi Paganini
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-
|
13
|
+
date: 2019-07-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: fuzzy_match
|
@@ -179,6 +179,7 @@ files:
|
|
179
179
|
- README.md
|
180
180
|
- bin/codeowners-checker
|
181
181
|
- codeowners-checker.gemspec
|
182
|
+
- issues.md
|
182
183
|
- lib/codeowners/checker.rb
|
183
184
|
- lib/codeowners/checker/array.rb
|
184
185
|
- lib/codeowners/checker/code_owners.rb
|
@@ -220,7 +221,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
221
|
- !ruby/object:Gem::Version
|
221
222
|
version: '0'
|
222
223
|
requirements: []
|
223
|
-
|
224
|
+
rubyforge_project:
|
225
|
+
rubygems_version: 2.7.6
|
224
226
|
signing_key:
|
225
227
|
specification_version: 4
|
226
228
|
summary: Check consistency of Github CODEOWNERS and git changes.
|