Skip to content

Commit a64acf5

Browse files
Bump standard from 1.50.0 to 1.51.1 in the linters group (#2002)
1 parent 8339700 commit a64acf5

File tree

9 files changed

+19
-13
lines changed

9 files changed

+19
-13
lines changed

Gemfile.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ GEM
391391
os (1.1.4)
392392
pagy (9.4.0)
393393
parallel (1.27.0)
394-
parser (3.3.8.0)
394+
parser (3.3.9.0)
395395
ast (~> 2.4.1)
396396
racc
397397
pg (1.6.2-arm64-darwin)
@@ -409,7 +409,7 @@ GEM
409409
prime (0.1.2)
410410
forwardable
411411
singleton
412-
prism (1.4.0)
412+
prism (1.5.1)
413413
psych (5.2.6)
414414
date
415415
stringio
@@ -477,7 +477,7 @@ GEM
477477
rdoc (6.14.2)
478478
erb
479479
psych (>= 4.0.0)
480-
regexp_parser (2.10.0)
480+
regexp_parser (2.11.2)
481481
reline (0.6.2)
482482
io-console (~> 0.5)
483483
request_store (1.6.0)
@@ -487,18 +487,18 @@ GEM
487487
railties (>= 5.2)
488488
reverse_markdown (3.0.0)
489489
nokogiri
490-
rubocop (1.75.6)
490+
rubocop (1.80.2)
491491
json (~> 2.3)
492492
language_server-protocol (~> 3.17.0.2)
493493
lint_roller (~> 1.1.0)
494494
parallel (~> 1.10)
495495
parser (>= 3.3.0.2)
496496
rainbow (>= 2.2.2, < 4.0)
497497
regexp_parser (>= 2.9.3, < 3.0)
498-
rubocop-ast (>= 1.44.0, < 2.0)
498+
rubocop-ast (>= 1.46.0, < 2.0)
499499
ruby-progressbar (~> 1.7)
500500
unicode-display_width (>= 2.4.0, < 4.0)
501-
rubocop-ast (1.44.1)
501+
rubocop-ast (1.46.0)
502502
parser (>= 3.3.7.2)
503503
prism (~> 1.4)
504504
rubocop-performance (1.25.0)
@@ -542,10 +542,10 @@ GEM
542542
apimatic_core (~> 0.3.11)
543543
apimatic_core_interfaces (~> 0.2.1)
544544
apimatic_faraday_client_adapter (~> 0.1.4)
545-
standard (1.50.0)
545+
standard (1.51.1)
546546
language_server-protocol (~> 3.17.0.2)
547547
lint_roller (~> 1.0)
548-
rubocop (~> 1.75.5)
548+
rubocop (~> 1.80.2)
549549
standard-custom (~> 1.0.0)
550550
standard-performance (~> 1.8)
551551
standard-custom (1.0.2)
@@ -579,9 +579,9 @@ GEM
579579
nokogiri (>= 1.6, < 2.0)
580580
tzinfo (2.0.6)
581581
concurrent-ruby (~> 1.0)
582-
unicode-display_width (3.1.4)
583-
unicode-emoji (~> 4.0, >= 4.0.4)
584-
unicode-emoji (4.0.4)
582+
unicode-display_width (3.2.0)
583+
unicode-emoji (~> 4.1)
584+
unicode-emoji (4.1.0)
585585
uri (1.0.3)
586586
useragent (0.16.11)
587587
version_gem (1.1.4)

app/controllers/admin/borrow_policy_approvals_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module Admin
22
class BorrowPolicyApprovalsController < BaseController
33
include Pagy::Backend
4+
45
before_action :set_borrow_policy
56
before_action :set_borrow_policy_approval, only: %i[edit update]
67

app/controllers/admin/reservations/base_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module Admin
22
module Reservations
33
class BaseController < Admin::BaseController
44
include ReservationsHelper
5+
56
before_action :set_reservation
67

78
private

app/controllers/admin/reservations/pending_reservation_items_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module Admin
22
module Reservations
33
class PendingReservationItemsController < BaseController
44
include Sounds
5+
56
before_action :load_pending_reservation_item
67

78
# Merge into the reservation

app/controllers/admin/reservations/reservation_loans_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module Admin
22
module Reservations
33
class ReservationLoansController < BaseController
44
include Sounds
5+
56
before_action :set_reservation_loan, only: :destroy
67

78
def index

app/helpers/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def logo(library: current_library, small: false, classes: "", alt: "")
88
if library.image.attached?
99
image_tag url_for(library.image.variant(resize_to_limit: [100, 89])), class: classes, alt:
1010
else
11-
image_tag "logo#{small ? "_small" : nil}.png", class: classes, alt:
11+
image_tag "logo#{"_small" if small}.png", class: classes, alt:
1212
end
1313
end
1414

app/models/concerns/item_categorization.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
module ItemCategorization
44
extend ActiveSupport::Concern
5+
56
included do
67
has_many :categorizations, dependent: :destroy, as: :categorized
78
has_many :categories, through: :categorizations,

app/views/account/reservations/_answers.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<% answers.each_with_index do |answer, i| %>
2-
<%= tag.div class: "form-group #{answer.errors.present? ? "has-error" : nil}" do %>
2+
<%= tag.div class: ("form-group" + (answer.errors.present? ? "has-error" : "")) do %>
33
<%= hidden_field_tag "reservation[required_answers_attributes][#{i}][id]", answer.id %>
44
<%= hidden_field_tag "reservation[required_answers_attributes][#{i}][stem_id]", answer.stem.id %>
55
<%= label_tag "reservation[required_answers_attributes][#{i}][value]", class: "form-label" do %>

test/controllers/application_controller_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
class ApplicationControllerTest < ActionDispatch::IntegrationTest
44
include Devise::Test::IntegrationHelpers
5+
56
setup do
67
@user = create(:user)
78
@admin_user = create(:admin_user)

0 commit comments

Comments
 (0)