diff --git a/CHANGELOG.md b/CHANGELOG.md index 256b1c8b7..771a709c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## Unreleased +## 5.0.2 (2018-07-10) + +* (mvz) Parser 2.5.1.1 seems broken. Disallow it. +* (mvz) Improve control parameter recursion performance. + ## 5.0.1 (2018-07-03) * (troessner) Fix uninitialized constant error diff --git a/features/command_line_interface/options.feature b/features/command_line_interface/options.feature index 21b469194..638913a91 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.0.1/docs/Code-Smells.md for a list of smells + Check out https://github.com/troessner/reek/blob/v5.0.2/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: @@ -118,5 +118,5 @@ Feature: Reek can be controlled using command-line options UnusedPrivateMethod UtilityFunction - Check out https://github.com/troessner/reek/blob/v5.0.1/docs/Code-Smells.md for a details on each detector + Check out https://github.com/troessner/reek/blob/v5.0.2/docs/Code-Smells.md for a details on each detector """ diff --git a/features/reports/json.feature b/features/reports/json.feature index 48944844a..d844cf14a 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.0.1/docs/Uncommunicative-Method-Name.md", + "documentation_link": "https://github.com/troessner/reek/blob/v5.0.2/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.0.1/docs/Uncommunicative-Variable-Name.md", + "documentation_link": "https://github.com/troessner/reek/blob/v5.0.2/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.0.1/docs/Irresponsible-Module.md" + "documentation_link": "https://github.com/troessner/reek/blob/v5.0.2/docs/Irresponsible-Module.md" } ] """ diff --git a/features/reports/reports.feature b/features/reports/reports.feature index b2c929cec..cb566280d 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.0.1/docs/Uncommunicative-Method-Name.md] - [5]:UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v5.0.1/docs/Uncommunicative-Variable-Name.md] + [4]:UncommunicativeMethodName: Smelly#x has the name 'x' [https://github.com/troessner/reek/blob/v5.0.2/docs/Uncommunicative-Method-Name.md] + [5]:UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v5.0.2/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.0.1/docs/Uncommunicative-Method-Name.md] - UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v5.0.1/docs/Uncommunicative-Variable-Name.md] + UncommunicativeMethodName: Smelly#x has the name 'x' [https://github.com/troessner/reek/blob/v5.0.2/docs/Uncommunicative-Method-Name.md] + UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v5.0.2/docs/Uncommunicative-Variable-Name.md] """ Examples: diff --git a/features/reports/yaml.feature b/features/reports/yaml.feature index 343b0e32e..db6c8f931 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.0.1/docs/Uncommunicative-Method-Name.md + documentation_link: https://github.com/troessner/reek/blob/v5.0.2/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.0.1/docs/Uncommunicative-Variable-Name.md + documentation_link: https://github.com/troessner/reek/blob/v5.0.2/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.0.1/docs/Irresponsible-Module.md + documentation_link: https://github.com/troessner/reek/blob/v5.0.2/docs/Irresponsible-Module.md """ diff --git a/lib/reek/version.rb b/lib/reek/version.rb index 9e46ad77a..fa9a08722 100644 --- a/lib/reek/version.rb +++ b/lib/reek/version.rb @@ -8,6 +8,6 @@ module Reek # @public module Version # @public - STRING = '5.0.1' + STRING = '5.0.2' end end