fbe 0.0.66 → 0.0.68
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rultor.yml +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -3
- data/lib/fbe/octo.rb +64 -1
- data/lib/fbe.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae6d025a9d9a5313f1f119bcad19e8a258b6e0d3aa54ce82271954f90b2b8faa
|
4
|
+
data.tar.gz: 561ffc4e127b79438b22c5553657f3bb1b4e5c300443dc49b6d33e2d1983c7e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63acde9b2e7c70995bd0b9a618f6503bad162c761ef36f8385d8a1796828d71731fa347cd99fb6906965a6c358897300a06a149376fb2a7dc3cde4c7ea7b05d9
|
7
|
+
data.tar.gz: 74a1126e2dbb842ba8523f5a3276fbcbdcbf6ee505ef88f9412451d9933df3ba0c898d9dc8358178eba86828bd4aa7d92f7421e8c71814399df920f8fa7c66e1
|
data/.rultor.yml
CHANGED
data/Gemfile
CHANGED
@@ -29,7 +29,7 @@ gem 'minitest-reporters', '1.7.1', require: false
|
|
29
29
|
gem 'rake', '13.2.1', require: false
|
30
30
|
gem 'rspec-rails', '7.0.1', require: false
|
31
31
|
gem 'rubocop', '1.66.1', require: false
|
32
|
-
gem 'rubocop-performance', '1.
|
32
|
+
gem 'rubocop-performance', '1.22.1', require: false
|
33
33
|
gem 'rubocop-rspec', '3.0.5', require: false
|
34
34
|
gem 'simplecov', '0.22.0', require: false
|
35
35
|
gem 'simplecov-cobertura', '2.1.0', require: false
|
data/Gemfile.lock
CHANGED
@@ -240,7 +240,7 @@ GEM
|
|
240
240
|
unicode-display_width (>= 2.4.0, < 3.0)
|
241
241
|
rubocop-ast (1.32.3)
|
242
242
|
parser (>= 3.3.1.0)
|
243
|
-
rubocop-performance (1.
|
243
|
+
rubocop-performance (1.22.1)
|
244
244
|
rubocop (>= 1.48.1, < 2.0)
|
245
245
|
rubocop-ast (>= 1.31.1, < 2.0)
|
246
246
|
rubocop-rspec (3.0.5)
|
@@ -267,7 +267,7 @@ GEM
|
|
267
267
|
ethon (>= 0.9.0)
|
268
268
|
tzinfo (2.0.6)
|
269
269
|
concurrent-ruby (~> 1.0)
|
270
|
-
unicode-display_width (2.
|
270
|
+
unicode-display_width (2.6.0)
|
271
271
|
uri (0.13.0)
|
272
272
|
useragent (0.16.10)
|
273
273
|
verbose (0.0.2)
|
@@ -297,7 +297,7 @@ DEPENDENCIES
|
|
297
297
|
rake (= 13.2.1)
|
298
298
|
rspec-rails (= 7.0.1)
|
299
299
|
rubocop (= 1.66.1)
|
300
|
-
rubocop-performance (= 1.
|
300
|
+
rubocop-performance (= 1.22.1)
|
301
301
|
rubocop-rspec (= 3.0.5)
|
302
302
|
simplecov (= 0.22.0)
|
303
303
|
simplecov-cobertura (= 2.1.0)
|
data/lib/fbe/octo.rb
CHANGED
@@ -297,6 +297,69 @@ class Fbe::FakeOctokit
|
|
297
297
|
}
|
298
298
|
end
|
299
299
|
|
300
|
+
def pull_requests(_repo, _options = {})
|
301
|
+
[
|
302
|
+
{
|
303
|
+
id: 2_072_543_250,
|
304
|
+
number: 100,
|
305
|
+
state: 'closed',
|
306
|
+
locked: false,
|
307
|
+
title: '#90: some title',
|
308
|
+
user: { login: 'yegor256', id: 526_301, type: 'User' },
|
309
|
+
body: 'Closes #90',
|
310
|
+
created_at: Time.parse('2024-09-15 09:32:49 UTC'),
|
311
|
+
updated_at: Time.parse('2024-09-15 10:06:23 UTC'),
|
312
|
+
closed_at: Time.parse('2024-09-15 10:05:34 UTC'),
|
313
|
+
merged_at: Time.parse('2024-09-15 10:05:34 UTC'),
|
314
|
+
merge_commit_sha: '0527cc188b0495e',
|
315
|
+
draft: false,
|
316
|
+
head: {
|
317
|
+
label: 'yegor256:90',
|
318
|
+
ref: '90',
|
319
|
+
sha: '0527cc188b049',
|
320
|
+
user: { login: 'yegor256', id: 526_301, type: 'User' },
|
321
|
+
repo: repository('yegor256/repo')
|
322
|
+
},
|
323
|
+
base: {
|
324
|
+
label: 'zerocracy:master',
|
325
|
+
ref: 'master',
|
326
|
+
sha: '4643eb3c7a0ccb3c',
|
327
|
+
user: { login: 'zerocracy', id: 24_234_201, type: 'Organization' },
|
328
|
+
repo: repository('zerocracy/repo')
|
329
|
+
}
|
330
|
+
},
|
331
|
+
{
|
332
|
+
id: 2_072_543_240,
|
333
|
+
number: 95,
|
334
|
+
state: 'open',
|
335
|
+
locked: false,
|
336
|
+
title: '#80: some title',
|
337
|
+
user: { login: 'yegor256', id: 526_301, type: 'User' },
|
338
|
+
body: 'Closes #80',
|
339
|
+
created_at: Time.parse('2024-09-14 09:32:49 UTC'),
|
340
|
+
updated_at: Time.parse('2024-09-14 10:06:23 UTC'),
|
341
|
+
closed_at: nil,
|
342
|
+
merged_at: nil,
|
343
|
+
merge_commit_sha: '0627cc188b0497e',
|
344
|
+
draft: false,
|
345
|
+
head: {
|
346
|
+
label: 'yegor256:80',
|
347
|
+
ref: '80',
|
348
|
+
sha: '1527cc188b040',
|
349
|
+
user: { login: 'yegor256', id: 526_301, type: 'User' },
|
350
|
+
repo: repository('yegor256/repo')
|
351
|
+
},
|
352
|
+
base: {
|
353
|
+
label: 'zerocracy:master',
|
354
|
+
ref: 'master',
|
355
|
+
sha: '5643eb3c7a0ccb3b',
|
356
|
+
user: { login: 'zerocracy', id: 24_234_201, type: 'Organization' },
|
357
|
+
repo: repository('zerocracy/repo')
|
358
|
+
}
|
359
|
+
}
|
360
|
+
]
|
361
|
+
end
|
362
|
+
|
300
363
|
def pull_request_reviews(_repo, _number)
|
301
364
|
[
|
302
365
|
{
|
@@ -389,7 +452,7 @@ class Fbe::FakeOctokit
|
|
389
452
|
number: 10,
|
390
453
|
title: 'Awesome PR 10',
|
391
454
|
created_at: Time.parse('2024-08-21 19:00:00 UTC'),
|
392
|
-
merged_at: Time.parse('2024-08-23 19:00:00 UTC')
|
455
|
+
pull_request: { merged_at: Time.parse('2024-08-23 19:00:00 UTC') }
|
393
456
|
}
|
394
457
|
]
|
395
458
|
}
|
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.68
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|
@@ -309,7 +309,7 @@ licenses:
|
|
309
309
|
- MIT
|
310
310
|
metadata:
|
311
311
|
rubygems_mfa_required: 'true'
|
312
|
-
post_install_message:
|
312
|
+
post_install_message:
|
313
313
|
rdoc_options:
|
314
314
|
- "--charset=UTF-8"
|
315
315
|
require_paths:
|
@@ -326,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
326
326
|
version: '0'
|
327
327
|
requirements: []
|
328
328
|
rubygems_version: 3.4.10
|
329
|
-
signing_key:
|
329
|
+
signing_key:
|
330
330
|
specification_version: 4
|
331
331
|
summary: FactBase Extended (FBE), a collection of utility classes for Zerocracy judges
|
332
332
|
test_files: []
|