errbit_plugin 0.6.0 → 0.7.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 +5 -5
- data/.envrc +1 -0
- data/.github/workflows/jruby.yml +37 -0
- data/.github/workflows/rspec.yml +35 -0
- data/.gitignore +2 -2
- data/.rspec +4 -0
- data/.rubocop.yml +367 -0
- data/.ruby-version +1 -0
- data/.standard.yml +1 -0
- data/Gemfile +12 -5
- data/Gemfile.lock +102 -0
- data/README.md +9 -3
- data/Rakefile +2 -0
- data/errbit_plugin.gemspec +20 -18
- data/lib/errbit_plugin/issue_tracker.rb +2 -0
- data/lib/errbit_plugin/{validate_issue_tracker.rb → issue_tracker_validator.rb} +7 -5
- data/lib/errbit_plugin/none_issue_tracker.rb +57 -0
- data/lib/errbit_plugin/registry.rb +6 -3
- data/lib/errbit_plugin/version.rb +3 -1
- data/lib/errbit_plugin.rb +4 -2
- data/spec/errbit_plugin/issue_tracker_validator_spec.rb +517 -0
- data/spec/errbit_plugin/none_issue_tracker_spec.rb +31 -0
- data/spec/errbit_plugin/registry_spec.rb +17 -15
- data/spec/spec_helper.rb +19 -20
- metadata +24 -50
- data/.coveralls.yml +0 -2
- data/.travis.yml +0 -15
- data/Guardfile +0 -8
- data/lib/errbit_plugin/issue_trackers/none.rb +0 -31
- data/spec/errbit_plugin/validate_issue_tracker_spec.rb +0 -255
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 96de0d86cf362246fc3ed4690b716f610f46eb542c0ce98dd2cc813a8b370b2e
|
4
|
+
data.tar.gz: 71d3e197f58dd6537d52df07c57eae866492d8d8f5c7323c4124bcfb1122e0bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a50faed1baafbd6c339cab5fab07464fc6be5e6a1e9c3db9a8956531a5546c75390f015304712bf534422a9d817cc5e28fae2c7841f9a7497f53804f376b7170
|
7
|
+
data.tar.gz: f63f901227633ed315fbd9025e022970250b85e65b9fff3cb25ba639f5a6f17c11c792ad098a1dbf8681f11d3de996c47dc80facc78011504e372ff82b075978
|
data/.envrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export JRUBY_OPTS="--debug"
|
@@ -0,0 +1,37 @@
|
|
1
|
+
name: RSpec on JRuby
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
pull_request:
|
8
|
+
branches:
|
9
|
+
- master
|
10
|
+
schedule:
|
11
|
+
- cron: "0 21 * * 6"
|
12
|
+
|
13
|
+
env:
|
14
|
+
JRUBY_OPTS: "--debug"
|
15
|
+
|
16
|
+
jobs:
|
17
|
+
rspec:
|
18
|
+
runs-on: ubuntu-24.04
|
19
|
+
timeout-minutes: 10
|
20
|
+
strategy:
|
21
|
+
fail-fast: false
|
22
|
+
matrix:
|
23
|
+
ruby: ["jruby-9.4", "jruby-head"]
|
24
|
+
|
25
|
+
steps:
|
26
|
+
- uses: actions/checkout@v4
|
27
|
+
- run: rm -f Gemfile.lock
|
28
|
+
- run: rm -f .ruby-version
|
29
|
+
- name: Set up Ruby
|
30
|
+
uses: ruby/setup-ruby@v1
|
31
|
+
with:
|
32
|
+
ruby-version: ${{ matrix.ruby }}
|
33
|
+
rubygems: latest
|
34
|
+
bundler: latest
|
35
|
+
bundler-cache: true
|
36
|
+
|
37
|
+
- run: bundle exec rspec
|
@@ -0,0 +1,35 @@
|
|
1
|
+
|
2
|
+
name: RSpec
|
3
|
+
|
4
|
+
on:
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- master
|
8
|
+
pull_request:
|
9
|
+
branches:
|
10
|
+
- master
|
11
|
+
schedule:
|
12
|
+
- cron: "0 21 * * 6"
|
13
|
+
|
14
|
+
jobs:
|
15
|
+
rspec:
|
16
|
+
runs-on: ubuntu-24.04
|
17
|
+
timeout-minutes: 10
|
18
|
+
strategy:
|
19
|
+
fail-fast: false
|
20
|
+
matrix:
|
21
|
+
ruby: ["3.1", "3.2", "3.3", "3.4"]
|
22
|
+
|
23
|
+
steps:
|
24
|
+
- uses: actions/checkout@v4
|
25
|
+
- run: rm -f Gemfile.lock
|
26
|
+
- run: rm -f .ruby-version
|
27
|
+
- name: Set up Ruby
|
28
|
+
uses: ruby/setup-ruby@v1
|
29
|
+
with:
|
30
|
+
ruby-version: ${{ matrix.ruby }}
|
31
|
+
rubygems: latest
|
32
|
+
bundler: latest
|
33
|
+
bundler-cache: true
|
34
|
+
|
35
|
+
- run: bundle exec rspec
|
data/.gitignore
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
.bundle
|
4
4
|
.config
|
5
5
|
.yardoc
|
6
|
-
Gemfile.lock
|
7
6
|
InstalledFiles
|
8
7
|
_yardoc
|
9
8
|
coverage
|
@@ -15,9 +14,10 @@ spec/reports
|
|
15
14
|
test/tmp
|
16
15
|
test/version_tmp
|
17
16
|
tmp
|
18
|
-
.ruby-version
|
19
17
|
|
20
18
|
# YARD artifacts
|
21
19
|
.yardoc
|
22
20
|
_yardoc
|
23
21
|
doc/
|
22
|
+
.idea
|
23
|
+
.rspec_status
|
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,367 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-disable_syntax
|
3
|
+
|
4
|
+
plugins:
|
5
|
+
- rubocop-performance
|
6
|
+
- rubocop-rake
|
7
|
+
- rubocop-rspec
|
8
|
+
|
9
|
+
AllCops:
|
10
|
+
TargetRubyVersion: 3.1
|
11
|
+
NewCops: enable
|
12
|
+
|
13
|
+
# We use standard as a linter and formatter instead Rubocop.
|
14
|
+
# Also, we are explicitly disable all rubocop rules what
|
15
|
+
# already enabled in standard. And standard-performance.
|
16
|
+
|
17
|
+
# Standard rules. Style:
|
18
|
+
|
19
|
+
# Enforced by standard. Disable.
|
20
|
+
Style/StringLiterals:
|
21
|
+
Enabled: false
|
22
|
+
|
23
|
+
# Enforced by standard. Disable.
|
24
|
+
Style/HashSyntax:
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
# Enforced by standard. Disable.
|
28
|
+
Style/NestedParenthesizedCalls:
|
29
|
+
Enabled: false
|
30
|
+
|
31
|
+
# Enforced by standard. Disable.
|
32
|
+
Style/RedundantRegexpArgument:
|
33
|
+
Enabled: false
|
34
|
+
|
35
|
+
# Enforced by standard. Disable.
|
36
|
+
Style/PercentLiteralDelimiters:
|
37
|
+
Enabled: false
|
38
|
+
|
39
|
+
# Enforced by standard. Disable.
|
40
|
+
Style/RedundantBegin:
|
41
|
+
Enabled: false
|
42
|
+
|
43
|
+
# Enforced by standard. Disable.
|
44
|
+
Style/SuperWithArgsParentheses:
|
45
|
+
Enabled: false
|
46
|
+
|
47
|
+
# Enforced by standard. Disable.
|
48
|
+
Style/Encoding:
|
49
|
+
Enabled: false
|
50
|
+
|
51
|
+
# Enforced by standard. Disable.
|
52
|
+
Style/NumericLiteralPrefix:
|
53
|
+
Enabled: false
|
54
|
+
|
55
|
+
# Enforced by standard. Disable.
|
56
|
+
Style/RedundantParentheses:
|
57
|
+
Enabled: false
|
58
|
+
|
59
|
+
# Enforced by standard. Disable.
|
60
|
+
Style/EmptyMethod:
|
61
|
+
Enabled: false
|
62
|
+
|
63
|
+
# Enforced by standard. Disable.
|
64
|
+
Style/SingleLineMethods:
|
65
|
+
Enabled: false
|
66
|
+
|
67
|
+
# Enforced by standard. Disable.
|
68
|
+
Style/SafeNavigation:
|
69
|
+
Enabled: false
|
70
|
+
|
71
|
+
# Enforced by standard. Disable.
|
72
|
+
Style/RescueStandardError:
|
73
|
+
Enabled: false
|
74
|
+
|
75
|
+
# Enforced by standard. Disable.
|
76
|
+
Style/RedundantSelf:
|
77
|
+
Enabled: false
|
78
|
+
|
79
|
+
# Enforced by standard. Disable.
|
80
|
+
Style/TernaryParentheses:
|
81
|
+
Enabled: false
|
82
|
+
|
83
|
+
# Enforced by standard. Disable.
|
84
|
+
Style/RedundantLineContinuation:
|
85
|
+
Enabled: false
|
86
|
+
|
87
|
+
# Enforced by standard. Disable.
|
88
|
+
Style/SlicingWithRange:
|
89
|
+
Enabled: false
|
90
|
+
|
91
|
+
# Enforced by standard. Disable.
|
92
|
+
Style/MultilineIfModifier:
|
93
|
+
Enabled: false
|
94
|
+
|
95
|
+
# Enforced by standard. Disable.
|
96
|
+
Style/RedundantCondition:
|
97
|
+
Enabled: false
|
98
|
+
|
99
|
+
# Enforced by standard. Disable.
|
100
|
+
Style/RedundantInterpolation:
|
101
|
+
Enabled: false
|
102
|
+
|
103
|
+
# Enforced by standard. Disable.
|
104
|
+
Style/OrAssignment:
|
105
|
+
Enabled: false
|
106
|
+
|
107
|
+
# Enforced by standard. Disable.
|
108
|
+
Style/ConditionalAssignment:
|
109
|
+
Enabled: false
|
110
|
+
|
111
|
+
# Enforced by standard. Disable.
|
112
|
+
Style/ItAssignment:
|
113
|
+
Enabled: false
|
114
|
+
|
115
|
+
# Enforced by standard. Disable.
|
116
|
+
Style/EachWithObject:
|
117
|
+
Enabled: false
|
118
|
+
|
119
|
+
# Enforced by standard. Disable.
|
120
|
+
Style/GlobalStdStream:
|
121
|
+
Enabled: false
|
122
|
+
|
123
|
+
# Enforced by standard. Disable.
|
124
|
+
Style/StringLiteralsInInterpolation:
|
125
|
+
Enabled: false
|
126
|
+
|
127
|
+
# Disabled as in standard.
|
128
|
+
Style/HashAsLastArrayItem:
|
129
|
+
Enabled: false
|
130
|
+
|
131
|
+
# Enforced by standard. Disable.
|
132
|
+
Style/Alias:
|
133
|
+
Enabled: false
|
134
|
+
|
135
|
+
# Standard rules. Layout:
|
136
|
+
|
137
|
+
# Enforced by standard. Disable.
|
138
|
+
Layout/HashAlignment:
|
139
|
+
Enabled: false
|
140
|
+
|
141
|
+
# Enforced by standard. Disable.
|
142
|
+
Layout/FirstArrayElementIndentation:
|
143
|
+
Enabled: false
|
144
|
+
|
145
|
+
# Enforced by standard. Disable.
|
146
|
+
Layout/SpaceInsideHashLiteralBraces:
|
147
|
+
Enabled: false
|
148
|
+
|
149
|
+
# Enforced by standard. Disable.
|
150
|
+
Layout/SpaceInsideStringInterpolation:
|
151
|
+
Enabled: false
|
152
|
+
|
153
|
+
# Enforced by standard. Disable.
|
154
|
+
Layout/DotPosition:
|
155
|
+
Enabled: false
|
156
|
+
|
157
|
+
# Enforced by standard. Disable.
|
158
|
+
Layout/ExtraSpacing:
|
159
|
+
Enabled: false
|
160
|
+
|
161
|
+
# Enforced by standard. Disable.
|
162
|
+
Layout/ArgumentAlignment:
|
163
|
+
Enabled: false
|
164
|
+
|
165
|
+
# Enforced by standard. Disable.
|
166
|
+
Layout/MultilineMethodCallBraceLayout:
|
167
|
+
Enabled: false
|
168
|
+
|
169
|
+
# Enforced by standard. Disable.
|
170
|
+
Layout/AccessModifierIndentation:
|
171
|
+
Enabled: false
|
172
|
+
|
173
|
+
# Enforced by standard. Disable.
|
174
|
+
Layout/FirstHashElementIndentation:
|
175
|
+
Enabled: false
|
176
|
+
|
177
|
+
# Enforced by standard. Disable.
|
178
|
+
Layout/IndentationWidth:
|
179
|
+
Enabled: false
|
180
|
+
|
181
|
+
# Enforced by standard. Disable.
|
182
|
+
Layout/ElseAlignment:
|
183
|
+
Enabled: false
|
184
|
+
|
185
|
+
# Enforced by standard. Disable.
|
186
|
+
Layout/EndAlignment:
|
187
|
+
Enabled: false
|
188
|
+
|
189
|
+
# Enforced by standard. Disable.
|
190
|
+
Layout/MultilineHashBraceLayout:
|
191
|
+
Enabled: false
|
192
|
+
|
193
|
+
# Enforced by standard. Disable.
|
194
|
+
Layout/EmptyLineBetweenDefs:
|
195
|
+
Enabled: false
|
196
|
+
|
197
|
+
# Enforced by standard. Disable.
|
198
|
+
Layout/MultilineArrayBraceLayout:
|
199
|
+
Enabled: false
|
200
|
+
|
201
|
+
# Enforced by standard. Disable.
|
202
|
+
Layout/EmptyLineAfterMagicComment:
|
203
|
+
Enabled: false
|
204
|
+
|
205
|
+
# Enforced by standard. Disable.
|
206
|
+
Layout/SpaceAroundOperators:
|
207
|
+
Enabled: false
|
208
|
+
|
209
|
+
# Enforced by standard. Disable.
|
210
|
+
Layout/ArrayAlignment:
|
211
|
+
Enabled: false
|
212
|
+
|
213
|
+
# Enforced by standard. Disable.
|
214
|
+
Layout/AssignmentIndentation:
|
215
|
+
Enabled: false
|
216
|
+
|
217
|
+
# Enforced by standard. Disable.
|
218
|
+
Layout/ClosingParenthesisIndentation:
|
219
|
+
Enabled: false
|
220
|
+
|
221
|
+
# Enforced by standard. Disable.
|
222
|
+
Layout/LineLength:
|
223
|
+
Enabled: false
|
224
|
+
|
225
|
+
# Enforced by standard. Disable.
|
226
|
+
Layout/MultilineMethodCallIndentation:
|
227
|
+
Enabled: false
|
228
|
+
|
229
|
+
# Enforced by standard. Disable.
|
230
|
+
Layout/CaseIndentation:
|
231
|
+
Enabled: false
|
232
|
+
|
233
|
+
# Standard rules. Lint:
|
234
|
+
|
235
|
+
# Enforced by standard. Disable.
|
236
|
+
Lint/ImplicitStringConcatenation:
|
237
|
+
Enabled: false
|
238
|
+
|
239
|
+
# Enforced by standard. Disable.
|
240
|
+
Lint/TripleQuotes:
|
241
|
+
Enabled: false
|
242
|
+
|
243
|
+
# Enforced by standard. Disable.
|
244
|
+
Lint/IneffectiveAccessModifier:
|
245
|
+
Enabled: false
|
246
|
+
|
247
|
+
# Enforced by standard. Disable.
|
248
|
+
Lint/SymbolConversion:
|
249
|
+
Enabled: false
|
250
|
+
|
251
|
+
# Enforced by rubocop and standard
|
252
|
+
Lint/CopDirectiveSyntax:
|
253
|
+
Enabled: true
|
254
|
+
|
255
|
+
# Enforced by standard. Disable.
|
256
|
+
Lint/DuplicateMethods:
|
257
|
+
Enabled: false
|
258
|
+
|
259
|
+
# Enforced by standard. Disable.
|
260
|
+
Lint/ConstantDefinitionInBlock:
|
261
|
+
Enabled: false
|
262
|
+
|
263
|
+
# Enforced by standard. Disable.
|
264
|
+
Lint/UselessTimes:
|
265
|
+
Enabled: false
|
266
|
+
|
267
|
+
# Standard-performance rules.
|
268
|
+
|
269
|
+
# Enforced by standard-performance. Disable.
|
270
|
+
Performance/Detect:
|
271
|
+
Enabled: false
|
272
|
+
|
273
|
+
# Enforced by standard-performance. Disable.
|
274
|
+
Performance/StringIdentifierArgument:
|
275
|
+
Enabled: false
|
276
|
+
|
277
|
+
# Enforced by standard-performance. Disable.
|
278
|
+
Performance/RegexpMatch:
|
279
|
+
Enabled: false
|
280
|
+
|
281
|
+
# Always enable rubocop Security:
|
282
|
+
|
283
|
+
# Enforced by rubocop and standard
|
284
|
+
Security/JSONLoad:
|
285
|
+
Enabled: true
|
286
|
+
|
287
|
+
# Our rubocop rules
|
288
|
+
|
289
|
+
# Bundler rules.
|
290
|
+
|
291
|
+
Bundler/OrderedGems:
|
292
|
+
Enabled: false
|
293
|
+
|
294
|
+
# Gemspec rules
|
295
|
+
|
296
|
+
Gemspec/OrderedDependencies:
|
297
|
+
Enabled: false
|
298
|
+
|
299
|
+
# Style rules
|
300
|
+
|
301
|
+
# Don't allow %i[foo bar baz]
|
302
|
+
Style/SymbolArray:
|
303
|
+
Enabled: true
|
304
|
+
EnforcedStyle: brackets
|
305
|
+
|
306
|
+
# Don't allow %w[foo bar baz]
|
307
|
+
Style/WordArray:
|
308
|
+
Enabled: true
|
309
|
+
EnforcedStyle: brackets
|
310
|
+
|
311
|
+
# Disable warnings like "Missing top-level documentation comment for"
|
312
|
+
Style/Documentation:
|
313
|
+
Enabled: false
|
314
|
+
|
315
|
+
# Disable as in standard.
|
316
|
+
Style/ArgumentsForwarding:
|
317
|
+
Enabled: false
|
318
|
+
|
319
|
+
# RSpec rules
|
320
|
+
|
321
|
+
# Prefer eq over be.
|
322
|
+
RSpec/BeEq:
|
323
|
+
Enabled: false
|
324
|
+
|
325
|
+
# Prefer eq over eql.
|
326
|
+
RSpec/BeEql:
|
327
|
+
Enabled: false
|
328
|
+
|
329
|
+
# We prefer to use `expect` over `allow`.
|
330
|
+
RSpec/StubbedMock:
|
331
|
+
Enabled: false
|
332
|
+
|
333
|
+
# We prefer multiple before blocks in tests.
|
334
|
+
RSpec/ScatteredSetup:
|
335
|
+
Enabled: false
|
336
|
+
|
337
|
+
# We use `expect` in before hooks.
|
338
|
+
RSpec/ExpectInHook:
|
339
|
+
Enabled: false
|
340
|
+
|
341
|
+
# We use item_1, item_2, etc. Disable.
|
342
|
+
RSpec/IndexedLet:
|
343
|
+
Enabled: false
|
344
|
+
|
345
|
+
# We don't use named subject's
|
346
|
+
RSpec/NamedSubject:
|
347
|
+
Enabled: false
|
348
|
+
|
349
|
+
# Naming rules:
|
350
|
+
|
351
|
+
# Disable anonymous block forwarding.
|
352
|
+
Naming/BlockForwarding:
|
353
|
+
Enabled: true
|
354
|
+
EnforcedStyle: explicit
|
355
|
+
|
356
|
+
# Enable and exclude specific files.
|
357
|
+
Naming/FileName:
|
358
|
+
Enabled: true
|
359
|
+
|
360
|
+
# Disabled syntax:
|
361
|
+
|
362
|
+
# Disable shorthand hash syntax like: ({ x:, y: })
|
363
|
+
# Disable % style literals
|
364
|
+
Style/DisableSyntax:
|
365
|
+
DisableSyntax:
|
366
|
+
- shorthand_hash_syntax
|
367
|
+
- percent_literals
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.1.7
|
data/.standard.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby_version: 3.1
|
data/Gemfile
CHANGED
@@ -1,9 +1,16 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
2
4
|
|
3
5
|
# Specify your gem's dependencies in errbit_plugin.gemspec
|
4
6
|
gemspec
|
5
7
|
|
6
|
-
gem
|
7
|
-
gem
|
8
|
-
gem
|
9
|
-
gem
|
8
|
+
gem "rake"
|
9
|
+
gem "rspec"
|
10
|
+
gem "simplecov", require: false
|
11
|
+
gem "standard", require: false
|
12
|
+
gem "rubocop", require: false
|
13
|
+
gem "rubocop-disable_syntax", require: false
|
14
|
+
gem "rubocop-performance", require: false
|
15
|
+
gem "rubocop-rake", require: false
|
16
|
+
gem "rubocop-rspec", require: false
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
errbit_plugin (0.7.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
ast (2.4.3)
|
10
|
+
diff-lcs (1.6.1)
|
11
|
+
docile (1.4.1)
|
12
|
+
json (2.10.2)
|
13
|
+
language_server-protocol (3.17.0.4)
|
14
|
+
lint_roller (1.1.0)
|
15
|
+
parallel (1.26.3)
|
16
|
+
parser (3.3.7.4)
|
17
|
+
ast (~> 2.4.1)
|
18
|
+
racc
|
19
|
+
prism (1.4.0)
|
20
|
+
racc (1.8.1)
|
21
|
+
rainbow (3.1.1)
|
22
|
+
rake (13.2.1)
|
23
|
+
regexp_parser (2.10.0)
|
24
|
+
rspec (3.13.0)
|
25
|
+
rspec-core (~> 3.13.0)
|
26
|
+
rspec-expectations (~> 3.13.0)
|
27
|
+
rspec-mocks (~> 3.13.0)
|
28
|
+
rspec-core (3.13.3)
|
29
|
+
rspec-support (~> 3.13.0)
|
30
|
+
rspec-expectations (3.13.3)
|
31
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
+
rspec-support (~> 3.13.0)
|
33
|
+
rspec-mocks (3.13.2)
|
34
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
+
rspec-support (~> 3.13.0)
|
36
|
+
rspec-support (3.13.2)
|
37
|
+
rubocop (1.75.2)
|
38
|
+
json (~> 2.3)
|
39
|
+
language_server-protocol (~> 3.17.0.2)
|
40
|
+
lint_roller (~> 1.1.0)
|
41
|
+
parallel (~> 1.10)
|
42
|
+
parser (>= 3.3.0.2)
|
43
|
+
rainbow (>= 2.2.2, < 4.0)
|
44
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
45
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
46
|
+
ruby-progressbar (~> 1.7)
|
47
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
48
|
+
rubocop-ast (1.44.1)
|
49
|
+
parser (>= 3.3.7.2)
|
50
|
+
prism (~> 1.4)
|
51
|
+
rubocop-disable_syntax (0.1.1)
|
52
|
+
rubocop (>= 1.50)
|
53
|
+
rubocop-performance (1.25.0)
|
54
|
+
lint_roller (~> 1.1)
|
55
|
+
rubocop (>= 1.75.0, < 2.0)
|
56
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
57
|
+
rubocop-rake (0.7.1)
|
58
|
+
lint_roller (~> 1.1)
|
59
|
+
rubocop (>= 1.72.1)
|
60
|
+
rubocop-rspec (3.5.0)
|
61
|
+
lint_roller (~> 1.1)
|
62
|
+
rubocop (~> 1.72, >= 1.72.1)
|
63
|
+
ruby-progressbar (1.13.0)
|
64
|
+
simplecov (0.22.0)
|
65
|
+
docile (~> 1.1)
|
66
|
+
simplecov-html (~> 0.11)
|
67
|
+
simplecov_json_formatter (~> 0.1)
|
68
|
+
simplecov-html (0.13.1)
|
69
|
+
simplecov_json_formatter (0.1.4)
|
70
|
+
standard (1.49.0)
|
71
|
+
language_server-protocol (~> 3.17.0.2)
|
72
|
+
lint_roller (~> 1.0)
|
73
|
+
rubocop (~> 1.75.2)
|
74
|
+
standard-custom (~> 1.0.0)
|
75
|
+
standard-performance (~> 1.8)
|
76
|
+
standard-custom (1.0.2)
|
77
|
+
lint_roller (~> 1.0)
|
78
|
+
rubocop (~> 1.50)
|
79
|
+
standard-performance (1.8.0)
|
80
|
+
lint_roller (~> 1.1)
|
81
|
+
rubocop-performance (~> 1.25.0)
|
82
|
+
unicode-display_width (3.1.4)
|
83
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
84
|
+
unicode-emoji (4.0.4)
|
85
|
+
|
86
|
+
PLATFORMS
|
87
|
+
arm64-darwin-24
|
88
|
+
|
89
|
+
DEPENDENCIES
|
90
|
+
errbit_plugin!
|
91
|
+
rake
|
92
|
+
rspec
|
93
|
+
rubocop
|
94
|
+
rubocop-disable_syntax
|
95
|
+
rubocop-performance
|
96
|
+
rubocop-rake
|
97
|
+
rubocop-rspec
|
98
|
+
simplecov
|
99
|
+
standard
|
100
|
+
|
101
|
+
BUNDLED WITH
|
102
|
+
2.6.7
|
data/README.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1
|
-
# ErrbitPlugin
|
1
|
+
# ErrbitPlugin
|
2
|
+
|
3
|
+
[](https://github.com/errbit/errbit_plugin/actions/workflows/rspec.yml)
|
4
|
+
[](https://github.com/errbit/errbit_plugin/actions/workflows/jruby.yml)
|
5
|
+
[](https://github.com/standardrb/standard)
|
6
|
+
|
2
7
|
ErrbitPlugin provides a set of base classes that you can extend to create
|
3
8
|
Errbit plugins.
|
4
9
|
|
5
10
|
## Creating plugins
|
11
|
+
|
6
12
|
ErrbitPlugins are Ruby gems that extend the functionality of Errbit. To get
|
7
13
|
started, create a Ruby gem and add 'errbit_plugin' as a dependency in your
|
8
14
|
gem's gemspec.
|
@@ -11,6 +17,7 @@ Now you can start adding plugins. At the moment, there is only one kind of
|
|
11
17
|
plugin you can create, and that is the issue tracker.
|
12
18
|
|
13
19
|
### Issue Trackers
|
20
|
+
|
14
21
|
An issue tracker plugin is a Ruby class that enables you to link errors within
|
15
22
|
errbit to an issue in an external issue tracker like Github. An app within
|
16
23
|
errbit can be associated an issue tracker or not. When there is an association,
|
@@ -23,6 +30,7 @@ method to do so.
|
|
23
30
|
Your issue tracker plugin is responsible for providing the interface defined by
|
24
31
|
ErrbitPlugin::IssueTracker. All of the required methods must be implemented and
|
25
32
|
the class must extend ErrbitPlugin::IssueTracker. Here's an example:
|
33
|
+
|
26
34
|
```ruby
|
27
35
|
class MyIssueTracker < ErrbitPlugin::IssueTracker
|
28
36
|
|
@@ -122,8 +130,6 @@ class MyIssueTracker < ErrbitPlugin::IssueTracker
|
|
122
130
|
end
|
123
131
|
```
|
124
132
|
|
125
|
-
|
126
|
-
|
127
133
|
## Contributing
|
128
134
|
|
129
135
|
Discuss any changes you'd like to make with the authors on the mailing list, or
|
data/Rakefile
CHANGED
data/errbit_plugin.gemspec
CHANGED
@@ -1,23 +1,25 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
require 'errbit_plugin/version'
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/errbit_plugin/version"
|
5
4
|
|
6
5
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name
|
8
|
-
spec.version
|
9
|
-
spec.authors
|
10
|
-
spec.email
|
11
|
-
spec.description = %q{Base to create an errbit plugin}
|
12
|
-
spec.summary = %q{Base to create an errbit plugin}
|
13
|
-
spec.homepage = "http://github.com/errbit/errbit"
|
14
|
-
spec.license = "MIT"
|
6
|
+
spec.name = "errbit_plugin"
|
7
|
+
spec.version = ErrbitPlugin::VERSION
|
8
|
+
spec.authors = ["Stephen Crosby"]
|
9
|
+
spec.email = ["stevecrozz@gmail.com"]
|
15
10
|
|
16
|
-
spec.
|
17
|
-
spec.
|
18
|
-
spec.
|
19
|
-
spec.
|
11
|
+
spec.summary = "Base to create an errbit plugin"
|
12
|
+
spec.description = "Base to create an errbit plugin"
|
13
|
+
spec.homepage = "https://github.com/errbit/errbit_plugin"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = ">= 3.1.0"
|
20
16
|
|
21
|
-
spec.
|
22
|
-
spec.
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
|
20
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
21
|
+
|
22
|
+
spec.files = `git ls-files`.split($/)
|
23
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
24
|
+
spec.require_paths = ["lib"]
|
23
25
|
end
|