Skip to content

Commit 09beec0

Browse files
committed
Update remaining Gems to current versions
Notable changes: * Rack 3.x sends all HTTP headers uncapital. I don't like it either, but that's the way it is. Any case-sensitive header matching will need to be updated accordingly. * Puma 4.x doesn't slot into Rack 3.x, so we are now on Puma 7. There are no configuration differences between them, and it seems to even run a little faster. * Rubocop added more checks; the only one that caught anything was `RSpecRails/HttpStatusNameConsistency`, where we were using the deprecated `:unprocessable_entity` symbol instead of `:unprocessable_content`. * Selenium 4 removes the ability to specify Chrome logging parameters the way we were doing it. There is a (slightly more complex) way to do it, but `ALL` seems to be the default now anyway, so just remove this for now. * Brakeman 8 brings full Rails 8 compatibility. * Lots of other security, bug, and QOI improvements. Closes: AP-270
1 parent c251a7e commit 09beec0

8 files changed

Lines changed: 214 additions & 199 deletions

File tree

.idea/altmedia.iml

Lines changed: 73 additions & 82 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.rubocop.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins:
22
- rubocop-rails
3+
- rubocop-rspec_rails
34

45
AllCops:
56
UseCache: false
@@ -578,3 +579,17 @@ Rails/WhereNotWithMultipleConditions: # new in 2.17
578579
Enabled: true
579580
Rails/WhereRange: # new in 2.25
580581
Enabled: true
582+
RSpecRails/AvoidSetupHook: # new in 2.4
583+
Enabled: true
584+
RSpecRails/HaveHttpStatus: # new in 2.12
585+
Enabled: true
586+
RSpecRails/HttpStatusNameConsistency: # new in 2.32
587+
Enabled: true
588+
RSpecRails/InferredSpecType: # new in 2.14
589+
Enabled: true
590+
RSpecRails/MinitestAssertions: # new in 2.17
591+
Enabled: true
592+
RSpecRails/NegationBeValid: # new in 2.23
593+
Enabled: true
594+
RSpecRails/TravelAround: # new in 2.19
595+
Enabled: true

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ gem 'omniauth-cas', '~> 3.0'
3030
gem 'omniauth-rails_csrf_protection', '~> 1.0'
3131
gem 'pg', '~> 1.2'
3232
gem 'prawn', '~> 2.4'
33-
gem 'puma', '~> 4.3', '>= 4.3.12'
33+
gem 'puma', '~> 7.2'
3434
gem 'rails', '~> 8.0.4'
3535
gem 'recaptcha', '~> 4.13'
36+
gem 'sassc-rails'
3637
gem 'sprockets', '~> 4.0'
3738
gem 'tzinfo-data', platforms: %i[windows jruby]
3839

0 commit comments

Comments
 (0)