fbe 0.0.86 → 0.1.0
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 +4 -4
- data/.0pdd.yml +2 -19
- data/.github/workflows/actionlint.yml +4 -20
- data/.github/workflows/codecov.yml +7 -21
- data/.github/workflows/copyrights.yml +4 -19
- data/.github/workflows/markdown-lint.yml +4 -19
- data/.github/workflows/pdd.yml +4 -19
- data/.github/workflows/rake.yml +6 -22
- data/.github/workflows/reuse.yml +19 -0
- data/.github/workflows/xcop.yml +4 -19
- data/.github/workflows/yamllint.yml +4 -19
- data/.gitignore +7 -5
- data/.rubocop.yml +4 -21
- data/.rultor.yml +4 -20
- data/.simplecov +2 -19
- data/.yamllint.yml +2 -19
- data/Gemfile +11 -28
- data/Gemfile.lock +53 -44
- data/LICENSES/MIT.txt +21 -0
- data/REUSE.toml +31 -0
- data/Rakefile +3 -28
- data/fbe.gemspec +3 -20
- data/lib/fbe/award.rb +2 -21
- data/lib/fbe/bylaws.rb +2 -21
- data/lib/fbe/conclude.rb +2 -21
- data/lib/fbe/copy.rb +2 -21
- data/lib/fbe/enter.rb +2 -21
- data/lib/fbe/fb.rb +4 -23
- data/lib/fbe/github_graph.rb +2 -21
- data/lib/fbe/if_absent.rb +2 -21
- data/lib/fbe/issue.rb +2 -21
- data/lib/fbe/iterate.rb +2 -21
- data/lib/fbe/just_one.rb +2 -21
- data/lib/fbe/middleware/formatter.rb +2 -21
- data/lib/fbe/middleware/quota.rb +2 -21
- data/lib/fbe/middleware.rb +2 -21
- data/lib/fbe/octo.rb +3 -22
- data/lib/fbe/overwrite.rb +2 -21
- data/lib/fbe/pmp.rb +2 -21
- data/lib/fbe/regularly.rb +2 -21
- data/lib/fbe/repeatedly.rb +2 -21
- data/lib/fbe/sec.rb +2 -21
- data/lib/fbe/unmask_repos.rb +2 -21
- data/lib/fbe/who.rb +2 -21
- data/lib/fbe.rb +3 -20
- data/test/fbe/middleware/test_formatter.rb +3 -22
- data/test/fbe/middleware/test_quota.rb +2 -22
- data/test/fbe/test_award.rb +2 -22
- data/test/fbe/test_bylaws.rb +2 -22
- data/test/fbe/test_conclude.rb +2 -22
- data/test/fbe/test_copy.rb +2 -22
- data/test/fbe/test_enter.rb +2 -22
- data/test/fbe/test_fb.rb +2 -22
- data/test/fbe/test_github_graph.rb +2 -22
- data/test/fbe/test_if_absent.rb +2 -23
- data/test/fbe/test_issue.rb +2 -22
- data/test/fbe/test_iterate.rb +2 -22
- data/test/fbe/test_just_one.rb +2 -22
- data/test/fbe/test_octo.rb +3 -23
- data/test/fbe/test_overwrite.rb +2 -22
- data/test/fbe/test_pmp.rb +2 -22
- data/test/fbe/test_regularly.rb +2 -22
- data/test/fbe/test_repeatedly.rb +2 -22
- data/test/fbe/test_sec.rb +2 -22
- data/test/fbe/test_unmask_repos.rb +2 -22
- data/test/fbe/test_who.rb +2 -22
- data/test/test__helper.rb +2 -19
- data/test/test_fbe.rb +2 -20
- metadata +8 -8
data/Gemfile.lock
CHANGED
@@ -5,7 +5,7 @@ PATH
|
|
5
5
|
backtrace (~> 0)
|
6
6
|
baza.rb (~> 0)
|
7
7
|
decoor (~> 0)
|
8
|
-
factbase (>= 0.
|
8
|
+
factbase (>= 0.7.4)
|
9
9
|
faraday (~> 2)
|
10
10
|
faraday-http-cache (~> 2)
|
11
11
|
faraday-multipart (~> 1)
|
@@ -80,7 +80,7 @@ GEM
|
|
80
80
|
crass (1.0.6)
|
81
81
|
date (3.4.1)
|
82
82
|
decoor (0.0.1)
|
83
|
-
diff-lcs (1.
|
83
|
+
diff-lcs (1.6.0)
|
84
84
|
docile (1.4.1)
|
85
85
|
drb (2.2.1)
|
86
86
|
elapsed (0.0.1)
|
@@ -89,7 +89,7 @@ GEM
|
|
89
89
|
erubi (1.13.1)
|
90
90
|
ethon (0.16.0)
|
91
91
|
ffi (>= 1.15.0)
|
92
|
-
factbase (0.
|
92
|
+
factbase (0.7.4)
|
93
93
|
backtrace (> 0)
|
94
94
|
decoor (> 0)
|
95
95
|
json (~> 2.7)
|
@@ -117,9 +117,10 @@ GEM
|
|
117
117
|
fiber-storage (1.0.0)
|
118
118
|
gli (2.22.2)
|
119
119
|
ostruct
|
120
|
-
graphql (2.4.
|
120
|
+
graphql (2.4.11)
|
121
121
|
base64
|
122
122
|
fiber-storage
|
123
|
+
logger
|
123
124
|
graphql-client (0.25.0)
|
124
125
|
activesupport (>= 3.0)
|
125
126
|
graphql (>= 1.13.0)
|
@@ -131,14 +132,14 @@ GEM
|
|
131
132
|
pp (>= 0.6.0)
|
132
133
|
rdoc (>= 4.0.0)
|
133
134
|
reline (>= 0.4.2)
|
134
|
-
iri (0.
|
135
|
-
json (2.
|
136
|
-
judges (0.
|
135
|
+
iri (0.10.0)
|
136
|
+
json (2.10.1)
|
137
|
+
judges (0.34.0)
|
137
138
|
backtrace (~> 0)
|
138
139
|
baza.rb (~> 0)
|
139
140
|
concurrent-ruby (~> 1.2)
|
140
141
|
elapsed (~> 0)
|
141
|
-
factbase (>= 0.
|
142
|
+
factbase (>= 0.7.0)
|
142
143
|
gli (~> 2.21)
|
143
144
|
iri (~> 0)
|
144
145
|
loog (~> 0)
|
@@ -150,8 +151,9 @@ GEM
|
|
150
151
|
timeout (~> 0)
|
151
152
|
typhoeus (~> 1.3)
|
152
153
|
language_server-protocol (3.17.0.4)
|
154
|
+
lint_roller (1.1.0)
|
153
155
|
liquid (5.5.1)
|
154
|
-
logger (1.6.
|
156
|
+
logger (1.6.6)
|
155
157
|
loofah (2.24.0)
|
156
158
|
crass (~> 1.0.2)
|
157
159
|
nokogiri (>= 1.12.0)
|
@@ -166,13 +168,13 @@ GEM
|
|
166
168
|
multipart-post (2.4.1)
|
167
169
|
net-http (0.6.0)
|
168
170
|
uri
|
169
|
-
nokogiri (1.18.
|
171
|
+
nokogiri (1.18.3-arm64-darwin)
|
170
172
|
racc (~> 1.4)
|
171
|
-
nokogiri (1.18.
|
173
|
+
nokogiri (1.18.3-x64-mingw-ucrt)
|
172
174
|
racc (~> 1.4)
|
173
|
-
nokogiri (1.18.
|
175
|
+
nokogiri (1.18.3-x86_64-darwin)
|
174
176
|
racc (~> 1.4)
|
175
|
-
nokogiri (1.18.
|
177
|
+
nokogiri (1.18.3-x86_64-linux-gnu)
|
176
178
|
racc (~> 1.4)
|
177
179
|
obk (0.3.1)
|
178
180
|
octokit (9.2.0)
|
@@ -181,7 +183,7 @@ GEM
|
|
181
183
|
ostruct (0.6.1)
|
182
184
|
others (0.0.3)
|
183
185
|
parallel (1.26.3)
|
184
|
-
parser (3.3.7.
|
186
|
+
parser (3.3.7.1)
|
185
187
|
ast (~> 2.4.1)
|
186
188
|
racc
|
187
189
|
pp (0.6.2)
|
@@ -192,7 +194,7 @@ GEM
|
|
192
194
|
stringio
|
193
195
|
public_suffix (6.0.1)
|
194
196
|
racc (1.8.1)
|
195
|
-
rack (3.1.
|
197
|
+
rack (3.1.10)
|
196
198
|
rack-session (2.1.0)
|
197
199
|
base64 (>= 0.1.0)
|
198
200
|
rack (>= 3.0.0)
|
@@ -217,14 +219,14 @@ GEM
|
|
217
219
|
zeitwerk (~> 2.6)
|
218
220
|
rainbow (3.1.1)
|
219
221
|
rake (13.2.1)
|
220
|
-
rdoc (6.
|
222
|
+
rdoc (6.12.0)
|
221
223
|
psych (>= 4.0.0)
|
222
224
|
regexp_parser (2.10.0)
|
223
225
|
reline (0.6.0)
|
224
226
|
io-console (~> 0.5)
|
225
227
|
retries (0.0.5)
|
226
|
-
rexml (3.4.
|
227
|
-
rspec-core (3.13.
|
228
|
+
rexml (3.4.1)
|
229
|
+
rspec-core (3.13.3)
|
228
230
|
rspec-support (~> 3.13.0)
|
229
231
|
rspec-expectations (3.13.3)
|
230
232
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -232,7 +234,7 @@ GEM
|
|
232
234
|
rspec-mocks (3.13.2)
|
233
235
|
diff-lcs (>= 1.2.0, < 2.0)
|
234
236
|
rspec-support (~> 3.13.0)
|
235
|
-
rspec-rails (7.1.
|
237
|
+
rspec-rails (7.1.1)
|
236
238
|
actionpack (>= 7.0)
|
237
239
|
activesupport (>= 7.0)
|
238
240
|
railties (>= 7.0)
|
@@ -241,26 +243,33 @@ GEM
|
|
241
243
|
rspec-mocks (~> 3.13)
|
242
244
|
rspec-support (~> 3.13)
|
243
245
|
rspec-support (3.13.2)
|
244
|
-
rubocop (1.
|
246
|
+
rubocop (1.73.1)
|
245
247
|
json (~> 2.3)
|
246
|
-
language_server-protocol (
|
248
|
+
language_server-protocol (~> 3.17.0.2)
|
249
|
+
lint_roller (~> 1.1.0)
|
247
250
|
parallel (~> 1.10)
|
248
251
|
parser (>= 3.3.0.2)
|
249
252
|
rainbow (>= 2.2.2, < 4.0)
|
250
253
|
regexp_parser (>= 2.9.3, < 3.0)
|
251
|
-
rubocop-ast (>= 1.
|
254
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
252
255
|
ruby-progressbar (~> 1.7)
|
253
256
|
unicode-display_width (>= 2.4.0, < 4.0)
|
254
|
-
rubocop-ast (1.38.
|
257
|
+
rubocop-ast (1.38.1)
|
255
258
|
parser (>= 3.3.1.0)
|
256
|
-
rubocop-minitest (0.
|
257
|
-
|
258
|
-
rubocop
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
rubocop (
|
259
|
+
rubocop-minitest (0.37.1)
|
260
|
+
lint_roller (~> 1.1)
|
261
|
+
rubocop (>= 1.72.1, < 2.0)
|
262
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
263
|
+
rubocop-performance (1.24.0)
|
264
|
+
lint_roller (~> 1.1)
|
265
|
+
rubocop (>= 1.72.1, < 2.0)
|
266
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
267
|
+
rubocop-rake (0.7.1)
|
268
|
+
lint_roller (~> 1.1)
|
269
|
+
rubocop (>= 1.72.1)
|
270
|
+
rubocop-rspec (3.5.0)
|
271
|
+
lint_roller (~> 1.1)
|
272
|
+
rubocop (~> 1.72, >= 1.72.1)
|
264
273
|
ruby-progressbar (1.13.0)
|
265
274
|
sawyer (0.9.2)
|
266
275
|
addressable (>= 2.3.5)
|
@@ -275,7 +284,7 @@ GEM
|
|
275
284
|
simplecov (~> 0.19)
|
276
285
|
simplecov-html (0.13.1)
|
277
286
|
simplecov_json_formatter (0.1.4)
|
278
|
-
stringio (3.1.
|
287
|
+
stringio (3.1.5)
|
279
288
|
tago (0.0.2)
|
280
289
|
thor (1.3.2)
|
281
290
|
timeout (0.4.3)
|
@@ -286,18 +295,18 @@ GEM
|
|
286
295
|
unicode-display_width (3.1.4)
|
287
296
|
unicode-emoji (~> 4.0, >= 4.0.4)
|
288
297
|
unicode-emoji (4.0.4)
|
289
|
-
uri (1.0.
|
298
|
+
uri (1.0.3)
|
290
299
|
useragent (0.16.11)
|
291
300
|
verbose (0.0.2)
|
292
301
|
loog (~> 0.2)
|
293
302
|
tago (~> 0.0)
|
294
|
-
webmock (3.
|
303
|
+
webmock (3.25.0)
|
295
304
|
addressable (>= 2.8.0)
|
296
305
|
crack (>= 0.3.2)
|
297
306
|
hashdiff (>= 0.4.0, < 2.0.0)
|
298
307
|
yaml (0.4.0)
|
299
308
|
yard (0.9.37)
|
300
|
-
zeitwerk (2.7.
|
309
|
+
zeitwerk (2.7.2)
|
301
310
|
|
302
311
|
PLATFORMS
|
303
312
|
arm64-darwin-22
|
@@ -310,18 +319,18 @@ PLATFORMS
|
|
310
319
|
|
311
320
|
DEPENDENCIES
|
312
321
|
fbe!
|
313
|
-
graphql-client
|
314
322
|
minitest (= 5.25.4)
|
315
|
-
minitest-reporters (
|
316
|
-
rake (
|
317
|
-
rspec-rails (
|
318
|
-
rubocop (= 1.
|
319
|
-
rubocop-minitest (
|
320
|
-
rubocop-performance (
|
321
|
-
rubocop-
|
323
|
+
minitest-reporters (>= 1.7)
|
324
|
+
rake (>= 13)
|
325
|
+
rspec-rails (> 0)
|
326
|
+
rubocop (= 1.73.1)
|
327
|
+
rubocop-minitest (> 0)
|
328
|
+
rubocop-performance (> 0)
|
329
|
+
rubocop-rake (> 0)
|
330
|
+
rubocop-rspec (> 0)
|
322
331
|
simplecov (= 0.22.0)
|
323
332
|
simplecov-cobertura (= 2.1.0)
|
324
|
-
webmock (= 3.
|
333
|
+
webmock (= 3.25.0)
|
325
334
|
yard (= 0.9.37)
|
326
335
|
|
327
336
|
BUNDLED WITH
|
data/LICENSES/MIT.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
(The MIT License)
|
2
|
+
|
3
|
+
Copyright (c) 2024-2025 Zerocracy
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the 'Software'), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/REUSE.toml
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
# SPDX-License-Identifier: MIT
|
3
|
+
|
4
|
+
version = 1
|
5
|
+
[[annotations]]
|
6
|
+
path = [
|
7
|
+
"**/*.csv",
|
8
|
+
"**/*.fe",
|
9
|
+
"**/*.jpg",
|
10
|
+
"**/*.json",
|
11
|
+
"**/*.liquid",
|
12
|
+
"**/*.md",
|
13
|
+
"**/*.pdf",
|
14
|
+
"**/*.png",
|
15
|
+
"**/*.svg",
|
16
|
+
"**/*.txt",
|
17
|
+
"**/*.vm",
|
18
|
+
"**/.gitignore",
|
19
|
+
"**/CNAME",
|
20
|
+
".gitattributes",
|
21
|
+
".gitignore",
|
22
|
+
".gitleaksignore",
|
23
|
+
".pdd",
|
24
|
+
".xcop",
|
25
|
+
"Gemfile.lock",
|
26
|
+
"README.md",
|
27
|
+
"renovate.json",
|
28
|
+
]
|
29
|
+
precedence = "override"
|
30
|
+
SPDX-FileCopyrightText = "Copyright (c) 2025 Yegor Bugayenko"
|
31
|
+
SPDX-License-Identifier = "MIT"
|
data/Rakefile
CHANGED
@@ -1,24 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2024-2025 Zerocracy
|
4
|
-
#
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
# of this software and associated documentation files (the 'Software'), to deal
|
7
|
-
# in the Software without restriction, including without limitation the rights
|
8
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
# copies of the Software, and to permit persons to whom the Software is
|
10
|
-
# furnished to do so, subject to the following conditions:
|
11
|
-
#
|
12
|
-
# The above copyright notice and this permission notice shall be included in all
|
13
|
-
# copies or substantial portions of the Software.
|
14
|
-
#
|
15
|
-
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
# SOFTWARE.
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
|
4
|
+
# SPDX-License-Identifier: MIT
|
22
5
|
|
23
6
|
require 'rubygems'
|
24
7
|
require 'rake'
|
@@ -34,7 +17,7 @@ end
|
|
34
17
|
|
35
18
|
ENV['RACK_ENV'] = 'test'
|
36
19
|
|
37
|
-
task default: %i[clean test rubocop yard
|
20
|
+
task default: %i[clean test rubocop yard]
|
38
21
|
|
39
22
|
require 'rake/testtask'
|
40
23
|
desc 'Run all unit tests'
|
@@ -58,11 +41,3 @@ RuboCop::RakeTask.new(:rubocop) do |task|
|
|
58
41
|
task.fail_on_error = true
|
59
42
|
task.requires << 'rubocop-rspec'
|
60
43
|
end
|
61
|
-
|
62
|
-
task :copyright do
|
63
|
-
sh "grep -q -r '#{Date.today.strftime('%Y')}' \
|
64
|
-
--include '*.rb' \
|
65
|
-
--include '*.txt' \
|
66
|
-
--include 'Rakefile' \
|
67
|
-
."
|
68
|
-
end
|
data/fbe.gemspec
CHANGED
@@ -1,24 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (c) 2024-2025 Zerocracy
|
4
|
-
#
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
# of this software and associated documentation files (the 'Software'), to deal
|
7
|
-
# in the Software without restriction, including without limitation the rights
|
8
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
# copies of the Software, and to permit persons to whom the Software is
|
10
|
-
# furnished to do so, subject to the following conditions:
|
11
|
-
#
|
12
|
-
# The above copyright notice and this permission notice shall be included in all
|
13
|
-
# copies or substantial portions of the Software.
|
14
|
-
#
|
15
|
-
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
# SOFTWARE.
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
|
4
|
+
# SPDX-License-Identifier: MIT
|
22
5
|
|
23
6
|
require 'English'
|
24
7
|
require_relative 'lib/fbe'
|
@@ -42,7 +25,7 @@ Gem::Specification.new do |s|
|
|
42
25
|
s.add_dependency 'backtrace', '~>0'
|
43
26
|
s.add_dependency 'baza.rb', '~>0'
|
44
27
|
s.add_dependency 'decoor', '~>0'
|
45
|
-
s.add_dependency 'factbase', '>=0.
|
28
|
+
s.add_dependency 'factbase', '>=0.7.4'
|
46
29
|
s.add_dependency 'faraday', '~>2'
|
47
30
|
s.add_dependency 'faraday-http-cache', '~>2'
|
48
31
|
s.add_dependency 'faraday-multipart', '~>1'
|
data/lib/fbe/award.rb
CHANGED
@@ -1,26 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Copyright (c) 2024-2025 Zerocracy
|
6
|
-
#
|
7
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
-
# of this software and associated documentation files (the "Software"), to deal
|
9
|
-
# in the Software without restriction, including without limitation the rights
|
10
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
-
# copies of the Software, and to permit persons to whom the Software is
|
12
|
-
# furnished to do so, subject to the following conditions:
|
13
|
-
#
|
14
|
-
# The above copyright notice and this permission notice shall be included in all
|
15
|
-
# copies or substantial portions of the Software.
|
16
|
-
#
|
17
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
-
# SOFTWARE.
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
|
4
|
+
# SPDX-License-Identifier: MIT
|
24
5
|
|
25
6
|
require 'factbase/syntax'
|
26
7
|
require_relative 'fb'
|
data/lib/fbe/bylaws.rb
CHANGED
@@ -1,26 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Copyright (c) 2024-2025 Zerocracy
|
6
|
-
#
|
7
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
-
# of this software and associated documentation files (the "Software"), to deal
|
9
|
-
# in the Software without restriction, including without limitation the rights
|
10
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
-
# copies of the Software, and to permit persons to whom the Software is
|
12
|
-
# furnished to do so, subject to the following conditions:
|
13
|
-
#
|
14
|
-
# The above copyright notice and this permission notice shall be included in all
|
15
|
-
# copies or substantial portions of the Software.
|
16
|
-
#
|
17
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
-
# SOFTWARE.
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
|
4
|
+
# SPDX-License-Identifier: MIT
|
24
5
|
|
25
6
|
require 'liquid'
|
26
7
|
require_relative '../fbe'
|
data/lib/fbe/conclude.rb
CHANGED
@@ -1,26 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Copyright (c) 2024-2025 Zerocracy
|
6
|
-
#
|
7
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
-
# of this software and associated documentation files (the "Software"), to deal
|
9
|
-
# in the Software without restriction, including without limitation the rights
|
10
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
-
# copies of the Software, and to permit persons to whom the Software is
|
12
|
-
# furnished to do so, subject to the following conditions:
|
13
|
-
#
|
14
|
-
# The above copyright notice and this permission notice shall be included in all
|
15
|
-
# copies or substantial portions of the Software.
|
16
|
-
#
|
17
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
-
# SOFTWARE.
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
|
4
|
+
# SPDX-License-Identifier: MIT
|
24
5
|
|
25
6
|
require_relative '../fbe'
|
26
7
|
require_relative 'fb'
|
data/lib/fbe/copy.rb
CHANGED
@@ -1,26 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Copyright (c) 2024-2025 Zerocracy
|
6
|
-
#
|
7
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
-
# of this software and associated documentation files (the "Software"), to deal
|
9
|
-
# in the Software without restriction, including without limitation the rights
|
10
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
-
# copies of the Software, and to permit persons to whom the Software is
|
12
|
-
# furnished to do so, subject to the following conditions:
|
13
|
-
#
|
14
|
-
# The above copyright notice and this permission notice shall be included in all
|
15
|
-
# copies or substantial portions of the Software.
|
16
|
-
#
|
17
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
-
# SOFTWARE.
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
|
4
|
+
# SPDX-License-Identifier: MIT
|
24
5
|
|
25
6
|
require_relative '../fbe'
|
26
7
|
require_relative 'fb'
|
data/lib/fbe/enter.rb
CHANGED
@@ -1,26 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Copyright (c) 2024-2025 Zerocracy
|
6
|
-
#
|
7
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
-
# of this software and associated documentation files (the "Software"), to deal
|
9
|
-
# in the Software without restriction, including without limitation the rights
|
10
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
-
# copies of the Software, and to permit persons to whom the Software is
|
12
|
-
# furnished to do so, subject to the following conditions:
|
13
|
-
#
|
14
|
-
# The above copyright notice and this permission notice shall be included in all
|
15
|
-
# copies or substantial portions of the Software.
|
16
|
-
#
|
17
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
-
# SOFTWARE.
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
|
4
|
+
# SPDX-License-Identifier: MIT
|
24
5
|
|
25
6
|
require 'baza-rb'
|
26
7
|
require_relative '../fbe'
|
data/lib/fbe/fb.rb
CHANGED
@@ -1,31 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Copyright (c) 2024-2025 Zerocracy
|
6
|
-
#
|
7
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
-
# of this software and associated documentation files (the "Software"), to deal
|
9
|
-
# in the Software without restriction, including without limitation the rights
|
10
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
-
# copies of the Software, and to permit persons to whom the Software is
|
12
|
-
# furnished to do so, subject to the following conditions:
|
13
|
-
#
|
14
|
-
# The above copyright notice and this permission notice shall be included in all
|
15
|
-
# copies or substantial portions of the Software.
|
16
|
-
#
|
17
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
-
# SOFTWARE.
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
|
4
|
+
# SPDX-License-Identifier: MIT
|
24
5
|
|
25
6
|
require 'loog'
|
26
7
|
require 'judges'
|
27
8
|
require 'factbase'
|
28
|
-
require 'factbase/
|
9
|
+
require 'factbase/logged'
|
29
10
|
require 'factbase/pre'
|
30
11
|
require 'factbase/rules'
|
31
12
|
require_relative '../fbe'
|
@@ -58,6 +39,6 @@ def Fbe.fb(fb: $fb, global: $global, options: $options, loog: $loog)
|
|
58
39
|
f._version = "#{Factbase::VERSION}/#{Judges::VERSION}/#{options.action_version}"
|
59
40
|
f._job = options.job_id unless options.job_id.nil?
|
60
41
|
end
|
61
|
-
Factbase::
|
42
|
+
Factbase::Logged.new(fbe, loog)
|
62
43
|
end
|
63
44
|
end
|
data/lib/fbe/github_graph.rb
CHANGED
@@ -1,26 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Copyright (c) 2024-2025 Zerocracy
|
6
|
-
#
|
7
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
-
# of this software and associated documentation files (the "Software"), to deal
|
9
|
-
# in the Software without restriction, including without limitation the rights
|
10
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
-
# copies of the Software, and to permit persons to whom the Software is
|
12
|
-
# furnished to do so, subject to the following conditions:
|
13
|
-
#
|
14
|
-
# The above copyright notice and this permission notice shall be included in all
|
15
|
-
# copies or substantial portions of the Software.
|
16
|
-
#
|
17
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
-
# SOFTWARE.
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
|
4
|
+
# SPDX-License-Identifier: MIT
|
24
5
|
|
25
6
|
require 'graphql/client'
|
26
7
|
require 'graphql/client/http'
|
data/lib/fbe/if_absent.rb
CHANGED
@@ -1,26 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Copyright (c) 2024-2025 Zerocracy
|
6
|
-
#
|
7
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
-
# of this software and associated documentation files (the "Software"), to deal
|
9
|
-
# in the Software without restriction, including without limitation the rights
|
10
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
-
# copies of the Software, and to permit persons to whom the Software is
|
12
|
-
# furnished to do so, subject to the following conditions:
|
13
|
-
#
|
14
|
-
# The above copyright notice and this permission notice shall be included in all
|
15
|
-
# copies or substantial portions of the Software.
|
16
|
-
#
|
17
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
-
# SOFTWARE.
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
|
4
|
+
# SPDX-License-Identifier: MIT
|
24
5
|
|
25
6
|
require 'others'
|
26
7
|
require 'time'
|
data/lib/fbe/issue.rb
CHANGED
@@ -1,26 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Copyright (c) 2024-2025 Zerocracy
|
6
|
-
#
|
7
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
-
# of this software and associated documentation files (the "Software"), to deal
|
9
|
-
# in the Software without restriction, including without limitation the rights
|
10
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
-
# copies of the Software, and to permit persons to whom the Software is
|
12
|
-
# furnished to do so, subject to the following conditions:
|
13
|
-
#
|
14
|
-
# The above copyright notice and this permission notice shall be included in all
|
15
|
-
# copies or substantial portions of the Software.
|
16
|
-
#
|
17
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
-
# SOFTWARE.
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
|
4
|
+
# SPDX-License-Identifier: MIT
|
24
5
|
|
25
6
|
require_relative '../fbe'
|
26
7
|
require_relative 'octo'
|