git-lint 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fee007aea853b3ee86b0bbd66dc27b0debb3bdd69227cd693f989e470fdbaf25
4
- data.tar.gz: a63392c0e6cf3dfa6cbd06bb361521327ea7326228c4b83163eba3d41435d762
3
+ metadata.gz: 6cb65f70f2b6923d02f717470a175b4a12f4aadf8f138ce2687ebdd73be3d300
4
+ data.tar.gz: 69a3dae72502594bd98c0397c29431bbfa4479fc6b5cebe8e76ce4149505085d
5
5
  SHA512:
6
- metadata.gz: 7c53d8b1657d48661796f82dba61954eb1f3ed17dac90d602ccd89147cae44efd3b9a1ed9b07bad5b5b53f61800f376f4f08053c4bbb76a3d287f2546e03536c
7
- data.tar.gz: a5b6afdb80917dc75684878b0cd7679a240e76f6a8f17dc31d0b859aaeeba7d04e7d2bfe8ffe7175910c69f939391d0f0cf4001d5f0730b3af2cb7e31f9e69e5
6
+ metadata.gz: 516084aa71ca86ec7fb5b4acbbc5eac343d6c4d44cc01ea8742c7882a3c203bafb9108fa788f0a00c4874bca40e810080b9b84d5d3ae583585e6efdef8166eb2
7
+ data.tar.gz: 1dbdb7ecf79311784ef01ede90695df2093fbd7d43b918e39d6bb596843bbaa87d6df59a8f57a901a8fdfb4cc5a935d92d7ad69bdde5f24ba0859f8d5efdb92f
Binary file
data.tar.gz.sig CHANGED
@@ -1,3 +1,3 @@
1
- 2i�?��pv,ږ ��l��U�
2
- ��CGĩ�����r��D )����~X��(\-��8m�,��0��ܟ�@�}t��v/\��y\�:��?3�;Q±S}���J:96��7�Ŋ����[��;���Ξ�#���Ų2�؄S2 ���@rV�2>������᛬I<Z ǵ7Wfo`�M�P�Hu�
3
- t${��+q!�Q3L7{Y�dz�> �� ?9���R�(<۝���\ZĈ%���qvW���`v���K
1
+ ��)�*4�>{��K��O��B
2
+ m����8��Tsb��j�Ҹ���~���댙k}H�� �2?��H�]Xq> Pa�wNVv��T��X㥇���Bı���jz8��;�
3
+  Kؗ��*o4ؿ�b�wNN�����p}֎@�",�b�\�3EN̅�L�*j��O���b}�ӅM9��ěe H�˳�P
@@ -915,14 +915,19 @@ configuration disabled.
915
915
  * Use small, atomic commits:
916
916
  ** Easier to review and provide feedback.
917
917
  ** Easier to review implementation and corresponding tests.
918
- ** Easier to document with detailed subject messages (especially when grouped together in a pull
919
- request).
918
+ ** Easier to document with detailed subjects (especially when grouped together in a pull request).
920
919
  ** Easier to reword, edit, squash, fix, or drop when interactively rebasing.
921
920
  ** Easier to combine together versus tearing apart a larger commit into smaller commits.
922
921
  * Use logically ordered commits:
923
922
  ** Each commit should tell a story and be a logical building block to the next commit.
923
+ ** Each commit should, ideally, be the implementation plus corresponding test. Avoid committing
924
+ changes that are a jumble of mixed ideas as they are hard to decipher and a huge insult not only
925
+ to the reviewer but your future self.
924
926
  ** Each commit, when reviewed in order, should be able to explain _how_ the feature or bug fix was
925
927
  completed and implemented properly.
928
+ * Keep refactored code separate from behavioral changes. This makes the review process easier
929
+ because you don't have to sift through all the line and format changes to figure out what is new
930
+ or changed.
926
931
 
927
932
  === Branches
928
933
 
@@ -956,8 +961,11 @@ configuration disabled.
956
961
 
957
962
  === Code Reviews
958
963
 
959
- There are two objectives each code review should achieve:
964
+ There are three main objectives each code review should achieve:
960
965
 
966
+ . *Joy* - The experience of working with you, receiving feedback, giving feedback, and demonstrating
967
+ a level of care influences others and encourages a collaborative environment that is fun to work
968
+ in. Use this time to build and reinforce trust amongst your fellow colleagues.
961
969
  . *Quality*: Ensures changes are of highest quality that adhere to team standards while enhancing
962
970
  the customer experience and not disrupting their workflow.
963
971
  . *Education*: Provides a chance for everyone on the team to learn more about the architecture,
@@ -967,13 +975,22 @@ There are two objectives each code review should achieve:
967
975
  In addition to the objectives above, the following guidelines are worth following:
968
976
 
969
977
  * Keep code reviews short and easy to review:
978
+ ** Review your own code first before submitting to others. By ensuring your are confident in the
979
+ overall implementation and the commits in terms of commit messages and implementation details,
980
+ you'll encourage higher quality feedback and show appreciation for the reviewer's time.
970
981
  ** Provide a high level overview that answers _why_ the code review is necessary.
971
- ** Provide a link to the issue/task that prompted the code review (if any).
982
+ ** Provide a link to the issue that prompted the code review (if any) and any additional details
983
+ worth highlighting to guide the reviewer through the process.
972
984
  ** Provide screenshots/screencasts if possible.
973
- ** Ensure commits within the code review are related to the purpose of the code review.
974
- ** Prefer code reviews at about 250 lines in order to keep the quality of the code review and defect
975
- detection high.
976
- ** Avoid working on a large issue without getting feedback first in order to not overwhelm/surprise
985
+ ** Provide any ancillary notes or points of interest worth highlighting for the reviewer.
986
+ ** Ensure commits within the code review are related to the purpose of the code review and avoid
987
+ mixing in changes that are ancillary to the primary objective of the code view. If you do have
988
+ changes outside of the scope of the current code review, open those changes up as a separate code
989
+ review instead.
990
+ ** Prefer code reviews at about 300 lines in order to keep the quality of the code review and defect
991
+ detection high. This also shows you value the reviewers time and attention away from their own
992
+ work.
993
+ ** Avoid working on a large issues without first getting feedback in order to not overwhelm/surprise
977
994
  the maintainers. More discussion up front will help ensure your work has a faster chance of
978
995
  acceptance.
979
996
  * Review and rebase code reviews quickly:
@@ -1013,9 +1030,14 @@ In addition to the objectives above, the following guidelines are worth followin
1013
1030
  always meant as a response to helpful feedback.
1014
1031
  ** ✅ (`:white_check_mark:`) - Signifies code review approval. The author can
1015
1032
  rebase onto `master` and delete the feature branch at this point.
1033
+ * Use all feedback as a chance to learn, teach, strenghen the bond of trust between you and your
1034
+ fellow colleagues, and avoid being cut by
1035
+ link:https://fs.blog/2017/04/mental-model-hanlons-razor[Hanlon's Razor].
1036
+ * Use automation to ensure code reviews are consistent, of high quality, and swift to resolve. Each
1037
+ code review can be an opportunity to identify and automate the process further.
1016
1038
  * Use face-to-face communication if a code review's written discussion gets lengthy/noisy.
1017
- * Create new tasks/actions if additional features are discovered during a code review to avoid
1018
- delaying code review acceptance. Return to the code review once tasks have been logged.
1039
+ * Create follow-up actions if additional features are discovered during a code review to avoid
1040
+ delaying code review acceptance. Return to the code review once the new actions have been logged.
1019
1041
  * The author, not the reviewer, should rebase the feature branch onto `master` upon approval.
1020
1042
  * Avoid reviewing your own code review before rebasing onto `master`. Have another pair of eyes
1021
1043
  review your code first.
@@ -6,7 +6,7 @@ module Git
6
6
  module Identity
7
7
  NAME = "git-lint"
8
8
  LABEL = "Git Lint"
9
- VERSION = "1.3.0"
9
+ VERSION = "1.4.0"
10
10
  VERSION_LABEL = "#{LABEL} #{VERSION}"
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
29
  QWc=
30
30
  -----END CERTIFICATE-----
31
- date: 2020-11-15 00:00:00.000000000 Z
31
+ date: 2020-12-13 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pastel
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '7.14'
53
+ version: '7.16'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '7.14'
60
+ version: '7.16'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: runcom
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -86,202 +86,6 @@ dependencies:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0.20'
89
- - !ruby/object:Gem::Dependency
90
- name: bundler-audit
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '0.7'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '0.7'
103
- - !ruby/object:Gem::Dependency
104
- name: bundler-leak
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '0.2'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '0.2'
117
- - !ruby/object:Gem::Dependency
118
- name: gemsmith
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '14.8'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '14.8'
131
- - !ruby/object:Gem::Dependency
132
- name: guard-rspec
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '4.7'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '4.7'
145
- - !ruby/object:Gem::Dependency
146
- name: pry
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.13'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.13'
159
- - !ruby/object:Gem::Dependency
160
- name: pry-byebug
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: '3.9'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: '3.9'
173
- - !ruby/object:Gem::Dependency
174
- name: rake
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - "~>"
178
- - !ruby/object:Gem::Version
179
- version: '13.0'
180
- type: :development
181
- prerelease: false
182
- version_requirements: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - "~>"
185
- - !ruby/object:Gem::Version
186
- version: '13.0'
187
- - !ruby/object:Gem::Dependency
188
- name: reek
189
- requirement: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - "~>"
192
- - !ruby/object:Gem::Version
193
- version: '6.0'
194
- type: :development
195
- prerelease: false
196
- version_requirements: !ruby/object:Gem::Requirement
197
- requirements:
198
- - - "~>"
199
- - !ruby/object:Gem::Version
200
- version: '6.0'
201
- - !ruby/object:Gem::Dependency
202
- name: rspec
203
- requirement: !ruby/object:Gem::Requirement
204
- requirements:
205
- - - "~>"
206
- - !ruby/object:Gem::Version
207
- version: '3.10'
208
- type: :development
209
- prerelease: false
210
- version_requirements: !ruby/object:Gem::Requirement
211
- requirements:
212
- - - "~>"
213
- - !ruby/object:Gem::Version
214
- version: '3.10'
215
- - !ruby/object:Gem::Dependency
216
- name: rubocop
217
- requirement: !ruby/object:Gem::Requirement
218
- requirements:
219
- - - "~>"
220
- - !ruby/object:Gem::Version
221
- version: '1.3'
222
- type: :development
223
- prerelease: false
224
- version_requirements: !ruby/object:Gem::Requirement
225
- requirements:
226
- - - "~>"
227
- - !ruby/object:Gem::Version
228
- version: '1.3'
229
- - !ruby/object:Gem::Dependency
230
- name: rubocop-performance
231
- requirement: !ruby/object:Gem::Requirement
232
- requirements:
233
- - - "~>"
234
- - !ruby/object:Gem::Version
235
- version: '1.8'
236
- type: :development
237
- prerelease: false
238
- version_requirements: !ruby/object:Gem::Requirement
239
- requirements:
240
- - - "~>"
241
- - !ruby/object:Gem::Version
242
- version: '1.8'
243
- - !ruby/object:Gem::Dependency
244
- name: rubocop-rake
245
- requirement: !ruby/object:Gem::Requirement
246
- requirements:
247
- - - "~>"
248
- - !ruby/object:Gem::Version
249
- version: '0.5'
250
- type: :development
251
- prerelease: false
252
- version_requirements: !ruby/object:Gem::Requirement
253
- requirements:
254
- - - "~>"
255
- - !ruby/object:Gem::Version
256
- version: '0.5'
257
- - !ruby/object:Gem::Dependency
258
- name: rubocop-rspec
259
- requirement: !ruby/object:Gem::Requirement
260
- requirements:
261
- - - "~>"
262
- - !ruby/object:Gem::Version
263
- version: '2.0'
264
- type: :development
265
- prerelease: false
266
- version_requirements: !ruby/object:Gem::Requirement
267
- requirements:
268
- - - "~>"
269
- - !ruby/object:Gem::Version
270
- version: '2.0'
271
- - !ruby/object:Gem::Dependency
272
- name: simplecov
273
- requirement: !ruby/object:Gem::Requirement
274
- requirements:
275
- - - "~>"
276
- - !ruby/object:Gem::Version
277
- version: '0.19'
278
- type: :development
279
- prerelease: false
280
- version_requirements: !ruby/object:Gem::Requirement
281
- requirements:
282
- - - "~>"
283
- - !ruby/object:Gem::Version
284
- version: '0.19'
285
89
  description:
286
90
  email:
287
91
  - brooke@alchemists.io
@@ -371,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
371
175
  - !ruby/object:Gem::Version
372
176
  version: '0'
373
177
  requirements: []
374
- rubygems_version: 3.1.4
178
+ rubygems_version: 3.2.0
375
179
  signing_key:
376
180
  specification_version: 4
377
181
  summary: A command line interface for linting Git commits.
metadata.gz.sig CHANGED
Binary file