Skip to content

Commit 14d2f36

Browse files
authored
Merge pull request #76 from dblock/update-docusauraus
Fix: fallout from the Docusaurus website change
2 parents 632f481 + af6885a commit 14d2f36

File tree

318 files changed

+39124
-435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

318 files changed

+39124
-435
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ jobs:
1313
uses: ruby/setup-ruby@v1
1414
with:
1515
bundler-cache: true
16+
ruby-version: '3.4'
1617
- run: bundle exec rubocop

.github/workflows/update.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
uses: ruby/setup-ruby@v1
1616
with:
1717
bundler-cache: true
18+
ruby-version: '3.4'
19+
- name: Download
20+
run: bundle exec rake api:download
1821
- name: Update
1922
run: bundle exec rake api:update
2023
- name: Validate

.github/workflows/validate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ jobs:
1212
uses: ruby/setup-ruby@v1
1313
with:
1414
bundler-cache: true
15+
ruby-version: '3.4'
1516
- name: Validate
1617
run: bundle exec rake api:validate

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
inherit_from: .rubocop_todo.yml
22

3-
require:
3+
plugins:
44
- rubocop-rake
55

66
AllCops:

.rubocop_todo.yml

Lines changed: 52 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,75 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2023-03-19 01:49:28 UTC using RuboCop version 1.36.0.
3+
# on 2025-09-06 23:06:24 UTC using RuboCop version 1.80.2.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 7
10-
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
9+
# Offense count: 3
10+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
1111
Metrics/AbcSize:
12-
Max: 41
12+
Max: 49
1313

14-
# Offense count: 2
15-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
14+
# Offense count: 1
15+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
1616
# AllowedMethods: refine
1717
Metrics/BlockLength:
18-
Max: 80
18+
Max: 27
1919

2020
# Offense count: 1
2121
# Configuration parameters: CountComments, CountAsOne.
2222
Metrics/ClassLength:
23-
Max: 153
23+
Max: 115
2424

2525
# Offense count: 2
26-
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
26+
# Configuration parameters: AllowedMethods, AllowedPatterns.
2727
Metrics/CyclomaticComplexity:
28-
Max: 11
28+
Max: 20
2929

30-
# Offense count: 9
31-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
30+
# Offense count: 5
31+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
3232
Metrics/MethodLength:
33-
Max: 33
33+
Max: 32
3434

3535
# Offense count: 1
36-
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
36+
# Configuration parameters: AllowedMethods, AllowedPatterns.
3737
Metrics/PerceivedComplexity:
38-
Max: 10
38+
Max: 19
39+
40+
# Offense count: 1
41+
# This cop supports safe autocorrection (--autocorrect).
42+
Rake/Desc:
43+
Exclude:
44+
- 'tasks/update.rake'
45+
46+
# Offense count: 3
47+
Security/Open:
48+
Exclude:
49+
- 'tasks/lib/docs/events_downloader.rb'
50+
- 'tasks/lib/docs/methods_downloader.rb'
51+
52+
# Offense count: 4
53+
# Configuration parameters: AllowedConstants.
54+
Style/Documentation:
55+
Exclude:
56+
- 'spec/**/*'
57+
- 'test/**/*'
58+
- 'tasks/lib/docs/downloader.rb'
59+
- 'tasks/lib/docs/events_downloader.rb'
60+
- 'tasks/lib/docs/methods_downloader.rb'
61+
- 'tasks/lib/slack_api/methods_generator.rb'
62+
63+
# Offense count: 6
64+
# This cop supports unsafe autocorrection (--autocorrect-all).
65+
# Configuration parameters: EnforcedStyle.
66+
# SupportedStyles: always, always_true, never
67+
Style/FrozenStringLiteralComment:
68+
Exclude:
69+
- '**/*.arb'
70+
- 'tasks/events.rake'
71+
- 'tasks/lib/docs/downloader.rb'
72+
- 'tasks/lib/slack_api/methods_generator.rb'
73+
- 'tasks/methods.rake'
74+
- 'tasks/update.rake'
75+
- 'tasks/validate.rake'

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ gem 'bundler'
66
gem 'json'
77
gem 'json-schema'
88
gem 'rake'
9-
gem 'spidey'
109

1110
group :test do
1211
gem 'rubocop'

Gemfile.lock

Lines changed: 35 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,47 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.8.0)
5-
public_suffix (>= 2.0.2, < 5.0)
6-
ast (2.4.2)
7-
connection_pool (2.2.5)
8-
domain_name (0.5.20190701)
9-
unf (>= 0.0.5, < 1.0.0)
10-
http-cookie (1.0.5)
11-
domain_name (~> 0.5)
12-
json (2.6.2)
13-
json-schema (2.8.1)
14-
addressable (>= 2.4)
15-
mechanize (2.8.5)
4+
addressable (2.8.7)
5+
public_suffix (>= 2.0.2, < 7.0)
6+
ast (2.4.3)
7+
bigdecimal (3.2.3)
8+
json (2.13.2)
9+
json-schema (6.0.0)
1610
addressable (~> 2.8)
17-
domain_name (~> 0.5, >= 0.5.20190701)
18-
http-cookie (~> 1.0, >= 1.0.3)
19-
mime-types (~> 3.0)
20-
net-http-digest_auth (~> 1.4, >= 1.4.1)
21-
net-http-persistent (>= 2.5.2, < 5.0.dev)
22-
nokogiri (~> 1.11, >= 1.11.2)
23-
rubyntlm (~> 0.6, >= 0.6.3)
24-
webrick (~> 1.7)
25-
webrobots (~> 0.1.2)
26-
mime-types (3.4.1)
27-
mime-types-data (~> 3.2015)
28-
mime-types-data (3.2022.0105)
29-
mini_portile2 (2.8.5)
30-
net-http-digest_auth (1.4.1)
31-
net-http-persistent (4.0.1)
32-
connection_pool (~> 2.2)
33-
nokogiri (1.15.6)
34-
mini_portile2 (~> 2.8.2)
35-
racc (~> 1.4)
36-
parallel (1.22.1)
37-
parser (3.1.2.1)
11+
bigdecimal (~> 3.1)
12+
language_server-protocol (3.17.0.5)
13+
lint_roller (1.1.0)
14+
parallel (1.27.0)
15+
parser (3.3.9.0)
3816
ast (~> 2.4.1)
39-
public_suffix (4.0.6)
40-
racc (1.7.3)
17+
racc
18+
prism (1.4.0)
19+
public_suffix (6.0.2)
20+
racc (1.8.1)
4121
rainbow (3.1.1)
42-
rake (13.0.1)
43-
regexp_parser (2.6.0)
44-
rexml (3.3.9)
45-
rubocop (1.36.0)
22+
rake (13.3.0)
23+
regexp_parser (2.11.2)
24+
rubocop (1.80.2)
4625
json (~> 2.3)
26+
language_server-protocol (~> 3.17.0.2)
27+
lint_roller (~> 1.1.0)
4728
parallel (~> 1.10)
48-
parser (>= 3.1.2.1)
29+
parser (>= 3.3.0.2)
4930
rainbow (>= 2.2.2, < 4.0)
50-
regexp_parser (>= 1.8, < 3.0)
51-
rexml (>= 3.2.5, < 4.0)
52-
rubocop-ast (>= 1.20.1, < 2.0)
31+
regexp_parser (>= 2.9.3, < 3.0)
32+
rubocop-ast (>= 1.46.0, < 2.0)
5333
ruby-progressbar (~> 1.7)
54-
unicode-display_width (>= 1.4.0, < 3.0)
55-
rubocop-ast (1.21.0)
56-
parser (>= 3.1.1.0)
57-
rubocop-rake (0.6.0)
58-
rubocop (~> 1.0)
59-
ruby-progressbar (1.11.0)
60-
rubyntlm (0.6.3)
61-
spidey (0.1.0)
62-
mechanize
63-
unf (0.1.4)
64-
unf_ext
65-
unf_ext (0.0.8.2)
66-
unicode-display_width (2.3.0)
67-
webrick (1.8.2)
68-
webrobots (0.1.2)
34+
unicode-display_width (>= 2.4.0, < 4.0)
35+
rubocop-ast (1.46.0)
36+
parser (>= 3.3.7.2)
37+
prism (~> 1.4)
38+
rubocop-rake (0.7.1)
39+
lint_roller (~> 1.1)
40+
rubocop (>= 1.72.1)
41+
ruby-progressbar (1.13.0)
42+
unicode-display_width (3.1.5)
43+
unicode-emoji (~> 4.0, >= 4.0.4)
44+
unicode-emoji (4.0.4)
6945

7046
PLATFORMS
7147
ruby
@@ -77,7 +53,6 @@ DEPENDENCIES
7753
rake
7854
rubocop
7955
rubocop-rake
80-
spidey
8156

8257
BUNDLED WITH
83-
2.2.33
58+
2.6.9

Rakefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22

33
require 'json'
44
require 'json-schema'
5-
require 'spidey'
65
require 'rubygems'
76
require 'bundler'
87
require 'fileutils'
98

109
Bundler.setup :default, :development
1110

11+
load 'tasks/download.rake'
12+
load 'tasks/events.rake'
13+
load 'tasks/methods.rake'
14+
load 'tasks/validate.rake'
1215
load 'tasks/update.rake'
16+
17+
task default: 'api:update'

0 commit comments

Comments
 (0)