Add Propshaft for tests

Otherwise Crono doesn't have an asset pipeline, so the engine initializer
raises an error.
This commit is contained in:
Janko Marohnić
2024-08-19 14:49:25 +02:00
parent 6bf1ec9cfd
commit 9a8e8049f9
2 changed files with 177 additions and 140 deletions

View File

@@ -7,198 +7,233 @@ PATH
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actioncable (7.0.3.1) actioncable (7.2.0)
actionpack (= 7.0.3.1) actionpack (= 7.2.0)
activesupport (= 7.0.3.1) activesupport (= 7.2.0)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
actionmailbox (7.0.3.1) zeitwerk (~> 2.6)
actionpack (= 7.0.3.1) actionmailbox (7.2.0)
activejob (= 7.0.3.1) actionpack (= 7.2.0)
activerecord (= 7.0.3.1) activejob (= 7.2.0)
activestorage (= 7.0.3.1) activerecord (= 7.2.0)
activesupport (= 7.0.3.1) activestorage (= 7.2.0)
mail (>= 2.7.1) activesupport (= 7.2.0)
net-imap mail (>= 2.8.0)
net-pop actionmailer (7.2.0)
net-smtp actionpack (= 7.2.0)
actionmailer (7.0.3.1) actionview (= 7.2.0)
actionpack (= 7.0.3.1) activejob (= 7.2.0)
actionview (= 7.0.3.1) activesupport (= 7.2.0)
activejob (= 7.0.3.1) mail (>= 2.8.0)
activesupport (= 7.0.3.1) rails-dom-testing (~> 2.2)
mail (~> 2.5, >= 2.5.4) actionpack (7.2.0)
net-imap actionview (= 7.2.0)
net-pop activesupport (= 7.2.0)
net-smtp nokogiri (>= 1.8.5)
rails-dom-testing (~> 2.0) racc
actionpack (7.0.3.1) rack (>= 2.2.4, < 3.2)
actionview (= 7.0.3.1) rack-session (>= 1.0.1)
activesupport (= 7.0.3.1)
rack (~> 2.0, >= 2.2.0)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.0, >= 1.2.0) rails-html-sanitizer (~> 1.6)
actiontext (7.0.3.1) useragent (~> 0.16)
actionpack (= 7.0.3.1) actiontext (7.2.0)
activerecord (= 7.0.3.1) actionpack (= 7.2.0)
activestorage (= 7.0.3.1) activerecord (= 7.2.0)
activesupport (= 7.0.3.1) 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.0.3.1) actionview (7.2.0)
activesupport (= 7.0.3.1) activesupport (= 7.2.0)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.4) erubi (~> 1.11)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.1, >= 1.2.0) rails-html-sanitizer (~> 1.6)
activejob (7.0.3.1) activejob (7.2.0)
activesupport (= 7.0.3.1) activesupport (= 7.2.0)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (7.0.3.1) activemodel (7.2.0)
activesupport (= 7.0.3.1) activesupport (= 7.2.0)
activerecord (7.0.3.1) activerecord (7.2.0)
activemodel (= 7.0.3.1) activemodel (= 7.2.0)
activesupport (= 7.0.3.1) activesupport (= 7.2.0)
activestorage (7.0.3.1) timeout (>= 0.4.0)
actionpack (= 7.0.3.1) activestorage (7.2.0)
activejob (= 7.0.3.1) actionpack (= 7.2.0)
activerecord (= 7.0.3.1) activejob (= 7.2.0)
activesupport (= 7.0.3.1) activerecord (= 7.2.0)
activesupport (= 7.2.0)
marcel (~> 1.0) marcel (~> 1.0)
mini_mime (>= 1.1.0) activesupport (7.2.0)
activesupport (7.0.3.1) base64
concurrent-ruby (~> 1.0, >= 1.0.2) bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1) minitest (>= 5.1)
tzinfo (~> 2.0) securerandom (>= 0.3)
builder (3.2.4) tzinfo (~> 2.0, >= 2.0.5)
base64 (0.2.0)
bigdecimal (3.1.8)
builder (3.3.0)
byebug (11.1.3) byebug (11.1.3)
combustion (1.3.6) combustion (1.3.6)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
railties (>= 3.0.0) railties (>= 3.0.0)
thor (>= 0.14.6) thor (>= 0.14.6)
concurrent-ruby (1.1.10) concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crass (1.0.6) crass (1.0.6)
daemons (1.4.1) daemons (1.4.1)
diff-lcs (1.5.0) date (3.3.4)
digest (3.1.0) diff-lcs (1.5.1)
erubi (1.10.0) drb (2.2.1)
globalid (1.0.0) erubi (1.13.0)
activesupport (>= 5.0) globalid (1.2.1)
activesupport (>= 6.1)
haml (5.2.2) haml (5.2.2)
temple (>= 0.8.0) temple (>= 0.8.0)
tilt tilt
i18n (1.12.0) i18n (1.14.5)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
loofah (2.18.0) io-console (0.7.2)
irb (1.14.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
logger (1.6.0)
loofah (2.22.0)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.5.9) nokogiri (>= 1.12.0)
mail (2.7.1) mail (2.8.1)
mini_mime (>= 0.1.1) mini_mime (>= 0.1.1)
marcel (1.0.2) net-imap
method_source (1.0.0) net-pop
mini_mime (1.1.2) net-smtp
minitest (5.16.2) marcel (1.0.4)
mini_mime (1.1.5)
minitest (5.25.1)
mustermann (1.1.1) mustermann (1.1.1)
ruby2_keywords (~> 0.0.1) ruby2_keywords (~> 0.0.1)
net-imap (0.2.3) net-imap (0.4.14)
digest date
net-protocol net-protocol
strscan net-pop (0.1.2)
net-pop (0.1.1) net-protocol (0.2.2)
digest timeout
net-smtp (0.5.0)
net-protocol net-protocol
timeout nio4r (2.7.3)
net-protocol (0.1.3) nokogiri (1.16.7-arm64-darwin)
timeout
net-smtp (0.3.1)
digest
net-protocol
timeout
nio4r (2.5.8)
nokogiri (1.14.0-arm64-darwin)
racc (~> 1.4) racc (~> 1.4)
nokogiri (1.14.0-x86_64-darwin) nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4) racc (~> 1.4)
nokogiri (1.14.0-x86_64-linux) nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4) racc (~> 1.4)
racc (1.6.2) propshaft (0.9.1)
rack (2.2.4) actionpack (>= 7.0.0)
activesupport (>= 7.0.0)
rack
railties (>= 7.0.0)
psych (5.1.2)
stringio
racc (1.8.1)
rack (2.2.9)
rack-protection (2.2.0) rack-protection (2.2.0)
rack rack
rack-test (1.1.0) rack-session (1.0.2)
rack (>= 1.0, < 3) rack (< 3)
rails (7.0.3.1) rack-test (2.1.0)
actioncable (= 7.0.3.1) rack (>= 1.3)
actionmailbox (= 7.0.3.1) rackup (1.0.0)
actionmailer (= 7.0.3.1) rack (< 3)
actionpack (= 7.0.3.1) webrick
actiontext (= 7.0.3.1) rails (7.2.0)
actionview (= 7.0.3.1) actioncable (= 7.2.0)
activejob (= 7.0.3.1) actionmailbox (= 7.2.0)
activemodel (= 7.0.3.1) actionmailer (= 7.2.0)
activerecord (= 7.0.3.1) actionpack (= 7.2.0)
activestorage (= 7.0.3.1) actiontext (= 7.2.0)
activesupport (= 7.0.3.1) 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) bundler (>= 1.15.0)
railties (= 7.0.3.1) railties (= 7.2.0)
rails-dom-testing (2.0.3) rails-dom-testing (2.2.0)
activesupport (>= 4.2.0) activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6) nokogiri (>= 1.6)
rails-html-sanitizer (1.4.3) rails-html-sanitizer (1.6.0)
loofah (~> 2.3) loofah (~> 2.21)
railties (7.0.3.1) nokogiri (~> 1.14)
actionpack (= 7.0.3.1) railties (7.2.0)
activesupport (= 7.0.3.1) actionpack (= 7.2.0)
method_source activesupport (= 7.2.0)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2) rake (>= 12.2)
thor (~> 1.0) thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.5) zeitwerk (~> 2.6)
rake (13.0.6) rake (13.2.1)
rspec (3.11.0) rdoc (6.7.0)
rspec-core (~> 3.11.0) psych (>= 4.0.0)
rspec-expectations (~> 3.11.0) reline (0.5.9)
rspec-mocks (~> 3.11.0) io-console (~> 0.5)
rspec-core (3.11.0) rspec (3.13.0)
rspec-support (~> 3.11.0) rspec-core (~> 3.13.0)
rspec-expectations (3.11.0) rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.1)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0) rspec-support (~> 3.13.0)
rspec-mocks (3.11.1) rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0) rspec-support (~> 3.13.0)
rspec-rails (5.1.2) rspec-rails (6.1.4)
actionpack (>= 5.2) actionpack (>= 6.1)
activesupport (>= 5.2) activesupport (>= 6.1)
railties (>= 5.2) railties (>= 6.1)
rspec-core (~> 3.10) rspec-core (~> 3.13)
rspec-expectations (~> 3.10) rspec-expectations (~> 3.13)
rspec-mocks (~> 3.10) rspec-mocks (~> 3.13)
rspec-support (~> 3.10) rspec-support (~> 3.13)
rspec-support (3.11.0) rspec-support (3.13.1)
ruby2_keywords (0.0.5) ruby2_keywords (0.0.5)
securerandom (0.3.1)
sinatra (2.2.0) sinatra (2.2.0)
mustermann (~> 1.0) mustermann (~> 1.0)
rack (~> 2.2) rack (~> 2.2)
rack-protection (= 2.2.0) rack-protection (= 2.2.0)
tilt (~> 2.0) tilt (~> 2.0)
sqlite3 (1.4.2) sqlite3 (2.0.4-arm64-darwin)
strscan (3.0.4) sqlite3 (2.0.4-x86_64-darwin)
sqlite3 (2.0.4-x86_64-linux-gnu)
stringio (3.1.1)
temple (0.8.2) temple (0.8.2)
thor (1.2.1) thor (1.3.1)
tilt (2.0.10) tilt (2.0.10)
timecop (0.9.5) timecop (0.9.5)
timeout (0.3.0) timeout (0.4.1)
tzinfo (2.0.4) tzinfo (2.0.6)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
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.0)
websocket-extensions (0.1.5) websocket-extensions (0.1.5)
zeitwerk (2.6.0) zeitwerk (2.6.17)
PLATFORMS PLATFORMS
arm64-darwin-21 arm64-darwin-21
arm64-darwin-23
x86_64-darwin-21 x86_64-darwin-21
x86_64-darwin-22 x86_64-darwin-22
x86_64-linux x86_64-linux
@@ -210,6 +245,7 @@ DEPENDENCIES
crono! crono!
daemons daemons
haml haml
propshaft
rack-test rack-test
rake (>= 10.0) rake (>= 10.0)
rspec (>= 3.0) rspec (>= 3.0)

View File

@@ -29,4 +29,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'haml' s.add_development_dependency 'haml'
s.add_development_dependency 'rack-test' s.add_development_dependency 'rack-test'
s.add_development_dependency 'daemons' s.add_development_dependency 'daemons'
s.add_development_dependency 'propshaft'
end end