Merge pull request #1761 from MikeMcQuaid/superenv-fix-stub
ENV/super: fix set_cpu_flags stub.
This commit is contained in:
commit
81b40f6564
@ -1,6 +1,6 @@
|
|||||||
# This configuration was generated by
|
# This configuration was generated by
|
||||||
# `rubocop --auto-gen-config --exclude-limit 100`
|
# `rubocop --auto-gen-config --exclude-limit 100`
|
||||||
# on 2016-10-24 17:14:14 +0200 using RuboCop version 0.44.1.
|
# on 2016-12-31 22:41:53 +0000 using RuboCop version 0.45.0.
|
||||||
# The point is for the user to remove these configuration records
|
# The point is for the user to remove these configuration records
|
||||||
# one by one as the offenses are removed from the code base.
|
# one by one as the offenses are removed from the code base.
|
||||||
# Note that changes in the inspected code, or installation of new
|
# Note that changes in the inspected code, or installation of new
|
||||||
@ -59,31 +59,24 @@ Lint/ShadowedException:
|
|||||||
Exclude:
|
Exclude:
|
||||||
- 'utils/fork.rb'
|
- 'utils/fork.rb'
|
||||||
|
|
||||||
# Offense count: 14
|
# Offense count: 13
|
||||||
Metrics/BlockNesting:
|
Metrics/BlockNesting:
|
||||||
Max: 5
|
Max: 5
|
||||||
|
|
||||||
# Offense count: 19
|
# Offense count: 19
|
||||||
# Configuration parameters: CountComments.
|
# Configuration parameters: CountComments.
|
||||||
Metrics/ModuleLength:
|
Metrics/ModuleLength:
|
||||||
Max: 367
|
Max: 363
|
||||||
|
|
||||||
# Offense count: 2
|
# Offense count: 1
|
||||||
# Configuration parameters: CountKeywordArgs.
|
# Configuration parameters: CountKeywordArgs.
|
||||||
Metrics/ParameterLists:
|
Metrics/ParameterLists:
|
||||||
Max: 6
|
Max: 6
|
||||||
|
|
||||||
# Offense count: 8
|
# Offense count: 1
|
||||||
# Cop supports --auto-correct.
|
Style/AccessorMethodName:
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
||||||
# SupportedStyles: percent_q, bare_percent
|
|
||||||
Style/BarePercentLiterals:
|
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'dev-cmd/audit.rb'
|
- 'extend/ENV/super.rb'
|
||||||
- 'test/test_diagnostic.rb'
|
|
||||||
- 'test/test_exceptions.rb'
|
|
||||||
- 'test/test_patch.rb'
|
|
||||||
- 'test/test_string.rb'
|
|
||||||
|
|
||||||
# Offense count: 6
|
# Offense count: 6
|
||||||
Style/ClassVars:
|
Style/ClassVars:
|
||||||
|
@ -328,7 +328,8 @@ module Superenv
|
|||||||
|
|
||||||
# This method does nothing in superenv since there's no custom CFLAGS API
|
# This method does nothing in superenv since there's no custom CFLAGS API
|
||||||
# @private
|
# @private
|
||||||
def set_cpu_flags; end
|
def set_cpu_flags(*_args)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Array
|
class Array
|
||||||
|
Loading…
x
Reference in New Issue
Block a user