Skip to content

Commit

Permalink
Merge pull request #1758 from troessner/prepare-6-2
Browse files Browse the repository at this point in the history
Prepare version 6.2.0 for release
  • Loading branch information
mvz authored Dec 31, 2023
2 parents 47cf940 + 65e9528 commit da64e18
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 16 deletions.
55 changes: 52 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,57 @@
# Change log

## [Unreleased]

* (fbuys) Replace the config schema validator [Kwalify](https://github.com/sunaku/kwalify) with [dry-schema](https://github.com/dry-rb/dry-schema)
## 6.2.0 (2023-12-31)

### Features and bugfixes

* Code Climate: add config `target_ruby_version` to support different versions
of Ruby syntax ([#1694] by [dantevvp])
* Treat `Data.define` as a class definition ([#1725] by [mvz])
* Fix Instance Variable Assumption false positive ([#1737] by [JuanVqz])
* Add `Tempfile.create` to ignored iterators list ([#1747] by [mateusdeap])
* Improve configuration schema validation. This also replaces the kwalify
dependency with dry-schema ([#1749] by [fbuys])

### Dependencies

* Add missing dependency rexml ([#1703] by [tricknotes])
* Drop support for Ruby 2.6 and 2.7 ([#1716] and [#1755] by [mvz])
* Add support for Ruby 3.3 ([#1756] and [#1755] by [mvz])

### Documentation

* Fix the badges in our README ([#1711] by [troessner])
* Remove non working link in CONTRIBUTING.md ([#1738] by [JuanVqz])
* Add downloads badge ([#1750] by [troessner])

### Internal

* Rename Code Climate related classes ([#1735] by [mvz])
* Fix `cucumber_opts` warning ([#1736] by [JuanVqz])
* Fix editor highlighting for fenced code blocks in documentation ([#1745] by [JuanVqz])

[JuanVqz]: https://github.com/JuanVqz
[dantevvp]: https://github.com/dantevvp
[fbuys]: https://github.com/fbuys
[mateusdeap]: https://github.com/mateusdeap
[mvz]: https://github.com/mvz
[tricknotes]: https://github.com/tricknotes
[troessner]: https://github.com/troessner

[#1694]: https://github.com/troessner/reek/pull/1694
[#1703]: https://github.com/troessner/reek/pull/1703
[#1711]: https://github.com/troessner/reek/pull/1711
[#1725]: https://github.com/troessner/reek/pull/1725
[#1735]: https://github.com/troessner/reek/pull/1735
[#1736]: https://github.com/troessner/reek/pull/1736
[#1737]: https://github.com/troessner/reek/pull/1737
[#1738]: https://github.com/troessner/reek/pull/1738
[#1745]: https://github.com/troessner/reek/pull/1745
[#1749]: https://github.com/troessner/reek/pull/1749
[#1747]: https://github.com/troessner/reek/pull/1747
[#1750]: https://github.com/troessner/reek/pull/1750
[#1756]: https://github.com/troessner/reek/pull/1756
[#1755]: https://github.com/troessner/reek/pull/1755

## 6.1.4 (2023-01-13)

Expand Down
4 changes: 2 additions & 2 deletions features/command_line_interface/options.feature
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Feature: Reek can be controlled using command-line options
-c, --config FILE Read configuration options from FILE
--smell SMELL Only look for a specific smell.
Call it like this: reek --smell MissingSafeMethod source.rb
Check out https://github.com/troessner/reek/blob/v6.1.4/docs/Code-Smells.md for a list of smells
Check out https://github.com/troessner/reek/blob/v6.2.0/docs/Code-Smells.md for a list of smells
--stdin-filename FILE When passing code in via pipe, assume this filename when checking file or directory rules in the config.
Generate a todo list:
Expand Down Expand Up @@ -119,5 +119,5 @@ Feature: Reek can be controlled using command-line options
UnusedPrivateMethod
UtilityFunction
Check out https://github.com/troessner/reek/blob/v6.1.4/docs/Code-Smells.md for a details on each detector
Check out https://github.com/troessner/reek/blob/v6.2.0/docs/Code-Smells.md for a details on each detector
"""
6 changes: 3 additions & 3 deletions features/reports/json.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Feature: Report smells using simple JSON layout
"context": "Smelly#x",
"lines": [ 4 ],
"message": "has the name 'x'",
"documentation_link": "https://github.com/troessner/reek/blob/v6.1.4/docs/Uncommunicative-Method-Name.md",
"documentation_link": "https://github.com/troessner/reek/blob/v6.2.0/docs/Uncommunicative-Method-Name.md",
"name": "x"
},
{
Expand All @@ -33,7 +33,7 @@ Feature: Report smells using simple JSON layout
"context": "Smelly#x",
"lines": [ 5 ],
"message": "has the variable name 'y'",
"documentation_link": "https://github.com/troessner/reek/blob/v6.1.4/docs/Uncommunicative-Variable-Name.md",
"documentation_link": "https://github.com/troessner/reek/blob/v6.2.0/docs/Uncommunicative-Variable-Name.md",
"name": "y"
}
]
Expand All @@ -53,7 +53,7 @@ Feature: Report smells using simple JSON layout
1
],
"message": "has no descriptive comment",
"documentation_link": "https://github.com/troessner/reek/blob/v6.1.4/docs/Irresponsible-Module.md"
"documentation_link": "https://github.com/troessner/reek/blob/v6.2.0/docs/Irresponsible-Module.md"
}
]
"""
8 changes: 4 additions & 4 deletions features/reports/reports.feature
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ Feature: Correctly formatted reports
And it reports:
"""
smelly.rb -- 2 warnings:
[4]:UncommunicativeMethodName: Smelly#x has the name 'x' [https://github.com/troessner/reek/blob/v6.1.4/docs/Uncommunicative-Method-Name.md]
[5]:UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v6.1.4/docs/Uncommunicative-Variable-Name.md]
[4]:UncommunicativeMethodName: Smelly#x has the name 'x' [https://github.com/troessner/reek/blob/v6.2.0/docs/Uncommunicative-Method-Name.md]
[5]:UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v6.2.0/docs/Uncommunicative-Variable-Name.md]
"""

Examples:
Expand All @@ -209,8 +209,8 @@ Feature: Correctly formatted reports
And it reports:
"""
smelly.rb -- 2 warnings:
UncommunicativeMethodName: Smelly#x has the name 'x' [https://github.com/troessner/reek/blob/v6.1.4/docs/Uncommunicative-Method-Name.md]
UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v6.1.4/docs/Uncommunicative-Variable-Name.md]
UncommunicativeMethodName: Smelly#x has the name 'x' [https://github.com/troessner/reek/blob/v6.2.0/docs/Uncommunicative-Method-Name.md]
UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v6.2.0/docs/Uncommunicative-Variable-Name.md]
"""

Examples:
Expand Down
6 changes: 3 additions & 3 deletions features/reports/yaml.feature
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ Feature: Report smells using simple YAML layout
smell_type: UncommunicativeMethodName
source: smelly.rb
name: x
documentation_link: https://github.com/troessner/reek/blob/v6.1.4/docs/Uncommunicative-Method-Name.md
documentation_link: https://github.com/troessner/reek/blob/v6.2.0/docs/Uncommunicative-Method-Name.md
- context: Smelly#x
lines:
- 5
message: has the variable name 'y'
smell_type: UncommunicativeVariableName
source: smelly.rb
name: y
documentation_link: https://github.com/troessner/reek/blob/v6.1.4/docs/Uncommunicative-Variable-Name.md
documentation_link: https://github.com/troessner/reek/blob/v6.2.0/docs/Uncommunicative-Variable-Name.md
"""

Scenario: Indicate smells and print them as yaml when using STDIN
Expand All @@ -48,5 +48,5 @@ Feature: Report smells using simple YAML layout
lines:
- 1
message: has no descriptive comment
documentation_link: https://github.com/troessner/reek/blob/v6.1.4/docs/Irresponsible-Module.md
documentation_link: https://github.com/troessner/reek/blob/v6.2.0/docs/Irresponsible-Module.md
"""
2 changes: 1 addition & 1 deletion lib/reek/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ module Reek
# @public
module Version
# @public
STRING = '6.1.4'
STRING = '6.2.0'
end
end

0 comments on commit da64e18

Please sign in to comment.