Skip to content

Commit 2ae9d6d

Browse files
authored
Merge pull request #5125 from nhsuk/next
Version 5.5.0
2 parents d7b5972 + 86dfa59 commit 2ae9d6d

155 files changed

Lines changed: 3530 additions & 1537 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.prettierrc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
{
2-
"plugins": ["@prettier/plugin-ruby"]
2+
"plugins": ["@prettier/plugin-ruby"],
3+
"overrides": [
4+
{
5+
"files": ["*.rb", "*.md"],
6+
"options": {
7+
"trailingComma": "none"
8+
}
9+
}
10+
]
311
}

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,6 @@ Style/NumericLiterals:
8181
Rails/ApplicationController:
8282
Exclude:
8383
- app/controllers/errors_controller.rb
84+
85+
Naming/ClassAndModuleCamelCase:
86+
AllowedNames: [ActiveRecord_Relation]

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ RUN bundle exec bootsnap precompile app/ lib/
5959
RUN SECRET_KEY_BASE_DUMMY=1 \
6060
MAVIS__CIS2__ENABLED=false \
6161
MAVIS__SPLUNK__ENABLED=false \
62+
REDIS_CACHE_URL=1 \
6263
./bin/rails assets:precompile
6364

6465
# Remove node modules to reduce image size

Gemfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "https://rubygems.org"
44
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
55

66
ruby file: ".ruby-version"
7-
gem "rails", "~> 8.0.3"
7+
gem "rails", "8.1.1"
88

99
# Framework gems
1010
gem "bootsnap", require: false
@@ -52,9 +52,11 @@ gem "omniauth_openid_connect"
5252
gem "omniauth-rails_csrf_protection"
5353
gem "pagy"
5454
gem "phonelib"
55+
gem "pstore"
5556
gem "pundit"
5657
gem "rails_semantic_logger"
5758
gem "rainbow"
59+
gem "redis"
5860
gem "ruby-progressbar"
5961
gem "rubyzip"
6062
gem "scenic"
@@ -66,14 +68,14 @@ gem "sidekiq-scheduler"
6668
gem "sidekiq-throttled"
6769
gem "splunk-sdk-ruby"
6870
gem "table_tennis"
69-
gem "tzinfo-data", platforms: %i[mingw mswin x64_mingw jruby]
71+
gem "tzinfo-data", platforms: %i[jruby windows]
7072
gem "uk_postcode"
7173
gem "wicked"
7274
gem "with_advisory_lock"
7375

7476
group :development, :test do
7577
gem "brakeman", require: false
76-
gem "debug", platforms: %i[mri mingw x64_mingw]
78+
gem "debug", platforms: %i[mri windows]
7779
gem "factory_bot_instruments"
7880
gem "pry-rails"
7981
gem "rspec-rails"

0 commit comments

Comments
 (0)