Skip to content

Commit eef6abd

Browse files
Upgrade to rails 7 (#760)
* Add a Geocoder spec stub fix a broken test for Checkin::Creator due to Position not saving without a location * pin countries gem, add explicit sprockets-rails * bundle update --conservative fix spec: use allow_blank rather than conditional validation * pin versions that tried major upgrade * rename shared example to avoid load warning * udpate rails to 6.1.7.8 * enable zeitwerk mode (explicitly) * load 6.1 defaults explicitly * loosen some patch level restrictions * regenerate mongoid config * mongoid 7.5.4 * update mongoid to rails 7.1 compatible version * rails 7.1 (gem - no app:update yet) * rails app:update & most 7.1 defaults enabled * unpin temporary gem versions * remove duplicate test - covered by fiveable shared example * remove warning gem * put simplecov back in bin/rails * put sprockets require back * standardrb --fix * put filtered parameter back in config * don't need to eager load lib anymore * development env config remove old options, clean * production env config * test env config * Enable all 7.1 framework defaults EXCEPT rolling deploy related * enable 7.1 defaults * standardrb --fix
1 parent 70e58e7 commit eef6abd

File tree

27 files changed

+788
-271
lines changed

27 files changed

+788
-271
lines changed

backend/Gemfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,27 @@ ruby "3.2.3"
66
gem "dotenv-rails", groups: %i[development test]
77

88
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
9-
gem "rails", "~> 6.1.7.7"
9+
gem "rails", "~> 7.1.0"
1010
gem "rake"
11+
gem "sprockets-rails"
1112

1213
# JSON serializer
13-
gem "active_model_serializers", "0.9.8"
14+
gem "active_model_serializers", "~> 0.9"
1415

1516
# Use postgresql and mongo as the database for Active Record
16-
gem "mongoid", "7.3.3"
17+
gem "mongoid", "8.1.3" # https://www.mongodb.com/docs/mongoid/current/reference/compatibility/#rails-compatibility
1718
gem "pg"
1819

1920
# Use Puma as the app server
2021
gem "puma", "5.6.8"
2122

2223
# Authentication libraries
2324
gem "cancancan", "~> 3.5.0"
24-
gem "cancancan-mongoid", "2.0.0"
25-
gem "devise", "4.8.0"
26-
gem "devise_invitable", "2.0.9"
27-
gem "omniauth", "1.8.1"
28-
gem "omniauth-facebook", "3.0.0"
25+
gem "cancancan-mongoid", "~> 2.0"
26+
gem "devise", "~> 4.8"
27+
gem "devise_invitable", "~> 2.0"
28+
gem "omniauth", "~> 1.8"
29+
gem "omniauth-facebook", "~> 3.0"
2930

3031
# Colored output to console
3132
gem "colored"

0 commit comments

Comments
 (0)