Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
825 additions
and
726 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
inherit_from: | ||
.rubocop_yast_style.yml | ||
|
||
# TODO: this need some non-trivial refactoring... | ||
Metrics/AbcSize: | ||
Max: 111 | ||
|
||
# TODO: this need some non-trivial refactoring... | ||
Metrics/BlockNesting: | ||
Max: 5 | ||
|
||
# TODO: this need some non-trivial refactoring... | ||
Metrics/ClassLength: | ||
Max: 450 | ||
|
||
# TODO: this need some non-trivial refactoring... | ||
Metrics/CyclomaticComplexity: | ||
Max: 25 | ||
|
||
Metrics/LineLength: | ||
Max: 100 | ||
|
||
# TODO: this need some non-trivial refactoring... | ||
Metrics/MethodLength: | ||
Max: 96 | ||
|
||
# TODO: this need some non-trivial refactoring... | ||
Metrics/PerceivedComplexity: | ||
Max: 25 | ||
|
||
# Offense count: 5 | ||
Style/AccessorMethodName: | ||
Enabled: false | ||
|
||
# Offense count: 29 | ||
Style/Documentation: | ||
Enabled: false | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: NamePrefix, NamePrefixBlacklist. | ||
Style/PredicateName: | ||
Enabled: false | ||
|
||
# def foo? | ||
# @foo | ||
# end | ||
Style/TrivialAccessors: | ||
AllowPredicates: true | ||
|
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,37 @@ | ||
# Rubocop style configuration | ||
# | ||
# Following | ||
# https://github.com/SUSE/style-guides/blob/master/Ruby.md | ||
|
||
# https://github.com/SUSE/style-guides/blob/master/Ruby.md#strings | ||
Style/StringLiterals: | ||
EnforcedStyle: double_quotes | ||
|
||
Style/StringLiteralsInInterpolation: | ||
EnforcedStyle: double_quotes | ||
|
||
# https://github.com/SUSE/style-guides/blob/master/Ruby.md#arrays | ||
Style/WordArray: | ||
Enabled: false | ||
|
||
# align arrows: | ||
# "foo" => true | ||
# "foo_bar" => false | ||
Style/AlignHash: | ||
EnforcedHashRocketStyle: table | ||
|
||
# no extra indentation for multiline function calls | ||
Style/AlignParameters: | ||
EnforcedStyle: with_fixed_indentation | ||
|
||
# no extra indentation for case | ||
Style/CaseIndentation: | ||
IndentWhenRelativeTo: end | ||
|
||
# "unless" has a different connotation than "if not" | ||
Style/NegatedIf: | ||
Enabled: false | ||
|
||
# use "raise" instead of "fail" | ||
Style/SignalException: | ||
EnforcedStyle: only_raise |
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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
source "https://rubygems.org" | ||
|
||
# TODO FIXME: use a correct branch here... | ||
gem "suse-connect", :github => "SUSE/connect", :branch => "v0.2.14" | ||
# FIXME: use a correct branch here... | ||
gem "suse-connect", github: "SUSE/connect", branch: "v0.2.14" | ||
|
||
group :test do | ||
gem "rake" | ||
gem "yard" | ||
gem "yast-rake", ">= 0.1.9" | ||
gem "rspec", "~> 2.14.0" | ||
gem "simplecov", :require => false | ||
gem "coveralls", :require => false if ENV["TRAVIS"] | ||
gem "gettext", require: false | ||
gem "rubocop", "~> 0.27.0", require: false | ||
gem "simplecov", require: false | ||
gem "coveralls", require: false if ENV["TRAVIS"] | ||
end |
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 |
---|---|---|
|
@@ -8,4 +8,3 @@ Yast::Tasks.configuration do |conf| | |
# lets ignore license check for now | ||
conf.skip_license_check << /.*/ | ||
end | ||
|
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
Oops, something went wrong.