-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update rubocop to 1.56.3 and ruby to 3.2.2
Ruby 2 is EOL, and can have trouble installnig on modern systems. - Updated ruby in .ruby-version and Dockerfile. - No need to install an old version of bundler in Dockerfile. - Removed the standard gem (see #357). - General bundle update. - Updated docs.
- Loading branch information
1 parent
95784bc
commit 2190bc5
Showing
58 changed files
with
592 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.7.6 | ||
3.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
A Gem's requirements should be listed only once in a Gemfile. | ||
|
||
### Example: | ||
# bad | ||
gem 'rubocop' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
A Gem group, or a set of groups, should be listed only once in a Gemfile. | ||
|
||
For example, if the values of `source`, `git`, `platforms`, or `path` | ||
surrounding `group` are different, no offense will be registered: | ||
|
||
[source,ruby] | ||
----- | ||
platforms :ruby do | ||
group :default do | ||
gem 'openssl' | ||
end | ||
end | ||
|
||
platforms :jruby do | ||
group :default do | ||
gem 'jruby-openssl' | ||
end | ||
end | ||
----- | ||
|
||
### Example: | ||
# bad | ||
group :development do | ||
gem 'rubocop' | ||
end | ||
|
||
group :development do | ||
gem 'rubocop-rails' | ||
end | ||
|
||
# bad (same set of groups declared twice) | ||
group :development, :test do | ||
gem 'rubocop' | ||
end | ||
|
||
group :test, :development do | ||
gem 'rspec' | ||
end | ||
|
||
# good | ||
group :development do | ||
gem 'rubocop' | ||
end | ||
|
||
group :development, :test do | ||
gem 'rspec' | ||
end | ||
|
||
# good | ||
gem 'rubocop', groups: [:development, :test] | ||
gem 'rspec', groups: [:development, :test] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
Checks the indentation of here document closings. | ||
|
||
### Example: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
config/contents/lint/incompatible_io_select_with_fiber_scheduler.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.