Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SuSEFirewall: Move SuSEFirewall{,2,d} classes to new files
Yast2 coding standard requires each class to be on a separate file. As such move SuSEFirewall2, SuSEFirewalld and SuSEFirewall classes to separate files. These files are being moved to the 'lib/network' subdirectory as well. Moreover, add a new rubocop configuration file to silence warnings about variables and methods since these are still part of the public API.
- Loading branch information
Markos Chandras
committed
May 23, 2016
1 parent
7dad17b
commit ee352fd
Showing
7 changed files
with
5,326 additions
and
5,180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# use the shared Yast defaults | ||
inherit_from: | ||
- ../../../../../.rubocop.yml | ||
|
||
Style/MethodName: | ||
Exclude: | ||
- "susefirewall.rb" | ||
- "susefirewalld.rb" | ||
- "susefirewall2.rb" | ||
|
||
Style/Next: | ||
# skip this check for SuSEFirewall modules since it forces us to | ||
# refactor the code in a sub-optimal way. | ||
Exclude: | ||
- "susefirewalld.rb" | ||
|
||
Style/VariableName: | ||
Exclude: | ||
- "susefirewall.rb" | ||
- "susefirewalld.rb" | ||
- "susefirewall2.rb" |
Oops, something went wrong.