Skip to content

Commit

Permalink
Cut 2.15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Jul 7, 2022
1 parent 582ba11 commit cc4c272
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 @@ -2,6 +2,8 @@

## master (unreleased)

## 2.15.2 (2022-07-07)

### Bug fixes

* [#712](https://github.com/rubocop/rubocop-rails/issues/712): Fix false negative in `Rails/Delegate` when preceding nested class declares private or protected methods. ([@Darhazer][])
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.15'
nav:
- modules/ROOT/nav.adoc
4 changes: 4 additions & 0 deletions docs/modules/ROOT/pages/cops_rails.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1886,6 +1886,10 @@ date.all_quarter
date.all_year
----

=== References

* https://rails.rubystyle.guide/#date-time-range

== Rails/FilePath

|===
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.15.1'
STRING = '2.15.2'

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

* [#712](https://github.com/rubocop/rubocop-rails/issues/712): Fix false negative in `Rails/Delegate` when preceding nested class declares private or protected methods. ([@Darhazer][])
* [#737](https://github.com/rubocop/rubocop-rails/issues/737): Fix a false positive for `Rails/DeprecatedActiveModelErrorsMethods` when using `keys` method with Rails 6.0. ([@koic][])
* [#737](https://github.com/rubocop/rubocop-rails/pull/737): Make `Rails/ExpandedDateRange` aware `beginning_of_week` with an argument. ([@koic][])
* [#731](https://github.com/rubocop/rubocop-rails/issues/731): Fix an incorrect autocorrect for `Rails/StripHeredoc`. ([@kazarin][])

[@Darhazer]: https://github.com/Darhazer
[@koic]: https://github.com/koic
[@kazarin]: https://github.com/kazarin

0 comments on commit cc4c272

Please sign in to comment.