-
Notifications
You must be signed in to change notification settings - Fork 0
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
9 changed files
with
182 additions
and
128 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,36 @@ | ||
inherit_from: .rubocop_todo.yml | ||
|
||
Metrics/ClassLength: | ||
Exclude: | ||
- lib/quaternion.rb | ||
|
||
Naming/MethodParameterName: | ||
Exclude: | ||
- lib/quaternion.rb | ||
|
||
Layout/EmptyLinesAroundAttributeAccessor: | ||
Enabled: true | ||
|
||
Style/SlicingWithRange: | ||
Enabled: true | ||
|
||
Layout/SpaceAroundMethodCallOperator: | ||
Enabled: true | ||
|
||
Lint/RaiseException: | ||
Enabled: true | ||
|
||
Lint/StructNewOverride: | ||
Enabled: true | ||
|
||
Style/ExponentialNotation: | ||
Enabled: true | ||
|
||
Style/HashEachMethods: | ||
Enabled: true | ||
|
||
Style/HashTransformKeys: | ||
Enabled: true | ||
|
||
Style/HashTransformValues: | ||
Enabled: 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 |
---|---|---|
@@ -1,130 +1,41 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2019-03-01 15:33:54 +0200 using RuboCop version 0.60.0. | ||
# on 2020-05-15 13:48:29 +0300 using RuboCop version 0.82.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: TreatCommentsAsGroupSeparators, Include. | ||
# Include: **/*.gemspec | ||
Gemspec/OrderedDependencies: | ||
Exclude: | ||
- 'quaternion.gemspec' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: native, lf, crlf | ||
Layout/EndOfLine: | ||
Exclude: | ||
- 'Rakefile' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. | ||
Layout/ExtraSpacing: | ||
Exclude: | ||
- 'Rakefile' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Layout/LeadingBlankLines: | ||
Exclude: | ||
- 'quaternion.gemspec' | ||
|
||
# Offense count: 9 | ||
# Cop supports --auto-correct. | ||
Layout/SpaceAfterComma: | ||
Exclude: | ||
- 'spec/quaternion_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AllowForAlignment. | ||
Layout/SpaceAroundOperators: | ||
Exclude: | ||
- 'Rakefile' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. | ||
# SupportedStyles: space, no_space | ||
# SupportedStylesForEmptyBraces: space, no_space | ||
Layout/SpaceInsideBlockBraces: | ||
Exclude: | ||
- 'Gemfile' | ||
|
||
# Offense count: 1 | ||
Lint/ParenthesesAsGroupedExpression: | ||
Exclude: | ||
- 'spec/quaternion_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Lint/ScriptPermission: | ||
Exclude: | ||
- 'bin/console' | ||
|
||
# Offense count: 2 | ||
Metrics/AbcSize: | ||
Max: 45 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: CountComments. | ||
Metrics/ClassLength: | ||
Max: 111 | ||
Max: 103 | ||
|
||
# Offense count: 4 | ||
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. | ||
# AllowedNames: io, id, to, by, on, in, at, ip, db | ||
Naming/UncommunicativeMethodParamName: | ||
Exclude: | ||
- 'lib/quaternion.rb' | ||
|
||
# Offense count: 2 | ||
# Cop supports --auto-correct. | ||
Style/ExpandPathArguments: | ||
Exclude: | ||
- 'quaternion.gemspec' | ||
|
||
# Offense count: 11 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods. | ||
# SupportedStyles: predicate, comparison | ||
Style/NumericPredicate: | ||
Exclude: | ||
- 'spec/**/*' | ||
# AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp | ||
#Naming/MethodParameterName: | ||
# Exclude: | ||
# - 'lib/quaternion.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: PreferredDelimiters. | ||
Style/PercentLiteralDelimiters: | ||
Exclude: | ||
- 'quaternion.gemspec' | ||
|
||
# Offense count: 34 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. | ||
# SupportedStyles: single_quotes, double_quotes | ||
Style/StringLiterals: | ||
Exclude: | ||
- 'Gemfile' | ||
- 'Rakefile' | ||
- 'bin/console' | ||
- 'quaternion.gemspec' | ||
- 'spec/quaternion_spec.rb' | ||
- 'spec/spec_helper.rb' | ||
# Configuration parameters: UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. | ||
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys | ||
Style/HashSyntax: | ||
EnforcedStyle: hash_rockets | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Style/UnneededPercentQ: | ||
Exclude: | ||
- 'quaternion.gemspec' | ||
# Configuration parameters: MinSize. | ||
# SupportedStyles: percent, brackets | ||
Style/SymbolArray: | ||
EnforcedStyle: brackets | ||
|
||
# Offense count: 4 | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Max: 155 | ||
Layout/LineLength: | ||
Max: 80 |
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,22 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog][Keep a Changelog] and this project adheres to [Semantic Versioning][Semantic Versioning]. | ||
|
||
## [0.1.0] - 2020-05-15 | ||
|
||
- This is the first "release" of sorts. | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
|
||
- Full documentation | ||
|
||
--- | ||
|
||
[Keep a Changelog]: https://keepachangelog.com/ | ||
[Semantic Versioning]: https://semver.org/ | ||
|
||
[Unreleased]: https://bitbucket.org/janlindblom/ruby-quaternion/src/master/ | ||
[0.1.0]: https://github.com/janlindblom/ruby-quaternion/src/v0.1.0 |
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
Oops, something went wrong.