fbe 0.0.72 → 0.0.74

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 216d19bdbf474ebf0cb02725477188f24a5aac2b732559ac5bb36c37ef07b4b9
4
- data.tar.gz: 911cf77d4e8e3306d873551f4f8de1b9380a958e39e1270dd519f6fda8cf6aa0
3
+ metadata.gz: 5af7330e4b710edf50500dd3a69969669d86e4ecb01ad14ba54a602c1f7e414b
4
+ data.tar.gz: 5022fb1a52f7fee7f9abf9d516e956f182efd60b6fb5964613cd1d1ad6037385
5
5
  SHA512:
6
- metadata.gz: ede59e66b26615fc26aeaff6d6562ccdab2f9e7dae9baf6ca946472f53165e1eebc908d8032def3eb5d37961489f15c82e9db23300051cfcd11b139dbaaae5e0
7
- data.tar.gz: 7a20c419d8fc1b95466aca54e01cd64495f9b06a3a8615f824971121ce5a70ef3daecfa252bc1c19cc126c7422c95635d26df2d0066cca44c78e6d54cf648651
6
+ metadata.gz: 7be786a2f37e025311d450f4c800614c227545a33fb4ff5d8b8b29f254a802163695996076004addc3076cdcd6fd6aca9380036023ca2e7d7dd0a278810ec3b1
7
+ data.tar.gz: c3d2298c17f60be42303276a7295f8b1069adffb53af62b7084985a0709e35e5874407373c4f8b9e027af2879a1d5c7b4b3fb306b5c4925421bdaba40f26b816
@@ -28,7 +28,7 @@ name: actionlint
28
28
  - master
29
29
  jobs:
30
30
  actionlint:
31
- runs-on: ubuntu-22.04
31
+ runs-on: ubuntu-24.04
32
32
  steps:
33
33
  - uses: actions/checkout@v4
34
34
  - name: Download actionlint
@@ -25,7 +25,7 @@ name: codecov
25
25
  - master
26
26
  jobs:
27
27
  codecov:
28
- runs-on: ubuntu-22.04
28
+ runs-on: ubuntu-24.04
29
29
  steps:
30
30
  - uses: actions/checkout@v4
31
31
  - uses: ruby/setup-ruby@v1
@@ -24,7 +24,7 @@ name: copyrights
24
24
  pull_request:
25
25
  jobs:
26
26
  copyrights:
27
- runs-on: ubuntu-22.04
27
+ runs-on: ubuntu-24.04
28
28
  steps:
29
29
  - uses: actions/checkout@v4
30
30
  - uses: yegor256/copyrights-action@0.0.5
@@ -32,7 +32,7 @@ concurrency:
32
32
  cancel-in-progress: true
33
33
  jobs:
34
34
  markdown-lint:
35
- runs-on: ubuntu-22.04
35
+ runs-on: ubuntu-24.04
36
36
  steps:
37
37
  - uses: actions/checkout@v4
38
38
  - uses: articulate/actions-markdownlint@v1
@@ -28,7 +28,7 @@ name: pdd
28
28
  - master
29
29
  jobs:
30
30
  pdd:
31
- runs-on: ubuntu-22.04
31
+ runs-on: ubuntu-24.04
32
32
  steps:
33
33
  - uses: actions/checkout@v4
34
34
  - uses: volodya-lombrozo/pdd-action@master
@@ -24,7 +24,7 @@ name: xcop
24
24
  pull_request:
25
25
  jobs:
26
26
  xcop:
27
- runs-on: ubuntu-22.04
27
+ runs-on: ubuntu-24.04
28
28
  steps:
29
29
  - uses: actions/checkout@v4
30
30
  - uses: g4s8/xcop-action@master
@@ -28,7 +28,7 @@ name: yamllint
28
28
  - master
29
29
  jobs:
30
30
  yamllint:
31
- runs-on: ubuntu-22.04
31
+ runs-on: ubuntu-24.04
32
32
  steps:
33
33
  - uses: actions/checkout@v4
34
34
  - uses: ibiqlik/action-yamllint@v3
data/lib/fbe/octo.rb CHANGED
@@ -520,6 +520,63 @@ class Fbe::FakeOctokit
520
520
  }
521
521
  end
522
522
 
523
+ def search_commits(_query, _options = {})
524
+ {
525
+ total_count: 3,
526
+ incomplete_results: false,
527
+ items: [
528
+ {
529
+ commit: {
530
+ author: { name: 'Yegor', email: 'yegor@gmail.com', date: Time.parse('2024-09-15 12:23:25 UTC') },
531
+ committer: { name: 'Yegor', email: 'yegor@gmail.com', date: Time.parse('2024-09-15 12:23:25 UTC') },
532
+ message: 'Some text',
533
+ tree: { sha: '6e04579960bf67610d' },
534
+ comment_count: 0
535
+ },
536
+ author: { login: 'yegor256', id: 526_301, type: 'User', site_admin: false },
537
+ committer: { login: 'yegor256', id: 526_301, type: 'User', site_admin: false },
538
+ parents: [{ sha: '60cff20bdb66' }],
539
+ repository: {
540
+ id: 799_177_290, name: 'judges-action', full_name: 'zerocracy/judges-action',
541
+ owner: { login: 'zerocracy', id: 24_234_201, type: 'Organization', site_admin: false }
542
+ }
543
+ },
544
+ {
545
+ commit: {
546
+ author: { name: 'Yegor', email: 'yegor2@gmail.com', date: Time.parse('2024-09-14 12:23:25 UTC') },
547
+ committer: { name: 'Yegor', email: 'yegor2@gmail.com', date: Time.parse('2024-09-14 12:23:25 UTC') },
548
+ message: 'Some text 2',
549
+ tree: { sha: 'defa18e4e2250987' },
550
+ comment_count: 0
551
+ },
552
+ author: { login: 'yegor257', id: 526_302, type: 'User', site_admin: false },
553
+ committer: { login: 'yegor257', id: 526_302, type: 'User', site_admin: false },
554
+ parents: [{ sha: 'a04c15bb34fddbba' }],
555
+ repository: {
556
+ id: 799_177_290, name: 'judges-action', full_name: 'zerocracy/judges-action',
557
+ owner: { login: 'zerocracy', id: 24_234_201, type: 'Organization', site_admin: false }
558
+ }
559
+ },
560
+ {
561
+ commit: {
562
+ author: { name: 'Yegor', email: 'yegor3@gmail.com', date: Time.parse('2024-09-13 12:23:25 UTC') },
563
+ committer: { name: 'Yegor', email: 'yegor3@gmail.com', date: Time.parse('2024-09-13 12:23:25 UTC') },
564
+ message: 'Some text 3',
565
+ tree: { sha: 'bb7277441139739b902a' },
566
+ comment_count: 0
567
+ },
568
+ author: { login: 'yegor258', id: 526_303, type: 'User', site_admin: false },
569
+ committer: { login: 'yegor258', id: 526_303, type: 'User', site_admin: false },
570
+ parents: [{ sha: '18db84d469bb727' }],
571
+ repository: {
572
+ id: 799_177_290, name: 'judges-action', full_name: 'zerocracy/judges-action',
573
+ owner: { login: 'zerocracy', id: 24_234_201, type: 'Organization', site_admin: false }
574
+ }
575
+ }
576
+ ]
577
+ }
578
+ end
579
+
523
580
  def issue_timeline(_repo, _issue, _options = {})
524
581
  [
525
582
  {
@@ -1336,4 +1393,51 @@ class Fbe::FakeOctokit
1336
1393
  truncated: false
1337
1394
  }
1338
1395
  end
1396
+
1397
+ def contributors(_repo, _anon = nil, _options = {})
1398
+ [
1399
+ {
1400
+ login: 'yegor256',
1401
+ id: 526_301,
1402
+ type: 'User',
1403
+ contributions: 500
1404
+ },
1405
+ {
1406
+ login: 'renovate[bot]',
1407
+ id: 29_139_614,
1408
+ type: 'Bot',
1409
+ contributions: 320
1410
+ },
1411
+ {
1412
+ login: 'user1',
1413
+ id: 2_476_362,
1414
+ type: 'User',
1415
+ contributions: 120
1416
+ },
1417
+ {
1418
+ login: 'rultor',
1419
+ id: 8_086_956,
1420
+ type: 'Bot',
1421
+ contributions: 87
1422
+ },
1423
+ {
1424
+ login: 'user2',
1425
+ id: 5_427_638,
1426
+ type: 'User',
1427
+ contributions: 49
1428
+ },
1429
+ {
1430
+ login: 'user3',
1431
+ id: 2_648_875,
1432
+ type: 'User',
1433
+ contributions: 10
1434
+ },
1435
+ {
1436
+ login: 'user4',
1437
+ id: 7_125_293,
1438
+ type: 'User',
1439
+ contributions: 1
1440
+ }
1441
+ ]
1442
+ end
1339
1443
  end
data/lib/fbe.rb CHANGED
@@ -27,5 +27,5 @@
27
27
  # License:: MIT
28
28
  module Fbe
29
29
  # Current version of the gem (changed by .rultor.yml on every release)
30
- VERSION = '0.0.72'
30
+ VERSION = '0.0.74'
31
31
  end
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.72
4
+ version: 0.0.74
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-09-26 00:00:00.000000000 Z
11
+ date: 2024-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace