Update dependency rails to "~> 7.2.0", ">= 7.2.0" - abandoned #29
3
.gitignore
vendored
3
.gitignore
vendored
@ -33,3 +33,6 @@
|
|||||||
|
|
||||||
# Ignore master key for decrypting credentials and more.
|
# Ignore master key for decrypting credentials and more.
|
||||||
/config/master.key
|
/config/master.key
|
||||||
|
|
||||||
|
/node_modules
|
||||||
|
/public/packs
|
3
Gemfile
3
Gemfile
@ -3,7 +3,7 @@ source "https://rubygems.org"
|
|||||||
ruby "3.3.4"
|
ruby "3.3.4"
|
||||||
|
|
||||||
# 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.3", ">= 7.1.3.2"
|
gem "rails", "~> 7.2.0", ">= 7.2.0"
|
||||||
|
|
||||||
# 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"
|
||||||
@ -68,3 +68,4 @@ gem "money"
|
|||||||
gem 'acts-as-taggable-on'
|
gem 'acts-as-taggable-on'
|
||||||
|
|
||||||
gem "rubytree"
|
gem "rubytree"
|
||||||
|
gem 'react-rails'
|
151
Gemfile.lock
151
Gemfile.lock
@ -1,82 +1,82 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
actioncable (7.1.3.4)
|
actioncable (7.2.0)
|
||||||
actionpack (= 7.1.3.4)
|
actionpack (= 7.2.0)
|
||||||
activesupport (= 7.1.3.4)
|
activesupport (= 7.2.0)
|
||||||
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.3.4)
|
actionmailbox (7.2.0)
|
||||||
actionpack (= 7.1.3.4)
|
actionpack (= 7.2.0)
|
||||||
activejob (= 7.1.3.4)
|
activejob (= 7.2.0)
|
||||||
activerecord (= 7.1.3.4)
|
activerecord (= 7.2.0)
|
||||||
activestorage (= 7.1.3.4)
|
activestorage (= 7.2.0)
|
||||||
activesupport (= 7.1.3.4)
|
activesupport (= 7.2.0)
|
||||||
mail (>= 2.7.1)
|
mail (>= 2.8.0)
|
||||||
net-imap
|
actionmailer (7.2.0)
|
||||||
net-pop
|
actionpack (= 7.2.0)
|
||||||
net-smtp
|
actionview (= 7.2.0)
|
||||||
actionmailer (7.1.3.4)
|
activejob (= 7.2.0)
|
||||||
actionpack (= 7.1.3.4)
|
activesupport (= 7.2.0)
|
||||||
actionview (= 7.1.3.4)
|
mail (>= 2.8.0)
|
||||||
activejob (= 7.1.3.4)
|
|
||||||
activesupport (= 7.1.3.4)
|
|
||||||
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.3.4)
|
actionpack (7.2.0)
|
||||||
actionview (= 7.1.3.4)
|
actionview (= 7.2.0)
|
||||||
activesupport (= 7.1.3.4)
|
activesupport (= 7.2.0)
|
||||||
nokogiri (>= 1.8.5)
|
nokogiri (>= 1.8.5)
|
||||||
racc
|
racc
|
||||||
rack (>= 2.2.4)
|
rack (>= 2.2.4, < 3.2)
|
||||||
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.3.4)
|
useragent (~> 0.16)
|
||||||
actionpack (= 7.1.3.4)
|
actiontext (7.2.0)
|
||||||
activerecord (= 7.1.3.4)
|
actionpack (= 7.2.0)
|
||||||
activestorage (= 7.1.3.4)
|
activerecord (= 7.2.0)
|
||||||
activesupport (= 7.1.3.4)
|
activestorage (= 7.2.0)
|
||||||
|
activesupport (= 7.2.0)
|
||||||
globalid (>= 0.6.0)
|
globalid (>= 0.6.0)
|
||||||
nokogiri (>= 1.8.5)
|
nokogiri (>= 1.8.5)
|
||||||
actionview (7.1.3.4)
|
actionview (7.2.0)
|
||||||
activesupport (= 7.1.3.4)
|
activesupport (= 7.2.0)
|
||||||
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.3.4)
|
activejob (7.2.0)
|
||||||
activesupport (= 7.1.3.4)
|
activesupport (= 7.2.0)
|
||||||
globalid (>= 0.3.6)
|
globalid (>= 0.3.6)
|
||||||
activemodel (7.1.3.4)
|
activemodel (7.2.0)
|
||||||
activesupport (= 7.1.3.4)
|
activesupport (= 7.2.0)
|
||||||
activerecord (7.1.3.4)
|
activerecord (7.2.0)
|
||||||
activemodel (= 7.1.3.4)
|
activemodel (= 7.2.0)
|
||||||
activesupport (= 7.1.3.4)
|
activesupport (= 7.2.0)
|
||||||
timeout (>= 0.4.0)
|
timeout (>= 0.4.0)
|
||||||
activestorage (7.1.3.4)
|
activestorage (7.2.0)
|
||||||
actionpack (= 7.1.3.4)
|
actionpack (= 7.2.0)
|
||||||
activejob (= 7.1.3.4)
|
activejob (= 7.2.0)
|
||||||
activerecord (= 7.1.3.4)
|
activerecord (= 7.2.0)
|
||||||
activesupport (= 7.1.3.4)
|
activesupport (= 7.2.0)
|
||||||
marcel (~> 1.0)
|
marcel (~> 1.0)
|
||||||
activesupport (7.1.3.4)
|
activesupport (7.2.0)
|
||||||
base64
|
base64
|
||||||
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)
|
||||||
minitest (>= 5.1)
|
minitest (>= 5.1)
|
||||||
mutex_m
|
securerandom (>= 0.3)
|
||||||
tzinfo (~> 2.0)
|
tzinfo (~> 2.0, >= 2.0.5)
|
||||||
acts-as-taggable-on (10.0.0)
|
acts-as-taggable-on (5.0.0)
|
||||||
activerecord (>= 6.1, < 7.2)
|
activerecord (>= 4.2.8)
|
||||||
|
babel-source (5.8.35)
|
||||||
|
babel-transpiler (0.7.0)
|
||||||
|
babel-source (>= 4.0, < 6)
|
||||||
|
execjs (~> 2.0)
|
||||||
base64 (0.2.0)
|
base64 (0.2.0)
|
||||||
bigdecimal (3.1.8)
|
bigdecimal (3.1.8)
|
||||||
bindex (0.8.1)
|
bindex (0.8.1)
|
||||||
@ -94,6 +94,7 @@ GEM
|
|||||||
diff-lcs (1.5.1)
|
diff-lcs (1.5.1)
|
||||||
drb (2.2.1)
|
drb (2.2.1)
|
||||||
erubi (1.13.0)
|
erubi (1.13.0)
|
||||||
|
execjs (2.9.1)
|
||||||
factory_bot (6.4.6)
|
factory_bot (6.4.6)
|
||||||
activesupport (>= 5.0.0)
|
activesupport (>= 5.0.0)
|
||||||
factory_bot_rails (6.4.3)
|
factory_bot_rails (6.4.3)
|
||||||
@ -117,6 +118,7 @@ GEM
|
|||||||
actionview (>= 5.0.0)
|
actionview (>= 5.0.0)
|
||||||
activesupport (>= 5.0.0)
|
activesupport (>= 5.0.0)
|
||||||
json (2.7.2)
|
json (2.7.2)
|
||||||
|
logger (1.6.0)
|
||||||
loofah (2.22.0)
|
loofah (2.22.0)
|
||||||
crass (~> 1.0.2)
|
crass (~> 1.0.2)
|
||||||
nokogiri (>= 1.12.0)
|
nokogiri (>= 1.12.0)
|
||||||
@ -132,7 +134,6 @@ GEM
|
|||||||
money (6.19.0)
|
money (6.19.0)
|
||||||
i18n (>= 0.6.4, <= 2)
|
i18n (>= 0.6.4, <= 2)
|
||||||
msgpack (1.7.2)
|
msgpack (1.7.2)
|
||||||
mutex_m (0.2.0)
|
|
||||||
net-imap (0.4.14)
|
net-imap (0.4.14)
|
||||||
date
|
date
|
||||||
net-protocol
|
net-protocol
|
||||||
@ -172,20 +173,20 @@ GEM
|
|||||||
rackup (2.1.0)
|
rackup (2.1.0)
|
||||||
rack (>= 3)
|
rack (>= 3)
|
||||||
webrick (~> 1.8)
|
webrick (~> 1.8)
|
||||||
rails (7.1.3.4)
|
rails (7.2.0)
|
||||||
actioncable (= 7.1.3.4)
|
actioncable (= 7.2.0)
|
||||||
actionmailbox (= 7.1.3.4)
|
actionmailbox (= 7.2.0)
|
||||||
actionmailer (= 7.1.3.4)
|
actionmailer (= 7.2.0)
|
||||||
actionpack (= 7.1.3.4)
|
actionpack (= 7.2.0)
|
||||||
actiontext (= 7.1.3.4)
|
actiontext (= 7.2.0)
|
||||||
actionview (= 7.1.3.4)
|
actionview (= 7.2.0)
|
||||||
activejob (= 7.1.3.4)
|
activejob (= 7.2.0)
|
||||||
activemodel (= 7.1.3.4)
|
activemodel (= 7.2.0)
|
||||||
activerecord (= 7.1.3.4)
|
activerecord (= 7.2.0)
|
||||||
activestorage (= 7.1.3.4)
|
activestorage (= 7.2.0)
|
||||||
activesupport (= 7.1.3.4)
|
activesupport (= 7.2.0)
|
||||||
bundler (>= 1.15.0)
|
bundler (>= 1.15.0)
|
||||||
railties (= 7.1.3.4)
|
railties (= 7.2.0)
|
||||||
rails-dom-testing (2.2.0)
|
rails-dom-testing (2.2.0)
|
||||||
activesupport (>= 5.0.0)
|
activesupport (>= 5.0.0)
|
||||||
minitest
|
minitest
|
||||||
@ -193,10 +194,10 @@ GEM
|
|||||||
rails-html-sanitizer (1.6.0)
|
rails-html-sanitizer (1.6.0)
|
||||||
loofah (~> 2.21)
|
loofah (~> 2.21)
|
||||||
nokogiri (~> 1.14)
|
nokogiri (~> 1.14)
|
||||||
railties (7.1.3.4)
|
railties (7.2.0)
|
||||||
actionpack (= 7.1.3.4)
|
actionpack (= 7.2.0)
|
||||||
activesupport (= 7.1.3.4)
|
activesupport (= 7.2.0)
|
||||||
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)
|
||||||
@ -204,6 +205,12 @@ GEM
|
|||||||
rake (13.2.1)
|
rake (13.2.1)
|
||||||
rdoc (6.7.0)
|
rdoc (6.7.0)
|
||||||
psych (>= 4.0.0)
|
psych (>= 4.0.0)
|
||||||
|
react-rails (3.2.1)
|
||||||
|
babel-transpiler (>= 0.7.0)
|
||||||
|
connection_pool
|
||||||
|
execjs
|
||||||
|
railties (>= 3.2)
|
||||||
|
tilt
|
||||||
redis (5.2.0)
|
redis (5.2.0)
|
||||||
redis-client (>= 0.22.0)
|
redis-client (>= 0.22.0)
|
||||||
redis-client (0.22.2)
|
redis-client (0.22.2)
|
||||||
@ -229,6 +236,7 @@ GEM
|
|||||||
rspec-support (3.12.2)
|
rspec-support (3.12.2)
|
||||||
rubytree (2.0.3)
|
rubytree (2.0.3)
|
||||||
json (~> 2.0, > 2.3.1)
|
json (~> 2.0, > 2.3.1)
|
||||||
|
securerandom (0.3.1)
|
||||||
sprockets (4.2.1)
|
sprockets (4.2.1)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
rack (>= 2.2.4, < 4)
|
rack (>= 2.2.4, < 4)
|
||||||
@ -240,6 +248,7 @@ GEM
|
|||||||
railties (>= 6.0.0)
|
railties (>= 6.0.0)
|
||||||
stringio (3.1.1)
|
stringio (3.1.1)
|
||||||
thor (1.3.1)
|
thor (1.3.1)
|
||||||
|
tilt (2.4.0)
|
||||||
timeout (0.4.1)
|
timeout (0.4.1)
|
||||||
turbo-rails (2.0.6)
|
turbo-rails (2.0.6)
|
||||||
actionpack (>= 6.0.0)
|
actionpack (>= 6.0.0)
|
||||||
@ -247,6 +256,7 @@ GEM
|
|||||||
railties (>= 6.0.0)
|
railties (>= 6.0.0)
|
||||||
tzinfo (2.0.6)
|
tzinfo (2.0.6)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
|
useragent (0.16.10)
|
||||||
web-console (4.2.1)
|
web-console (4.2.1)
|
||||||
actionview (>= 6.0.0)
|
actionview (>= 6.0.0)
|
||||||
activemodel (>= 6.0.0)
|
activemodel (>= 6.0.0)
|
||||||
@ -278,7 +288,8 @@ DEPENDENCIES
|
|||||||
pg (~> 1.1)
|
pg (~> 1.1)
|
||||||
pry
|
pry
|
||||||
puma (>= 5.0)
|
puma (>= 5.0)
|
||||||
rails (~> 7.1.3, >= 7.1.3.2)
|
rails (~> 7.2.0, >= 7.2.0)
|
||||||
|
react-rails
|
||||||
redis (>= 4.0.1)
|
redis (>= 4.0.1)
|
||||||
rspec-rails (~> 6.1.0)
|
rspec-rails (~> 6.1.0)
|
||||||
rubytree
|
rubytree
|
||||||
|
3
app/assets/javascripts/application.js
Normal file
3
app/assets/javascripts/application.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
//= require react
|
||||||
|
//= require react_ujs
|
||||||
|
//= require components
|
1
app/assets/javascripts/components.js
Normal file
1
app/assets/javascripts/components.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
//= require_tree ./components
|
0
app/assets/javascripts/components/.keep
Normal file
0
app/assets/javascripts/components/.keep
Normal file
6
app/assets/javascripts/server_rendering.js
Normal file
6
app/assets/javascripts/server_rendering.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
//= require react-server
|
||||||
|
//= require react_ujs
|
||||||
|
//= require ./components
|
||||||
|
//
|
||||||
|
// By default, this file is loaded for server-side rendering.
|
||||||
|
// It should require your components and any dependencies.
|
4
config/initializers/react_server_rendering.rb
Normal file
4
config/initializers/react_server_rendering.rb
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
# To render React components in production, precompile the server rendering manifest:
|
||||||
|
Rails.application.config.assets.precompile += ["server_rendering.js"]
|
Loading…
x
Reference in New Issue
Block a user