geet 0.27.1 → 0.27.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/.rubocop.yml +79 -58
- data/Gemfile +9 -9
- data/Rakefile +2 -2
- data/bin/geet +7 -7
- data/geet.gemspec +19 -19
- data/lib/geet/commandline/commands.rb +16 -15
- data/lib/geet/commandline/configuration.rb +97 -93
- data/lib/geet/commandline/editor.rb +13 -7
- data/lib/geet/git/repository.rb +75 -6
- data/lib/geet/github/abstract_issue.rb +7 -7
- data/lib/geet/github/api_interface.rb +23 -23
- data/lib/geet/github/gist.rb +8 -8
- data/lib/geet/github/issue.rb +6 -6
- data/lib/geet/github/label.rb +5 -5
- data/lib/geet/github/milestone.rb +10 -10
- data/lib/geet/github/pr.rb +25 -25
- data/lib/geet/github/remote_repository.rb +1 -1
- data/lib/geet/github/user.rb +5 -5
- data/lib/geet/gitlab/api_interface.rb +13 -13
- data/lib/geet/gitlab/issue.rb +3 -3
- data/lib/geet/gitlab/label.rb +4 -4
- data/lib/geet/gitlab/milestone.rb +4 -4
- data/lib/geet/gitlab/pr.rb +4 -4
- data/lib/geet/gitlab/user.rb +2 -2
- data/lib/geet/helpers/json_helper.rb +1 -1
- data/lib/geet/helpers/os_helper.rb +5 -5
- data/lib/geet/helpers/services_workflow_helper.rb +4 -4
- data/lib/geet/services/abstract_create_issue.rb +3 -3
- data/lib/geet/services/add_upstream_repo.rb +1 -1
- data/lib/geet/services/close_milestones.rb +9 -2
- data/lib/geet/services/comment_pr.rb +11 -0
- data/lib/geet/services/create_gist.rb +18 -4
- data/lib/geet/services/create_issue.rb +14 -8
- data/lib/geet/services/create_label.rb +22 -3
- data/lib/geet/services/create_milestone.rb +7 -1
- data/lib/geet/services/create_pr.rb +98 -23
- data/lib/geet/services/list_issues.rb +4 -3
- data/lib/geet/services/list_labels.rb +7 -0
- data/lib/geet/services/list_milestones.rb +35 -6
- data/lib/geet/services/list_prs.rb +7 -0
- data/lib/geet/services/merge_pr.rb +20 -2
- data/lib/geet/services/open_pr.rb +2 -2
- data/lib/geet/services/open_repo.rb +7 -1
- data/lib/geet/shared/repo_permissions.rb +4 -4
- data/lib/geet/shared/selection.rb +2 -2
- data/lib/geet/utils/attributes_selection_manager.rb +30 -10
- data/lib/geet/utils/git_client.rb +74 -33
- data/lib/geet/utils/manual_list_selection.rb +23 -11
- data/lib/geet/utils/string_matching_selection.rb +22 -6
- data/lib/geet/version.rb +2 -1
- data/lib/geet.rb +2 -2
- data/spec/integration/comment_pr_spec.rb +10 -10
- data/spec/integration/create_gist_spec.rb +12 -12
- data/spec/integration/create_issue_spec.rb +21 -21
- data/spec/integration/create_label_spec.rb +33 -33
- data/spec/integration/create_milestone_spec.rb +9 -9
- data/spec/integration/create_pr_spec.rb +120 -134
- data/spec/integration/list_issues_spec.rb +25 -25
- data/spec/integration/list_labels_spec.rb +15 -15
- data/spec/integration/list_milestones_spec.rb +15 -15
- data/spec/integration/list_prs_spec.rb +10 -10
- data/spec/integration/merge_pr_spec.rb +18 -18
- data/spec/integration/open_pr_spec.rb +18 -20
- data/spec/integration/open_repo_spec.rb +18 -18
- data/spec/spec_helper.rb +10 -10
- data/spec/unit/github/pr_spec.rb +91 -91
- metadata +2 -3
- data/.rubocop_todo.yml +0 -466
data/.rubocop_todo.yml
DELETED
|
@@ -1,466 +0,0 @@
|
|
|
1
|
-
AllCops:
|
|
2
|
-
NewCops: disable
|
|
3
|
-
|
|
4
|
-
Metrics/MethodLength:
|
|
5
|
-
Enabled: false
|
|
6
|
-
|
|
7
|
-
# Offense count: 20
|
|
8
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
9
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
|
|
10
|
-
# URISchemes: http, https
|
|
11
|
-
Layout/LineLength:
|
|
12
|
-
Enabled: false
|
|
13
|
-
|
|
14
|
-
# Offense count: 1
|
|
15
|
-
# Configuration parameters: Include.
|
|
16
|
-
# Include: **/*.gemspec
|
|
17
|
-
Gemspec/RequiredRubyVersion:
|
|
18
|
-
Exclude:
|
|
19
|
-
- 'geet.gemspec'
|
|
20
|
-
|
|
21
|
-
# Offense count: 1
|
|
22
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
23
|
-
Layout/ClosingParenthesisIndentation:
|
|
24
|
-
Exclude:
|
|
25
|
-
- 'lib/geet/services/create_issue.rb'
|
|
26
|
-
|
|
27
|
-
# Offense count: 8
|
|
28
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
29
|
-
# Configuration parameters: AllowForAlignment.
|
|
30
|
-
Layout/CommentIndentation:
|
|
31
|
-
Exclude:
|
|
32
|
-
- 'spec/integration/create_pr_spec.rb'
|
|
33
|
-
- 'spec/integration/merge_pr_spec.rb'
|
|
34
|
-
|
|
35
|
-
# Offense count: 2
|
|
36
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
37
|
-
Layout/ElseAlignment:
|
|
38
|
-
Exclude:
|
|
39
|
-
- 'lib/geet/github/pr.rb'
|
|
40
|
-
- 'lib/geet/helpers/services_workflow_helper.rb'
|
|
41
|
-
|
|
42
|
-
# Offense count: 1
|
|
43
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
44
|
-
Layout/EmptyLineAfterGuardClause:
|
|
45
|
-
Exclude:
|
|
46
|
-
- 'lib/geet/github/api_interface.rb'
|
|
47
|
-
|
|
48
|
-
# Offense count: 2
|
|
49
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
50
|
-
# Configuration parameters: EnforcedStyle.
|
|
51
|
-
# SupportedStyles: empty_lines, no_empty_lines
|
|
52
|
-
Layout/EmptyLinesAroundBlockBody:
|
|
53
|
-
Exclude:
|
|
54
|
-
- 'spec/integration/list_issues_spec.rb'
|
|
55
|
-
- 'spec/integration/open_pr_spec.rb'
|
|
56
|
-
|
|
57
|
-
# Offense count: 2
|
|
58
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
59
|
-
# Configuration parameters: EnforcedStyleAlignWith, Severity.
|
|
60
|
-
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
|
61
|
-
Layout/EndAlignment:
|
|
62
|
-
Exclude:
|
|
63
|
-
- 'lib/geet/github/pr.rb'
|
|
64
|
-
- 'lib/geet/helpers/services_workflow_helper.rb'
|
|
65
|
-
|
|
66
|
-
# Offense count: 2
|
|
67
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
68
|
-
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
|
69
|
-
Layout/ExtraSpacing:
|
|
70
|
-
Exclude:
|
|
71
|
-
- 'lib/geet/commandline/configuration.rb'
|
|
72
|
-
|
|
73
|
-
# Offense count: 1
|
|
74
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
75
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
76
|
-
# SupportedStyles: consistent, align_parentheses
|
|
77
|
-
Layout/FirstParameterIndentation:
|
|
78
|
-
Exclude:
|
|
79
|
-
- 'lib/geet/services/create_issue.rb'
|
|
80
|
-
|
|
81
|
-
# Offense count: 2
|
|
82
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
83
|
-
# Configuration parameters: Width, AllowedPatterns, IgnoredPatterns.
|
|
84
|
-
Layout/IndentationWidth:
|
|
85
|
-
Exclude:
|
|
86
|
-
- 'lib/geet/github/pr.rb'
|
|
87
|
-
- 'lib/geet/helpers/services_workflow_helper.rb'
|
|
88
|
-
|
|
89
|
-
# Offense count: 3
|
|
90
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
91
|
-
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
|
|
92
|
-
# SupportedStylesForExponentOperator: space, no_space
|
|
93
|
-
Layout/SpaceAroundOperators:
|
|
94
|
-
Exclude:
|
|
95
|
-
- 'geet.gemspec'
|
|
96
|
-
- 'lib/geet/helpers/os_helper.rb'
|
|
97
|
-
|
|
98
|
-
# Offense count: 10
|
|
99
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
100
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
|
101
|
-
# SupportedStyles: space, no_space, compact
|
|
102
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
|
103
|
-
Layout/SpaceInsideHashLiteralBraces:
|
|
104
|
-
Exclude:
|
|
105
|
-
- 'bin/geet'
|
|
106
|
-
- 'lib/geet/services/open_repo.rb'
|
|
107
|
-
- 'lib/geet/utils/git_client.rb'
|
|
108
|
-
- 'lib/geet/utils/manual_list_selection.rb'
|
|
109
|
-
- 'spec/spec_helper.rb'
|
|
110
|
-
|
|
111
|
-
# Offense count: 3
|
|
112
|
-
# Configuration parameters: AllowedMethods.
|
|
113
|
-
# AllowedMethods: enums
|
|
114
|
-
Lint/ConstantDefinitionInBlock:
|
|
115
|
-
Exclude:
|
|
116
|
-
- 'spec/integration/open_repo_spec.rb'
|
|
117
|
-
|
|
118
|
-
# Offense count: 1
|
|
119
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
120
|
-
Lint/DeprecatedClassMethods:
|
|
121
|
-
Exclude:
|
|
122
|
-
- 'bin/geet'
|
|
123
|
-
|
|
124
|
-
# Offense count: 1
|
|
125
|
-
# Configuration parameters: AllowComments.
|
|
126
|
-
Lint/EmptyWhen:
|
|
127
|
-
Exclude:
|
|
128
|
-
- 'lib/geet/services/open_repo.rb'
|
|
129
|
-
|
|
130
|
-
# Offense count: 1
|
|
131
|
-
# Configuration parameters: MaximumRangeSize.
|
|
132
|
-
Lint/MissingCopEnableDirective:
|
|
133
|
-
Exclude:
|
|
134
|
-
- 'lib/geet/commandline/configuration.rb'
|
|
135
|
-
|
|
136
|
-
# Offense count: 2
|
|
137
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
138
|
-
Lint/NonDeterministicRequireOrder:
|
|
139
|
-
Exclude:
|
|
140
|
-
- 'bin/geet'
|
|
141
|
-
- 'lib/geet/git/repository.rb'
|
|
142
|
-
|
|
143
|
-
# Offense count: 1
|
|
144
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
145
|
-
Lint/RedundantCopDisableDirective:
|
|
146
|
-
Exclude:
|
|
147
|
-
- 'lib/geet/commandline/configuration.rb'
|
|
148
|
-
|
|
149
|
-
# Offense count: 2
|
|
150
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
151
|
-
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
|
152
|
-
Lint/UnusedBlockArgument:
|
|
153
|
-
Exclude:
|
|
154
|
-
- 'lib/geet/gitlab/issue.rb'
|
|
155
|
-
- 'lib/geet/gitlab/pr.rb'
|
|
156
|
-
|
|
157
|
-
# Offense count: 2
|
|
158
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
159
|
-
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
|
|
160
|
-
Lint/UnusedMethodArgument:
|
|
161
|
-
Exclude:
|
|
162
|
-
- 'lib/geet/services/open_pr.rb'
|
|
163
|
-
- 'lib/geet/utils/git_client.rb'
|
|
164
|
-
|
|
165
|
-
# Offense count: 1
|
|
166
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
167
|
-
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
|
|
168
|
-
Lint/UselessAccessModifier:
|
|
169
|
-
Exclude:
|
|
170
|
-
- 'lib/geet/github/milestone.rb'
|
|
171
|
-
|
|
172
|
-
# Offense count: 1
|
|
173
|
-
Lint/UselessAssignment:
|
|
174
|
-
Exclude:
|
|
175
|
-
- 'lib/geet/services/create_issue.rb'
|
|
176
|
-
|
|
177
|
-
# Offense count: 10
|
|
178
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
|
|
179
|
-
Metrics/AbcSize:
|
|
180
|
-
Max: 65
|
|
181
|
-
|
|
182
|
-
# Offense count: 18
|
|
183
|
-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
|
|
184
|
-
# AllowedMethods: refine
|
|
185
|
-
Metrics/BlockLength:
|
|
186
|
-
Max: 88
|
|
187
|
-
|
|
188
|
-
# Offense count: 1
|
|
189
|
-
# Configuration parameters: CountBlocks.
|
|
190
|
-
Metrics/BlockNesting:
|
|
191
|
-
Max: 4
|
|
192
|
-
|
|
193
|
-
# Offense count: 4
|
|
194
|
-
# Configuration parameters: CountComments, CountAsOne.
|
|
195
|
-
Metrics/ClassLength:
|
|
196
|
-
Max: 126
|
|
197
|
-
|
|
198
|
-
# Offense count: 6
|
|
199
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
|
|
200
|
-
Metrics/CyclomaticComplexity:
|
|
201
|
-
Max: 20
|
|
202
|
-
|
|
203
|
-
# Offense count: 4
|
|
204
|
-
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
|
|
205
|
-
Metrics/ParameterLists:
|
|
206
|
-
Max: 9
|
|
207
|
-
|
|
208
|
-
# Offense count: 4
|
|
209
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
|
|
210
|
-
Metrics/PerceivedComplexity:
|
|
211
|
-
Max: 12
|
|
212
|
-
|
|
213
|
-
# Offense count: 5
|
|
214
|
-
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
|
215
|
-
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
|
|
216
|
-
Naming/MethodParameterName:
|
|
217
|
-
Exclude:
|
|
218
|
-
- 'lib/geet/services/create_pr.rb'
|
|
219
|
-
- 'lib/geet/services/merge_pr.rb'
|
|
220
|
-
|
|
221
|
-
# Offense count: 2
|
|
222
|
-
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
|
|
223
|
-
# NamePrefix: is_, has_, have_
|
|
224
|
-
# ForbiddenPrefixes: is_, has_, have_
|
|
225
|
-
# AllowedMethods: is_a?
|
|
226
|
-
# MethodDefinitionMacros: define_method, define_singleton_method
|
|
227
|
-
Naming/PredicateName:
|
|
228
|
-
Exclude:
|
|
229
|
-
- 'spec/**/*'
|
|
230
|
-
- 'lib/geet/github/user.rb'
|
|
231
|
-
|
|
232
|
-
# Offense count: 1
|
|
233
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
234
|
-
# Configuration parameters: PreferredName.
|
|
235
|
-
Naming/RescuedExceptionsVariableName:
|
|
236
|
-
Exclude:
|
|
237
|
-
- 'lib/geet/github/user.rb'
|
|
238
|
-
|
|
239
|
-
# Offense count: 1
|
|
240
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
241
|
-
Style/BlockComments:
|
|
242
|
-
Exclude:
|
|
243
|
-
- 'spec/spec_helper.rb'
|
|
244
|
-
|
|
245
|
-
# Offense count: 34
|
|
246
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
247
|
-
Style/CommentedKeyword:
|
|
248
|
-
Enabled: false
|
|
249
|
-
|
|
250
|
-
# Offense count: 38
|
|
251
|
-
# Configuration parameters: AllowedConstants.
|
|
252
|
-
Style/Documentation:
|
|
253
|
-
Enabled: false
|
|
254
|
-
|
|
255
|
-
# Offense count: 1
|
|
256
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
257
|
-
# Configuration parameters: EnforcedStyle.
|
|
258
|
-
# SupportedStyles: allowed_in_returns, forbidden
|
|
259
|
-
Style/DoubleNegation:
|
|
260
|
-
Exclude:
|
|
261
|
-
- 'bin/geet'
|
|
262
|
-
|
|
263
|
-
# Offense count: 1
|
|
264
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
265
|
-
# Configuration parameters: EnforcedStyle, AllowComments.
|
|
266
|
-
# SupportedStyles: empty, nil, both
|
|
267
|
-
Style/EmptyElse:
|
|
268
|
-
Exclude:
|
|
269
|
-
- 'lib/geet/utils/git_client.rb'
|
|
270
|
-
|
|
271
|
-
# Offense count: 2
|
|
272
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
273
|
-
# Configuration parameters: EnforcedStyle.
|
|
274
|
-
# SupportedStyles: always, always_true, never
|
|
275
|
-
Style/FrozenStringLiteralComment:
|
|
276
|
-
Exclude:
|
|
277
|
-
- 'Rakefile'
|
|
278
|
-
- 'lib/geet/shared/http_error.rb'
|
|
279
|
-
|
|
280
|
-
# Offense count: 6
|
|
281
|
-
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
|
|
282
|
-
Style/GuardClause:
|
|
283
|
-
Exclude:
|
|
284
|
-
- 'lib/geet/git/repository.rb'
|
|
285
|
-
- 'lib/geet/github/pr.rb'
|
|
286
|
-
- 'lib/geet/gitlab/pr.rb'
|
|
287
|
-
- 'lib/geet/utils/git_client.rb'
|
|
288
|
-
|
|
289
|
-
# Offense count: 7
|
|
290
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
291
|
-
# Configuration parameters: EnforcedStyle.
|
|
292
|
-
# SupportedStyles: braces, no_braces
|
|
293
|
-
Style/HashAsLastArrayItem:
|
|
294
|
-
Exclude:
|
|
295
|
-
- 'lib/geet/commandline/configuration.rb'
|
|
296
|
-
|
|
297
|
-
# Offense count: 8
|
|
298
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
299
|
-
Style/IfUnlessModifier:
|
|
300
|
-
Exclude:
|
|
301
|
-
- 'lib/geet/git/repository.rb'
|
|
302
|
-
- 'lib/geet/github/pr.rb'
|
|
303
|
-
- 'lib/geet/gitlab/pr.rb'
|
|
304
|
-
- 'lib/geet/helpers/os_helper.rb'
|
|
305
|
-
- 'lib/geet/services/create_issue.rb'
|
|
306
|
-
- 'lib/geet/services/create_pr.rb'
|
|
307
|
-
|
|
308
|
-
# Offense count: 1
|
|
309
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
310
|
-
Style/InfiniteLoop:
|
|
311
|
-
Exclude:
|
|
312
|
-
- 'lib/geet/services/create_pr.rb'
|
|
313
|
-
|
|
314
|
-
# Offense count: 1
|
|
315
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
316
|
-
# Configuration parameters: EnforcedStyle.
|
|
317
|
-
# SupportedStyles: line_count_dependent, lambda, literal
|
|
318
|
-
Style/Lambda:
|
|
319
|
-
Exclude:
|
|
320
|
-
- 'spec/integration/create_pr_spec.rb'
|
|
321
|
-
|
|
322
|
-
# Offense count: 1
|
|
323
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
324
|
-
# Configuration parameters: EnforcedStyle.
|
|
325
|
-
# SupportedStyles: call, braces
|
|
326
|
-
Style/LambdaCall:
|
|
327
|
-
Exclude:
|
|
328
|
-
- 'lib/geet/utils/attributes_selection_manager.rb'
|
|
329
|
-
|
|
330
|
-
# Offense count: 1
|
|
331
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
332
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
|
|
333
|
-
Style/MethodCallWithoutArgsParentheses:
|
|
334
|
-
Exclude:
|
|
335
|
-
- 'lib/geet/utils/git_client.rb'
|
|
336
|
-
|
|
337
|
-
# Offense count: 5
|
|
338
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
339
|
-
# Configuration parameters: EnforcedStyle.
|
|
340
|
-
# SupportedStyles: literals, strict
|
|
341
|
-
Style/MutableConstant:
|
|
342
|
-
Exclude:
|
|
343
|
-
- 'lib/geet/shared/repo_permissions.rb'
|
|
344
|
-
- 'lib/geet/utils/git_client.rb'
|
|
345
|
-
- 'spec/integration/open_repo_spec.rb'
|
|
346
|
-
|
|
347
|
-
# Offense count: 10
|
|
348
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
349
|
-
# Configuration parameters: EnforcedStyle.
|
|
350
|
-
# SupportedStyles: both, prefix, postfix
|
|
351
|
-
Style/NegatedIf:
|
|
352
|
-
Exclude:
|
|
353
|
-
- 'lib/geet/git/repository.rb'
|
|
354
|
-
- 'lib/geet/github/api_interface.rb'
|
|
355
|
-
- 'lib/geet/github/user.rb'
|
|
356
|
-
- 'lib/geet/gitlab/api_interface.rb'
|
|
357
|
-
- 'lib/geet/gitlab/pr.rb'
|
|
358
|
-
- 'lib/geet/services/create_issue.rb'
|
|
359
|
-
- 'lib/geet/services/create_pr.rb'
|
|
360
|
-
- 'lib/geet/utils/attributes_selection_manager.rb'
|
|
361
|
-
|
|
362
|
-
# Offense count: 1
|
|
363
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
364
|
-
# Configuration parameters: Strict, AllowedNumbers, AllowedPatterns.
|
|
365
|
-
Style/NumericLiterals:
|
|
366
|
-
MinDigits: 6
|
|
367
|
-
|
|
368
|
-
# Offense count: 1
|
|
369
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
370
|
-
# Configuration parameters: PreferredDelimiters.
|
|
371
|
-
Style/PercentLiteralDelimiters:
|
|
372
|
-
Exclude:
|
|
373
|
-
- 'lib/geet/utils/git_client.rb'
|
|
374
|
-
|
|
375
|
-
# Offense count: 2
|
|
376
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
377
|
-
Style/RedundantFreeze:
|
|
378
|
-
Exclude:
|
|
379
|
-
- 'lib/geet/shared/selection.rb'
|
|
380
|
-
|
|
381
|
-
# Offense count: 1
|
|
382
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
383
|
-
Style/RedundantSelf:
|
|
384
|
-
Exclude:
|
|
385
|
-
- 'lib/geet/github/remote_repository.rb'
|
|
386
|
-
|
|
387
|
-
# Offense count: 1
|
|
388
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
389
|
-
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
|
390
|
-
# SupportedStyles: slashes, percent_r, mixed
|
|
391
|
-
Style/RegexpLiteral:
|
|
392
|
-
Exclude:
|
|
393
|
-
- 'lib/geet/utils/git_client.rb'
|
|
394
|
-
|
|
395
|
-
# Offense count: 1
|
|
396
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
397
|
-
Style/SlicingWithRange:
|
|
398
|
-
Exclude:
|
|
399
|
-
- 'lib/geet/utils/git_client.rb'
|
|
400
|
-
|
|
401
|
-
# Offense count: 3
|
|
402
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
403
|
-
# Configuration parameters: Mode.
|
|
404
|
-
Style/StringConcatenation:
|
|
405
|
-
Exclude:
|
|
406
|
-
- 'lib/geet/commandline/editor.rb'
|
|
407
|
-
- 'lib/geet/github/api_interface.rb'
|
|
408
|
-
- 'lib/geet/gitlab/api_interface.rb'
|
|
409
|
-
|
|
410
|
-
# Offense count: 22
|
|
411
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
412
|
-
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
|
413
|
-
# SupportedStyles: single_quotes, double_quotes
|
|
414
|
-
Style/StringLiterals:
|
|
415
|
-
Exclude:
|
|
416
|
-
- 'lib/geet/commandline/configuration.rb'
|
|
417
|
-
- 'lib/geet/git/repository.rb'
|
|
418
|
-
- 'lib/geet/github/remote_repository.rb'
|
|
419
|
-
- 'lib/geet/helpers/os_helper.rb'
|
|
420
|
-
- 'lib/geet/helpers/summary_helper.rb'
|
|
421
|
-
- 'lib/geet/services/add_upstream_repo.rb'
|
|
422
|
-
- 'lib/geet/services/create_pr.rb'
|
|
423
|
-
- 'lib/geet/services/merge_pr.rb'
|
|
424
|
-
- 'lib/geet/utils/git_client.rb'
|
|
425
|
-
- 'spec/integration/open_repo_spec.rb'
|
|
426
|
-
|
|
427
|
-
# Offense count: 1
|
|
428
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
429
|
-
# Configuration parameters: EnforcedStyle.
|
|
430
|
-
# SupportedStyles: single_quotes, double_quotes
|
|
431
|
-
Style/StringLiteralsInInterpolation:
|
|
432
|
-
Exclude:
|
|
433
|
-
- 'lib/geet/utils/git_client.rb'
|
|
434
|
-
|
|
435
|
-
# Offense count: 1
|
|
436
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
437
|
-
# Configuration parameters: MinSize.
|
|
438
|
-
# SupportedStyles: percent, brackets
|
|
439
|
-
Style/SymbolArray:
|
|
440
|
-
EnforcedStyle: brackets
|
|
441
|
-
|
|
442
|
-
# Offense count: 1
|
|
443
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
444
|
-
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
|
|
445
|
-
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
|
|
446
|
-
Style/TernaryParentheses:
|
|
447
|
-
Exclude:
|
|
448
|
-
- 'lib/geet/github/user.rb'
|
|
449
|
-
|
|
450
|
-
# Offense count: 6
|
|
451
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
452
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
|
453
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
|
454
|
-
Style/TrailingCommaInArrayLiteral:
|
|
455
|
-
Exclude:
|
|
456
|
-
- 'lib/geet/commandline/configuration.rb'
|
|
457
|
-
- 'lib/geet/shared/repo_permissions.rb'
|
|
458
|
-
|
|
459
|
-
# Offense count: 8
|
|
460
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
461
|
-
# Configuration parameters: EnforcedStyleForMultiline.
|
|
462
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
|
463
|
-
Style/TrailingCommaInHashLiteral:
|
|
464
|
-
Exclude:
|
|
465
|
-
- 'lib/geet/commandline/configuration.rb'
|
|
466
|
-
- 'spec/integration/open_repo_spec.rb'
|