Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APPEALS-26726 Rails updated to 5.2.8.1 #1403

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
34aba8e
APPEALS-26726 Rails updated to 5.2.8.1
AKeyframe Aug 3, 2023
58ca370
APPEALS-26726 app:update bin/bundle changes
AKeyframe Aug 9, 2023
de1c8f9
APPEALS-26726 app:update bin/rails changes
AKeyframe Aug 9, 2023
22d55d4
APPEALS-26726 app:update bin/rake changes
AKeyframe Aug 9, 2023
8064410
APPEALS-26726 app:update bin/setup changes
AKeyframe Aug 9, 2023
c08f177
APPEALS-26726 app:update bin/update changes
AKeyframe Aug 9, 2023
f2118eb
APPEALS-26726 app:update bin/yarn changes
AKeyframe Aug 9, 2023
4dfb73a
APPEALS-26726 app:update config/boot.rb changes
AKeyframe Aug 9, 2023
dd9c842
APPEALS-26726 bin/update recomment system(bin/yarn)
AKeyframe Aug 10, 2023
f4d00c7
APPEALS-26726 app:update config/cable.yml changes
AKeyframe Aug 10, 2023
ee89d76
APPEALS-26726 app:update config/storage.yml changes
AKeyframe Aug 10, 2023
296a862
APPEALS-26726 app:update config/initializers/content_security_policy.…
AKeyframe Aug 10, 2023
b7a13a2
APPEALS-26726 app:update config/locales/en.yml changes
AKeyframe Aug 10, 2023
92e7f19
APPEALS-26726 app:update config/initializers/assets.rb changes
AKeyframe Aug 10, 2023
00d4cf4
APPEALS-26726 app:update config/puma.rb changes
AKeyframe Aug 10, 2023
eaa7abf
APPEALS-26726 app:update config/environments/development.rb changes
AKeyframe Aug 10, 2023
bc18bfc
APPEALS-26726 app:update config/environments/production.rb changes
AKeyframe Aug 10, 2023
70798e4
APPEALS-26726 app:update config/environments/test.rb changes
AKeyframe Aug 10, 2023
ac3cd0b
APPEALS-26726 app:update config/application.rb changes
AKeyframe Aug 10, 2023
e8e368b
APPEALS-26726 cleaned up and updated new_framework_defaulsts for 5.0-5.2
AKeyframe Aug 10, 2023
3664a3d
APPEALS-26726 pr corrections
AKeyframe Aug 15, 2023
a284650
APPEALS-26726 new_framework_defaults_5_2 removal
AKeyframe Aug 15, 2023
d8602fe
Merge branch 'master' of https://github.com/department-of-veterans-af…
AKeyframe Sep 14, 2023
4340fd4
Merge remote-tracking branch 'origin' into AlecK/APPEALS-26726
AKeyframe Oct 11, 2023
7483a90
⬇️ Downgrade Bundler back to 1.17.3
jcroteau Oct 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ AllCops:
- '**/Rakefile'
- '**/*.rake'
Exclude:
- 'bin/**/*'
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gem "active_model_serializers"
gem "activejob_dj_overrides"
gem "aws-sdk", "~> 2"
gem "bgs", git: "https://github.com/department-of-veterans-affairs/ruby-bgs.git", ref: "98547485d863f2f0d3bb9a1b9ec92a8fe21ba306"
gem "bootsnap", require: false
jcroteau marked this conversation as resolved.
Show resolved Hide resolved
gem "caseflow", git: "https://github.com/department-of-veterans-affairs/caseflow-commons", ref: "fb6fa9658825c143eb8d202b87128f34ca7e210b"
gem "coffee-rails", "> 4.1.0"
gem "connect_vbms", git: "https://github.com/department-of-veterans-affairs/connect_vbms.git", branch: "master"
Expand All @@ -27,7 +28,7 @@ gem "omniauth-saml-va", git: "https://github.com/department-of-veterans-affairs/
gem "pg", "~> 0.18", platforms: :ruby
gem "puma", "5.6.4"
gem "rack-cors", ">= 1.0.4"
gem "rails", "5.2.4.6"
gem "rails", "5.2.8.1"
gem "redis-namespace"
gem "redis-rails", "~> 5.0.2"
gem "redis-semaphore"
Expand Down
159 changes: 87 additions & 72 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -85,25 +85,25 @@ GIT
GEM
remote: https://rubygems.org/
specs:
actioncable (5.2.4.6)
actionpack (= 5.2.4.6)
actioncable (5.2.8.1)
actionpack (= 5.2.8.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailer (5.2.4.6)
actionpack (= 5.2.4.6)
actionview (= 5.2.4.6)
activejob (= 5.2.4.6)
actionmailer (5.2.8.1)
actionpack (= 5.2.8.1)
actionview (= 5.2.8.1)
activejob (= 5.2.8.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.2.4.6)
actionview (= 5.2.4.6)
activesupport (= 5.2.4.6)
actionpack (5.2.8.1)
actionview (= 5.2.8.1)
activesupport (= 5.2.8.1)
rack (~> 2.0, >= 2.0.8)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.4.6)
activesupport (= 5.2.4.6)
actionview (5.2.8.1)
activesupport (= 5.2.8.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
Expand All @@ -113,23 +113,23 @@ GEM
activemodel (>= 4.1, < 6.2)
case_transform (>= 0.2)
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
activejob (5.2.4.6)
activesupport (= 5.2.4.6)
activejob (5.2.8.1)
activesupport (= 5.2.8.1)
globalid (>= 0.3.6)
activejob_dj_overrides (0.2.0)
delayed_job
rails (>= 4.2)
activemodel (5.2.4.6)
activesupport (= 5.2.4.6)
activerecord (5.2.4.6)
activemodel (= 5.2.4.6)
activesupport (= 5.2.4.6)
activemodel (5.2.8.1)
activesupport (= 5.2.8.1)
activerecord (5.2.8.1)
activemodel (= 5.2.8.1)
activesupport (= 5.2.8.1)
arel (>= 9.0)
activestorage (5.2.4.6)
actionpack (= 5.2.4.6)
activerecord (= 5.2.4.6)
marcel (~> 0.3.1)
activesupport (5.2.4.6)
activestorage (5.2.8.1)
actionpack (= 5.2.8.1)
activerecord (= 5.2.8.1)
marcel (~> 1.0.0)
activesupport (5.2.8.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
Expand All @@ -151,6 +151,8 @@ GEM
aws-sdk-core (= 2.11.632)
aws-sigv4 (1.2.2)
aws-eventstream (~> 1, >= 1.0.2)
bootsnap (1.16.0)
msgpack (~> 1.2)
bourbon (4.2.7)
sass (~> 3.4)
thor (~> 0.19)
Expand Down Expand Up @@ -182,13 +184,14 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.1.8)
concurrent-ruby (1.2.2)
crack (0.4.5)
rexml
crass (1.0.6)
d3-rails (5.9.2)
railties (>= 3.1)
database_cleaner (1.8.5)
date (3.3.3)
delayed_job (4.1.9)
activesupport (>= 3.0, < 6.2)
diff-lcs (1.4.4)
Expand All @@ -200,16 +203,16 @@ GEM
dotenv-rails (2.7.6)
dotenv (= 2.7.6)
railties (>= 3.2)
erubi (1.10.0)
erubi (1.12.0)
execjs (2.7.0)
faraday (1.3.0)
faraday-net_http (~> 1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords
faraday-net_http (1.0.0)
ffi (1.14.2)
globalid (0.4.2)
activesupport (>= 4.2.0)
globalid (1.1.0)
activesupport (>= 5.0)
gyoku (1.3.1)
builder (>= 2.1.2)
hashdiff (1.0.1)
Expand All @@ -221,7 +224,7 @@ GEM
httpi (2.4.5)
rack
socksify
i18n (1.8.10)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.4)
jbuilder (2.10.1)
Expand All @@ -241,43 +244,51 @@ GEM
logstasher (2.1.5)
activesupport (>= 5.2)
request_store
loofah (2.9.1)
loofah (2.21.3)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
nokogiri (>= 1.12.0)
macaddr (1.7.2)
systemu (~> 2.6.5)
mail (2.7.1)
mail (2.8.1)
mini_mime (>= 0.1.1)
net-imap
net-pop
net-smtp
makara (0.4.1)
activerecord (>= 3.0.0)
marcel (0.3.3)
mimemagic (~> 0.3.2)
marcel (1.0.2)
method_source (1.0.0)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2020.1104)
mimemagic (0.3.10)
nokogiri (~> 1)
rake
mini_magick (4.11.0)
mini_mime (1.1.0)
mini_portile2 (2.8.1)
minitest (5.14.4)
mini_mime (1.1.2)
mini_portile2 (2.8.4)
minitest (5.19.0)
moment_timezone-rails (0.5.14)
momentjs-rails (~> 2.15.1)
momentjs-rails (2.15.1)
railties (>= 3.1)
msgpack (1.7.2)
multi_xml (0.6.0)
multipart-post (2.3.0)
mustermann (1.1.2)
ruby2_keywords (~> 0.0.1)
neat (4.0.0)
thor (~> 0.19)
net-imap (0.3.7)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.1)
timeout
net-smtp (0.3.3)
net-protocol
newrelic_rpm (6.14.0)
nio4r (2.5.8)
racc (~> 1.4)
nokogiri (1.14.2)
mini_portile2 (~> 2.8.0)
nio4r (2.5.9)
nokogiri (1.15.3)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nori (2.6.0)
omniauth (1.9.1)
Expand All @@ -301,41 +312,43 @@ GEM
public_suffix (4.0.6)
puma (5.6.4)
nio4r (~> 2.0)
racc (1.5.2)
rack (2.2.6.2)
racc (1.7.1)
rack (2.2.8)
rack-cors (1.1.1)
rack (>= 2.0.0)
rack-protection (2.2.0)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.2.4.6)
actioncable (= 5.2.4.6)
actionmailer (= 5.2.4.6)
actionpack (= 5.2.4.6)
actionview (= 5.2.4.6)
activejob (= 5.2.4.6)
activemodel (= 5.2.4.6)
activerecord (= 5.2.4.6)
activestorage (= 5.2.4.6)
activesupport (= 5.2.4.6)
rack-test (2.1.0)
rack (>= 1.3)
rails (5.2.8.1)
actioncable (= 5.2.8.1)
actionmailer (= 5.2.8.1)
actionpack (= 5.2.8.1)
actionview (= 5.2.8.1)
activejob (= 5.2.8.1)
activemodel (= 5.2.8.1)
activerecord (= 5.2.8.1)
activestorage (= 5.2.8.1)
activesupport (= 5.2.8.1)
bundler (>= 1.3.0)
railties (= 5.2.4.6)
railties (= 5.2.8.1)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0)
loofah (~> 2.3)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
rails_stdout_logging (0.0.5)
railties (5.2.4.6)
actionpack (= 5.2.4.6)
activesupport (= 5.2.4.6)
railties (5.2.8.1)
actionpack (= 5.2.8.1)
activesupport (= 5.2.8.1)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rainbow (3.0.0)
rake (13.0.3)
rake (13.0.6)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
Expand Down Expand Up @@ -451,9 +464,9 @@ GEM
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.2)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
systemu (2.6.5)
therubyracer (0.12.3)
Expand All @@ -463,10 +476,11 @@ GEM
thread_safe (0.3.6)
tilt (2.0.11)
timecop (0.9.2)
timeout (0.4.0)
turbolinks (5.2.1)
turbolinks-source (~> 5.2)
turbolinks-source (5.2.0)
tzinfo (1.2.9)
tzinfo (1.2.11)
thread_safe (~> 0.1)
tzinfo-data (1.2020.6)
tzinfo (>= 1.0.0)
Expand All @@ -488,7 +502,7 @@ GEM
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
websocket-driver (0.7.3)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
xmldsig (0.3.2)
Expand All @@ -514,6 +528,7 @@ DEPENDENCIES
activejob_dj_overrides
aws-sdk (~> 2)
bgs!
bootsnap
brakeman
bundler-audit
byebug
Expand Down Expand Up @@ -544,7 +559,7 @@ DEPENDENCIES
pry-byebug
puma (= 5.6.4)
rack-cors (>= 1.0.4)
rails (= 5.2.4.6)
rails (= 5.2.8.1)
rails_stdout_logging
rb-readline
redis-namespace
Expand Down
4 changes: 2 additions & 2 deletions bin/bundle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
load Gem.bin_path("bundler", "bundle")
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
load Gem.bin_path('bundler', 'bundle')
6 changes: 3 additions & 3 deletions bin/rails
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
APP_PATH = File.expand_path("../config/application", __dir__)
require_relative "../config/boot"
require "rails/commands"
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'
require 'rails/commands'
4 changes: 2 additions & 2 deletions bin/rake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
require_relative "../config/boot"
require "rake"
require_relative '../config/boot'
require 'rake'
Rake.application.run
36 changes: 36 additions & 0 deletions bin/setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env ruby
require 'fileutils'
include FileUtils

# path to your application root.
APP_ROOT = File.expand_path('..', __dir__)

def system!(*args)
system(*args) || abort("\n== Command #{args} failed ==")
end

chdir APP_ROOT do
# This script is a starting point to setup your application.
# Add necessary setup steps to this file.

puts '== Installing dependencies =='
system! 'gem install bundler --conservative'
system('bundle check') || system!('bundle install')

# Install JavaScript dependencies if using Yarn
system('bin/yarn')

# puts "\n== Copying sample files =="
# unless File.exist?('config/database.yml')
# cp 'config/database.yml.sample', 'config/database.yml'
# end

puts "\n== Preparing database =="
system! 'bin/rails db:setup'

puts "\n== Removing old logs and tempfiles =="
system! 'bin/rails log:clear tmp:clear'

puts "\n== Restarting application server =="
system! 'bin/rails restart'
end
Loading
Loading