Skip to content

Commit

Permalink
Rails upgrade to 7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejkrzywda committed Aug 16, 2024
1 parent 07729f5 commit e463fb1
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 98 deletions.
2 changes: 1 addition & 1 deletion rails_application/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source "https://rubygems.org"

ruby '3.3.4'

gem "rails", "7.0.4"
gem "rails", "7.2.0"
gem "pg", "~> 1.4"
gem "puma", "~> 5.6"
gem "bootsnap", ">= 1.9.2", require: false
Expand Down
226 changes: 130 additions & 96 deletions rails_application/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,91 +18,100 @@ GEM
GEM
remote: https://rubygems.org/
specs:
actioncable (7.0.4)
actionpack (= 7.0.4)
activesupport (= 7.0.4)
actioncable (7.2.0)
actionpack (= 7.2.0)
activesupport (= 7.2.0)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (7.0.4)
actionpack (= 7.0.4)
activejob (= 7.0.4)
activerecord (= 7.0.4)
activestorage (= 7.0.4)
activesupport (= 7.0.4)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.0.4)
actionpack (= 7.0.4)
actionview (= 7.0.4)
activejob (= 7.0.4)
activesupport (= 7.0.4)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.0)
actionpack (7.0.4)
actionview (= 7.0.4)
activesupport (= 7.0.4)
rack (~> 2.0, >= 2.2.0)
zeitwerk (~> 2.6)
actionmailbox (7.2.0)
actionpack (= 7.2.0)
activejob (= 7.2.0)
activerecord (= 7.2.0)
activestorage (= 7.2.0)
activesupport (= 7.2.0)
mail (>= 2.8.0)
actionmailer (7.2.0)
actionpack (= 7.2.0)
actionview (= 7.2.0)
activejob (= 7.2.0)
activesupport (= 7.2.0)
mail (>= 2.8.0)
rails-dom-testing (~> 2.2)
actionpack (7.2.0)
actionview (= 7.2.0)
activesupport (= 7.2.0)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4, < 3.2)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (7.0.4)
actionpack (= 7.0.4)
activerecord (= 7.0.4)
activestorage (= 7.0.4)
activesupport (= 7.0.4)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actiontext (7.2.0)
actionpack (= 7.2.0)
activerecord (= 7.2.0)
activestorage (= 7.2.0)
activesupport (= 7.2.0)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.0.4)
activesupport (= 7.0.4)
actionview (7.2.0)
activesupport (= 7.2.0)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (7.0.4)
activesupport (= 7.0.4)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (7.2.0)
activesupport (= 7.2.0)
globalid (>= 0.3.6)
activemodel (7.0.4)
activesupport (= 7.0.4)
activerecord (7.0.4)
activemodel (= 7.0.4)
activesupport (= 7.0.4)
activestorage (7.0.4)
actionpack (= 7.0.4)
activejob (= 7.0.4)
activerecord (= 7.0.4)
activesupport (= 7.0.4)
activemodel (7.2.0)
activesupport (= 7.2.0)
activerecord (7.2.0)
activemodel (= 7.2.0)
activesupport (= 7.2.0)
timeout (>= 0.4.0)
activestorage (7.2.0)
actionpack (= 7.2.0)
activejob (= 7.2.0)
activerecord (= 7.2.0)
activesupport (= 7.2.0)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (7.0.4)
concurrent-ruby (~> 1.0, >= 1.0.2)
activesupport (7.2.0)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
tzinfo (~> 2.0)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
aggregate_root (2.13.0)
ruby_event_store (= 2.13.0)
arbre (1.5.0)
activesupport (>= 3.0.0, < 7.1)
ruby2_keywords (>= 0.0.2, < 1.0)
arbre (2.0.0)
activesupport (>= 3.0.0)
ruby2_keywords (>= 0.0.2)
arkency-command_bus (0.4.1)
concurrent-ruby
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
bootsnap (1.15.0)
msgpack (~> 1.2)
builder (3.2.4)
byebug (11.1.3)
concurrent-ruby (1.2.2)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crass (1.0.6)
date (3.3.3)
date (3.3.4)
diff-lcs (1.5.0)
dotenv (2.7.6)
dotenv-rails (2.7.6)
dotenv (= 2.7.6)
railties (>= 3.2)
drb (2.2.1)
dry-configurable (0.15.0)
concurrent-ruby (~> 1.0)
dry-core (~> 0.6)
Expand Down Expand Up @@ -136,6 +145,10 @@ GEM
importmap-rails (1.1.5)
actionpack (>= 6.0.0)
railties (>= 6.0.0)
io-console (0.7.2)
irb (1.14.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
kaminari (1.2.2)
activesupport (>= 4.1.0)
kaminari-actionview (= 1.2.2)
Expand All @@ -151,14 +164,17 @@ GEM
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.19.1)
logger (1.6.0)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
nokogiri (>= 1.12.0)
mail (2.8.1)
mini_mime (>= 0.1.1)
marcel (1.0.2)
method_source (1.0.0)
mini_mime (1.1.2)
net-imap
net-pop
net-smtp
marcel (1.0.4)
mini_mime (1.1.5)
mini_portile2 (2.8.1)
minitest (5.15.0)
msgpack (1.6.0)
Expand All @@ -171,14 +187,14 @@ GEM
mutant-minitest (0.11.26)
minitest (~> 5.11)
mutant (= 0.11.26)
net-imap (0.3.4)
net-imap (0.4.14)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.1.3)
net-protocol (0.2.2)
timeout
net-smtp (0.3.3)
net-smtp (0.5.0)
net-protocol
nio4r (2.7.3)
nokogiri (1.14.5)
Expand All @@ -188,31 +204,40 @@ GEM
ast (~> 2.4.1)
racc
pg (1.4.5)
psych (5.1.2)
stringio
puma (5.6.8)
nio4r (~> 2.0)
racc (1.6.2)
rack (2.2.8)
rack-session (1.0.2)
rack (< 3)
rack-test (2.0.2)
rack (>= 1.3)
rails (7.0.4)
actioncable (= 7.0.4)
actionmailbox (= 7.0.4)
actionmailer (= 7.0.4)
actionpack (= 7.0.4)
actiontext (= 7.0.4)
actionview (= 7.0.4)
activejob (= 7.0.4)
activemodel (= 7.0.4)
activerecord (= 7.0.4)
activestorage (= 7.0.4)
activesupport (= 7.0.4)
rackup (1.0.0)
rack (< 3)
webrick
rails (7.2.0)
actioncable (= 7.2.0)
actionmailbox (= 7.2.0)
actionmailer (= 7.2.0)
actionpack (= 7.2.0)
actiontext (= 7.2.0)
actionview (= 7.2.0)
activejob (= 7.2.0)
activemodel (= 7.2.0)
activerecord (= 7.2.0)
activestorage (= 7.2.0)
activesupport (= 7.2.0)
bundler (>= 1.15.0)
railties (= 7.0.4)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
railties (= 7.2.0)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.4)
loofah (~> 2.19, >= 2.19.1)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
rails_event_store (2.13.0)
activejob (>= 6.0)
activemodel (>= 6.0)
Expand All @@ -224,19 +249,24 @@ GEM
ruby_event_store-browser (= 2.13.0)
rails_event_store_active_record (2.13.0)
ruby_event_store-active_record (= 2.13.0)
railties (7.0.4)
actionpack (= 7.0.4)
activesupport (= 7.0.4)
method_source
railties (7.2.0)
actionpack (= 7.2.0)
activesupport (= 7.2.0)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rake (13.0.6)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rdoc (6.7.0)
psych (>= 4.0.0)
redis (4.8.0)
regexp_parser (2.8.3)
reline (0.5.9)
io-console (~> 0.5)
ruby2_keywords (0.0.5)
ruby_event_store (2.13.0)
concurrent-ruby (~> 1.0, >= 1.1.6)
Expand All @@ -249,6 +279,7 @@ GEM
ruby_event_store-transformations (0.1.0)
activesupport (>= 5.0)
ruby_event_store (>= 2.0.0, < 3.0.0)
securerandom (0.3.1)
skylight (5.1.1)
activesupport (>= 5.2.0)
sorbet-runtime (0.5.10648)
Expand All @@ -261,6 +292,7 @@ GEM
sprockets (>= 3.0.0)
stimulus-rails (1.2.1)
railties (>= 6.0.0)
stringio (3.1.1)
tailwindcss-rails (2.6.0)
railties (>= 7.0.0)
tailwindcss-rails (2.6.0-arm64-darwin)
Expand All @@ -269,8 +301,8 @@ GEM
railties (>= 7.0.0)
tailwindcss-rails (2.6.0-x86_64-linux)
railties (>= 7.0.0)
thor (1.2.1)
timeout (0.3.1)
thor (1.3.1)
timeout (0.4.1)
turbo-rails (1.3.3)
actionpack (>= 6.0.0)
activejob (>= 6.0.0)
Expand All @@ -280,7 +312,9 @@ GEM
unparser (0.6.12)
diff-lcs (~> 1.3)
parser (>= 3.2.2.4)
websocket-driver (0.7.5)
useragent (0.16.10)
webrick (1.8.1)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
zeitwerk (2.6.6)
Expand All @@ -307,7 +341,7 @@ DEPENDENCIES
mutant-minitest (= 0.11.26)!
pg (~> 1.4)
puma (~> 5.6)
rails (= 7.0.4)
rails (= 7.2.0)
rails_event_store (>= 2.13.0, < 3.0)
redis
skylight
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Products
class Product < ApplicationRecord
self.table_name = "products"
serialize :current_prices_calendar, Array
serialize :current_prices_calendar, type: Array

def current_prices_calendar
return [] unless super
Expand Down

0 comments on commit e463fb1

Please sign in to comment.