diff --git a/Gemfile.lock b/Gemfile.lock index f4f286aa5a..b39c063b1f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -49,9 +49,9 @@ GEM activerecord (6.1.3) activemodel (= 6.1.3) activesupport (= 6.1.3) - activerecord-postgis-adapter (6.0.1) - activerecord (~> 6.0) - rgeo-activerecord (~> 6.0) + activerecord-postgis-adapter (7.0.1) + activerecord (~> 6.1) + rgeo-activerecord (~> 7.0.0) activestorage (6.1.3) actionpack (= 6.1.3) activejob (= 6.1.3) @@ -67,33 +67,33 @@ GEM zeitwerk (~> 2.3) addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) - after_commit_everywhere (0.1.5) + after_commit_everywhere (1.0.0) activerecord (>= 4.2) - appsignal (2.11.1) + appsignal (3.0.0) rack - ast (2.4.1) - aws-eventstream (1.1.0) - aws-partitions (1.414.0) - aws-sdk-codedeploy (1.37.0) - aws-sdk-core (~> 3, >= 3.109.0) + ast (2.4.2) + aws-eventstream (1.1.1) + aws-partitions (1.431.1) + aws-sdk-codedeploy (1.38.0) + aws-sdk-core (~> 3, >= 3.112.0) aws-sigv4 (~> 1.1) - aws-sdk-core (3.110.0) + aws-sdk-core (3.112.1) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.239.0) aws-sigv4 (~> 1.1) jmespath (~> 1.0) - aws-sdk-kms (1.40.0) - aws-sdk-core (~> 3, >= 3.109.0) + aws-sdk-kms (1.42.0) + aws-sdk-core (~> 3, >= 3.112.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.87.0) - aws-sdk-core (~> 3, >= 3.109.0) + aws-sdk-s3 (1.90.0) + aws-sdk-core (~> 3, >= 3.112.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.1) - aws-sigv4 (1.2.2) + aws-sigv4 (1.2.3) aws-eventstream (~> 1, >= 1.0.2) bcrypt (3.1.16) bindex (0.8.1) - bootsnap (1.5.1) + bootsnap (1.7.2) msgpack (~> 1.0) brakeman (5.0.0) builder (3.2.4) @@ -101,17 +101,17 @@ GEM bundler (>= 1.2.0, < 3) thor (>= 0.18, < 2) byebug (11.1.3) - capybara (3.34.0) + capybara (3.35.3) addressable mini_mime (>= 0.1.3) nokogiri (~> 1.8) rack (>= 1.6.0) rack-test (>= 0.6.3) - regexp_parser (~> 1.5) + regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) childprocess (3.0.0) coderay (1.1.3) - commonmarker (0.21.0) + commonmarker (0.21.2) ruby-enum (~> 0.5) concurrent-ruby (1.1.8) crack (0.4.5) @@ -124,7 +124,7 @@ GEM responders warden (~> 1.2.3) diff-lcs (1.4.4) - docile (1.3.4) + docile (1.3.5) dotenv (2.7.6) dotenv-rails (2.7.6) dotenv (= 2.7.6) @@ -135,15 +135,17 @@ GEM factory_bot_rails (6.1.0) factory_bot (~> 6.1.0) railties (>= 5.0.0) - faker (2.15.1) + faker (2.16.0) i18n (>= 1.6, < 2) - faraday (1.2.0) + faraday (1.3.0) + faraday-net_http (~> 1.0) multipart-post (>= 1.2, < 3) ruby2_keywords - ffi (1.14.2) + faraday-net_http (1.0.1) + ffi (1.15.0) globalid (0.4.2) activesupport (>= 4.2.0) - govuk_design_system_formbuilder (2.1.5) + govuk_design_system_formbuilder (2.1.9) actionview (>= 5.2) activemodel (>= 5.2) activesupport (>= 5.2) @@ -153,7 +155,7 @@ GEM image_processing (1.12.1) mini_magick (>= 4.9.5, < 5) ruby-vips (>= 2.0.17, < 3) - jbuilder (2.10.1) + jbuilder (2.11.2) activesupport (>= 5.0.0) jmespath (1.4.0) jwt (2.2.2) @@ -166,8 +168,8 @@ GEM nokogiri (>= 1.5.9) mail (2.7.1) mini_mime (>= 0.1.1) - mail-notify (1.0.3) - actionmailer (>= 5.2.4.2, < 6.2) + mail-notify (1.0.4) + actionmailer (>= 5.2.4.3) actionpack (>= 5.2.4.3) actionview (>= 5.2.4.3) activesupport (>= 5.2.4.3) @@ -181,7 +183,7 @@ GEM mini_mime (1.0.2) mini_portile2 (2.5.0) minitest (5.14.4) - msgpack (1.3.3) + msgpack (1.4.2) multipart-post (2.1.1) nio4r (2.5.7) nokogiri (1.11.1) @@ -189,14 +191,14 @@ GEM racc (~> 1.4) notifications-ruby-client (5.3.0) jwt (>= 1.5, < 3) - openapi3_parser (0.8.2) + openapi3_parser (0.9.0) commonmarker (~> 0.17) psych (~> 3.1) orm_adapter (0.5.0) parallel (1.20.1) parser (3.0.0.0) ast (~> 2.4.1) - pdfkit (0.8.4.3.2) + pdfkit (0.8.5) pg (1.2.3) pry (0.13.1) coderay (~> 1.1) @@ -204,7 +206,7 @@ GEM pry-byebug (3.9.0) byebug (~> 11.0) pry (~> 0.13.0) - psych (3.3.0) + psych (3.3.1) public_suffix (4.0.6) puma (4.3.7) nio4r (~> 2.0) @@ -249,13 +251,13 @@ GEM rb-fsevent (0.10.4) rb-inotify (0.10.1) ffi (~> 1.0) - regexp_parser (1.8.2) + regexp_parser (2.1.1) responders (3.0.1) actionpack (>= 5.0) railties (>= 5.0) rexml (3.2.4) rgeo (2.2.0) - rgeo-activerecord (6.2.2) + rgeo-activerecord (7.0.1) activerecord (>= 5.0) rgeo (>= 1.0.0) rspec-core (3.10.1) @@ -263,7 +265,7 @@ GEM rspec-expectations (3.10.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.10.0) - rspec-mocks (3.10.1) + rspec-mocks (3.10.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.10.0) rspec-rails (4.0.2) @@ -274,8 +276,8 @@ GEM rspec-expectations (~> 3.10) rspec-mocks (~> 3.10) rspec-support (~> 3.10) - rspec-support (3.10.1) - rswag-ui (2.3.1) + rspec-support (3.10.2) + rswag-ui (2.4.0) actionpack (>= 3.1, < 7.0) railties (>= 3.1, < 7.0) rubocop (0.87.1) @@ -303,18 +305,18 @@ GEM rubocop rubocop-rspec (1.42.0) rubocop (>= 0.87.0) - ruby-enum (0.8.0) + ruby-enum (0.9.0) i18n ruby-progressbar (1.11.0) - ruby-vips (2.0.17) - ffi (~> 1.9) - ruby2_keywords (0.0.2) + ruby-vips (2.1.0) + ffi (~> 1.12) + ruby2_keywords (0.0.4) ruby_dep (1.5.0) rubyzip (2.3.0) selenium-webdriver (3.142.7) childprocess (>= 0.5, < 4.0) rubyzip (>= 1.2.2) - simplecov (0.20.0) + simplecov (0.21.2) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) @@ -338,7 +340,7 @@ GEM activemodel (>= 6.0.0) bindex (>= 0.4.0) railties (>= 6.0.0) - webmock (3.11.0) + webmock (3.12.1) addressable (>= 2.3.6) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) diff --git a/app/views/api/v1/planning_applications/index.json.jbuilder b/app/views/api/v1/planning_applications/index.json.jbuilder index e24047768f..868d93b225 100644 --- a/app/views/api/v1/planning_applications/index.json.jbuilder +++ b/app/views/api/v1/planning_applications/index.json.jbuilder @@ -1,5 +1,5 @@ # frozen_string_literal: true json.data @planning_applications.each do |planning_application| - json.partial! "show.json.jbuilder", planning_application: planning_application + json.partial! "show", planning_application: planning_application end diff --git a/app/views/api/v1/planning_applications/show.json.jbuilder b/app/views/api/v1/planning_applications/show.json.jbuilder index 3ff0941699..01d2badc80 100644 --- a/app/views/api/v1/planning_applications/show.json.jbuilder +++ b/app/views/api/v1/planning_applications/show.json.jbuilder @@ -1,3 +1,3 @@ # frozen_string_literal: true -json.partial! "show.json.jbuilder", planning_application: @planning_application +json.partial! "show", planning_application: @planning_application diff --git a/app/views/documents/_archive_form.html.erb b/app/views/documents/_archive_form.html.erb index f42d72bca4..1ed7bddd2f 100644 --- a/app/views/documents/_archive_form.html.erb +++ b/app/views/documents/_archive_form.html.erb @@ -5,7 +5,7 @@ <% if form.object.errors.any? %> <% form.object.errors.each do |error| %> Error:<%= error.message %> <% end %> <% end %>
+diff --git a/app/views/documents/_edit_and_upload.html.erb b/app/views/documents/_edit_and_upload.html.erb index c024f6e1f9..47a97163cf 100644 --- a/app/views/documents/_edit_and_upload.html.erb +++ b/app/views/documents/_edit_and_upload.html.erb @@ -1,5 +1,5 @@ <%= form_with model: [@planning_application, @document], local: true, class: "document", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |form| %> - <%= render partial: 'documents/form_partials/upload.html.erb', locals: {form: form} %> + <%= render partial: 'documents/form_partials/upload', locals: {form: form} %>