Skip to content

Commit 7241b22

Browse files
github-actions[bot]Rubocop Challenger
and
Rubocop Challenger
authored
Layout/EmptyLineAfterMagicComment-20230306233321 (#839)
* 🚓 regenerate rubocop todo * 🚓 Layout/EmptyLineAfterMagicComment * 🚓 regenerate rubocop todo --------- Co-authored-by: Rubocop Challenger <rubocop@payrollhero.com>
1 parent f28011e commit 7241b22

File tree

4 files changed

+7
-16
lines changed

4 files changed

+7
-16
lines changed

.rubocop_todo.yml

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config --exclude-limit 180`
3-
# on 2023-03-03 23:33:46 UTC using RuboCop version 1.47.0.
3+
# on 2023-03-06 23:34:08 UTC using RuboCop version 1.48.0.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -142,14 +142,6 @@ Layout/EmptyLineAfterGuardClause:
142142
- 'spec/lib/swagger/swagger_dsl_spec.rb'
143143
- 'spec/spec_helper.rb'
144144

145-
# Offense count: 3
146-
# This cop supports safe autocorrection (--autocorrect).
147-
Layout/EmptyLineAfterMagicComment:
148-
Exclude:
149-
- 'apipie-rails.gemspec'
150-
- 'lib/apipie/validator.rb'
151-
- 'lib/tasks/apipie.rake'
152-
153145
# Offense count: 17
154146
# This cop supports safe autocorrection (--autocorrect).
155147
# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
@@ -746,9 +738,11 @@ Lint/IdentityComparison:
746738
Exclude:
747739
- 'spec/lib/swagger/swagger_dsl_spec.rb'
748740

749-
# Offense count: 1
741+
# Offense count: 5
750742
Lint/MissingSuper:
751743
Exclude:
744+
- 'lib/apipie/errors.rb'
745+
- 'lib/apipie/response_description_adapter.rb'
752746
- 'lib/apipie/validator.rb'
753747

754748
# Offense count: 11
@@ -1538,12 +1532,6 @@ Style/CaseEquality:
15381532
Exclude:
15391533
- 'lib/apipie/validator.rb'
15401534

1541-
# Offense count: 1
1542-
# This cop supports unsafe autocorrection (--autocorrect-all).
1543-
Style/CaseLikeIf:
1544-
Exclude:
1545-
- 'lib/apipie/generator/swagger/operation_id.rb'
1546-
15471535
# Offense count: 28
15481536
# This cop supports unsafe autocorrection (--autocorrect-all).
15491537
# Configuration parameters: EnforcedStyle.

apipie-rails.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- encoding: utf-8 -*-
2+
23
$:.push File.expand_path('lib', __dir__)
34
require "apipie/version"
45

lib/apipie/validator.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
23
module Apipie
34

45
module Validator

lib/tasks/apipie.rake

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
23
require 'fileutils'
34

45
namespace :apipie do

0 commit comments

Comments
 (0)