Skip to content
Snippets Groups Projects
Verified Commit f88d27b9 authored by tribut's avatar tribut :man_dancing:
Browse files

Upgrade rails 7.1 -> 8.0, sqlite 1.4 -> 2.5 and tailwind 2.6 -> 3.1

There are no more updates available as of now.
parent 658ea7d7
Branches
No related tags found
No related merge requests found
Pipeline #36834 failed
...@@ -3,13 +3,13 @@ source "https://rubygems.org" ...@@ -3,13 +3,13 @@ source "https://rubygems.org"
ruby "3.3.6" ruby "3.3.6"
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 7.1.2" gem "rails", "~> 8.0.1"
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails] # The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
gem "sprockets-rails" gem "sprockets-rails"
# Use sqlite3 as the database for Active Record # Use sqlite3 as the database for Active Record
gem "sqlite3", "~> 1.4" gem "sqlite3", "~> 2.5"
# Use the Puma web server [https://github.com/puma/puma] # Use the Puma web server [https://github.com/puma/puma]
gem "puma", ">= 5.0" gem "puma", ">= 5.0"
...@@ -57,7 +57,7 @@ end ...@@ -57,7 +57,7 @@ end
gem "solid_queue", "~> 1.1" gem "solid_queue", "~> 1.1"
gem "httparty" gem "httparty"
gem "tailwindcss-rails", "~> 2.6" gem "tailwindcss-rails", "~> 3.1"
gem "hotwire-rails", "~> 0.1.3" gem "hotwire-rails", "~> 0.1.3"
......
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actioncable (7.1.5.1) actioncable (8.0.1)
actionpack (= 7.1.5.1) actionpack (= 8.0.1)
activesupport (= 7.1.5.1) activesupport (= 8.0.1)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6) zeitwerk (~> 2.6)
actionmailbox (7.1.5.1) actionmailbox (8.0.1)
actionpack (= 7.1.5.1) actionpack (= 8.0.1)
activejob (= 7.1.5.1) activejob (= 8.0.1)
activerecord (= 7.1.5.1) activerecord (= 8.0.1)
activestorage (= 7.1.5.1) activestorage (= 8.0.1)
activesupport (= 7.1.5.1) activesupport (= 8.0.1)
mail (>= 2.7.1) mail (>= 2.8.0)
net-imap actionmailer (8.0.1)
net-pop actionpack (= 8.0.1)
net-smtp actionview (= 8.0.1)
actionmailer (7.1.5.1) activejob (= 8.0.1)
actionpack (= 7.1.5.1) activesupport (= 8.0.1)
actionview (= 7.1.5.1) mail (>= 2.8.0)
activejob (= 7.1.5.1)
activesupport (= 7.1.5.1)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.2) rails-dom-testing (~> 2.2)
actionpack (7.1.5.1) actionpack (8.0.1)
actionview (= 7.1.5.1) actionview (= 8.0.1)
activesupport (= 7.1.5.1) activesupport (= 8.0.1)
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4) rack (>= 2.2.4)
rack-session (>= 1.0.1) rack-session (>= 1.0.1)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2) rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6) rails-html-sanitizer (~> 1.6)
actiontext (7.1.5.1) useragent (~> 0.16)
actionpack (= 7.1.5.1) actiontext (8.0.1)
activerecord (= 7.1.5.1) actionpack (= 8.0.1)
activestorage (= 7.1.5.1) activerecord (= 8.0.1)
activesupport (= 7.1.5.1) activestorage (= 8.0.1)
activesupport (= 8.0.1)
globalid (>= 0.6.0) globalid (>= 0.6.0)
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
actionview (7.1.5.1) actionview (8.0.1)
activesupport (= 7.1.5.1) activesupport (= 8.0.1)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.11) erubi (~> 1.11)
rails-dom-testing (~> 2.2) rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6) rails-html-sanitizer (~> 1.6)
activejob (7.1.5.1) activejob (8.0.1)
activesupport (= 7.1.5.1) activesupport (= 8.0.1)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (7.1.5.1) activemodel (8.0.1)
activesupport (= 7.1.5.1) activesupport (= 8.0.1)
activerecord (7.1.5.1) activerecord (8.0.1)
activemodel (= 7.1.5.1) activemodel (= 8.0.1)
activesupport (= 7.1.5.1) activesupport (= 8.0.1)
timeout (>= 0.4.0) timeout (>= 0.4.0)
activestorage (7.1.5.1) activestorage (8.0.1)
actionpack (= 7.1.5.1) actionpack (= 8.0.1)
activejob (= 7.1.5.1) activejob (= 8.0.1)
activerecord (= 7.1.5.1) activerecord (= 8.0.1)
activesupport (= 7.1.5.1) activesupport (= 8.0.1)
marcel (~> 1.0) marcel (~> 1.0)
activesupport (7.1.5.1) activesupport (8.0.1)
base64 base64
benchmark (>= 0.3) benchmark (>= 0.3)
bigdecimal bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5) connection_pool (>= 2.2.5)
drb drb
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
logger (>= 1.4.2) logger (>= 1.4.2)
minitest (>= 5.1) minitest (>= 5.1)
mutex_m
securerandom (>= 0.3) securerandom (>= 0.3)
tzinfo (~> 2.0) tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
addressable (2.8.7) addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0) public_suffix (>= 2.0.2, < 7.0)
base64 (0.2.0) base64 (0.2.0)
...@@ -195,7 +189,6 @@ GEM ...@@ -195,7 +189,6 @@ GEM
multi_xml (0.7.1) multi_xml (0.7.1)
bigdecimal (~> 3.1) bigdecimal (~> 3.1)
multipart-post (2.4.1) multipart-post (2.4.1)
mutex_m (0.3.0)
net-http (0.6.0) net-http (0.6.0)
uri uri
net-imap (0.5.4) net-imap (0.5.4)
...@@ -231,20 +224,20 @@ GEM ...@@ -231,20 +224,20 @@ GEM
rack (>= 1.3) rack (>= 1.3)
rackup (2.2.1) rackup (2.2.1)
rack (>= 3) rack (>= 3)
rails (7.1.5.1) rails (8.0.1)
actioncable (= 7.1.5.1) actioncable (= 8.0.1)
actionmailbox (= 7.1.5.1) actionmailbox (= 8.0.1)
actionmailer (= 7.1.5.1) actionmailer (= 8.0.1)
actionpack (= 7.1.5.1) actionpack (= 8.0.1)
actiontext (= 7.1.5.1) actiontext (= 8.0.1)
actionview (= 7.1.5.1) actionview (= 8.0.1)
activejob (= 7.1.5.1) activejob (= 8.0.1)
activemodel (= 7.1.5.1) activemodel (= 8.0.1)
activerecord (= 7.1.5.1) activerecord (= 8.0.1)
activestorage (= 7.1.5.1) activestorage (= 8.0.1)
activesupport (= 7.1.5.1) activesupport (= 8.0.1)
bundler (>= 1.15.0) bundler (>= 1.15.0)
railties (= 7.1.5.1) railties (= 8.0.1)
rails-dom-testing (2.2.0) rails-dom-testing (2.2.0)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
minitest minitest
...@@ -252,10 +245,10 @@ GEM ...@@ -252,10 +245,10 @@ GEM
rails-html-sanitizer (1.6.2) rails-html-sanitizer (1.6.2)
loofah (~> 2.21) loofah (~> 2.21)
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
railties (7.1.5.1) railties (8.0.1)
actionpack (= 7.1.5.1) actionpack (= 8.0.1)
activesupport (= 7.1.5.1) activesupport (= 8.0.1)
irb irb (~> 1.13)
rackup (>= 1.0.0) rackup (>= 1.0.0)
rake (>= 12.2) rake (>= 12.2)
thor (~> 1.0, >= 1.2.2) thor (~> 1.0, >= 1.2.2)
...@@ -296,18 +289,18 @@ GEM ...@@ -296,18 +289,18 @@ GEM
actionpack (>= 6.1) actionpack (>= 6.1)
activesupport (>= 6.1) activesupport (>= 6.1)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
sqlite3 (1.7.3-aarch64-linux) sqlite3 (2.5.0-aarch64-linux-gnu)
sqlite3 (1.7.3-arm64-darwin) sqlite3 (2.5.0-arm64-darwin)
sqlite3 (1.7.3-x86_64-linux) sqlite3 (2.5.0-x86_64-linux-gnu)
stimulus-rails (1.3.4) stimulus-rails (1.3.4)
railties (>= 6.0.0) railties (>= 6.0.0)
stringio (3.1.2) stringio (3.1.2)
tailwindcss-rails (2.7.9-aarch64-linux) tailwindcss-rails (3.1.0)
railties (>= 7.0.0)
tailwindcss-rails (2.7.9-arm64-darwin)
railties (>= 7.0.0)
tailwindcss-rails (2.7.9-x86_64-linux)
railties (>= 7.0.0) railties (>= 7.0.0)
tailwindcss-ruby
tailwindcss-ruby (3.4.17-aarch64-linux)
tailwindcss-ruby (3.4.17-arm64-darwin)
tailwindcss-ruby (3.4.17-x86_64-linux)
telegram-bot-ruby (2.2.0) telegram-bot-ruby (2.2.0)
dry-struct (~> 1.6) dry-struct (~> 1.6)
faraday (~> 2.0) faraday (~> 2.0)
...@@ -321,6 +314,7 @@ GEM ...@@ -321,6 +314,7 @@ GEM
tzinfo (2.0.6) tzinfo (2.0.6)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
uri (1.0.2) uri (1.0.2)
useragent (0.16.11)
warden (1.2.9) warden (1.2.9)
rack (>= 2.0.9) rack (>= 2.0.9)
web-console (4.2.1) web-console (4.2.1)
...@@ -354,13 +348,13 @@ DEPENDENCIES ...@@ -354,13 +348,13 @@ DEPENDENCIES
importmap-rails (~> 2.0) importmap-rails (~> 2.0)
jbuilder jbuilder
puma (>= 5.0) puma (>= 5.0)
rails (~> 7.1.2) rails (~> 8.0.1)
redis (>= 4.0.1) redis (>= 4.0.1)
selenium-webdriver selenium-webdriver
solid_queue (~> 1.1) solid_queue (~> 1.1)
sprockets-rails sprockets-rails
sqlite3 (~> 1.4) sqlite3 (~> 2.5)
tailwindcss-rails (~> 2.6) tailwindcss-rails (~> 3.1)
telegram-bot-ruby (~> 2.0) telegram-bot-ruby (~> 2.0)
tzinfo-data tzinfo-data
web-console web-console
......
...@@ -3,7 +3,7 @@ class User < ApplicationRecord ...@@ -3,7 +3,7 @@ class User < ApplicationRecord
has_many :assignments has_many :assignments
has_many :candidates has_many :candidates
enum darkmode: { auto: 0, light: 1, dark: 2 } enum :darkmode, auto: 0, light: 1, dark: 2
validates :darkmode, inclusion: { in: %w(auto light dark) } validates :darkmode, inclusion: { in: %w(auto light dark) }
validates :password, presence: true, length: { minimum: 6 }, allow_nil: true validates :password, presence: true, length: { minimum: 6 }, allow_nil: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment