fbe 0.0.65 → 0.0.66
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +4 -4
- data/lib/fbe/octo.rb +85 -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: 178b4bc5b0be6cf895688baa5c1687ead1f3e6613d60222bb9002de99b258878
|
4
|
+
data.tar.gz: 59c0fb88298dc09affd70693812fb045e96ced8890a2eb97bff74a638bb73e1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4f839fb8e2e597fb718a2de2f27d9fa134c64c1d621e67fb1245d224f25c0a864bf730944d49ca5d2ec3384400c7fa8e4d492031409ef5f16d25b7376c328f5
|
7
|
+
data.tar.gz: a974f2a744aa2288638b85572b199879bbd5064af0d7ad58888c24612a485b035b9c16f75989e4a318af35f0b6921f2e0a65772364a9b2ba36f07fdea1bfa453
|
data/Gemfile
CHANGED
@@ -30,7 +30,7 @@ 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
32
|
gem 'rubocop-performance', '1.21.1', require: false
|
33
|
-
gem 'rubocop-rspec', '3.0.
|
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
|
36
36
|
gem 'webmock', '3.23.1', require: false
|
data/Gemfile.lock
CHANGED
@@ -171,7 +171,7 @@ GEM
|
|
171
171
|
sawyer (~> 0.9)
|
172
172
|
others (0.0.3)
|
173
173
|
parallel (1.26.3)
|
174
|
-
parser (3.3.
|
174
|
+
parser (3.3.5.0)
|
175
175
|
ast (~> 2.4.1)
|
176
176
|
racc
|
177
177
|
psych (5.1.2)
|
@@ -238,12 +238,12 @@ GEM
|
|
238
238
|
rubocop-ast (>= 1.32.2, < 2.0)
|
239
239
|
ruby-progressbar (~> 1.7)
|
240
240
|
unicode-display_width (>= 2.4.0, < 3.0)
|
241
|
-
rubocop-ast (1.32.
|
241
|
+
rubocop-ast (1.32.3)
|
242
242
|
parser (>= 3.3.1.0)
|
243
243
|
rubocop-performance (1.21.1)
|
244
244
|
rubocop (>= 1.48.1, < 2.0)
|
245
245
|
rubocop-ast (>= 1.31.1, < 2.0)
|
246
|
-
rubocop-rspec (3.0.
|
246
|
+
rubocop-rspec (3.0.5)
|
247
247
|
rubocop (~> 1.61)
|
248
248
|
ruby-progressbar (1.13.0)
|
249
249
|
sawyer (0.9.2)
|
@@ -298,7 +298,7 @@ DEPENDENCIES
|
|
298
298
|
rspec-rails (= 7.0.1)
|
299
299
|
rubocop (= 1.66.1)
|
300
300
|
rubocop-performance (= 1.21.1)
|
301
|
-
rubocop-rspec (= 3.0.
|
301
|
+
rubocop-rspec (= 3.0.5)
|
302
302
|
simplecov (= 0.22.0)
|
303
303
|
simplecov-cobertura (= 2.1.0)
|
304
304
|
webmock (= 3.23.1)
|
data/lib/fbe/octo.rb
CHANGED
@@ -1113,4 +1113,89 @@ class Fbe::FakeOctokit
|
|
1113
1113
|
repository: repository(repo)
|
1114
1114
|
}
|
1115
1115
|
end
|
1116
|
+
|
1117
|
+
def compare(_repo, _start, _end)
|
1118
|
+
{
|
1119
|
+
base_commit: {
|
1120
|
+
sha: '498464613c0b9',
|
1121
|
+
commit: {
|
1122
|
+
author: {
|
1123
|
+
name: 'Yegor Bugayenko', email: 'yegor256@gmail.com', date: Time.parse('2024-09-04 15:23:25 UTC')
|
1124
|
+
},
|
1125
|
+
committer: {
|
1126
|
+
name: 'Yegor Bugayenko', email: 'yegor256@gmail.com', date: Time.parse('2024-09-04 15:23:25 UTC')
|
1127
|
+
},
|
1128
|
+
message: 'Some text',
|
1129
|
+
tree: { sha: '51aee236ba884' },
|
1130
|
+
comment_count: 0,
|
1131
|
+
verification: { verified: false, reason: 'unsigned', signature: nil, payload: nil }
|
1132
|
+
},
|
1133
|
+
author: { login: 'yegor256', id: 526_301, type: 'User', site_admin: false },
|
1134
|
+
committer: { login: 'yegor256', id: 526_301, type: 'User', site_admin: false },
|
1135
|
+
parents: [{ sha: '9763dab47b50a12f59c3630690ec2c0f6bdda0b3' }]
|
1136
|
+
},
|
1137
|
+
merge_base_commit: {
|
1138
|
+
sha: '8e4348746638595a7e',
|
1139
|
+
commit: {
|
1140
|
+
author: {
|
1141
|
+
name: 'Yegor Bugayenko', email: 'yegor256@gmail.com', date: Time.parse('2024-08-25 15:57:35 UTC')
|
1142
|
+
},
|
1143
|
+
committer: {
|
1144
|
+
name: 'Yegor Bugayenko', email: 'yegor256@gmail.com', date: Time.parse('2024-08-25 15:57:35 UTC')
|
1145
|
+
},
|
1146
|
+
message: 'Some text',
|
1147
|
+
tree: { sha: '7145fc122e70bf51e1d' },
|
1148
|
+
comment_count: 0,
|
1149
|
+
verification: { verified: true, reason: 'valid', signature: '', payload: '' }
|
1150
|
+
},
|
1151
|
+
author: { login: 'yegor256', id: 526_301, type: 'User', site_admin: false },
|
1152
|
+
committer: { login: 'yegor256', id: 526_301, type: 'User', site_admin: false },
|
1153
|
+
parents: [
|
1154
|
+
{ sha: '8c8278efedbd795e70' },
|
1155
|
+
{ sha: '7dfd2e0186113f66f' }
|
1156
|
+
]
|
1157
|
+
},
|
1158
|
+
status: 'diverged',
|
1159
|
+
ahead_by: 1,
|
1160
|
+
behind_by: 30,
|
1161
|
+
total_commits: 1,
|
1162
|
+
commits: [
|
1163
|
+
{
|
1164
|
+
sha: 'ee04386901692abb',
|
1165
|
+
commit: {
|
1166
|
+
author: {
|
1167
|
+
name: 'Yegor Bugayenko', email: 'yegor256@gmail.com', date: Time.parse('2024-08-25 15:57:35 UTC')
|
1168
|
+
},
|
1169
|
+
committer: {
|
1170
|
+
name: 'Yegor Bugayenko', email: 'yegor256@gmail.com', date: Time.parse('2024-08-25 15:57:35 UTC')
|
1171
|
+
},
|
1172
|
+
message: 'Some text',
|
1173
|
+
tree: { sha: '7a6124a500aed8c92' },
|
1174
|
+
comment_count: 0,
|
1175
|
+
verification: { verified: false, reason: 'unsigned', signature: nil, payload: nil }
|
1176
|
+
},
|
1177
|
+
author: { login: 'yegor256', id: 526_301, type: 'User', site_admin: false },
|
1178
|
+
committer: { login: 'yegor256', id: 526_301, type: 'User', site_admin: false },
|
1179
|
+
parents: [{ sha: '8e4348746638595a7e' }]
|
1180
|
+
}
|
1181
|
+
],
|
1182
|
+
files: [
|
1183
|
+
{
|
1184
|
+
sha: '9e100c7246c0cc9', filename: 'file.txt', status: 'modified',
|
1185
|
+
additions: 1, deletions: 1, changes: 2,
|
1186
|
+
patch: '@@ -24,7 +24,7 @@ text ...'
|
1187
|
+
},
|
1188
|
+
{
|
1189
|
+
sha: 'f97818271059e5455', filename: 'file2.txt', status: 'modified',
|
1190
|
+
additions: 1, deletions: 1, changes: 2,
|
1191
|
+
patch: '@@ -25,7 +25,7 @@ text ...'
|
1192
|
+
},
|
1193
|
+
{
|
1194
|
+
sha: '5a957c57d090bfeccb', filename: 'file3.txt', status: 'modified',
|
1195
|
+
additions: 1, deletions: 1, changes: 2,
|
1196
|
+
patch: '@@ -27,7 +27,7 @@ text ...'
|
1197
|
+
}
|
1198
|
+
]
|
1199
|
+
}
|
1200
|
+
end
|
1116
1201
|
end
|
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.66
|
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-
|
11
|
+
date: 2024-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|