Skip to content

Commit

Permalink
Merge pull request #1696 from troessner/prepare-6-1-4
Browse files Browse the repository at this point in the history
Prepare version 6.1.4
  • Loading branch information
mvz authored Jan 14, 2023
2 parents d6228d4 + 9bcbc12 commit 9955cd9
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change log

## 6.1.4 (2023-01-13)

* (mvz) Update parser dependency to the 3.2.x series

## 6.1.3 (2022-12-29)

* (gonubana) Allow failing safely when trying to recursively find a configuration
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.3/docs/Code-Smells.md for a list of smells
Check out https://github.com/troessner/reek/blob/v6.1.4/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.3/docs/Code-Smells.md for a details on each detector
Check out https://github.com/troessner/reek/blob/v6.1.4/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.3/docs/Uncommunicative-Method-Name.md",
"documentation_link": "https://github.com/troessner/reek/blob/v6.1.4/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.3/docs/Uncommunicative-Variable-Name.md",
"documentation_link": "https://github.com/troessner/reek/blob/v6.1.4/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.3/docs/Irresponsible-Module.md"
"documentation_link": "https://github.com/troessner/reek/blob/v6.1.4/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.3/docs/Uncommunicative-Method-Name.md]
[5]:UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v6.1.3/docs/Uncommunicative-Variable-Name.md]
[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]
"""

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.3/docs/Uncommunicative-Method-Name.md]
UncommunicativeVariableName: Smelly#x has the variable name 'y' [https://github.com/troessner/reek/blob/v6.1.3/docs/Uncommunicative-Variable-Name.md]
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]
"""

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.3/docs/Uncommunicative-Method-Name.md
documentation_link: https://github.com/troessner/reek/blob/v6.1.4/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.3/docs/Uncommunicative-Variable-Name.md
documentation_link: https://github.com/troessner/reek/blob/v6.1.4/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.3/docs/Irresponsible-Module.md
documentation_link: https://github.com/troessner/reek/blob/v6.1.4/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.3'
STRING = '6.1.4'
end
end

0 comments on commit 9955cd9

Please # to comment.