errbit_github_plugin 0.2.0 → 0.4.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/.rspec +4 -0
- data/.rubocop.yml +367 -0
- data/.ruby-version +1 -0
- data/.standard.yml +1 -0
- data/README.md +6 -27
- data/Rakefile +2 -0
- data/lib/errbit_github_plugin/{error.rb → authentication_error.rb} +2 -0
- data/lib/errbit_github_plugin/issue_tracker.rb +49 -19
- data/lib/errbit_github_plugin/version.rb +3 -1
- data/lib/errbit_github_plugin.rb +6 -4
- metadata +25 -28
- data/.gitignore +0 -17
- data/Gemfile +0 -10
- data/errbit_github_plugin.gemspec +0 -27
- data/vendor/assets/images/github_create.png +0 -0
- data/vendor/assets/images/github_inactive.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 297a2628ce82518179d2e1c49e6e3fa74d5196e0477989441ef642e59a9d53fc
|
4
|
+
data.tar.gz: e77faf9c3f5de3af16b4a05d9e684c5fe0ec6697f3135aae2a8fefd97647075b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f47ea7b0efa36f9224db491ebee2cc1f147a6ae0ad66cc59fb45dc470b82a4ba97b308d6a060002a45dbdd72c262a41ac08cc22380e0055ff5cf9e71728ec83
|
7
|
+
data.tar.gz: 58040aeb2ae35411303e871e279cb5dea26499d58cad30e070174edefbc707c27bf281c5c86960537173d133b08a8d9e1be2ed342935838260bce9e069821025
|
data/.envrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export JRUBY_OPTS="--debug"
|
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/README.md
CHANGED
@@ -1,29 +1,8 @@
|
|
1
|
-
#
|
1
|
+
# Errbit GitHub Plugin
|
2
2
|
|
3
|
-
|
3
|
+
[](https://github.com/errbit/errbit_github_plugin/actions/workflows/rspec.yml)
|
4
|
+
[](https://github.com/errbit/errbit_github_plugin/actions/workflows/jruby.yml)
|
5
|
+
[](https://github.com/standardrb/standard)
|
4
6
|
|
5
|
-
|
6
|
-
|
7
|
-
Add this line to your application's Gemfile:
|
8
|
-
|
9
|
-
gem 'errbit_github_plugin'
|
10
|
-
|
11
|
-
And then execute:
|
12
|
-
|
13
|
-
$ bundle
|
14
|
-
|
15
|
-
Or install it yourself as:
|
16
|
-
|
17
|
-
$ gem install errbit_github_plugin
|
18
|
-
|
19
|
-
## Usage
|
20
|
-
|
21
|
-
TODO: Write usage instructions here
|
22
|
-
|
23
|
-
## Contributing
|
24
|
-
|
25
|
-
1. Fork it
|
26
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create new Pull Request
|
7
|
+
This plugin provides GitHub issue tracker integration for Errbit, and it is the
|
8
|
+
only plugin included by default in Errbit.
|
data/Rakefile
CHANGED
@@ -1,15 +1,17 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "active_support/core_ext/object/blank"
|
4
|
+
require "octokit"
|
2
5
|
|
3
6
|
module ErrbitGithubPlugin
|
4
7
|
class IssueTracker < ErrbitPlugin::IssueTracker
|
8
|
+
LABEL = "github"
|
5
9
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
'user profile, and allow Errbit to create issues using your ' <<
|
12
|
-
'OAuth token.'
|
10
|
+
NOTE = "Please configure your GitHub repository in the <strong>GITHUB " \
|
11
|
+
"REPO</strong> field above.<br> Instead of providing your " \
|
12
|
+
"username & password, you can link your GitHub account to your " \
|
13
|
+
"user profile, and allow Errbit to create issues using your " \
|
14
|
+
"OAuth token."
|
13
15
|
|
14
16
|
FIELDS = {
|
15
17
|
username: {
|
@@ -35,13 +37,13 @@ module ErrbitGithubPlugin
|
|
35
37
|
def self.icons
|
36
38
|
@icons ||= {
|
37
39
|
create: [
|
38
|
-
|
40
|
+
"image/png", ErrbitGithubPlugin.read_static_file("github_create.png")
|
39
41
|
],
|
40
42
|
goto: [
|
41
|
-
|
43
|
+
"image/png", ErrbitGithubPlugin.read_static_file("github_goto.png")
|
42
44
|
],
|
43
45
|
inactive: [
|
44
|
-
|
46
|
+
"image/png", ErrbitGithubPlugin.read_static_file("github_inactive.png")
|
45
47
|
]
|
46
48
|
}
|
47
49
|
end
|
@@ -56,12 +58,15 @@ module ErrbitGithubPlugin
|
|
56
58
|
|
57
59
|
def errors
|
58
60
|
errors = []
|
59
|
-
|
60
|
-
|
61
|
+
|
62
|
+
if self.class.fields.detect { |f| options[f[0]].blank? }
|
63
|
+
errors << [:base, "You must specify your GitHub username and password"]
|
61
64
|
end
|
65
|
+
|
62
66
|
if repo.blank?
|
63
|
-
errors << [:base,
|
67
|
+
errors << [:base, "You must specify your GitHub repository url."]
|
64
68
|
end
|
69
|
+
|
65
70
|
errors
|
66
71
|
end
|
67
72
|
|
@@ -70,17 +75,42 @@ module ErrbitGithubPlugin
|
|
70
75
|
end
|
71
76
|
|
72
77
|
def create_issue(title, body, user: {})
|
73
|
-
if user[
|
74
|
-
|
75
|
-
login: user[
|
78
|
+
github_client = if user["github_login"] && user["github_oauth_token"]
|
79
|
+
Octokit::Client.new(
|
80
|
+
login: user["github_login"], access_token: user["github_oauth_token"]
|
81
|
+
)
|
76
82
|
else
|
77
|
-
|
78
|
-
login: options[
|
83
|
+
Octokit::Client.new(
|
84
|
+
login: options["username"], password: options["password"]
|
85
|
+
)
|
79
86
|
end
|
80
87
|
issue = github_client.create_issue(repo, title, body)
|
81
88
|
issue.html_url
|
82
89
|
rescue Octokit::Unauthorized
|
83
90
|
raise ErrbitGithubPlugin::AuthenticationError, "Could not authenticate with GitHub. Please check your username and password."
|
84
91
|
end
|
92
|
+
|
93
|
+
# @param url [String]
|
94
|
+
# @param user [Hash]
|
95
|
+
# @return [String] The URL of the closed issue
|
96
|
+
def close_issue(url, user: {})
|
97
|
+
github_client = if user["github_login"] && user["github_oauth_token"]
|
98
|
+
Octokit::Client.new(
|
99
|
+
login: user["github_login"], access_token: user["github_oauth_token"]
|
100
|
+
)
|
101
|
+
else
|
102
|
+
Octokit::Client.new(
|
103
|
+
login: options["username"], password: options["password"]
|
104
|
+
)
|
105
|
+
end
|
106
|
+
# It would be better to get the number from issue.number when we create the issue,
|
107
|
+
# however, since we only have the url, get the number from it.
|
108
|
+
# ex: "https://github.com/octocat/Hello-World/issues/1347"
|
109
|
+
issue_number = url.split("/").last
|
110
|
+
issue = github_client.close_issue(repo, issue_number)
|
111
|
+
issue.html_url
|
112
|
+
rescue Octokit::Unauthorized
|
113
|
+
raise ErrbitGithubPlugin::AuthenticationError, "Could not authenticate with GitHub. Please check your username and password."
|
114
|
+
end
|
85
115
|
end
|
86
116
|
end
|
data/lib/errbit_github_plugin.rb
CHANGED
@@ -1,14 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "errbit_github_plugin/version"
|
2
|
-
require
|
3
|
-
require
|
4
|
+
require "errbit_github_plugin/authentication_error"
|
5
|
+
require "errbit_github_plugin/issue_tracker"
|
4
6
|
|
5
7
|
module ErrbitGithubPlugin
|
6
8
|
def self.root
|
7
|
-
File.expand_path
|
9
|
+
File.expand_path "../..", __FILE__
|
8
10
|
end
|
9
11
|
|
10
12
|
def self.read_static_file(file)
|
11
|
-
File.read(File.join(
|
13
|
+
File.read(File.join(root, "static", file))
|
12
14
|
end
|
13
15
|
end
|
14
16
|
|
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: errbit_github_plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Crosby
|
8
|
-
- Cyril Mougel
|
9
|
-
autorequire:
|
10
8
|
bindir: bin
|
11
9
|
cert_chain: []
|
12
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
13
11
|
dependencies:
|
14
12
|
- !ruby/object:Gem::Dependency
|
15
13
|
name: errbit_plugin
|
@@ -26,7 +24,7 @@ dependencies:
|
|
26
24
|
- !ruby/object:Gem::Version
|
27
25
|
version: '0'
|
28
26
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
27
|
+
name: faraday-retry
|
30
28
|
requirement: !ruby/object:Gem::Requirement
|
31
29
|
requirements:
|
32
30
|
- - ">="
|
@@ -40,27 +38,27 @@ dependencies:
|
|
40
38
|
- !ruby/object:Gem::Version
|
41
39
|
version: '0'
|
42
40
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
41
|
+
name: octokit
|
44
42
|
requirement: !ruby/object:Gem::Requirement
|
45
43
|
requirements:
|
46
|
-
- - "
|
44
|
+
- - ">="
|
47
45
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
49
|
-
type: :
|
46
|
+
version: '0'
|
47
|
+
type: :runtime
|
50
48
|
prerelease: false
|
51
49
|
version_requirements: !ruby/object:Gem::Requirement
|
52
50
|
requirements:
|
53
|
-
- - "
|
51
|
+
- - ">="
|
54
52
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
53
|
+
version: '0'
|
56
54
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
55
|
+
name: activesupport
|
58
56
|
requirement: !ruby/object:Gem::Requirement
|
59
57
|
requirements:
|
60
58
|
- - ">="
|
61
59
|
- !ruby/object:Gem::Version
|
62
60
|
version: '0'
|
63
|
-
type: :
|
61
|
+
type: :runtime
|
64
62
|
prerelease: false
|
65
63
|
version_requirements: !ruby/object:Gem::Requirement
|
66
64
|
requirements:
|
@@ -70,31 +68,33 @@ dependencies:
|
|
70
68
|
description: GitHub integration for Errbit
|
71
69
|
email:
|
72
70
|
- stevecrozz@gmail.com
|
73
|
-
- cyril.mougel@gmail.com
|
74
71
|
executables: []
|
75
72
|
extensions: []
|
76
73
|
extra_rdoc_files: []
|
77
74
|
files:
|
78
|
-
- ".
|
79
|
-
-
|
75
|
+
- ".envrc"
|
76
|
+
- ".rspec"
|
77
|
+
- ".rubocop.yml"
|
78
|
+
- ".ruby-version"
|
79
|
+
- ".standard.yml"
|
80
80
|
- LICENSE.txt
|
81
81
|
- README.md
|
82
82
|
- Rakefile
|
83
|
-
- errbit_github_plugin.gemspec
|
84
83
|
- lib/errbit_github_plugin.rb
|
85
|
-
- lib/errbit_github_plugin/
|
84
|
+
- lib/errbit_github_plugin/authentication_error.rb
|
86
85
|
- lib/errbit_github_plugin/issue_tracker.rb
|
87
86
|
- lib/errbit_github_plugin/version.rb
|
88
87
|
- static/github_create.png
|
89
88
|
- static/github_goto.png
|
90
89
|
- static/github_inactive.png
|
91
|
-
|
92
|
-
- vendor/assets/images/github_inactive.png
|
93
|
-
homepage: https://github.com/brandedcrate/errbit_github_plugin
|
90
|
+
homepage: https://github.com/errbit/errbit_github_plugin
|
94
91
|
licenses:
|
95
92
|
- MIT
|
96
|
-
metadata:
|
97
|
-
|
93
|
+
metadata:
|
94
|
+
homepage_uri: https://github.com/errbit/errbit_github_plugin
|
95
|
+
source_code_uri: https://github.com/errbit/errbit_github_plugin
|
96
|
+
bug_tracker_uri: https://github.com/errbit/errbit_github_plugin/issues
|
97
|
+
rubygems_mfa_required: 'true'
|
98
98
|
rdoc_options: []
|
99
99
|
require_paths:
|
100
100
|
- lib
|
@@ -102,17 +102,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
102
102
|
requirements:
|
103
103
|
- - ">="
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version:
|
105
|
+
version: 3.1.0
|
106
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
|
-
|
113
|
-
rubygems_version: 2.2.2
|
114
|
-
signing_key:
|
112
|
+
rubygems_version: 3.6.7
|
115
113
|
specification_version: 4
|
116
114
|
summary: GitHub integration for Errbit
|
117
115
|
test_files: []
|
118
|
-
has_rdoc:
|
data/.gitignore
DELETED
data/Gemfile
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in errbit_github_plugin.gemspec
|
4
|
-
gemspec
|
5
|
-
|
6
|
-
gem 'errbit_plugin', :git => 'https://github.com/errbit/errbit_plugin.git'
|
7
|
-
gem 'rspec'
|
8
|
-
gem 'guard'
|
9
|
-
gem 'guard-rspec'
|
10
|
-
gem 'coveralls', :require => false
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'errbit_github_plugin/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "errbit_github_plugin"
|
8
|
-
spec.version = ErrbitGithubPlugin::VERSION
|
9
|
-
spec.authors = ["Stephen Crosby", "Cyril Mougel"]
|
10
|
-
spec.email = ["stevecrozz@gmail.com", "cyril.mougel@gmail.com"]
|
11
|
-
|
12
|
-
spec.description = %q{GitHub integration for Errbit}
|
13
|
-
spec.summary = %q{GitHub integration for Errbit}
|
14
|
-
spec.homepage = "https://github.com/brandedcrate/errbit_github_plugin"
|
15
|
-
spec.license = "MIT"
|
16
|
-
|
17
|
-
spec.files = `git ls-files`.split($/)
|
18
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
-
spec.require_paths = ["lib"]
|
21
|
-
|
22
|
-
spec.add_dependency "errbit_plugin"
|
23
|
-
spec.add_dependency "octokit"
|
24
|
-
|
25
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
26
|
-
spec.add_development_dependency "rake"
|
27
|
-
end
|
Binary file
|
Binary file
|