Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@etagwerker
Created October 23, 2020 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save etagwerker/9a40b30c719b122af828d8e9292ecb12 to your computer and use it in GitHub Desktop.
Save etagwerker/9a40b30c719b122af828d8e9292ecb12 to your computer and use it in GitHub Desktop.
rake with ruby 2.4 and skunk
COVERAGE=true BUNDLE_GEMFILE=Gemfile-Ruby-2-4 bundle exec rake
/Users/etagwerker/Projects/fastruby/skunk/test/test_helper.rb:8:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead.
Using SimpleCov v0.18.5
/Users/etagwerker/.rvm/gems/ruby-2.4.10/gems/ruby_parser-3.15.0/lib/ruby_lexer.rb:1312: warning: shadowing outer local variable - s
Run options: --seed 48456
# Running:
running flay smells
running flog smells
.
running reek smells
.
running complexity
.
running attributes
.
running churn
.
running simple_cov
.
..running flay smells
running flog smells
.
running reek smells
.
running complexity
.
running attributes
.
running churn
.
running simple_cov
.
.Base branch () average skunk score: 58.88
Feature branch () average skunk score: 0.0
.Usage: skunk [options] [paths]
-b, --branch BRANCH Set branch to compare
-o, --out FILE Output report to file
-v, --version Show gem's version
-h, --help Show this message
......running flay smells
running flog smells
.
running reek smells
.
running complexity
.
running attributes
.
running churn
.
running simple_cov
.
.Error: invalid option: --foo
.
Fabulous run in 1.277911s, 9.3903 runs/s, 12.5204 assertions/s.
12 runs, 16 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /Users/etagwerker/Projects/fastruby/skunk/coverage. 288 / 317 LOC (90.85%) covered.
COVERAGE: 90.85% -- 288/317 lines in 20 files
+----------+-----------------------------------------------------+-------+--------+--------------+
| coverage | file | lines | missed | missing |
+----------+-----------------------------------------------------+-------+--------+--------------+
| 0.00% | lib/skunk/cli/commands/version.rb | 11 | 11 | 3, 6-7, 9-16 |
| 0.00% | lib/skunk/version.rb | 3 | 3 | 3-5 |
| 77.78% | lib/skunk/cli/commands/base.rb | 9 | 2 | 14-15 |
| 80.95% | lib/skunk/cli/options/argv.rb | 21 | 4 | 20-22, 30 |
| 83.33% | lib/skunk/cli/command_factory.rb | 12 | 2 | 21-22 |
| 86.36% | lib/skunk/cli/commands/compare.rb | 22 | 3 | 22, 25, 27 |
| 87.50% | lib/skunk/rubycritic/analysed_modules_collection.rb | 8 | 1 | 13 |
| 93.10% | lib/skunk/cli/application.rb | 29 | 2 | 39-40 |
| 97.44% | lib/skunk/cli/commands/status_reporter.rb | 39 | 1 | 63 |
+----------+-----------------------------------------------------+-------+--------+--------------+
11 file(s) with 100% coverage not shown
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _\`|/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Ruby-0.1.21
x> No CI provider detected.
==> Appending file network
==> Gzipping contents
==> Uploading reports
url: https://codecov.io
query: token=secret&flags&package=ruby-0.1.21&branch=feature%2Fupdate-dependencies&commit=537a436049c46f342bee77a81330f3a3b73584cf
-> Pinging Codecov
https://codecov.io/upload/v4?token=secret&flags&package=ruby-0.1.21&branch=feature%2Fupdate-dependencies&commit=537a436049c46f342bee77a81330f3a3b73584cf
HTTP 400
Please provide the repository token to upload reports via `-t :repository-token`
Inspecting 15 file(s):
...............
0 total warnings
Running RuboCop...
.rubocop_todo.yml:22: `Layout/HeredocIndentation` is concealed by line 30
The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file.
Please also note that can also opt-in to new cops by default by adding this to your config:
AllCops:
NewCops: enable
Layout/BeginEndAlignment: # (new in 0.91)
Enabled: true
Layout/EmptyLinesAroundAttributeAccessor: # (new in 0.83)
Enabled: true
Layout/SpaceAroundMethodCallOperator: # (new in 0.82)
Enabled: true
Lint/BinaryOperatorWithIdenticalOperands: # (new in 0.89)
Enabled: true
Lint/ConstantDefinitionInBlock: # (new in 0.91)
Enabled: true
Lint/DeprecatedOpenSSLConstant: # (new in 0.84)
Enabled: true
Lint/DuplicateElsifCondition: # (new in 0.88)
Enabled: true
Lint/DuplicateRequire: # (new in 0.90)
Enabled: true
Lint/DuplicateRescueException: # (new in 0.89)
Enabled: true
Lint/EmptyConditionalBody: # (new in 0.89)
Enabled: true
Lint/EmptyFile: # (new in 0.90)
Enabled: true
Lint/FloatComparison: # (new in 0.89)
Enabled: true
Lint/HashCompareByIdentity: # (new in 0.93)
Enabled: true
Lint/IdentityComparison: # (new in 0.91)
Enabled: true
Lint/MissingSuper: # (new in 0.89)
Enabled: true
Lint/MixedRegexpCaptureTypes: # (new in 0.85)
Enabled: true
Lint/OutOfRangeRegexpRef: # (new in 0.89)
Enabled: true
Lint/RaiseException: # (new in 0.81)
Enabled: true
Lint/RedundantSafeNavigation: # (new in 0.93)
Enabled: true
Lint/SelfAssignment: # (new in 0.89)
Enabled: true
Lint/StructNewOverride: # (new in 0.81)
Enabled: true
Lint/TopLevelReturnWithArgument: # (new in 0.89)
Enabled: true
Lint/TrailingCommaInAttributeDeclaration: # (new in 0.90)
Enabled: true
Lint/UnreachableLoop: # (new in 0.89)
Enabled: true
Lint/UselessMethodDefinition: # (new in 0.90)
Enabled: true
Lint/UselessTimes: # (new in 0.91)
Enabled: true
Style/AccessorGrouping: # (new in 0.87)
Enabled: true
Style/BisectedAttrAccessor: # (new in 0.87)
Enabled: true
Style/CaseLikeIf: # (new in 0.88)
Enabled: true
Style/ClassEqualityComparison: # (new in 0.93)
Enabled: true
Style/CombinableLoops: # (new in 0.90)
Enabled: true
Style/ExplicitBlockArgument: # (new in 0.89)
Enabled: true
Style/ExponentialNotation: # (new in 0.82)
Enabled: true
Style/GlobalStdStream: # (new in 0.89)
Enabled: true
Style/HashAsLastArrayItem: # (new in 0.88)
Enabled: true
Style/HashEachMethods: # (new in 0.80)
Enabled: true
Style/HashLikeCase: # (new in 0.88)
Enabled: true
Style/HashTransformKeys: # (new in 0.80)
Enabled: true
Style/HashTransformValues: # (new in 0.80)
Enabled: true
Style/KeywordParametersOrder: # (new in 0.90)
Enabled: true
Style/OptionalBooleanParameter: # (new in 0.89)
Enabled: true
Style/RedundantAssignment: # (new in 0.87)
Enabled: true
Style/RedundantFetchBlock: # (new in 0.86)
Enabled: true
Style/RedundantFileExtensionInRequire: # (new in 0.88)
Enabled: true
Style/RedundantRegexpCharacterClass: # (new in 0.85)
Enabled: true
Style/RedundantRegexpEscape: # (new in 0.85)
Enabled: true
Style/RedundantSelfAssignment: # (new in 0.90)
Enabled: true
Style/SingleArgumentDig: # (new in 0.89)
Enabled: true
Style/SlicingWithRange: # (new in 0.83)
Enabled: true
Style/SoleNestedConditional: # (new in 0.89)
Enabled: true
Style/StringConcatenation: # (new in 0.89)
Enabled: true
For more information: https://docs.rubocop.org/rubocop/versioning.html
Inspecting 29 files
.............................
29 files inspected, no offenses detected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment