diff --git a/CHANGELOG.md b/CHANGELOG.md index c60a10751..c04baf487 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Change log +## 6.4.0 (2025-01-12) + +### Features and bugfixes + +* Fix DataClump smell in Reek::AST::Node class ([#1799] by [le-santos]) + ## 6.3.0 (2024-01-28) ### Features and bugfixes diff --git a/features/command_line_interface/options.feature b/features/command_line_interface/options.feature index cc8382438..881c0ffbc 100644 --- a/features/command_line_interface/options.feature +++ b/features/command_line_interface/options.feature @@ -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.3.0/docs/Code-Smells.md for a list of smells + Check out https://github.com/troessner/reek/blob/v6.4.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: @@ -120,5 +120,5 @@ Feature: Reek can be controlled using command-line options UnusedPrivateMethod UtilityFunction - Check out https://github.com/troessner/reek/blob/v6.3.0/docs/Code-Smells.md for a details on each detector + Check out https://github.com/troessner/reek/blob/v6.4.0/docs/Code-Smells.md for a details on each detector """ diff --git a/features/reports/json.feature b/features/reports/json.feature index e3e8f686e..8c0668870 100644 --- a/features/reports/json.feature +++ b/features/reports/json.feature @@ -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.3.0/docs/Uncommunicative-Method-Name.md", + "documentation_link": "https://github.com/troessner/reek/blob/v6.4.0/docs/Uncommunicative-Method-Name.md", "name": "x" }, { @@ -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.3.0/docs/Uncommunicative-Variable-Name.md", + "documentation_link": "https://github.com/troessner/reek/blob/v6.4.0/docs/Uncommunicative-Variable-Name.md", "name": "y" } ] @@ -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.3.0/docs/Irresponsible-Module.md" + "documentation_link": "https://github.com/troessner/reek/blob/v6.4.0/docs/Irresponsible-Module.md" } ] """ diff --git a/features/reports/reports.feature b/features/reports/reports.feature index 707a73a81..4097a8289 100644 --- a/features/reports/reports.feature +++ b/features/reports/reports.feature @@ -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.3.0/docs/Uncommunicative-Method-Name.md] - [5]:UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v6.3.0/docs/Uncommunicative-Variable-Name.md] + [4]:UncommunicativeMethodName: Smelly#x has the name 'x' [https://github.com/troessner/reek/blob/v6.4.0/docs/Uncommunicative-Method-Name.md] + [5]:UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v6.4.0/docs/Uncommunicative-Variable-Name.md] """ Examples: @@ -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.3.0/docs/Uncommunicative-Method-Name.md] - UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v6.3.0/docs/Uncommunicative-Variable-Name.md] + UncommunicativeMethodName: Smelly#x has the name 'x' [https://github.com/troessner/reek/blob/v6.4.0/docs/Uncommunicative-Method-Name.md] + UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v6.4.0/docs/Uncommunicative-Variable-Name.md] """ Examples: diff --git a/features/reports/yaml.feature b/features/reports/yaml.feature index 3f60791d1..4764a1d7d 100644 --- a/features/reports/yaml.feature +++ b/features/reports/yaml.feature @@ -25,7 +25,7 @@ Feature: Report smells using simple YAML layout smell_type: UncommunicativeMethodName source: smelly.rb name: x - documentation_link: https://github.com/troessner/reek/blob/v6.3.0/docs/Uncommunicative-Method-Name.md + documentation_link: https://github.com/troessner/reek/blob/v6.4.0/docs/Uncommunicative-Method-Name.md - context: Smelly#x lines: - 5 @@ -33,7 +33,7 @@ Feature: Report smells using simple YAML layout smell_type: UncommunicativeVariableName source: smelly.rb name: y - documentation_link: https://github.com/troessner/reek/blob/v6.3.0/docs/Uncommunicative-Variable-Name.md + documentation_link: https://github.com/troessner/reek/blob/v6.4.0/docs/Uncommunicative-Variable-Name.md """ Scenario: Indicate smells and print them as yaml when using STDIN @@ -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.3.0/docs/Irresponsible-Module.md + documentation_link: https://github.com/troessner/reek/blob/v6.4.0/docs/Irresponsible-Module.md """ diff --git a/lib/reek/version.rb b/lib/reek/version.rb index ddadc5349..2a417f030 100644 --- a/lib/reek/version.rb +++ b/lib/reek/version.rb @@ -8,6 +8,6 @@ module Reek # @public module Version # @public - STRING = '6.3.0' + STRING = '6.4.0' end end