fbe 0.0.50 → 0.0.52

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc0c3d0b5163d98b8bf564c30c2727c1e5df24b050ed4e9dbec2a1c25723fd22
4
- data.tar.gz: 5b0cf7b19dca874f9781416b9c037643669840d127839413b67975813284fcfe
3
+ metadata.gz: 309cd51847c028c9e80e7e40f34ed193c9583c6694ec35bd06a4527bc4953cb4
4
+ data.tar.gz: 04d8f6dd7d0e2f37197b2907ae12aa13490c450e9992b03b6a751054fabf0043
5
5
  SHA512:
6
- metadata.gz: d2cf37cbb7d33126faabb2c9ad164842c8b5fa8a860654caa00acf0e28392d0509240434675978c83562e7a65e65e90098c03f959d8c8826821fbcd33b2cb9fd
7
- data.tar.gz: 1465c3da23d7f32bec33ca8f41a15a1987da15f4ab7edb66de1b0c606540e2bbe696b79b0bbaff7c8871bac5f19fd503c6eedfcc288cf0e386896ad552007f05
6
+ metadata.gz: 78e677d074d3578301954956d0ff7215cfe0fa214ac6872fb548e53187d4f2fc60b735c8ef3ae35826f8bae86a4d4e0dacef16e342b82073847ee65dc02960a6
7
+ data.tar.gz: 50dbfc1f7c4ee42ebf47550c1c5fd6911ae0420adb715676098d756297ca0563c7c64f6d1cda03f0987df82c6b9e5c3b1b23d05acacecaf913d709f9bb4b82df
data/Gemfile CHANGED
@@ -27,7 +27,7 @@ gem 'graphql-client'
27
27
  gem 'minitest', '5.25.0', 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', '6.1.3', require: false
30
+ gem 'rspec-rails', '6.1.4', require: false
31
31
  gem 'rubocop', '1.65.1', require: false
32
32
  gem 'rubocop-performance', '1.21.1', require: false
33
33
  gem 'rubocop-rspec', '3.0.4', require: false
data/Gemfile.lock CHANGED
@@ -213,7 +213,7 @@ GEM
213
213
  rspec-mocks (3.13.1)
214
214
  diff-lcs (>= 1.2.0, < 2.0)
215
215
  rspec-support (~> 3.13.0)
216
- rspec-rails (6.1.3)
216
+ rspec-rails (6.1.4)
217
217
  actionpack (>= 6.1)
218
218
  activesupport (>= 6.1)
219
219
  railties (>= 6.1)
@@ -290,7 +290,7 @@ DEPENDENCIES
290
290
  minitest (= 5.25.0)
291
291
  minitest-reporters (= 1.7.1)
292
292
  rake (= 13.2.1)
293
- rspec-rails (= 6.1.3)
293
+ rspec-rails (= 6.1.4)
294
294
  rubocop (= 1.65.1)
295
295
  rubocop-performance (= 1.21.1)
296
296
  rubocop-rspec (= 3.0.4)
@@ -123,5 +123,30 @@ class Fbe::Graph
123
123
  def query(_query)
124
124
  {}
125
125
  end
126
+
127
+ def resolved_conversations(_owner, _name, _number)
128
+ [
129
+ {
130
+ 'id' => 'PRRT_kwDOK2_4A85BHZAR',
131
+ 'isResolved' => true,
132
+ 'comments' => {
133
+ 'nodes' => [
134
+ {
135
+ 'id' => 'PRRC_kwDOK2_4A85l3obO',
136
+ 'body' => 'first message',
137
+ 'author' => { '__typename' => 'User', 'login' => 'reviewer' },
138
+ 'createdAt' => '2024-08-08T09:41:46Z'
139
+ },
140
+ {
141
+ 'id' => 'PRRC_kwDOK2_4A85l3yTp',
142
+ 'body' => 'second message',
143
+ 'author' => { '__typename' => 'User', 'login' => 'programmer' },
144
+ 'createdAt' => '2024-08-08T10:01:55Z'
145
+ }
146
+ ]
147
+ }
148
+ }
149
+ ]
150
+ end
126
151
  end
127
152
  end
data/lib/fbe/octo.rb CHANGED
@@ -305,7 +305,10 @@ class Fbe::FakeOctokit
305
305
  number:,
306
306
  repo: {
307
307
  full_name: repo
308
- }
308
+ },
309
+ additions: 12,
310
+ deletions: 5,
311
+ changed_files: 3
309
312
  }
310
313
  end
311
314
 
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.50'
30
+ VERSION = '0.0.52'
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.50
4
+ version: 0.0.52
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-14 00:00:00.000000000 Z
11
+ date: 2024-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace