fbe 0.0.63 → 0.0.64

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fbe/octo.rb +14 -0
  3. data/lib/fbe.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bfbf479f7d6cc0686058767d0b66c251d32fb5d810287098e719cba2c26fa21
4
- data.tar.gz: 2109aa7b2b2c41e356ec8ed3aad4cbe328b9b5c3b65642aef434529f5a5d0fad
3
+ metadata.gz: d96502169a7e6ed683496261dacef96acb4bf7d413861d043e310e3a4bdc8302
4
+ data.tar.gz: 5eea1f292484692f7ce7252546c0f572deb6de4adea8753ba0abd3a6e93bf77d
5
5
  SHA512:
6
- metadata.gz: 969259e7bbbf1d4d0063bb8e1aa7ad3ee055590def1c8d09dd090cf9f1977f0f9593d8f65db72fb3d9312fe0fdf9be14f7e0df89e6cd6f16542da39d422b58e7
7
- data.tar.gz: 27bb3190c5471fb5b8157e5e03b4678116b56951bf761f92c78a7f3aaf5984e4687be4e9feb8800c388fbe7aa665fc988821881560c4a6ab0b451eae37161233
6
+ metadata.gz: feb0e280da5bde5f46f042fb9233d0d6d2c1dc5344ad7c5e7d8cf75b305d3fac27c60f90df0428e6ef5c35e89502e40acd365177eb0754722cc58e70484b846f
7
+ data.tar.gz: 262067fa870f2b4881e1715da52f7688b8c8f73cf332578ad24a933efd7e40ee8057592e706d7d60fa207864dfe4b5ccce66f1de1c047e745102733aea1b682a
data/lib/fbe/octo.rb CHANGED
@@ -350,6 +350,20 @@ class Fbe::FakeOctokit
350
350
  }
351
351
  ]
352
352
  }
353
+ elsif query.include?('type:pr') && query.include?('is:merged')
354
+ {
355
+ total_count: 1,
356
+ incomplete_results: false,
357
+ items: [
358
+ {
359
+ id: 42,
360
+ number: 10,
361
+ title: 'Awesome PR 10',
362
+ created_at: Time.parse('2024-08-21 19:00:00 UTC'),
363
+ merged_at: Time.parse('2024-08-23 19:00:00 UTC')
364
+ }
365
+ ]
366
+ }
353
367
  elsif query.include?('type:pr')
354
368
  {
355
369
  total_count: 2,
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.63'
30
+ VERSION = '0.0.64'
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.63
4
+ version: 0.0.64
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-08-29 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace