fbe 0.0.64 → 0.0.65
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/Gemfile +3 -3
- data/Gemfile.lock +26 -27
- data/lib/fbe/octo.rb +29 -0
- data/lib/fbe.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0672b3f41fa280a30275163479acc52898dacd94cf3772a9627cb9c451c7a1c2
|
|
4
|
+
data.tar.gz: 196176a05a86a3356b91eed8c5ba2ba3f3b805982beaa640cac512b8794a9d7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e6be3ae5603941f7655e1ca5ed973d109a34a8ab407e85b47bf960abffa0317f46608fb11d5cb233de3c3b818db02a2bf51ae71fc822020e70b4d3c2ebfc7c0f
|
|
7
|
+
data.tar.gz: 319887a5a13f96d888d4b7e841c4b682d12b1df30e2ee2369c63b75b1b16e04140ba9d3ed16a9332bab70f0836f98cdcd68bca3d1e2409d0de040d3b6401c671
|
data/Gemfile
CHANGED
|
@@ -27,11 +27,11 @@ gem 'graphql-client'
|
|
|
27
27
|
gem 'minitest', '5.25.1', require: false
|
|
28
28
|
gem 'minitest-reporters', '1.7.1', require: false
|
|
29
29
|
gem 'rake', '13.2.1', require: false
|
|
30
|
-
gem 'rspec-rails', '
|
|
31
|
-
gem 'rubocop', '1.
|
|
30
|
+
gem 'rspec-rails', '7.0.1', require: false
|
|
31
|
+
gem 'rubocop', '1.66.1', require: false
|
|
32
32
|
gem 'rubocop-performance', '1.21.1', require: false
|
|
33
33
|
gem 'rubocop-rspec', '3.0.4', require: false
|
|
34
34
|
gem 'simplecov', '0.22.0', require: false
|
|
35
35
|
gem 'simplecov-cobertura', '2.1.0', require: false
|
|
36
36
|
gem 'webmock', '3.23.1', require: false
|
|
37
|
-
gem 'yard', '0.9.
|
|
37
|
+
gem 'yard', '0.9.37', require: false
|
data/Gemfile.lock
CHANGED
|
@@ -21,9 +21,9 @@ PATH
|
|
|
21
21
|
GEM
|
|
22
22
|
remote: https://rubygems.org/
|
|
23
23
|
specs:
|
|
24
|
-
actionpack (7.2.
|
|
25
|
-
actionview (= 7.2.
|
|
26
|
-
activesupport (= 7.2.
|
|
24
|
+
actionpack (7.2.1)
|
|
25
|
+
actionview (= 7.2.1)
|
|
26
|
+
activesupport (= 7.2.1)
|
|
27
27
|
nokogiri (>= 1.8.5)
|
|
28
28
|
racc
|
|
29
29
|
rack (>= 2.2.4, < 3.2)
|
|
@@ -32,13 +32,13 @@ GEM
|
|
|
32
32
|
rails-dom-testing (~> 2.2)
|
|
33
33
|
rails-html-sanitizer (~> 1.6)
|
|
34
34
|
useragent (~> 0.16)
|
|
35
|
-
actionview (7.2.
|
|
36
|
-
activesupport (= 7.2.
|
|
35
|
+
actionview (7.2.1)
|
|
36
|
+
activesupport (= 7.2.1)
|
|
37
37
|
builder (~> 3.1)
|
|
38
38
|
erubi (~> 1.11)
|
|
39
39
|
rails-dom-testing (~> 2.2)
|
|
40
40
|
rails-html-sanitizer (~> 1.6)
|
|
41
|
-
activesupport (7.2.
|
|
41
|
+
activesupport (7.2.1)
|
|
42
42
|
base64
|
|
43
43
|
bigdecimal
|
|
44
44
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -142,7 +142,7 @@ GEM
|
|
|
142
142
|
typhoeus (~> 1.3)
|
|
143
143
|
language_server-protocol (3.17.0.3)
|
|
144
144
|
liquid (5.5.1)
|
|
145
|
-
logger (1.6.
|
|
145
|
+
logger (1.6.1)
|
|
146
146
|
loofah (2.22.0)
|
|
147
147
|
crass (~> 1.0.2)
|
|
148
148
|
nokogiri (>= 1.12.0)
|
|
@@ -193,9 +193,9 @@ GEM
|
|
|
193
193
|
rails-html-sanitizer (1.6.0)
|
|
194
194
|
loofah (~> 2.21)
|
|
195
195
|
nokogiri (~> 1.14)
|
|
196
|
-
railties (7.2.
|
|
197
|
-
actionpack (= 7.2.
|
|
198
|
-
activesupport (= 7.2.
|
|
196
|
+
railties (7.2.1)
|
|
197
|
+
actionpack (= 7.2.1)
|
|
198
|
+
activesupport (= 7.2.1)
|
|
199
199
|
irb (~> 1.13)
|
|
200
200
|
rackup (>= 1.0.0)
|
|
201
201
|
rake (>= 12.2)
|
|
@@ -209,37 +209,36 @@ GEM
|
|
|
209
209
|
reline (0.5.9)
|
|
210
210
|
io-console (~> 0.5)
|
|
211
211
|
retries (0.0.5)
|
|
212
|
-
rexml (3.3.
|
|
212
|
+
rexml (3.3.6)
|
|
213
213
|
strscan
|
|
214
|
-
rspec-core (3.13.
|
|
214
|
+
rspec-core (3.13.1)
|
|
215
215
|
rspec-support (~> 3.13.0)
|
|
216
|
-
rspec-expectations (3.13.
|
|
216
|
+
rspec-expectations (3.13.2)
|
|
217
217
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
218
218
|
rspec-support (~> 3.13.0)
|
|
219
219
|
rspec-mocks (3.13.1)
|
|
220
220
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
221
221
|
rspec-support (~> 3.13.0)
|
|
222
|
-
rspec-rails (
|
|
223
|
-
actionpack (>=
|
|
224
|
-
activesupport (>=
|
|
225
|
-
railties (>=
|
|
222
|
+
rspec-rails (7.0.1)
|
|
223
|
+
actionpack (>= 7.0)
|
|
224
|
+
activesupport (>= 7.0)
|
|
225
|
+
railties (>= 7.0)
|
|
226
226
|
rspec-core (~> 3.13)
|
|
227
227
|
rspec-expectations (~> 3.13)
|
|
228
228
|
rspec-mocks (~> 3.13)
|
|
229
229
|
rspec-support (~> 3.13)
|
|
230
230
|
rspec-support (3.13.1)
|
|
231
|
-
rubocop (1.
|
|
231
|
+
rubocop (1.66.1)
|
|
232
232
|
json (~> 2.3)
|
|
233
233
|
language_server-protocol (>= 3.17.0)
|
|
234
234
|
parallel (~> 1.10)
|
|
235
235
|
parser (>= 3.3.0.2)
|
|
236
236
|
rainbow (>= 2.2.2, < 4.0)
|
|
237
237
|
regexp_parser (>= 2.4, < 3.0)
|
|
238
|
-
|
|
239
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
|
238
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
|
240
239
|
ruby-progressbar (~> 1.7)
|
|
241
240
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
242
|
-
rubocop-ast (1.32.
|
|
241
|
+
rubocop-ast (1.32.2)
|
|
243
242
|
parser (>= 3.3.1.0)
|
|
244
243
|
rubocop-performance (1.21.1)
|
|
245
244
|
rubocop (>= 1.48.1, < 2.0)
|
|
@@ -263,7 +262,7 @@ GEM
|
|
|
263
262
|
stringio (3.1.1)
|
|
264
263
|
strscan (3.1.0)
|
|
265
264
|
tago (0.0.2)
|
|
266
|
-
thor (1.3.
|
|
265
|
+
thor (1.3.2)
|
|
267
266
|
typhoeus (1.4.1)
|
|
268
267
|
ethon (>= 0.9.0)
|
|
269
268
|
tzinfo (2.0.6)
|
|
@@ -280,8 +279,8 @@ GEM
|
|
|
280
279
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
281
280
|
webrick (1.8.1)
|
|
282
281
|
yaml (0.3.0)
|
|
283
|
-
yard (0.9.
|
|
284
|
-
zeitwerk (2.6.
|
|
282
|
+
yard (0.9.37)
|
|
283
|
+
zeitwerk (2.6.18)
|
|
285
284
|
|
|
286
285
|
PLATFORMS
|
|
287
286
|
arm64-darwin-22
|
|
@@ -296,14 +295,14 @@ DEPENDENCIES
|
|
|
296
295
|
minitest (= 5.25.1)
|
|
297
296
|
minitest-reporters (= 1.7.1)
|
|
298
297
|
rake (= 13.2.1)
|
|
299
|
-
rspec-rails (=
|
|
300
|
-
rubocop (= 1.
|
|
298
|
+
rspec-rails (= 7.0.1)
|
|
299
|
+
rubocop (= 1.66.1)
|
|
301
300
|
rubocop-performance (= 1.21.1)
|
|
302
301
|
rubocop-rspec (= 3.0.4)
|
|
303
302
|
simplecov (= 0.22.0)
|
|
304
303
|
simplecov-cobertura (= 2.1.0)
|
|
305
304
|
webmock (= 3.23.1)
|
|
306
|
-
yard (= 0.9.
|
|
305
|
+
yard (= 0.9.37)
|
|
307
306
|
|
|
308
307
|
BUNDLED WITH
|
|
309
308
|
2.4.22
|
data/lib/fbe/octo.rb
CHANGED
|
@@ -320,6 +320,35 @@ class Fbe::FakeOctokit
|
|
|
320
320
|
]
|
|
321
321
|
end
|
|
322
322
|
|
|
323
|
+
def review_comments(_repo, _number)
|
|
324
|
+
[
|
|
325
|
+
{
|
|
326
|
+
pull_request_review_id: 22_687_249,
|
|
327
|
+
id: 17_361_949,
|
|
328
|
+
body: 'Some comment 1',
|
|
329
|
+
user: { login: 'yegor256', id: 526_301, type: 'User' },
|
|
330
|
+
created_at: Time.parse('2024-09-05 15:31:06 UTC'),
|
|
331
|
+
updated_at: Time.parse('2024-09-05 15:33:04 UTC')
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
pull_request_review_id: 22_687_503,
|
|
335
|
+
id: 17_361_950,
|
|
336
|
+
body: 'Some comment 2',
|
|
337
|
+
user: { login: 'yegor256', id: 526_301, type: 'User' },
|
|
338
|
+
created_at: Time.parse('2024-09-06 14:20:00 UTC'),
|
|
339
|
+
updated_at: Time.parse('2024-09-06 14:20:50 UTC')
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
pull_request_review_id: 22_687_255,
|
|
343
|
+
id: 17_361_970,
|
|
344
|
+
body: 'Some comment 3',
|
|
345
|
+
user: { login: 'yegor256', id: 526_301, type: 'User' },
|
|
346
|
+
created_at: Time.parse('2024-09-06 20:45:30 UTC'),
|
|
347
|
+
updated_at: Time.parse('2024-09-06 20:45:30 UTC')
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
end
|
|
351
|
+
|
|
323
352
|
def add_comment(_repo, _issue, _text)
|
|
324
353
|
{
|
|
325
354
|
id: 42
|
data/lib/fbe.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fbe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.65
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yegor Bugayenko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-09-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: backtrace
|