Skip to content

Commit c5ea04a

Browse files
committed
Bundle update.
1 parent 43442e8 commit c5ea04a

File tree

9 files changed

+55
-64
lines changed

9 files changed

+55
-64
lines changed

.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: 10 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,19 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2025-09-06 21:08:28 UTC using RuboCop version 1.36.0.
3+
# on 2025-09-06 21:48:03 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

99
# Offense count: 1
10-
# Configuration parameters: AllowKeywordBlockArguments.
11-
Lint/UnderscorePrefixedVariableName:
12-
Exclude:
13-
- 'tasks/lib/slack_api/methods_spider.rb'
14-
15-
# Offense count: 4
16-
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
10+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
1711
Metrics/AbcSize:
18-
Max: 45
19-
20-
# Offense count: 3
21-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
22-
# AllowedMethods: refine
23-
Metrics/BlockLength:
24-
Max: 80
12+
Max: 24
2513

2614
# Offense count: 1
27-
# Configuration parameters: CountComments, CountAsOne.
28-
Metrics/ClassLength:
29-
Max: 125
30-
31-
# Offense count: 2
32-
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
33-
Metrics/CyclomaticComplexity:
34-
Max: 17
35-
36-
# Offense count: 5
37-
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
15+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
3816
Metrics/MethodLength:
39-
Max: 33
40-
41-
# Offense count: 1
42-
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
43-
Metrics/PerceivedComplexity:
4417
Max: 16
4518

4619
# Offense count: 3
@@ -56,10 +29,15 @@ Style/Documentation:
5629
- 'test/**/*'
5730
- 'tasks/lib/docs/downloader.rb'
5831

59-
# Offense count: 1
32+
# Offense count: 5
6033
# This cop supports unsafe autocorrection (--autocorrect-all).
6134
# Configuration parameters: EnforcedStyle.
6235
# SupportedStyles: always, always_true, never
6336
Style/FrozenStringLiteralComment:
6437
Exclude:
38+
- '**/*.arb'
39+
- 'tasks/events.rake'
6540
- 'tasks/lib/docs/downloader.rb'
41+
- 'tasks/methods.rake'
42+
- 'tasks/update.rake'
43+
- 'tasks/validate.rake'

Gemfile.lock

Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +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-
json (2.6.2)
8-
json-schema (2.8.1)
9-
addressable (>= 2.4)
10-
parallel (1.22.1)
11-
parser (3.1.2.1)
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)
10+
addressable (~> 2.8)
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)
1216
ast (~> 2.4.1)
13-
public_suffix (4.0.6)
17+
racc
18+
prism (1.4.0)
19+
public_suffix (6.0.2)
20+
racc (1.8.1)
1421
rainbow (3.1.1)
15-
rake (13.0.1)
16-
regexp_parser (2.6.0)
17-
rexml (3.3.9)
18-
rubocop (1.36.0)
22+
rake (13.3.0)
23+
regexp_parser (2.11.2)
24+
rubocop (1.80.2)
1925
json (~> 2.3)
26+
language_server-protocol (~> 3.17.0.2)
27+
lint_roller (~> 1.1.0)
2028
parallel (~> 1.10)
21-
parser (>= 3.1.2.1)
29+
parser (>= 3.3.0.2)
2230
rainbow (>= 2.2.2, < 4.0)
23-
regexp_parser (>= 1.8, < 3.0)
24-
rexml (>= 3.2.5, < 4.0)
25-
rubocop-ast (>= 1.20.1, < 2.0)
31+
regexp_parser (>= 2.9.3, < 3.0)
32+
rubocop-ast (>= 1.46.0, < 2.0)
2633
ruby-progressbar (~> 1.7)
27-
unicode-display_width (>= 1.4.0, < 3.0)
28-
rubocop-ast (1.21.0)
29-
parser (>= 3.1.1.0)
30-
rubocop-rake (0.6.0)
31-
rubocop (~> 1.0)
32-
ruby-progressbar (1.11.0)
33-
unicode-display_width (2.3.0)
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)
3445

3546
PLATFORMS
3647
ruby
@@ -44,4 +55,4 @@ DEPENDENCIES
4455
rubocop-rake
4556

4657
BUNDLED WITH
47-
2.2.33
58+
2.6.9

Rakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ load 'tasks/events.rake'
1313
load 'tasks/methods.rake'
1414
load 'tasks/validate.rake'
1515
load 'tasks/update.rake'
16+
17+
task default: 'api:update'

tasks/events.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ namespace :api do
1111
end
1212
end
1313
end
14-
end
14+
end

tasks/lib/slack_api/spec_validator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ def valid?(json)
1111
JSON::Validator.validate(@schema, json)
1212
end
1313
end
14-
end
14+
end

tasks/methods.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ namespace :api do
1111
end
1212
end
1313
end
14-
end
14+
end

tasks/update.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ require_relative 'lib/slack_api/spec_validator'
33
namespace :api do
44
desc 'Validate scraped methods and events are valid.'
55
task :update do
6-
puts "TODO"
6+
puts 'TODO'
77
end
8-
end
8+
end

tasks/validate.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ namespace :api do
66
Rake::Task['api:methods:validate'].invoke
77
Rake::Task['api:events:validate'].invoke
88
end
9-
end
9+
end

0 commit comments

Comments
 (0)