geet 0.12.0 → 0.13.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/.rubocop.yml +8 -7
- data/.rubocop_todo.yml +451 -15
- data/Gemfile +1 -1
- data/geet.gemspec +2 -2
- data/lib/geet/github/gist.rb +3 -3
- data/lib/geet/version.rb +1 -1
- metadata +3 -4
- data/.travis.yml +0 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e3fb8be731151a44f97d99825b4635046f3a52d444709ade0b538f6df5f9032
|
|
4
|
+
data.tar.gz: a643e30c0e1be8851f051593b29d64296e6c8ec7fdcdfb8548bb98a8412fd20b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b26b8dddfe4ce9af0cd97e43a0e3f36165c101fb7b468882397be364880ef110124b1ea2c1364510b78f3f638395a75691b291ad199791da8480c17be715a68
|
|
7
|
+
data.tar.gz: 0ba381a84d8e6ddad6e0cbd8e1ac498c5b51447019ff091e8509f5902785083fa56b461ce0537c75a3ad221571fa4a8ee9b1d5c2d59aedde832767e65b449875
|
data/.rubocop.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
inherit_from: .rubocop_todo.yml
|
|
2
2
|
AllCops:
|
|
3
|
-
TargetRubyVersion: 2.
|
|
3
|
+
TargetRubyVersion: 2.6
|
|
4
4
|
|
|
5
5
|
Layout/ExtraSpacing:
|
|
6
6
|
Enabled: false
|
|
@@ -56,10 +56,6 @@ Style/ConditionalAssignment:
|
|
|
56
56
|
Style/DoubleNegation:
|
|
57
57
|
Enabled: false
|
|
58
58
|
|
|
59
|
-
Style/GuardClause:
|
|
60
|
-
Exclude:
|
|
61
|
-
- 'lib/geet/git/repository.rb'
|
|
62
|
-
|
|
63
59
|
Style/IfUnlessModifier:
|
|
64
60
|
Enabled: false
|
|
65
61
|
|
|
@@ -72,5 +68,10 @@ Style/Next:
|
|
|
72
68
|
Style/TrailingCommaInArguments:
|
|
73
69
|
Enabled: false
|
|
74
70
|
|
|
75
|
-
Style/
|
|
76
|
-
|
|
71
|
+
Style/TrailingCommaInArrayLiteral:
|
|
72
|
+
EnforcedStyleForMultiline: consistent_comma
|
|
73
|
+
Enabled: true
|
|
74
|
+
|
|
75
|
+
Style/TrailingCommaInHashLiteral:
|
|
76
|
+
EnforcedStyleForMultiline: consistent_comma
|
|
77
|
+
Enabled: true
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,10 +1,131 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
#
|
|
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'
|
|
8
129
|
|
|
9
130
|
# Offense count: 1
|
|
10
131
|
# Configuration parameters: MaximumRangeSize.
|
|
@@ -12,19 +133,334 @@ Lint/MissingCopEnableDirective:
|
|
|
12
133
|
Exclude:
|
|
13
134
|
- 'lib/geet/commandline/configuration.rb'
|
|
14
135
|
|
|
15
|
-
# Offense count:
|
|
16
|
-
|
|
17
|
-
|
|
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'
|
|
18
148
|
|
|
19
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.
|
|
20
200
|
Metrics/CyclomaticComplexity:
|
|
21
|
-
Max:
|
|
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'
|
|
22
220
|
|
|
23
221
|
# Offense count: 2
|
|
24
|
-
# Configuration parameters:
|
|
25
|
-
|
|
26
|
-
|
|
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
|
|
27
249
|
|
|
28
|
-
# Offense count:
|
|
250
|
+
# Offense count: 38
|
|
251
|
+
# Configuration parameters: AllowedConstants.
|
|
29
252
|
Style/Documentation:
|
|
30
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'
|
data/Gemfile
CHANGED
data/geet.gemspec
CHANGED
|
@@ -8,9 +8,9 @@ Gem::Specification.new do |s|
|
|
|
8
8
|
s.name = 'geet'
|
|
9
9
|
s.version = Geet::VERSION
|
|
10
10
|
s.platform = Gem::Platform::RUBY
|
|
11
|
-
s.required_ruby_version = '>= 2.
|
|
11
|
+
s.required_ruby_version = '>= 2.6.0'
|
|
12
12
|
s.authors = ['Saverio Miroddi']
|
|
13
|
-
s.date = '2022-08-
|
|
13
|
+
s.date = '2022-08-18'
|
|
14
14
|
s.email = ['saverio.pub2@gmail.com']
|
|
15
15
|
s.homepage = 'https://github.com/saveriomiroddi/geet'
|
|
16
16
|
s.summary = 'Commandline interface for performing SCM host operations, eg. create a PR on GitHub'
|
data/lib/geet/github/gist.rb
CHANGED
data/lib/geet/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: geet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Saverio Miroddi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-08-
|
|
11
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: simple_scripting
|
|
@@ -66,7 +66,6 @@ files:
|
|
|
66
66
|
- ".rspec"
|
|
67
67
|
- ".rubocop.yml"
|
|
68
68
|
- ".rubocop_todo.yml"
|
|
69
|
-
- ".travis.yml"
|
|
70
69
|
- Gemfile
|
|
71
70
|
- LICENSE
|
|
72
71
|
- README.md
|
|
@@ -183,7 +182,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
183
182
|
requirements:
|
|
184
183
|
- - ">="
|
|
185
184
|
- !ruby/object:Gem::Version
|
|
186
|
-
version: 2.
|
|
185
|
+
version: 2.6.0
|
|
187
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
187
|
requirements:
|
|
189
188
|
- - ">="
|
data/.travis.yml
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
dist: bionic
|
|
2
|
-
language: ruby
|
|
3
|
-
rvm:
|
|
4
|
-
- 2.3
|
|
5
|
-
- 2.4
|
|
6
|
-
- 2.5
|
|
7
|
-
- 2.6
|
|
8
|
-
- 2.7
|
|
9
|
-
- 3.0
|
|
10
|
-
- ruby-head
|
|
11
|
-
matrix:
|
|
12
|
-
fast_finish: true
|
|
13
|
-
allow_failures:
|
|
14
|
-
- rvm: ruby-head
|
|
15
|
-
# API tokens are always required, but not used in testing, since no requests are actually made.
|
|
16
|
-
env:
|
|
17
|
-
- GITHUB_API_TOKEN=phony GITLAB_API_TOKEN=phony
|