-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #688 from kbrock/cops
rubocop fixes
- Loading branch information
Showing
43 changed files
with
392 additions
and
225 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,77 @@ | ||
AllCops: | ||
NewCops: enable | ||
SuggestExtensions: false | ||
TargetRubyVersion: 3.3 | ||
|
||
Gemspec/DevelopmentDependencies: | ||
Enabled: false | ||
Layout/HashAlignment: | ||
Enabled: false | ||
Layout/LineLength: | ||
Enabled: false | ||
Layout/SpaceInsideHashLiteralBraces: | ||
EnforcedStyle: no_space | ||
Layout/SpaceAroundOperators: | ||
EnforcedStyleForExponentOperator: space | ||
|
||
Metrics/AbcSize: | ||
Enabled: false | ||
Metrics/BlockLength: | ||
Enabled: false | ||
Metrics/ClassLength: | ||
Enabled: false | ||
Metrics/CyclomaticComplexity: | ||
Enabled: false | ||
Metrics/MethodLength: | ||
Enabled: false | ||
Metrics/ModuleLength: | ||
Enabled: false | ||
Metrics/PerceivedComplexity: | ||
Enabled: false | ||
|
||
Naming/PredicateName: | ||
Enabled: false | ||
Naming/VariableNumber: | ||
Enabled: false | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
Style/ExpandPathArguments: | ||
Enabled: false | ||
Style/GuardClause: | ||
Enabled: false | ||
Style/HashSyntax: | ||
Enabled: false | ||
Style/IfUnlessModifier: | ||
Enabled: false | ||
Style/Lambda: | ||
Enabled: false | ||
Style/MultilineIfModifier: | ||
Enabled: false | ||
Style/NegatedIf: | ||
Enabled: false | ||
Style/Next: | ||
Enabled: false | ||
Style/NumericPredicate: | ||
Enabled: false | ||
Style/ParallelAssignment: | ||
Enabled: false | ||
Style/PercentLiteralDelimiters: | ||
Enabled: false | ||
Style/StringLiterals: | ||
Enabled: false | ||
Style/StringLiteralsInInterpolation: | ||
Enabled: false | ||
Style/SymbolArray: | ||
Enabled: false | ||
|
||
# specs | ||
|
||
Layout/ExtraSpacing: | ||
Exclude: [ "test/**/*" ] | ||
Style/TrailingUnderscoreVariable: | ||
Exclude: [ "test/**/*" ] | ||
Layout/SpaceBeforeFirstArg: | ||
Exclude: [ "test/**/*" ] | ||
Layout/SpaceAroundOperators: | ||
Exclude: [ "test/**/*" ] |
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,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
gemspec | ||
|
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,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'bundler/setup' | ||
require 'bundler/gem_tasks' | ||
require 'rake/testtask' | ||
|
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,4 +1,5 @@ | ||
# This file was generated by Appraisal | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
|
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,4 +1,5 @@ | ||
# This file was generated by Appraisal | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
|
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,4 +1,5 @@ | ||
# This file was generated by Appraisal | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
|
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,4 +1,5 @@ | ||
# This file was generated by Appraisal | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
|
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,4 +1,5 @@ | ||
# This file was generated by Appraisal | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
|
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,4 +1,5 @@ | ||
# This file was generated by Appraisal | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
|
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# frozen_string_literal: true | ||
|
||
module Ancestry | ||
class AncestryException < RuntimeError | ||
end | ||
|
||
class AncestryIntegrityException < AncestryException | ||
end | ||
end | ||
end |
Oops, something went wrong.