Skip to content

Commit

Permalink
Cut 2.30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Feb 15, 2025
1 parent c8e707a commit ff29ba4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

## master (unreleased)

## 2.30.0 (2025-02-16)

### New features

* [#1434](https://github.com/rubocop/rubocop-rails/pull/1434): Pluginfy RuboCop Rails. ([@koic][])
Expand Down
2 changes: 1 addition & 1 deletion docs/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ name: rubocop-rails
title: RuboCop Rails
# We always provide version without patch here (e.g. 1.1),
# as patch versions should not appear in the docs.
version: ~
version: '2.30'
nav:
- modules/ROOT/nav.adoc
3 changes: 3 additions & 0 deletions docs/modules/ROOT/pages/cops_rails.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2444,6 +2444,9 @@ date.all_year
Identifies usages of file path joining process to use `Rails.root.join` clause.
It is used to add uniformity when joining paths.
NOTE: This cop ignores leading slashes in string literal arguments for `Rails.root.join`
and multiple slashes in string literal arguments for `Rails.root.join` and `File.join`.
[#examples-railsfilepath]
=== Examples
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/rails/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module RuboCop
module Rails
# This module holds the RuboCop Rails version information.
module Version
STRING = '2.29.1'
STRING = '2.30.0'

def self.document_version
STRING.match('\d+\.\d+').to_s
Expand Down
11 changes: 11 additions & 0 deletions relnotes/v2.30.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### New features

* [#1434](https://github.com/rubocop/rubocop-rails/pull/1434): Pluginfy RuboCop Rails. ([@koic][])

### Bug fixes

* [#1071](https://github.com/rubocop/rubocop-rails/issues/1071): Fix `Rails/FilePath` cop to correctly handle `File.join` with variables and ignore leading and multiple slashes in string literal arguments for `Rails.root.join` and `File.join`. ([@ydakuka][])
* [#912](https://github.com/rubocop/rubocop-rails/issues/912): Enhance `Rails/Delegate` by adding delegation detection for `self.class`, constants, class variables, global variables, and instance variables. ([@ydakuka][])

[@koic]: https://github.com/koic
[@ydakuka]: https://github.com/ydakuka

0 comments on commit ff29ba4

Please sign in to comment.