mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
AutoFix RuboCop Style/BlockDelimiters
This commit is contained in:
parent
086281a5e9
commit
f3552bc1ff
2 changed files with 2 additions and 13 deletions
|
|
@ -97,17 +97,6 @@ Style/BlockComments:
|
|||
Exclude:
|
||||
- 'spec/spec_helper.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
||||
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
||||
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
||||
# FunctionalMethods: let, let!, subject, watch
|
||||
# AllowedMethods: lambda, proc, it
|
||||
Style/BlockDelimiters:
|
||||
Exclude:
|
||||
- 'spec/lib/grape_logging/formatters/rails_spec.rb'
|
||||
|
||||
# Offense count: 3
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: MinBranchesCount.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ describe GrapeLogging::Formatters::Rails do
|
|||
let(:datetime) { Time.new('2018', '03', '02', '10', '35', '04', '+13:00') }
|
||||
|
||||
let(:exception_data) { ArgumentError.new('Message') }
|
||||
let(:hash_data) {
|
||||
let(:hash_data) do
|
||||
{
|
||||
status: 200,
|
||||
time: {
|
||||
|
|
@ -18,7 +18,7 @@ describe GrapeLogging::Formatters::Rails do
|
|||
path: '/api/endpoint',
|
||||
host: 'localhost'
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
describe '#call' do
|
||||
context 'string data' do
|
||||
|
|
|
|||
Loading…
Reference in a new issue