Skip to content

Commit dc82968

Browse files
committed
Update standard and rubocop
1 parent 0625efe commit dc82968

29 files changed

+40
-12
lines changed

Gemfile.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ GEM
341341
actionview (>= 5.0.0)
342342
activesupport (>= 5.0.0)
343343
jmespath (1.6.2)
344-
json (2.12.2)
344+
json (2.15.1)
345345
jwt (3.1.2)
346346
base64
347347
kaminari (1.2.2)
@@ -466,7 +466,7 @@ GEM
466466
activerecord (>= 6.1)
467467
request_store (~> 1.4)
468468
parallel (1.27.0)
469-
parser (3.3.8.0)
469+
parser (3.3.9.0)
470470
ast (~> 2.4.1)
471471
racc
472472
pdf-core (0.9.0)
@@ -493,7 +493,7 @@ GEM
493493
prawn-table (0.2.2)
494494
prawn (>= 1.3.0, < 3.0.0)
495495
prettyprint (0.2.0)
496-
prism (1.4.0)
496+
prism (1.5.2)
497497
pry (0.14.2)
498498
coderay (~> 1.1)
499499
method_source (~> 1.0)
@@ -578,7 +578,7 @@ GEM
578578
erb
579579
psych (>= 4.0.0)
580580
recaptcha (5.20.1)
581-
regexp_parser (2.11.2)
581+
regexp_parser (2.11.3)
582582
reline (0.6.2)
583583
io-console (~> 0.5)
584584
request_store (1.7.0)
@@ -610,18 +610,18 @@ GEM
610610
rspec-mocks (~> 3.13)
611611
rspec-support (~> 3.13)
612612
rspec-support (3.13.4)
613-
rubocop (1.75.8)
613+
rubocop (1.80.2)
614614
json (~> 2.3)
615615
language_server-protocol (~> 3.17.0.2)
616616
lint_roller (~> 1.1.0)
617617
parallel (~> 1.10)
618618
parser (>= 3.3.0.2)
619619
rainbow (>= 2.2.2, < 4.0)
620620
regexp_parser (>= 2.9.3, < 3.0)
621-
rubocop-ast (>= 1.44.0, < 2.0)
621+
rubocop-ast (>= 1.46.0, < 2.0)
622622
ruby-progressbar (~> 1.7)
623623
unicode-display_width (>= 2.4.0, < 4.0)
624-
rubocop-ast (1.45.1)
624+
rubocop-ast (1.47.1)
625625
parser (>= 3.3.7.2)
626626
prism (~> 1.4)
627627
rubocop-performance (1.25.0)
@@ -689,10 +689,10 @@ GEM
689689
activesupport (>= 5.2)
690690
sprockets (>= 3.0.0)
691691
stackprof (0.2.27)
692-
standard (1.50.0)
692+
standard (1.51.1)
693693
language_server-protocol (~> 3.17.0.2)
694694
lint_roller (~> 1.0)
695-
rubocop (~> 1.75.5)
695+
rubocop (~> 1.80.2)
696696
standard-custom (~> 1.0.0)
697697
standard-performance (~> 1.8)
698698
standard-custom (1.0.2)
@@ -720,9 +720,9 @@ GEM
720720
railties (>= 7.1.0)
721721
tzinfo (2.0.6)
722722
concurrent-ruby (~> 1.0)
723-
unicode-display_width (3.1.4)
724-
unicode-emoji (~> 4.0, >= 4.0.4)
725-
unicode-emoji (4.0.4)
723+
unicode-display_width (3.2.0)
724+
unicode-emoji (~> 4.1)
725+
unicode-emoji (4.1.0)
726726
uniform_notifier (1.17.0)
727727
uri (1.0.3)
728728
useragent (0.16.11)

app/controllers/partners/family_requests_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module Partners
22
class FamilyRequestsController < BaseController
33
include Validatable
4+
45
before_action :verify_partner_is_active
56
before_action :authorize_verified_partners
67

app/controllers/partners/individuals_requests_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module Partners
22
class IndividualsRequestsController < BaseController
33
include Validatable
4+
45
before_action :verify_partner_is_active
56
before_action :authorize_verified_partners
67

app/controllers/partners/requests_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module Partners
22
class RequestsController < BaseController
33
include Validatable
4+
45
skip_before_action :require_partner, only: [:new, :create, :validate]
56
before_action :require_partner_or_org_admin, only: [:new, :create, :validate]
67
layout :layout

app/controllers/partners_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# of which Partners are associated with which Diaperbanks.
44
class PartnersController < ApplicationController
55
include Importable
6+
67
before_action :validate_user_role, only: :show
78
skip_before_action :require_organization, only: :show
89

app/controllers/product_drives_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
class ProductDrivesController < ApplicationController
22
include Importable
3+
34
before_action :set_product_drive, only: [:show, :edit, :update, :destroy]
45
before_action :set_tags, only: [:index, :new, :edit]
56

app/helpers/distribution_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Encapsulates methods that need some business logic
22
module DistributionHelper
33
include ActionView::Helpers::NumberHelper
4+
45
def pickup_day_params
56
return {} unless params.key?(:filters)
67

app/models/adjustment.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class Adjustment < ApplicationRecord
2020
include Exportable
2121
include Itemizable
2222
include Filterable
23+
2324
scope :at_location, ->(location_id) { where(storage_location_id: location_id) }
2425
scope :by_user, ->(user_id) { where(user_id: user_id) }
2526
scope :during, ->(range) { where(adjustments: { created_at: range }) }

app/models/audit.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class Audit < ApplicationRecord
2121

2222
include Itemizable
2323
include Filterable
24+
2425
scope :at_location, ->(location_id) { where(storage_location_id: location_id) }
2526

2627
accepts_nested_attributes_for :adjustment

app/models/barcode_item.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class BarcodeItem < ApplicationRecord
2525

2626
include Filterable
2727
include Exportable
28+
2829
default_scope { order("barcodeable_type DESC, created_at ASC") }
2930

3031
scope :barcodeable_id, ->(barcodeable_id) { where(barcodeable_id: barcodeable_id) }

0 commit comments

Comments
 (0)