diff --git a/CHANGELOG.md b/CHANGELOG.md index 45c83fab6..8e84d0a5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +## 5.4.0 (2019-04-24) + +* (Philippe Bernery) Enable regex for directory directives. + ## 5.3.2 (2019-03-22) * (troessner) Use Parser26. diff --git a/features/command_line_interface/options.feature b/features/command_line_interface/options.feature index 27f75ee02..4d929a2e3 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/v5.3.2/docs/Code-Smells.md for a list of smells + Check out https://github.com/troessner/reek/blob/v5.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/v5.3.2/docs/Code-Smells.md for a details on each detector + Check out https://github.com/troessner/reek/blob/v5.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 625427c0c..1e715374f 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/v5.3.2/docs/Uncommunicative-Method-Name.md", + "documentation_link": "https://github.com/troessner/reek/blob/v5.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/v5.3.2/docs/Uncommunicative-Variable-Name.md", + "documentation_link": "https://github.com/troessner/reek/blob/v5.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/v5.3.2/docs/Irresponsible-Module.md" + "documentation_link": "https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md" } ] """ diff --git a/features/reports/reports.feature b/features/reports/reports.feature index 038334e4b..20d31f6c7 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/v5.3.2/docs/Uncommunicative-Method-Name.md] - [5]:UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v5.3.2/docs/Uncommunicative-Variable-Name.md] + [4]:UncommunicativeMethodName: Smelly#x has the name 'x' [https://github.com/troessner/reek/blob/v5.4.0/docs/Uncommunicative-Method-Name.md] + [5]:UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v5.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/v5.3.2/docs/Uncommunicative-Method-Name.md] - UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v5.3.2/docs/Uncommunicative-Variable-Name.md] + UncommunicativeMethodName: Smelly#x has the name 'x' [https://github.com/troessner/reek/blob/v5.4.0/docs/Uncommunicative-Method-Name.md] + UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v5.4.0/docs/Uncommunicative-Variable-Name.md] """ Examples: diff --git a/features/reports/yaml.feature b/features/reports/yaml.feature index bb1c92b65..8e0a1f28b 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/v5.3.2/docs/Uncommunicative-Method-Name.md + documentation_link: https://github.com/troessner/reek/blob/v5.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/v5.3.2/docs/Uncommunicative-Variable-Name.md + documentation_link: https://github.com/troessner/reek/blob/v5.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/v5.3.2/docs/Irresponsible-Module.md + documentation_link: https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md """ diff --git a/lib/reek/version.rb b/lib/reek/version.rb index 17d714e7e..715fc8227 100644 --- a/lib/reek/version.rb +++ b/lib/reek/version.rb @@ -8,6 +8,6 @@ module Reek # @public module Version # @public - STRING = '5.3.2' + STRING = '5.4.0' end end