fbe 0.48.2 → 0.48.4

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: 83be60cc5a821f74f7dba48841f2ca45a545e38c9cdd78cab124ec4da642fafb
4
- data.tar.gz: 2ec67efe760332ec9d6d43a57c49cf43029368d72cbd5bbc826fc33c1020aa97
3
+ metadata.gz: 2d0089866ec9064d80a2061dc5219b7a6804d028ffefe8e685547e09a3847284
4
+ data.tar.gz: c2720200173179080383889a4dbc7f8445729296c0ba53f2695b74b502f8ebd3
5
5
  SHA512:
6
- metadata.gz: f112eb08d9091f4549085d0141bf8c2f2be66b732c16a387f5d1f93f1a34c475558c59b4695ab07905db51944574f6f6816eaefa7f46c6956da46eb2bace48c5
7
- data.tar.gz: cddbd8310ac8ae3900eeca8c1a9839500d4ee3963d40e69585dd7e22dc5f56272a432b4cec21edb498ed26b06ad3feb64af7687321d157b34d48c306ed692b39
6
+ metadata.gz: '09035a890d7e838df5820a4e2cafa6d5333f31b743087855351041f788d5bd0d5ec9c8a454e79ca3bf0fe69f1286e97d8a87e4a6d8554e79f3c465e4acfcb0fa'
7
+ data.tar.gz: c5800d374a1b0245a9fc55849d1b3e8d576fb84607b200020b08b14da63fce8f302dde9cee7d17652effc1144a105f9f1436c126332da0ef50bef680ee0ac100
@@ -15,11 +15,11 @@ jobs:
15
15
  - uses: actions/checkout@v6
16
16
  - uses: ruby/setup-ruby@v1
17
17
  with:
18
- ruby-version: 4.0.1
18
+ ruby-version: 4.0.2
19
19
  bundler-cache: true
20
20
  - run: bundle config set --global path "$(pwd)/vendor/bundle"
21
21
  - run: bundle install --no-color
22
22
  - run: bundle exec rake
23
- - uses: codecov/codecov-action@v5
23
+ - uses: codecov/codecov-action@v6
24
24
  with:
25
25
  token: ${{ secrets.CODECOV_TOKEN }}
@@ -20,4 +20,4 @@ jobs:
20
20
  runs-on: ubuntu-24.04
21
21
  steps:
22
22
  - uses: actions/checkout@v6
23
- - uses: DavidAnson/markdownlint-cli2-action@v22.0.0
23
+ - uses: DavidAnson/markdownlint-cli2-action@v23.0.0
@@ -16,6 +16,6 @@ jobs:
16
16
  runs-on: ubuntu-24.04
17
17
  steps:
18
18
  - uses: actions/checkout@v6
19
- - uses: crate-ci/typos@v1.42.1
19
+ - uses: crate-ci/typos@v1.45.1
20
20
  with:
21
21
  config: .github/.typos.toml
data/.rubocop.yml CHANGED
@@ -14,47 +14,99 @@ plugins:
14
14
  - rubocop-minitest
15
15
  - rubocop-performance
16
16
  - rubocop-rake
17
- Minitest/MultipleAssertions:
18
- Max: 10
19
- Minitest/EmptyLineBeforeAssertionMethods:
20
- Enabled: false
17
+ - rubocop-elegant
21
18
  Style/GlobalVars:
22
19
  Enabled: false
23
- Lint/NestedMethodDefinition:
24
- Enabled: false
25
- Gemspec/RequiredRubyVersion:
26
- Enabled: false
27
- Metrics/ModuleLength:
28
- Enabled: false
29
- Metrics/MethodLength:
30
- Enabled: false
31
- Style/ClassAndModuleChildren:
32
- Enabled: false
33
- Layout/MultilineMethodCallIndentation:
34
- Enabled: false
35
- Metrics/BlockLength:
36
- Enabled: false
37
- Metrics/AbcSize:
38
- Enabled: false
39
- Metrics/CyclomaticComplexity:
40
- Enabled: false
41
- Metrics/PerceivedComplexity:
42
- Enabled: false
43
- Metrics/ClassLength:
44
- Enabled: false
45
- Style/SafeNavigationChainLength:
46
- Enabled: false
47
- Layout/EmptyLineAfterGuardClause:
48
- Enabled: false
20
+ Style/TopLevelMethodDefinition:
21
+ Enabled: false
22
+ Elegant/GoodMethodName:
23
+ AllowedNames:
24
+ - accept_repository_invitation
25
+ - add_comment
26
+ - auto_paginate
27
+ - auto_paginate=
28
+ - bill_to
29
+ - check_runs_for_ref
30
+ - commit_pulls
31
+ - commits_since
32
+ - create_commit_comment
33
+ - create_connection
34
+ - delete_one
35
+ - dump_headers
36
+ - extract_remaining_count
37
+ - faraday_value
38
+ - github_graph
39
+ - handle_rate_limit_request
40
+ - if_absent
41
+ - issue_comment_reactions
42
+ - issue_comments
43
+ - issue_events
44
+ - issue_timeline
45
+ - issue_type_event
46
+ - just_one
47
+ - kill_if
48
+ - lifetime_unaware
49
+ - list_issues
50
+ - log_it
51
+ - mask_to_regex
52
+ - name_to_number
53
+ - off_quota?
54
+ - organization_memberships
55
+ - organization_repositories
56
+ - print_trace!
57
+ - publish_to
58
+ - pull_request
59
+ - pull_request_comments
60
+ - pull_request_review_comment_reactions
61
+ - pull_request_review_comments
62
+ - pull_request_reviews
63
+ - pull_requests
64
+ - pull_requests_with_reviews
65
+ - quota_unaware
66
+ - random_time
67
+ - rate_limit
68
+ - remove_organization_membership
69
+ - repo_id_by_name
70
+ - repo_name_by_id
71
+ - repository_events
72
+ - repository_workflow_runs
73
+ - resolved_conversations
74
+ - response_env
75
+ - review_comments
76
+ - search_commits
77
+ - search_issues
78
+ - sort_by
79
+ - timeout_unaware
80
+ - total_commits
81
+ - total_commits_pushed
82
+ - total_issues_and_pulls
83
+ - total_issues_created
84
+ - total_releases_published
85
+ - track_request
86
+ - unmask_repos
87
+ - update_organization_membership
88
+ - update_remaining_count
89
+ - user_name_by_id
90
+ - user_repository_invitations
91
+ - with_disable_auto_paginate
92
+ - workflow_run
93
+ - workflow_run_job
94
+ - workflow_run_usage
49
95
  Naming/MethodParameterName:
50
- MinNameLength: 2
51
- Layout/EndOfLine:
52
- EnforcedStyle: lf
53
- Security/MarshalLoad:
54
- Enabled: false
55
- Metrics/ParameterLists:
56
- Enabled: false
57
- Layout/MultilineAssignmentLayout:
58
- Enabled: true
59
- Style/RequireOrder:
60
- Enabled: true
96
+ AllowedNames:
97
+ - as
98
+ - at
99
+ - by
100
+ - cc
101
+ - db
102
+ - fb
103
+ - id
104
+ - if
105
+ - in
106
+ - io
107
+ - ip
108
+ - of
109
+ - 'on'
110
+ - os
111
+ - pp
112
+ - to
data/Gemfile CHANGED
@@ -12,9 +12,10 @@ gem 'minitest-reporters', '~>1.7', require: false
12
12
  gem 'minitest-stub-const', '~>0.6', require: false
13
13
  gem 'os', '~>1.1', require: false
14
14
  gem 'qbash', '~>0.4', require: false
15
- gem 'rake', '~>13.3', require: false
15
+ gem 'rake', '13.4.2', require: false
16
16
  gem 'rdoc', '~>7.0', require: false
17
17
  gem 'rubocop', '~>1.75', require: false
18
+ gem 'rubocop-elegant', '~>0.0', require: false
18
19
  gem 'rubocop-minitest', '~>0.38', require: false
19
20
  gem 'rubocop-performance', '~>1.25', require: false
20
21
  gem 'rubocop-rake', '~>0.7', require: false
data/Gemfile.lock CHANGED
@@ -29,7 +29,7 @@ PATH
29
29
  GEM
30
30
  remote: https://rubygems.org/
31
31
  specs:
32
- activesupport (8.1.2)
32
+ activesupport (8.1.3)
33
33
  base64
34
34
  bigdecimal
35
35
  concurrent-ruby (~> 1.0, >= 1.3.1)
@@ -42,13 +42,13 @@ GEM
42
42
  securerandom (>= 0.3)
43
43
  tzinfo (~> 2.0, >= 2.0.5)
44
44
  uri (>= 0.13.1)
45
- addressable (2.8.8)
45
+ addressable (2.9.0)
46
46
  public_suffix (>= 2.0.2, < 8.0)
47
- ansi (1.5.0)
47
+ ansi (1.6.0)
48
48
  ast (2.4.3)
49
49
  backtrace (0.4.1)
50
50
  base64 (0.3.0)
51
- baza.rb (0.11.2)
51
+ baza.rb (0.14.3)
52
52
  backtrace (~> 0.4)
53
53
  elapsed (~> 0.2)
54
54
  faraday (~> 2.13)
@@ -60,7 +60,7 @@ GEM
60
60
  retries (~> 0.0)
61
61
  tago (~> 0.2)
62
62
  typhoeus (~> 1.4)
63
- bigdecimal (4.0.1)
63
+ bigdecimal (4.1.1)
64
64
  builder (3.3.0)
65
65
  concurrent-ruby (1.3.6)
66
66
  connection_pool (3.0.2)
@@ -71,14 +71,15 @@ GEM
71
71
  decoor (0.1.0)
72
72
  docile (1.4.1)
73
73
  drb (2.2.3)
74
- elapsed (0.2.2)
74
+ elapsed (0.3.1)
75
75
  loog (~> 0.6)
76
76
  tago (~> 0.1)
77
77
  ellipsized (0.3.0)
78
- erb (6.0.1)
79
- ethon (0.15.0)
78
+ erb (6.0.3)
79
+ ethon (0.18.0)
80
80
  ffi (>= 1.15.0)
81
- factbase (0.19.3)
81
+ logger
82
+ factbase (0.19.9)
82
83
  backtrace (~> 0.4)
83
84
  decoor (~> 0.1)
84
85
  ellipsized (~> 0.3)
@@ -89,11 +90,11 @@ GEM
89
90
  others (~> 0.1)
90
91
  tago (~> 0.1)
91
92
  yaml (~> 0.3)
92
- faraday (2.14.0)
93
+ faraday (2.14.1)
93
94
  faraday-net_http (>= 2.0, < 3.5)
94
95
  json
95
96
  logger
96
- faraday-http-cache (2.6.1)
97
+ faraday-http-cache (2.7.0)
97
98
  faraday (>= 0.8)
98
99
  faraday-multipart (1.2.0)
99
100
  multipart-post (~> 2.0)
@@ -101,15 +102,15 @@ GEM
101
102
  net-http (~> 0.5)
102
103
  faraday-retry (2.4.0)
103
104
  faraday (~> 2.0)
104
- ffi (1.17.3-arm64-darwin)
105
- ffi (1.17.3-x64-mingw-ucrt)
106
- ffi (1.17.3-x86_64-darwin)
107
- ffi (1.17.3-x86_64-linux-gnu)
105
+ ffi (1.17.4-arm64-darwin)
106
+ ffi (1.17.4-x64-mingw-ucrt)
107
+ ffi (1.17.4-x86_64-darwin)
108
+ ffi (1.17.4-x86_64-linux-gnu)
108
109
  fiber-storage (1.0.1)
109
110
  filesize (0.2.0)
110
111
  gli (2.22.2)
111
112
  ostruct
112
- graphql (2.5.16)
113
+ graphql (2.5.23)
113
114
  base64
114
115
  fiber-storage
115
116
  logger
@@ -120,20 +121,22 @@ GEM
120
121
  i18n (1.14.8)
121
122
  concurrent-ruby (~> 1.0)
122
123
  intercepted (0.2.0)
123
- iri (0.11.7)
124
+ iri (0.11.8)
124
125
  joined (0.4.0)
125
- json (2.18.0)
126
- judges (0.59.0)
126
+ json (2.19.3)
127
+ judges (0.60.2)
127
128
  backtrace (~> 0.4)
128
129
  baza.rb (~> 0.10)
129
130
  concurrent-ruby (~> 1.2)
130
131
  elapsed (~> 0.2)
132
+ ellipsized (~> 0.3)
131
133
  factbase (~> 0.16)
132
134
  gli (~> 2.21)
133
135
  iri (~> 0.11)
134
136
  loog (~> 0.6)
135
137
  moments (~> 0.3)
136
138
  nokogiri (~> 1.10)
139
+ octokit (~> 10.0)
137
140
  others (~> 0.1)
138
141
  retries (~> 0.0)
139
142
  tago (~> 0.2)
@@ -142,33 +145,34 @@ GEM
142
145
  typhoeus (~> 1.3)
143
146
  language_server-protocol (3.17.0.5)
144
147
  lint_roller (1.1.0)
145
- liquid (5.11.0)
148
+ liquid (5.12.0)
146
149
  bigdecimal
147
150
  strscan (>= 3.1.1)
148
151
  logger (1.7.0)
149
- loog (0.7.2)
152
+ loog (0.8.0)
150
153
  ellipsized
151
154
  logger (~> 1.0)
152
- minitest (6.0.1)
155
+ minitest (6.0.4)
156
+ drb (~> 2.0)
153
157
  prism (~> 1.5)
154
158
  minitest-mock (5.27.0)
155
- minitest-reporters (1.7.1)
159
+ minitest-reporters (1.8.0)
156
160
  ansi
157
161
  builder
158
- minitest (>= 5.0)
162
+ minitest (>= 5.0, < 7)
159
163
  ruby-progressbar
160
164
  minitest-stub-const (0.6)
161
165
  moments (0.3.0)
162
166
  multipart-post (2.4.1)
163
167
  net-http (0.9.1)
164
168
  uri (>= 0.11.1)
165
- nokogiri (1.19.0-arm64-darwin)
169
+ nokogiri (1.19.2-arm64-darwin)
166
170
  racc (~> 1.4)
167
- nokogiri (1.19.0-x64-mingw-ucrt)
171
+ nokogiri (1.19.2-x64-mingw-ucrt)
168
172
  racc (~> 1.4)
169
- nokogiri (1.19.0-x86_64-darwin)
173
+ nokogiri (1.19.2-x86_64-darwin)
170
174
  racc (~> 1.4)
171
- nokogiri (1.19.0-x86_64-linux-gnu)
175
+ nokogiri (1.19.2-x86_64-linux-gnu)
172
176
  racc (~> 1.4)
173
177
  obk (0.3.2)
174
178
  octokit (10.0.0)
@@ -177,45 +181,48 @@ GEM
177
181
  os (1.1.4)
178
182
  ostruct (0.6.3)
179
183
  others (0.1.1)
180
- parallel (1.27.0)
181
- parser (3.3.10.1)
184
+ parallel (2.0.1)
185
+ parser (3.3.11.1)
182
186
  ast (~> 2.4.1)
183
187
  racc
184
- prism (1.8.0)
188
+ prism (1.9.0)
185
189
  psych (5.3.1)
186
190
  date
187
191
  stringio
188
- public_suffix (7.0.2)
189
- qbash (0.6.0)
192
+ public_suffix (7.0.5)
193
+ qbash (0.8.2)
190
194
  backtrace (> 0)
191
195
  elapsed (> 0)
192
196
  loog (> 0)
193
197
  tago (> 0)
194
198
  racc (1.8.1)
195
199
  rainbow (3.1.1)
196
- rake (13.3.1)
197
- rdoc (7.1.0)
200
+ rake (13.4.2)
201
+ rdoc (7.2.0)
198
202
  erb
199
203
  psych (>= 4.0.0)
200
204
  tsort
201
- regexp_parser (2.11.3)
205
+ regexp_parser (2.12.0)
202
206
  retries (0.0.5)
203
207
  rexml (3.4.4)
204
- rubocop (1.82.1)
208
+ rubocop (1.86.1)
205
209
  json (~> 2.3)
206
210
  language_server-protocol (~> 3.17.0.2)
207
211
  lint_roller (~> 1.1.0)
208
- parallel (~> 1.10)
212
+ parallel (>= 1.10)
209
213
  parser (>= 3.3.0.2)
210
214
  rainbow (>= 2.2.2, < 4.0)
211
215
  regexp_parser (>= 2.9.3, < 3.0)
212
- rubocop-ast (>= 1.48.0, < 2.0)
216
+ rubocop-ast (>= 1.49.0, < 2.0)
213
217
  ruby-progressbar (~> 1.7)
214
218
  unicode-display_width (>= 2.4.0, < 4.0)
215
- rubocop-ast (1.49.0)
219
+ rubocop-ast (1.49.1)
216
220
  parser (>= 3.3.7.2)
217
221
  prism (~> 1.7)
218
- rubocop-minitest (0.38.2)
222
+ rubocop-elegant (0.0.15)
223
+ lint_roller (~> 1.1)
224
+ rubocop (~> 1.75)
225
+ rubocop-minitest (0.39.1)
219
226
  lint_roller (~> 1.1)
220
227
  rubocop (>= 1.75.0, < 2.0)
221
228
  rubocop-ast (>= 1.38.0, < 2.0)
@@ -240,18 +247,18 @@ GEM
240
247
  simplecov (~> 0.19)
241
248
  simplecov-html (0.13.2)
242
249
  simplecov_json_formatter (0.1.4)
243
- sqlite3 (2.9.0-arm64-darwin)
244
- sqlite3 (2.9.0-x64-mingw-ucrt)
245
- sqlite3 (2.9.0-x86_64-darwin)
246
- sqlite3 (2.9.0-x86_64-linux-gnu)
250
+ sqlite3 (2.9.3-arm64-darwin)
251
+ sqlite3 (2.9.3-x64-mingw-ucrt)
252
+ sqlite3 (2.9.3-x86_64-darwin)
253
+ sqlite3 (2.9.3-x86_64-linux-gnu)
247
254
  stringio (3.2.0)
248
- strscan (3.1.7)
249
- tago (0.6.0)
250
- timeout (0.6.0)
255
+ strscan (3.1.8)
256
+ tago (0.7.0)
257
+ timeout (0.6.1)
251
258
  total (0.4.2)
252
259
  tsort (0.2.0)
253
- typhoeus (1.5.0)
254
- ethon (>= 0.9.0, < 0.16.0)
260
+ typhoeus (1.6.0)
261
+ ethon (>= 0.18.0)
255
262
  tzinfo (2.0.6)
256
263
  concurrent-ruby (~> 1.0)
257
264
  unicode-display_width (3.2.0)
@@ -262,12 +269,12 @@ GEM
262
269
  verbose (0.1.0)
263
270
  loog (~> 0.2)
264
271
  tago (~> 0.0)
265
- webmock (3.26.1)
272
+ webmock (3.26.2)
266
273
  addressable (>= 2.8.0)
267
274
  crack (>= 0.3.2)
268
275
  hashdiff (>= 0.4.0, < 2.0.0)
269
276
  yaml (0.4.0)
270
- yard (0.9.38)
277
+ yard (0.9.41)
271
278
 
272
279
  PLATFORMS
273
280
  arm64-darwin-22
@@ -287,9 +294,10 @@ DEPENDENCIES
287
294
  minitest-stub-const (~> 0.6)
288
295
  os (~> 1.1)
289
296
  qbash (~> 0.4)
290
- rake (~> 13.3)
297
+ rake (= 13.4.2)
291
298
  rdoc (~> 7.0)
292
299
  rubocop (~> 1.75)
300
+ rubocop-elegant (~> 0.0)
293
301
  rubocop-minitest (~> 0.38)
294
302
  rubocop-performance (~> 1.25)
295
303
  rubocop-rake (~> 0.7)
data/Rakefile CHANGED
@@ -31,7 +31,7 @@ end
31
31
  desc 'Run them via Ruby, one by one'
32
32
  task :picks do
33
33
  (Dir['test/**/*.rb'] + Dir['lib/**/*.rb']).each do |f|
34
- qbash("bundle exec ruby #{Shellwords.escape(f)} -- --no-cov", log: $stdout)
34
+ qbash("bundle exec ruby #{Shellwords.escape(f)} -- --no-cov", stdout: $stdout)
35
35
  end
36
36
  end
37
37
 
data/fbe.gemspec CHANGED
@@ -7,8 +7,8 @@ require 'English'
7
7
  require_relative 'lib/fbe'
8
8
 
9
9
  Gem::Specification.new do |s|
10
- s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
11
- s.required_ruby_version = '>=3.0'
10
+ s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to?(:required_rubygems_version=)
11
+ s.required_ruby_version = '>=3.2'
12
12
  s.name = 'fbe'
13
13
  s.version = Fbe::VERSION
14
14
  s.license = 'MIT'
@@ -22,28 +22,28 @@ Gem::Specification.new do |s|
22
22
  s.files = `git ls-files | grep -v -E '^(test/|renovate|coverage)'`.split($RS)
23
23
  s.rdoc_options = ['--charset=UTF-8']
24
24
  s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
25
- s.add_dependency 'backtrace', '~>0.4'
26
- s.add_dependency 'baza.rb', '~>0.9'
27
- s.add_dependency 'decoor', '~>0.1'
28
- s.add_dependency 'ellipsized', '~>0.3'
29
- s.add_dependency 'factbase', '~>0.19'
30
- s.add_dependency 'faraday', '~>2.0'
31
- s.add_dependency 'faraday-http-cache', '~>2.5'
32
- s.add_dependency 'faraday-multipart', '~>1.1'
33
- s.add_dependency 'faraday-retry', '~>2.3'
34
- s.add_dependency 'filesize', '~>0.2'
35
- s.add_dependency 'graphql-client', '~>0.26'
36
- s.add_dependency 'intercepted', '~>0.2'
37
- s.add_dependency 'joined', '~>0.1'
38
- s.add_dependency 'judges', '~>0.46'
39
- s.add_dependency 'liquid', '~>5.5'
40
- s.add_dependency 'loog', '~>0.6'
41
- s.add_dependency 'obk', '~>0.3'
42
- s.add_dependency 'octokit', '~>10.0'
43
- s.add_dependency 'others', '~>0.1'
44
- s.add_dependency 'sqlite3', '~> 2.6'
45
- s.add_dependency 'tago', '~>0.1'
46
- s.add_dependency 'veils', '~>0.4'
47
- s.add_dependency 'verbose', '~>0.0'
25
+ s.add_dependency('backtrace', '~>0.4')
26
+ s.add_dependency('baza.rb', '~>0.9')
27
+ s.add_dependency('decoor', '~>0.1')
28
+ s.add_dependency('ellipsized', '~>0.3')
29
+ s.add_dependency('factbase', '~>0.19')
30
+ s.add_dependency('faraday', '~>2.0')
31
+ s.add_dependency('faraday-http-cache', '~>2.5')
32
+ s.add_dependency('faraday-multipart', '~>1.1')
33
+ s.add_dependency('faraday-retry', '~>2.3')
34
+ s.add_dependency('filesize', '~>0.2')
35
+ s.add_dependency('graphql-client', '~>0.26')
36
+ s.add_dependency('intercepted', '~>0.2')
37
+ s.add_dependency('joined', '~>0.1')
38
+ s.add_dependency('judges', '~>0.46')
39
+ s.add_dependency('liquid', '~>5.5')
40
+ s.add_dependency('loog', '~>0.6')
41
+ s.add_dependency('obk', '~>0.3')
42
+ s.add_dependency('octokit', '~>10.0')
43
+ s.add_dependency('others', '~>0.1')
44
+ s.add_dependency('sqlite3', '~> 2.6')
45
+ s.add_dependency('tago', '~>0.1')
46
+ s.add_dependency('veils', '~>0.4')
47
+ s.add_dependency('verbose', '~>0.0')
48
48
  s.metadata['rubygems_mfa_required'] = 'true'
49
49
  end