Skip to content

Commit 30678f5

Browse files
committed
Upgraded to Ruby 3.4.6.
1 parent 35ebe28 commit 30678f5

File tree

10 files changed

+163
-131
lines changed

10 files changed

+163
-131
lines changed

.github/workflows/rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Set up Ruby
1212
uses: ruby/setup-ruby@v1
1313
with:
14-
ruby-version: "3.3.5"
14+
ruby-version: "3.4.6"
1515
bundler-cache: true
1616
- name: Run RuboCop
1717
run: bundle exec rubocop

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
- uses: actions/checkout@v2
88
- uses: ruby/setup-ruby@v1
99
with:
10-
ruby-version: "3.3.5"
10+
ruby-version: "3.4.6"
1111
- uses: supercharge/[email protected]
1212
with:
1313
mongodb-version: "7.0"

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Metrics:
1313

1414
inherit_from: .rubocop_todo.yml
1515

16-
require:
16+
plugins:
1717
- rubocop-capybara
1818
- rubocop-rake
1919
- rubocop-rspec

.rubocop_todo.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2024-10-20 13:03:27 UTC using RuboCop version 1.67.0.
3+
# on 2025-09-29 13:51:29 UTC using RuboCop version 1.81.1.
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
@@ -38,6 +38,14 @@ Naming/HeredocDelimiterNaming:
3838
- 'lib/commands/man.rb'
3939
- 'lib/info.rb'
4040

41+
# Offense count: 1
42+
# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates.
43+
# AllowedMethods: call
44+
# WaywardPredicates: nonzero?
45+
Naming/PredicateMethod:
46+
Exclude:
47+
- 'lib/commands/base.rb'
48+
4149
# Offense count: 2
4250
RSpec/AnyInstance:
4351
Exclude:
@@ -101,8 +109,7 @@ RSpec/NestedGroups:
101109
Max: 5
102110

103111
# Offense count: 13
104-
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
105-
# Include: **/*_spec.rb
112+
# Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata.
106113
RSpec/SpecFilePathFormat:
107114
Exclude:
108115
- '**/spec/routing/**/*'
@@ -122,7 +129,7 @@ RSpec/SpecFilePathFormat:
122129

123130
# Offense count: 9
124131
# This cop supports safe autocorrection (--autocorrect).
125-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
132+
# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
126133
# URISchemes: http, https
127134
Layout/LineLength:
128135
Max: 149

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### Changelog
22

3+
* 2025/09/29: Upgraded to Ruby 3.4.6 - [@dblock](https://github.com/dblock).
34
* 2020/11/22. [#22](https://github.com/slack-ruby/slack-shellbot/pull/22): Migrate app to granular scopes and events API - [@dblock](https://github.com/dblock).
45
* 2018/9/10, [#6](https://github.com/slack-ruby/slack-shellbot/issues/6): Fix `Unmatched double quote` errors - [@dblock](https://github.com/dblock).
56
* 2016/3/2, [#5](https://github.com/slack-ruby/slack-shellbot/issues/5): `:q` will quit `vi` without saving the file - [@dblock](https://github.com/dblock).

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
source 'https://rubygems.org'
22

3-
ruby '3.3.5'
3+
ruby '3.4.6'
44

55
gem 'irb'
66
gem 'kaminari-grape'
77
gem 'mongoid'
88
gem 'mongoid-scroll'
99
gem 'newrelic_rpm'
10-
gem 'newrelic-slack-ruby-bot'
1110
gem 'rack-robotz'
1211
gem 'rack-server-pages'
1312
gem 'slack-ruby-bot-server-events'
@@ -21,6 +20,7 @@ group :development, :test do
2120
gem 'rubocop-capybara'
2221
gem 'rubocop-rake'
2322
gem 'rubocop-rspec'
23+
gem 'webrick'
2424
end
2525

2626
group :development do

0 commit comments

Comments
 (0)