Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rubocop fixing offenses related to rubocop upgrade #3319

Merged
merged 24 commits into from
Sep 19, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6490bcf
Fixing Rubocop Layout/ClosingHeredocIndentation offenses.
thilton-oddball Sep 19, 2019
c6fb9cb
Fixing Rubocop Layout/ClosingParenthesisIndentation offenses.
thilton-oddball Sep 19, 2019
561cc31
Fixing Rubocop Layout/EmptyComment offenses.
thilton-oddball Sep 19, 2019
d5683d8
Fixing Rubocop Layout/EmptyLinesAroundBlockBody offenses.
thilton-oddball Sep 19, 2019
cf14f75
Fixing Rubocop Layout/IndentationWidth offenses.
thilton-oddball Sep 19, 2019
cc7c73f
Fixing Rubocop Layout/LeadingBlankLines offenses.
thilton-oddball Sep 19, 2019
01fd7b9
Fixing Rubocop Layout/RescueEnsureAlignment offenses.
thilton-oddball Sep 19, 2019
0286a6a
Fixing Rubocop Layout/SpaceAroundOperators offenses.
thilton-oddball Sep 19, 2019
35d7a8b
Fixing Rubocop Lint/BigDecimalNew offenses.
thilton-oddball Sep 19, 2019
7197af0
Fixing Rubocop Lint/SafeNavigationConsistency offenses.
thilton-oddball Sep 19, 2019
16b9fd7
Fixing Rubocop Lint/UnneededCopDisableDirective offenses.
thilton-oddball Sep 19, 2019
07c873f
Fixing Rubocop Lint/UnneededCopEnableDirective offenses.
thilton-oddball Sep 19, 2019
4dc7f23
Fixing Rubocop Rails/HttpStatus offenses.
thilton-oddball Sep 19, 2019
bd15fe3
Fixing Rubocop Style/ExpandPathArguments offenses.
thilton-oddball Sep 19, 2019
0443e02
Fixing Rubocop Style/MutableConstant offenses.
thilton-oddball Sep 19, 2019
69e8b85
Fixing Rubocop Style/TrailingCommaInArrayLiteral offenses.
thilton-oddball Sep 19, 2019
9e96c57
Fixing Rubocop Style/TrailingCommaInHashLiteral offenses.
thilton-oddball Sep 19, 2019
efaa9c7
Fixing Rubocop Style/UnneededCondition offenses.
thilton-oddball Sep 19, 2019
14bfd57
Fixing Rubocop Style/UnneededSort offenses.
thilton-oddball Sep 19, 2019
62b8c1f
Fixing Rubocop Style/WordArray offenses.
thilton-oddball Sep 19, 2019
2187110
removing commented out TODOs in .rubocop_todo.yml
thilton-oddball Sep 19, 2019
ceacdd7
merging in master
thilton-oddball Sep 19, 2019
50059b1
Fixing Rubocop Style/WordArray offenses.
thilton-oddball Sep 19, 2019
4aca339
Merge branch 'master' into tjh-rubocop-fixing-offenses
annaswims Sep 19, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing Rubocop Layout/EmptyComment offenses.
  • Loading branch information
thilton-oddball committed Sep 19, 2019
commit 561cc318da412616b4d0abd63acffa1989cd33df
8 changes: 4 additions & 4 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ Layout/AlignHash:
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowBorderComment, AllowMarginComment.
Layout/EmptyComment:
Exclude:
- 'app/swagger/requests/post911_gi_bill_statuses.rb'
- 'spec/jobs/sidekiq_stats_job_spec.rb'
# Layout/EmptyComment:
# Exclude:
# - 'app/swagger/requests/post911_gi_bill_statuses.rb'
# - 'spec/jobs/sidekiq_stats_job_spec.rb'

# Offense count: 351
# Cop supports --auto-correct.
Expand Down
2 changes: 1 addition & 1 deletion app/swagger/requests/post911_gi_bill_statuses.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Post911GiBillStatuses

swagger_schema :Enrollment do
key :required, [:begin_date]
property :begin_date, type: :string, example: '2012-11-01T04:00:00.000+00:00' #
property :begin_date, type: :string, example: '2012-11-01T04:00:00.000+00:00'
property :end_date, type: %i[string null], example: '2012-12-01T05:00:00.000+00:00'
property :facility_code, type: %i[string null], example: '12345678'
property :facility_name, type: %i[string null], example: 'Purdue University'
Expand Down
1 change: 0 additions & 1 deletion spec/jobs/sidekiq_stats_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
require 'rails_helper'

RSpec.describe SidekiqStatsJob, type: :job do
#
end