Remove dependency on rubocop-cask.
This commit is contained in:
parent
4cbeb1e981
commit
2a1788484a
@ -1,10 +1,9 @@
|
||||
require: 'rubocop-cask'
|
||||
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.0
|
||||
Include:
|
||||
- '**/.simplecov'
|
||||
Exclude:
|
||||
- '**/Casks/**/*'
|
||||
- 'developer/**/*'
|
||||
- '**/vendor/**/*'
|
||||
|
||||
Metrics/AbcSize:
|
||||
@ -16,10 +15,10 @@ Metrics/ClassLength:
|
||||
Metrics/CyclomaticComplexity:
|
||||
Enabled: false
|
||||
|
||||
Metrics/MethodLength:
|
||||
Metrics/LineLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/PerceivedComplexity:
|
||||
Metrics/MethodLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/ModuleLength:
|
||||
@ -29,6 +28,19 @@ Metrics/ModuleLength:
|
||||
- 'lib/hbc/macos.rb'
|
||||
- 'lib/hbc/utils.rb'
|
||||
|
||||
Metrics/PerceivedComplexity:
|
||||
Enabled: false
|
||||
|
||||
Performance/StringReplacement:
|
||||
Enabled: false
|
||||
|
||||
Style/AlignHash:
|
||||
EnforcedHashRocketStyle: table
|
||||
EnforcedColonStyle: table
|
||||
|
||||
Style/BarePercentLiterals:
|
||||
EnforcedStyle: percent_q
|
||||
|
||||
Style/BlockDelimiters:
|
||||
EnforcedStyle: semantic
|
||||
FunctionalMethods:
|
||||
@ -75,15 +87,51 @@ Style/BlockDelimiters:
|
||||
- lambda
|
||||
- proc
|
||||
|
||||
|
||||
Style/ClassAndModuleChildren:
|
||||
EnforcedStyle: compact
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
Style/EmptyElse:
|
||||
Enabled: false
|
||||
|
||||
Style/FileName:
|
||||
Enabled: false
|
||||
|
||||
Style/HashSyntax:
|
||||
EnforcedStyle: ruby19_no_mixed_keys
|
||||
|
||||
Style/IndentArray:
|
||||
EnforcedStyle: align_brackets
|
||||
|
||||
Style/IndentHash:
|
||||
EnforcedStyle: align_braces
|
||||
|
||||
Style/PercentLiteralDelimiters:
|
||||
PreferredDelimiters:
|
||||
'%': '{}'
|
||||
'%i': '{}'
|
||||
'%q': '{}'
|
||||
'%Q': '{}'
|
||||
'%r': '{}'
|
||||
'%s': '()'
|
||||
'%w': '[]'
|
||||
'%W': '[]'
|
||||
'%x': '()'
|
||||
|
||||
Style/PredicateName:
|
||||
NameWhitelist: is_32_bit?, is_64_bit?
|
||||
|
||||
Style/RaiseArgs:
|
||||
EnforcedStyle: exploded
|
||||
|
||||
Style/RegexpLiteral:
|
||||
EnforcedStyle: percent_r
|
||||
|
||||
Style/StringLiterals:
|
||||
EnforcedStyle: double_quotes
|
||||
|
||||
Style/TrailingCommaInLiteral:
|
||||
EnforcedStyleForMultiline: comma
|
||||
|
||||
|
||||
@ -7,10 +7,6 @@ group :debug do
|
||||
gem "pry-byebug", platforms: :mri
|
||||
end
|
||||
|
||||
group :development do
|
||||
gem "rubocop-cask", "~> 0.8.3"
|
||||
end
|
||||
|
||||
group :test do
|
||||
# This is SimpleCov v0.12.0 with two fixes merged on top, that finally resolve
|
||||
# all issues with parallel tests, uncovered files, and tracked files. Switch
|
||||
|
||||
@ -12,7 +12,6 @@ GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
ansi (1.5.0)
|
||||
ast (2.3.0)
|
||||
builder (3.2.2)
|
||||
byebug (9.0.5)
|
||||
codecov (0.1.5)
|
||||
@ -36,9 +35,6 @@ GEM
|
||||
parallel (1.9.0)
|
||||
parallel_tests (2.9.0)
|
||||
parallel
|
||||
parser (2.3.1.2)
|
||||
ast (~> 2.2)
|
||||
powerpack (0.1.1)
|
||||
pry (0.10.4)
|
||||
coderay (~> 1.1.0)
|
||||
method_source (~> 0.8.1)
|
||||
@ -46,8 +42,6 @@ GEM
|
||||
pry-byebug (3.4.0)
|
||||
byebug (~> 9.0)
|
||||
pry (~> 0.10)
|
||||
public_suffix (2.0.2)
|
||||
rainbow (2.1.0)
|
||||
rake (10.4.2)
|
||||
rspec (3.0.0)
|
||||
rspec-core (~> 3.0.0)
|
||||
@ -66,19 +60,9 @@ GEM
|
||||
rspec-support (3.0.4)
|
||||
rspec-wait (0.0.9)
|
||||
rspec (>= 3, < 4)
|
||||
rubocop (0.41.2)
|
||||
parser (>= 2.3.1.1, < 3.0)
|
||||
powerpack (~> 0.1)
|
||||
rainbow (>= 1.99.1, < 3.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (~> 1.0, >= 1.0.1)
|
||||
rubocop-cask (0.8.3)
|
||||
public_suffix (~> 2.0)
|
||||
rubocop (~> 0.41.1)
|
||||
ruby-progressbar (1.8.1)
|
||||
simplecov-html (0.10.0)
|
||||
slop (3.6.0)
|
||||
unicode-display_width (1.1.0)
|
||||
url (0.3.2)
|
||||
|
||||
PLATFORMS
|
||||
@ -96,7 +80,6 @@ DEPENDENCIES
|
||||
rspec (~> 3.0.0)
|
||||
rspec-its
|
||||
rspec-wait
|
||||
rubocop-cask (~> 0.8.3)
|
||||
simplecov (= 0.12.0)!
|
||||
|
||||
BUNDLED WITH
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
require "rake/testtask"
|
||||
require "rspec/core/rake_task"
|
||||
require "rubocop/rake_task"
|
||||
|
||||
homebrew_repo = `brew --repository`.chomp
|
||||
$LOAD_PATH.unshift(File.expand_path("#{homebrew_repo}/Library/Homebrew"))
|
||||
@ -18,12 +17,6 @@ namespace :test do
|
||||
end
|
||||
end
|
||||
|
||||
RuboCop::RakeTask.new(:rubocop) do |t|
|
||||
t.options = ["--force-exclusion"]
|
||||
end
|
||||
|
||||
task default: [:rubocop]
|
||||
|
||||
desc "Open a REPL for debugging and experimentation"
|
||||
task :console do
|
||||
require "pry"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user