From f65fe20ba74a7641145df62edc1440f9cf95d3b2 Mon Sep 17 00:00:00 2001 From: a-figueiredo-campos Date: Mon, 30 Jan 2023 17:15:29 +0000 Subject: [PATCH 1/3] Updated gem files and added gemika for rails 6/7 --- .gitignore | 6 +- .travis.yml | 12 +- Gemfile.lock | 273 ++-- README.md | 23 +- Rakefile | 11 +- gemfiles/rails_6.gemfile | 14 + gemfiles/rails_6.gemfile.lock | 242 +++ gemfiles/rails_7.gemfile | 16 + gemfiles/rails_7.gemfile.lock | 232 +++ lib/multi_site.rb | 24 +- lib/multi_site/action_controller.rb | 18 +- lib/multi_site/active_record.rb | 15 +- lib/multi_site/rails/routes.rb | 32 +- lib/multi_site/supra/action_controller.rb | 13 +- lib/multi_site/version.rb | 2 +- multi_site.gemspec | 30 +- .../admin/supra_site_controller_spec.rb | 20 +- spec/controllers/users_controller_spec.rb | 29 +- spec/dummy.6.0/.browserslistrc | 1 + spec/dummy.6.0/.gitignore | 41 + spec/dummy.6.0/.ruby-version | 1 + .../README.rdoc => dummy.6.0/README.md} | 6 +- spec/{dummy => dummy.6.0}/Rakefile | 4 +- spec/dummy.6.0/app/assets/config/manifest.js | 2 + .../app/assets/images/.keep | 0 .../app/assets/stylesheets/application.css | 15 + .../app/assets/stylesheets/users.scss | 3 + .../app/channels/application_cable/channel.rb | 4 + .../channels/application_cable/connection.rb | 4 + .../app/controllers/admin/admin_controller.rb | 15 + .../app/controllers/application_controller.rb | 11 + .../app/controllers/concerns/.keep | 0 .../app/controllers/users_controller.rb | 9 + .../app/helpers/application_helper.rb | 0 spec/dummy.6.0/app/helpers/users_helper.rb | 2 + .../app/javascript/channels/consumer.js | 6 + .../app/javascript/channels/index.js | 5 + .../app/javascript/packs/application.js | 17 + spec/dummy.6.0/app/jobs/application_job.rb | 7 + .../app/mailers/application_mailer.rb | 4 + .../app/models/application_record.rb | 3 + .../app/models/concerns}/.keep | 0 spec/dummy.6.0/app/models/site.rb | 2 + spec/dummy.6.0/app/models/user.rb | 3 + .../app/views/layouts/application.html.erb | 15 + .../app/views/layouts/mailer.html.erb | 13 + .../app/views/layouts/mailer.text.erb | 1 + spec/dummy.6.0/babel.config.js | 72 + spec/dummy.6.0/bin/bundle | 114 ++ spec/dummy.6.0/bin/rails | 9 + spec/dummy.6.0/bin/rake | 9 + spec/dummy.6.0/bin/setup | 36 + spec/dummy.6.0/bin/spring | 17 + spec/dummy.6.0/bin/webpack | 18 + spec/dummy.6.0/bin/webpack-dev-server | 18 + spec/dummy.6.0/bin/yarn | 11 + spec/{dummy => dummy.6.0}/config.ru | 3 +- spec/dummy.6.0/config/application.rb | 19 + spec/dummy.6.0/config/boot.rb | 4 + spec/dummy.6.0/config/cable.yml | 10 + spec/dummy.6.0/config/credentials.yml.enc | 1 + spec/{dummy => dummy.6.0}/config/database.yml | 20 +- spec/dummy.6.0/config/environment.rb | 5 + .../config/environments/development.rb | 62 + .../config/environments/production.rb | 112 ++ .../config/environments/test.rb | 31 +- .../application_controller_renderer.rb | 8 + spec/dummy.6.0/config/initializers/assets.rb | 14 + .../initializers/backtrace_silencers.rb | 0 .../initializers/content_security_policy.rb | 30 + .../config/initializers/cookies_serializer.rb | 5 + .../initializers/filter_parameter_logging.rb | 0 .../config/initializers/inflections.rb | 0 .../config/initializers/mime_types.rb | 1 - .../config/initializers/wrap_parameters.rb | 4 +- .../config/locales/en.yml | 12 +- spec/dummy.6.0/config/puma.rb | 38 + spec/{dummy => dummy.6.0}/config/routes.rb | 7 +- spec/dummy.6.0/config/spring.rb | 6 + spec/dummy.6.0/config/storage.yml | 34 + spec/dummy.6.0/config/webpack/development.js | 5 + spec/dummy.6.0/config/webpack/environment.js | 3 + spec/dummy.6.0/config/webpack/production.js | 5 + spec/dummy.6.0/config/webpack/test.js | 5 + spec/dummy.6.0/config/webpacker.yml | 96 ++ .../db/migrate/20230130163134_create_users.rb | 9 + .../migrate/20230130163141_create_sites.rb} | 3 +- spec/dummy.6.0/db/schema.rb | 29 + spec/dummy.6.0/db/seeds.rb | 7 + .../app/models => dummy.6.0/lib/assets}/.keep | 0 .../concerns => dummy.6.0/lib/tasks}/.keep | 0 .../{dummy/lib/assets => dummy.6.0/log}/.keep | 0 spec/dummy.6.0/package.json | 14 + spec/dummy.6.0/postcss.config.js | 12 + spec/{dummy => dummy.6.0}/public/404.html | 39 +- spec/{dummy => dummy.6.0}/public/422.html | 39 +- spec/{dummy => dummy.6.0}/public/500.html | 37 +- .../public/apple-touch-icon-precomposed.png} | 0 .../public/apple-touch-icon.png} | 0 spec/{dummy => dummy.6.0}/public/favicon.ico | 0 spec/dummy.6.0/public/robots.txt | 1 + .../javascripts => dummy.6.0/storage}/.keep | 0 .../test/application_system_test_case.rb | 5 + .../application_cable/connection_test.rb | 11 + .../test/controllers}/.keep | 0 .../test/controllers/users_controller_test.rb | 7 + spec/dummy.6.0/test/fixtures/.keep | 0 spec/dummy.6.0/test/fixtures/files/.keep | 0 spec/dummy.6.0/test/fixtures/sites.yml | 11 + spec/dummy.6.0/test/fixtures/users.yml | 11 + spec/dummy.6.0/test/helpers/.keep | 0 spec/dummy.6.0/test/integration/.keep | 0 spec/dummy.6.0/test/mailers/.keep | 0 spec/dummy.6.0/test/models/.keep | 0 spec/dummy.6.0/test/models/site_test.rb | 7 + spec/dummy.6.0/test/models/user_test.rb | 7 + spec/dummy.6.0/test/system/.keep | 0 spec/dummy.6.0/test/test_helper.rb | 13 + spec/dummy.6.0/vendor/.keep | 0 spec/dummy.6.0/yarn.lock | 1391 +++++++++++++++++ spec/dummy.7.0/.gitattributes | 7 + spec/{dummy => dummy.7.0}/.gitignore | 25 +- spec/dummy.7.0/.ruby-version | 1 + spec/dummy.7.0/README.md | 24 + spec/dummy.7.0/Rakefile | 6 + spec/dummy.7.0/app/assets/config/manifest.js | 4 + spec/dummy.7.0/app/assets/images/.keep | 0 .../app/assets/stylesheets/application.css | 15 + .../app/channels/application_cable/channel.rb | 4 + .../channels/application_cable/connection.rb | 4 + .../app/controllers/admin/admin_controller.rb | 15 + .../app/controllers/application_controller.rb | 12 + spec/dummy.7.0/app/controllers/concerns/.keep | 0 .../app/controllers/users_controller.rb | 9 + .../app/helpers/application_helper.rb | 2 + spec/dummy.7.0/app/helpers/users_helper.rb | 2 + spec/dummy.7.0/app/javascript/application.js | 3 + .../app/javascript/controllers/application.js | 9 + .../controllers/hello_controller.js | 7 + .../app/javascript/controllers/index.js | 11 + spec/dummy.7.0/app/jobs/application_job.rb | 7 + .../app/mailers/application_mailer.rb | 4 + .../app/models/application_record.rb | 3 + spec/dummy.7.0/app/models/concerns/.keep | 0 spec/dummy.7.0/app/models/site.rb | 2 + spec/dummy.7.0/app/models/user.rb | 3 + .../app/views/layouts/application.html.erb | 16 + .../app/views/layouts/mailer.html.erb | 13 + .../app/views/layouts/mailer.text.erb | 1 + spec/dummy.7.0/bin/bundle | 114 ++ spec/dummy.7.0/bin/importmap | 4 + spec/dummy.7.0/bin/rails | 4 + spec/dummy.7.0/bin/rake | 4 + spec/dummy.7.0/bin/setup | 33 + spec/dummy.7.0/config.ru | 6 + spec/dummy.7.0/config/application.rb | 22 + spec/dummy.7.0/config/boot.rb | 4 + spec/dummy.7.0/config/cable.yml | 11 + spec/dummy.7.0/config/credentials.yml.enc | 1 + spec/dummy.7.0/config/database.yml | 25 + spec/dummy.7.0/config/environment.rb | 5 + .../config/environments/development.rb | 70 + .../config/environments/production.rb | 93 ++ spec/dummy.7.0/config/environments/test.rb | 60 + spec/dummy.7.0/config/importmap.rb | 7 + spec/dummy.7.0/config/initializers/assets.rb | 12 + .../initializers/content_security_policy.rb | 25 + .../initializers/filter_parameter_logging.rb | 8 + .../config/initializers/inflections.rb | 16 + .../config/initializers/permissions_policy.rb | 11 + spec/dummy.7.0/config/locales/en.yml | 33 + spec/dummy.7.0/config/puma.rb | 43 + spec/dummy.7.0/config/routes.rb | 15 + spec/dummy.7.0/config/storage.yml | 34 + .../db/migrate/20230130164228_create_users.rb | 9 + .../db/migrate/20230130164233_create_sites.rb | 8 + spec/dummy.7.0/db/schema.rb | 28 + spec/dummy.7.0/db/seeds.rb | 7 + spec/dummy.7.0/lib/assets/.keep | 0 spec/dummy.7.0/lib/tasks/.keep | 0 spec/dummy.7.0/log/.keep | 0 spec/dummy.7.0/public/404.html | 67 + spec/dummy.7.0/public/422.html | 67 + spec/dummy.7.0/public/500.html | 66 + .../public/apple-touch-icon-precomposed.png | 0 spec/dummy.7.0/public/apple-touch-icon.png | 0 spec/dummy.7.0/public/favicon.ico | 0 spec/dummy.7.0/public/robots.txt | 1 + spec/dummy.7.0/storage/.keep | 0 .../test/application_system_test_case.rb | 5 + .../application_cable/connection_test.rb | 11 + spec/dummy.7.0/test/controllers/.keep | 0 .../test/controllers/users_controller_test.rb | 7 + spec/dummy.7.0/test/fixtures/files/.keep | 0 spec/dummy.7.0/test/fixtures/sites.yml | 11 + spec/dummy.7.0/test/fixtures/users.yml | 11 + spec/dummy.7.0/test/helpers/.keep | 0 spec/dummy.7.0/test/integration/.keep | 0 spec/dummy.7.0/test/mailers/.keep | 0 spec/dummy.7.0/test/models/.keep | 0 spec/dummy.7.0/test/models/site_test.rb | 7 + spec/dummy.7.0/test/models/user_test.rb | 7 + spec/dummy.7.0/test/system/.keep | 0 spec/dummy.7.0/test/test_helper.rb | 13 + spec/dummy.7.0/vendor/.keep | 0 spec/dummy.7.0/vendor/javascript/.keep | 0 spec/dummy/Gemfile | 44 - spec/dummy/Gemfile.lock | 117 -- .../app/assets/javascripts/application.js | 16 - .../app/assets/stylesheets/application.css | 13 - .../app/controllers/admin/admin_controller.rb | 12 - .../app/controllers/application_controller.rb | 5 - .../dummy/app/controllers/users_controller.rb | 20 - .../app/controllers/welcome_controller.rb | 6 - .../helpers/contests/questionnaires_helper.rb | 30 - spec/dummy/app/models/site.rb | 5 - spec/dummy/app/models/user.rb | 3 - spec/dummy/app/views/admin/admin/show.erb | 5 - .../app/views/layouts/application.html.erb | 14 - spec/dummy/app/views/users/_form.html.erb | 12 - spec/dummy/app/views/users/edit.html.erb | 2 - spec/dummy/app/views/users/index.html.erb | 10 - spec/dummy/app/views/users/new.html.erb | 2 - spec/dummy/bin/bundle | 3 - spec/dummy/bin/rails | 4 - spec/dummy/bin/rake | 4 - spec/dummy/config/application.rb | 23 - spec/dummy/config/boot.rb | 4 - spec/dummy/config/environment.rb | 5 - spec/dummy/config/environments/development.rb | 29 - spec/dummy/config/environments/production.rb | 80 - .../dummy/config/initializers/secret_token.rb | 12 - .../config/initializers/session_store.rb | 3 - .../db/migrate/20130123110019_create_users.rb | 9 - spec/dummy/db/schema.rb | 29 - spec/dummy/db/seeds.rb | 7 - spec/dummy/public/robots.txt | 5 - spec/factories/site.rb | 6 +- spec/factories/user.rb | 10 +- spec/multi_site_spec.rb | 34 +- spec/rails_helper.rb | 28 + spec/spec_helper.rb | 28 +- 242 files changed, 4684 insertions(+), 852 deletions(-) create mode 100644 gemfiles/rails_6.gemfile create mode 100644 gemfiles/rails_6.gemfile.lock create mode 100644 gemfiles/rails_7.gemfile create mode 100644 gemfiles/rails_7.gemfile.lock create mode 100644 spec/dummy.6.0/.browserslistrc create mode 100644 spec/dummy.6.0/.gitignore create mode 100644 spec/dummy.6.0/.ruby-version rename spec/{dummy/README.rdoc => dummy.6.0/README.md} (76%) rename spec/{dummy => dummy.6.0}/Rakefile (64%) create mode 100644 spec/dummy.6.0/app/assets/config/manifest.js rename spec/{dummy => dummy.6.0}/app/assets/images/.keep (100%) create mode 100644 spec/dummy.6.0/app/assets/stylesheets/application.css create mode 100644 spec/dummy.6.0/app/assets/stylesheets/users.scss create mode 100644 spec/dummy.6.0/app/channels/application_cable/channel.rb create mode 100644 spec/dummy.6.0/app/channels/application_cable/connection.rb create mode 100644 spec/dummy.6.0/app/controllers/admin/admin_controller.rb create mode 100644 spec/dummy.6.0/app/controllers/application_controller.rb rename spec/{dummy => dummy.6.0}/app/controllers/concerns/.keep (100%) create mode 100644 spec/dummy.6.0/app/controllers/users_controller.rb rename spec/{dummy => dummy.6.0}/app/helpers/application_helper.rb (100%) create mode 100644 spec/dummy.6.0/app/helpers/users_helper.rb create mode 100644 spec/dummy.6.0/app/javascript/channels/consumer.js create mode 100644 spec/dummy.6.0/app/javascript/channels/index.js create mode 100644 spec/dummy.6.0/app/javascript/packs/application.js create mode 100644 spec/dummy.6.0/app/jobs/application_job.rb create mode 100644 spec/dummy.6.0/app/mailers/application_mailer.rb create mode 100644 spec/dummy.6.0/app/models/application_record.rb rename spec/{dummy/app/mailers => dummy.6.0/app/models/concerns}/.keep (100%) create mode 100644 spec/dummy.6.0/app/models/site.rb create mode 100644 spec/dummy.6.0/app/models/user.rb create mode 100644 spec/dummy.6.0/app/views/layouts/application.html.erb create mode 100644 spec/dummy.6.0/app/views/layouts/mailer.html.erb create mode 100644 spec/dummy.6.0/app/views/layouts/mailer.text.erb create mode 100644 spec/dummy.6.0/babel.config.js create mode 100755 spec/dummy.6.0/bin/bundle create mode 100755 spec/dummy.6.0/bin/rails create mode 100755 spec/dummy.6.0/bin/rake create mode 100755 spec/dummy.6.0/bin/setup create mode 100755 spec/dummy.6.0/bin/spring create mode 100755 spec/dummy.6.0/bin/webpack create mode 100755 spec/dummy.6.0/bin/webpack-dev-server create mode 100755 spec/dummy.6.0/bin/yarn rename spec/{dummy => dummy.6.0}/config.ru (59%) create mode 100644 spec/dummy.6.0/config/application.rb create mode 100644 spec/dummy.6.0/config/boot.rb create mode 100644 spec/dummy.6.0/config/cable.yml create mode 100644 spec/dummy.6.0/config/credentials.yml.enc rename spec/{dummy => dummy.6.0}/config/database.yml (73%) create mode 100644 spec/dummy.6.0/config/environment.rb create mode 100644 spec/dummy.6.0/config/environments/development.rb create mode 100644 spec/dummy.6.0/config/environments/production.rb rename spec/{dummy => dummy.6.0}/config/environments/test.rb (53%) create mode 100644 spec/dummy.6.0/config/initializers/application_controller_renderer.rb create mode 100644 spec/dummy.6.0/config/initializers/assets.rb rename spec/{dummy => dummy.6.0}/config/initializers/backtrace_silencers.rb (100%) create mode 100644 spec/dummy.6.0/config/initializers/content_security_policy.rb create mode 100644 spec/dummy.6.0/config/initializers/cookies_serializer.rb rename spec/{dummy => dummy.6.0}/config/initializers/filter_parameter_logging.rb (100%) rename spec/{dummy => dummy.6.0}/config/initializers/inflections.rb (100%) rename spec/{dummy => dummy.6.0}/config/initializers/mime_types.rb (76%) rename spec/{dummy => dummy.6.0}/config/initializers/wrap_parameters.rb (80%) rename spec/{dummy => dummy.6.0}/config/locales/en.yml (68%) create mode 100644 spec/dummy.6.0/config/puma.rb rename spec/{dummy => dummy.6.0}/config/routes.rb (55%) create mode 100644 spec/dummy.6.0/config/spring.rb create mode 100644 spec/dummy.6.0/config/storage.yml create mode 100644 spec/dummy.6.0/config/webpack/development.js create mode 100644 spec/dummy.6.0/config/webpack/environment.js create mode 100644 spec/dummy.6.0/config/webpack/production.js create mode 100644 spec/dummy.6.0/config/webpack/test.js create mode 100644 spec/dummy.6.0/config/webpacker.yml create mode 100644 spec/dummy.6.0/db/migrate/20230130163134_create_users.rb rename spec/{dummy/db/migrate/20130129143939_create_sites.rb => dummy.6.0/db/migrate/20230130163141_create_sites.rb} (67%) create mode 100644 spec/dummy.6.0/db/schema.rb create mode 100644 spec/dummy.6.0/db/seeds.rb rename spec/{dummy/app/models => dummy.6.0/lib/assets}/.keep (100%) rename spec/{dummy/app/models/concerns => dummy.6.0/lib/tasks}/.keep (100%) rename spec/{dummy/lib/assets => dummy.6.0/log}/.keep (100%) create mode 100644 spec/dummy.6.0/package.json create mode 100644 spec/dummy.6.0/postcss.config.js rename spec/{dummy => dummy.6.0}/public/404.html (52%) rename spec/{dummy => dummy.6.0}/public/422.html (52%) rename spec/{dummy => dummy.6.0}/public/500.html (55%) rename spec/{dummy/lib/tasks/.keep => dummy.6.0/public/apple-touch-icon-precomposed.png} (100%) rename spec/{dummy/log/.keep => dummy.6.0/public/apple-touch-icon.png} (100%) rename spec/{dummy => dummy.6.0}/public/favicon.ico (100%) create mode 100644 spec/dummy.6.0/public/robots.txt rename spec/{dummy/vendor/assets/javascripts => dummy.6.0/storage}/.keep (100%) create mode 100644 spec/dummy.6.0/test/application_system_test_case.rb create mode 100644 spec/dummy.6.0/test/channels/application_cable/connection_test.rb rename spec/{dummy/vendor/assets/stylesheets => dummy.6.0/test/controllers}/.keep (100%) create mode 100644 spec/dummy.6.0/test/controllers/users_controller_test.rb create mode 100644 spec/dummy.6.0/test/fixtures/.keep create mode 100644 spec/dummy.6.0/test/fixtures/files/.keep create mode 100644 spec/dummy.6.0/test/fixtures/sites.yml create mode 100644 spec/dummy.6.0/test/fixtures/users.yml create mode 100644 spec/dummy.6.0/test/helpers/.keep create mode 100644 spec/dummy.6.0/test/integration/.keep create mode 100644 spec/dummy.6.0/test/mailers/.keep create mode 100644 spec/dummy.6.0/test/models/.keep create mode 100644 spec/dummy.6.0/test/models/site_test.rb create mode 100644 spec/dummy.6.0/test/models/user_test.rb create mode 100644 spec/dummy.6.0/test/system/.keep create mode 100644 spec/dummy.6.0/test/test_helper.rb create mode 100644 spec/dummy.6.0/vendor/.keep create mode 100644 spec/dummy.6.0/yarn.lock create mode 100644 spec/dummy.7.0/.gitattributes rename spec/{dummy => dummy.7.0}/.gitignore (55%) create mode 100644 spec/dummy.7.0/.ruby-version create mode 100644 spec/dummy.7.0/README.md create mode 100644 spec/dummy.7.0/Rakefile create mode 100644 spec/dummy.7.0/app/assets/config/manifest.js create mode 100644 spec/dummy.7.0/app/assets/images/.keep create mode 100644 spec/dummy.7.0/app/assets/stylesheets/application.css create mode 100644 spec/dummy.7.0/app/channels/application_cable/channel.rb create mode 100644 spec/dummy.7.0/app/channels/application_cable/connection.rb create mode 100644 spec/dummy.7.0/app/controllers/admin/admin_controller.rb create mode 100644 spec/dummy.7.0/app/controllers/application_controller.rb create mode 100644 spec/dummy.7.0/app/controllers/concerns/.keep create mode 100644 spec/dummy.7.0/app/controllers/users_controller.rb create mode 100644 spec/dummy.7.0/app/helpers/application_helper.rb create mode 100644 spec/dummy.7.0/app/helpers/users_helper.rb create mode 100644 spec/dummy.7.0/app/javascript/application.js create mode 100644 spec/dummy.7.0/app/javascript/controllers/application.js create mode 100644 spec/dummy.7.0/app/javascript/controllers/hello_controller.js create mode 100644 spec/dummy.7.0/app/javascript/controllers/index.js create mode 100644 spec/dummy.7.0/app/jobs/application_job.rb create mode 100644 spec/dummy.7.0/app/mailers/application_mailer.rb create mode 100644 spec/dummy.7.0/app/models/application_record.rb create mode 100644 spec/dummy.7.0/app/models/concerns/.keep create mode 100644 spec/dummy.7.0/app/models/site.rb create mode 100644 spec/dummy.7.0/app/models/user.rb create mode 100644 spec/dummy.7.0/app/views/layouts/application.html.erb create mode 100644 spec/dummy.7.0/app/views/layouts/mailer.html.erb create mode 100644 spec/dummy.7.0/app/views/layouts/mailer.text.erb create mode 100755 spec/dummy.7.0/bin/bundle create mode 100755 spec/dummy.7.0/bin/importmap create mode 100755 spec/dummy.7.0/bin/rails create mode 100755 spec/dummy.7.0/bin/rake create mode 100755 spec/dummy.7.0/bin/setup create mode 100644 spec/dummy.7.0/config.ru create mode 100644 spec/dummy.7.0/config/application.rb create mode 100644 spec/dummy.7.0/config/boot.rb create mode 100644 spec/dummy.7.0/config/cable.yml create mode 100644 spec/dummy.7.0/config/credentials.yml.enc create mode 100644 spec/dummy.7.0/config/database.yml create mode 100644 spec/dummy.7.0/config/environment.rb create mode 100644 spec/dummy.7.0/config/environments/development.rb create mode 100644 spec/dummy.7.0/config/environments/production.rb create mode 100644 spec/dummy.7.0/config/environments/test.rb create mode 100644 spec/dummy.7.0/config/importmap.rb create mode 100644 spec/dummy.7.0/config/initializers/assets.rb create mode 100644 spec/dummy.7.0/config/initializers/content_security_policy.rb create mode 100644 spec/dummy.7.0/config/initializers/filter_parameter_logging.rb create mode 100644 spec/dummy.7.0/config/initializers/inflections.rb create mode 100644 spec/dummy.7.0/config/initializers/permissions_policy.rb create mode 100644 spec/dummy.7.0/config/locales/en.yml create mode 100644 spec/dummy.7.0/config/puma.rb create mode 100644 spec/dummy.7.0/config/routes.rb create mode 100644 spec/dummy.7.0/config/storage.yml create mode 100644 spec/dummy.7.0/db/migrate/20230130164228_create_users.rb create mode 100644 spec/dummy.7.0/db/migrate/20230130164233_create_sites.rb create mode 100644 spec/dummy.7.0/db/schema.rb create mode 100644 spec/dummy.7.0/db/seeds.rb create mode 100644 spec/dummy.7.0/lib/assets/.keep create mode 100644 spec/dummy.7.0/lib/tasks/.keep create mode 100644 spec/dummy.7.0/log/.keep create mode 100644 spec/dummy.7.0/public/404.html create mode 100644 spec/dummy.7.0/public/422.html create mode 100644 spec/dummy.7.0/public/500.html create mode 100644 spec/dummy.7.0/public/apple-touch-icon-precomposed.png create mode 100644 spec/dummy.7.0/public/apple-touch-icon.png create mode 100644 spec/dummy.7.0/public/favicon.ico create mode 100644 spec/dummy.7.0/public/robots.txt create mode 100644 spec/dummy.7.0/storage/.keep create mode 100644 spec/dummy.7.0/test/application_system_test_case.rb create mode 100644 spec/dummy.7.0/test/channels/application_cable/connection_test.rb create mode 100644 spec/dummy.7.0/test/controllers/.keep create mode 100644 spec/dummy.7.0/test/controllers/users_controller_test.rb create mode 100644 spec/dummy.7.0/test/fixtures/files/.keep create mode 100644 spec/dummy.7.0/test/fixtures/sites.yml create mode 100644 spec/dummy.7.0/test/fixtures/users.yml create mode 100644 spec/dummy.7.0/test/helpers/.keep create mode 100644 spec/dummy.7.0/test/integration/.keep create mode 100644 spec/dummy.7.0/test/mailers/.keep create mode 100644 spec/dummy.7.0/test/models/.keep create mode 100644 spec/dummy.7.0/test/models/site_test.rb create mode 100644 spec/dummy.7.0/test/models/user_test.rb create mode 100644 spec/dummy.7.0/test/system/.keep create mode 100644 spec/dummy.7.0/test/test_helper.rb create mode 100644 spec/dummy.7.0/vendor/.keep create mode 100644 spec/dummy.7.0/vendor/javascript/.keep delete mode 100644 spec/dummy/Gemfile delete mode 100644 spec/dummy/Gemfile.lock delete mode 100644 spec/dummy/app/assets/javascripts/application.js delete mode 100644 spec/dummy/app/assets/stylesheets/application.css delete mode 100644 spec/dummy/app/controllers/admin/admin_controller.rb delete mode 100644 spec/dummy/app/controllers/application_controller.rb delete mode 100644 spec/dummy/app/controllers/users_controller.rb delete mode 100644 spec/dummy/app/controllers/welcome_controller.rb delete mode 100644 spec/dummy/app/helpers/contests/questionnaires_helper.rb delete mode 100644 spec/dummy/app/models/site.rb delete mode 100644 spec/dummy/app/models/user.rb delete mode 100644 spec/dummy/app/views/admin/admin/show.erb delete mode 100644 spec/dummy/app/views/layouts/application.html.erb delete mode 100644 spec/dummy/app/views/users/_form.html.erb delete mode 100644 spec/dummy/app/views/users/edit.html.erb delete mode 100644 spec/dummy/app/views/users/index.html.erb delete mode 100644 spec/dummy/app/views/users/new.html.erb delete mode 100755 spec/dummy/bin/bundle delete mode 100755 spec/dummy/bin/rails delete mode 100755 spec/dummy/bin/rake delete mode 100644 spec/dummy/config/application.rb delete mode 100644 spec/dummy/config/boot.rb delete mode 100644 spec/dummy/config/environment.rb delete mode 100644 spec/dummy/config/environments/development.rb delete mode 100644 spec/dummy/config/environments/production.rb delete mode 100644 spec/dummy/config/initializers/secret_token.rb delete mode 100644 spec/dummy/config/initializers/session_store.rb delete mode 100644 spec/dummy/db/migrate/20130123110019_create_users.rb delete mode 100644 spec/dummy/db/schema.rb delete mode 100644 spec/dummy/db/seeds.rb delete mode 100644 spec/dummy/public/robots.txt create mode 100644 spec/rails_helper.rb diff --git a/.gitignore b/.gitignore index decc337..a66883e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ .bundle/ log/*.log pkg/ -spec/dummy/db/*.sqlite3 -spec/dummy/log/*.log -spec/dummy/tmp/ +spec/dummy.*/db/*.sqlite3 +spec/dummy.*/log/*.log +spec/dummy.*/tmp/ diff --git a/.travis.yml b/.travis.yml index b7400b1..899721d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ language: ruby rvm: - - 1.9.3 - - 2.0.0 - - 2.1.0 - - rbx-2 + - 2.7.7 + - 3.0.4 +matrix: + include: + - gemfile: gemfiles/rails_6.gemfile + rvm: 2.7.7 + - gemfile: gemfiles/rails_7.gemfile + rvm: 3.0.4 \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 1a71cad..726a5a0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,112 +1,197 @@ PATH remote: . specs: - multi_site (0.0.1) + multi_site (0.1.2) rails (>= 4.0) - request_store (~> 1.1.0) + request_store (>= 1.0) GEM remote: https://rubygems.org/ specs: - actionmailer (4.0.2) - actionpack (= 4.0.2) - mail (~> 2.5.4) - actionpack (4.0.2) - activesupport (= 4.0.2) - builder (~> 3.1.0) - erubis (~> 2.7.0) - rack (~> 1.5.2) - rack-test (~> 0.6.2) - activemodel (4.0.2) - activesupport (= 4.0.2) - builder (~> 3.1.0) - activerecord (4.0.2) - activemodel (= 4.0.2) - activerecord-deprecated_finders (~> 1.0.2) - activesupport (= 4.0.2) - arel (~> 4.0.0) - activerecord-deprecated_finders (1.0.3) - activesupport (4.0.2) - i18n (~> 0.6, >= 0.6.4) - minitest (~> 4.2) - multi_json (~> 1.3) - thread_safe (~> 0.1) - tzinfo (~> 0.3.37) - arel (4.0.2) - atomic (1.1.14) - builder (3.1.4) - database_cleaner (1.2.0) - diff-lcs (1.2.5) - erubis (2.7.0) - factory_girl (4.3.0) - activesupport (>= 3.0.0) - faker (1.2.0) - i18n (~> 0.5) - hike (1.2.3) - i18n (0.6.9) - mail (2.5.4) - mime-types (~> 1.16) - treetop (~> 1.4.8) - mime-types (1.25.1) - minitest (4.7.5) - multi_json (1.8.4) - polyglot (0.3.5) - rack (1.5.2) - rack-test (0.6.2) - rack (>= 1.0) - rails (4.0.2) - actionmailer (= 4.0.2) - actionpack (= 4.0.2) - activerecord (= 4.0.2) - activesupport (= 4.0.2) - bundler (>= 1.3.0, < 2.0) - railties (= 4.0.2) - sprockets-rails (~> 2.0.0) - railties (4.0.2) - actionpack (= 4.0.2) - activesupport (= 4.0.2) - rake (>= 0.8.7) - thor (>= 0.18.1, < 2.0) - rake (10.1.1) - request_store (1.1.0) - rspec-core (2.14.7) - rspec-expectations (2.14.4) - diff-lcs (>= 1.1.3, < 2.0) - rspec-mocks (2.14.4) - rspec-rails (2.14.1) - actionpack (>= 3.0) - activemodel (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 2.14.0) - rspec-expectations (~> 2.14.0) - rspec-mocks (~> 2.14.0) - sprockets (2.12.3) - hike (~> 1.2) - multi_json (~> 1.0) - rack (~> 1.0) - tilt (~> 1.1, != 1.3.0) - sprockets-rails (2.0.1) - actionpack (>= 3.0) - activesupport (>= 3.0) - sprockets (~> 2.8) - sqlite3 (1.3.8) - thor (0.18.1) - thread_safe (0.1.3) - atomic - tilt (1.4.1) - treetop (1.4.15) - polyglot - polyglot (>= 0.3.1) - tzinfo (0.3.38) + actioncable (7.0.4.2) + actionpack (= 7.0.4.2) + activesupport (= 7.0.4.2) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (7.0.4.2) + actionpack (= 7.0.4.2) + activejob (= 7.0.4.2) + activerecord (= 7.0.4.2) + activestorage (= 7.0.4.2) + activesupport (= 7.0.4.2) + mail (>= 2.7.1) + net-imap + net-pop + net-smtp + actionmailer (7.0.4.2) + actionpack (= 7.0.4.2) + actionview (= 7.0.4.2) + activejob (= 7.0.4.2) + activesupport (= 7.0.4.2) + mail (~> 2.5, >= 2.5.4) + net-imap + net-pop + net-smtp + rails-dom-testing (~> 2.0) + actionpack (7.0.4.2) + actionview (= 7.0.4.2) + activesupport (= 7.0.4.2) + rack (~> 2.0, >= 2.2.0) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.2.0) + actiontext (7.0.4.2) + actionpack (= 7.0.4.2) + activerecord (= 7.0.4.2) + activestorage (= 7.0.4.2) + activesupport (= 7.0.4.2) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (7.0.4.2) + activesupport (= 7.0.4.2) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (7.0.4.2) + activesupport (= 7.0.4.2) + globalid (>= 0.3.6) + activemodel (7.0.4.2) + activesupport (= 7.0.4.2) + activerecord (7.0.4.2) + activemodel (= 7.0.4.2) + activesupport (= 7.0.4.2) + activestorage (7.0.4.2) + actionpack (= 7.0.4.2) + activejob (= 7.0.4.2) + activerecord (= 7.0.4.2) + activesupport (= 7.0.4.2) + marcel (~> 1.0) + mini_mime (>= 1.1.0) + activesupport (7.0.4.2) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + builder (3.2.4) + concurrent-ruby (1.2.0) + crass (1.0.6) + database_cleaner (2.0.1) + database_cleaner-active_record (~> 2.0.0) + database_cleaner-active_record (2.0.1) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0.0) + database_cleaner-core (2.0.1) + date (3.3.3) + diff-lcs (1.5.0) + erubi (1.12.0) + factory_bot (6.2.1) + activesupport (>= 5.0.0) + factory_bot_rails (6.2.0) + factory_bot (~> 6.2.0) + railties (>= 5.0.0) + faker (3.1.0) + i18n (>= 1.8.11, < 2) + gemika (0.8.1) + globalid (1.1.0) + activesupport (>= 5.0) + i18n (1.12.0) + concurrent-ruby (~> 1.0) + loofah (2.19.1) + crass (~> 1.0.2) + nokogiri (>= 1.5.9) + mail (2.8.0.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.2) + method_source (1.0.0) + mini_mime (1.1.2) + minitest (5.17.0) + net-imap (0.3.4) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.1) + timeout + net-smtp (0.3.3) + net-protocol + nio4r (2.5.8) + nokogiri (1.14.0-x86_64-darwin) + racc (~> 1.4) + racc (1.6.2) + rack (2.2.6.2) + rack-test (2.0.2) + rack (>= 1.3) + rails (7.0.4.2) + actioncable (= 7.0.4.2) + actionmailbox (= 7.0.4.2) + actionmailer (= 7.0.4.2) + actionpack (= 7.0.4.2) + actiontext (= 7.0.4.2) + actionview (= 7.0.4.2) + activejob (= 7.0.4.2) + activemodel (= 7.0.4.2) + activerecord (= 7.0.4.2) + activestorage (= 7.0.4.2) + activesupport (= 7.0.4.2) + bundler (>= 1.15.0) + railties (= 7.0.4.2) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) + rails-html-sanitizer (1.5.0) + loofah (~> 2.19, >= 2.19.1) + railties (7.0.4.2) + actionpack (= 7.0.4.2) + activesupport (= 7.0.4.2) + method_source + rake (>= 12.2) + thor (~> 1.0) + zeitwerk (~> 2.5) + rake (13.0.6) + request_store (1.5.1) + rack (>= 1.4) + rspec-core (3.12.0) + rspec-support (~> 3.12.0) + rspec-expectations (3.12.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.12.0) + rspec-mocks (3.12.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.12.0) + rspec-rails (6.0.1) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.11) + rspec-expectations (~> 3.11) + rspec-mocks (~> 3.11) + rspec-support (~> 3.11) + rspec-support (3.12.0) + sqlite3 (1.6.0-x86_64-darwin) + thor (1.2.1) + timeout (0.3.1) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + websocket-driver (0.7.5) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.6.6) PLATFORMS ruby DEPENDENCIES database_cleaner - factory_girl + factory_bot_rails faker + gemika multi_site! rspec-rails sqlite3 + +BUNDLED WITH + 2.1.4 diff --git a/README.md b/README.md index 551fdeb..611e7b0 100644 --- a/README.md +++ b/README.md @@ -96,14 +96,14 @@ context and give us the current site selected by the application. #### Security MultiSite doesn't provide any security features. You have the responsability to implement them. For example, to guarantee that a user doesn't have access to unauthorized tenants, you can -create a before_filter action that checks if the user's site is the same as +create a before_action action that checks if the user's site is the same as current_site: ```ruby class UsersController < ApplicationController - before_filter :check_site_access + before_action :check_site_access #... def check_site_access unless current_user.site == current_site @@ -118,16 +118,18 @@ end You'll surely need cross site operations. We can get you there providing a macro that allows site switching: ```ruby -class Admin::AdminController < ApplicationController - cross_site_controller +module Admin + class AdminController < ApplicationController + cross_site_controller - def show - @admin_site = current_site - end + def show + @admin_site = current_site + end - def switch_site - self.current_site = Site.find(params[:site_id]) - redirect_to admin_admin_url, notice: "Switched to: #{current_site.url}" + def switch_site + self.current_site = Site.find(params[:site_id]) + redirect_to admin_admin_url, notice: "Switched to: #{current_site.url}" + end end end ``` @@ -159,7 +161,6 @@ Thread.new { # RoadMap - make the site model name customizable - make the param name entry customizable -- add specs for Rails 3+. Only Rails 4+ are provided at the moment # License Copyright © 2013 [Runtime Revolution](http://www.runtime-revolution.com), released under the MIT license. diff --git a/Rakefile b/Rakefile index 77dbc66..c90dd69 100644 --- a/Rakefile +++ b/Rakefile @@ -1,8 +1,15 @@ +# frozen_string_literal: true + require 'bundler' Bundler::GemHelper.install_tasks +begin + require 'gemika/tasks' +rescue LoadError + puts 'Run `gem install gemika` for additional tasks' +end require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) -task :test => :spec -task :default => :spec \ No newline at end of file +task test: :spec +task default: 'matrix:spec' \ No newline at end of file diff --git a/gemfiles/rails_6.gemfile b/gemfiles/rails_6.gemfile new file mode 100644 index 0000000..807b9a7 --- /dev/null +++ b/gemfiles/rails_6.gemfile @@ -0,0 +1,14 @@ +source "https://rubygems.org" + +gem "rails", "~> 6.0.6.1" +gem "sqlite3", "~> 1.4" +gem "puma", "~> 3.11" +gem "sass-rails", "~> 5" +gem "webpacker", "~> 4.0" +gem "turbolinks", "~> 5" +gem "jbuilder", "~> 2.7" +gem "sprockets-rails", "<= 3.0" +gem "bootsnap", require: false +gem "gemika" + +gemspec path: "../" diff --git a/gemfiles/rails_6.gemfile.lock b/gemfiles/rails_6.gemfile.lock new file mode 100644 index 0000000..b86be95 --- /dev/null +++ b/gemfiles/rails_6.gemfile.lock @@ -0,0 +1,242 @@ +PATH + remote: .. + specs: + multi_site (0.1.2) + rails (>= 4.0) + request_store (>= 1.0) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (6.0.6.1) + actionpack (= 6.0.6.1) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (6.0.6.1) + actionpack (= 6.0.6.1) + activejob (= 6.0.6.1) + activerecord (= 6.0.6.1) + activestorage (= 6.0.6.1) + activesupport (= 6.0.6.1) + mail (>= 2.7.1) + actionmailer (6.0.6.1) + actionpack (= 6.0.6.1) + actionview (= 6.0.6.1) + activejob (= 6.0.6.1) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 2.0) + actionpack (6.0.6.1) + actionview (= 6.0.6.1) + activesupport (= 6.0.6.1) + rack (~> 2.0, >= 2.0.8) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.2.0) + actiontext (6.0.6.1) + actionpack (= 6.0.6.1) + activerecord (= 6.0.6.1) + activestorage (= 6.0.6.1) + activesupport (= 6.0.6.1) + nokogiri (>= 1.8.5) + actionview (6.0.6.1) + activesupport (= 6.0.6.1) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (6.0.6.1) + activesupport (= 6.0.6.1) + globalid (>= 0.3.6) + activemodel (6.0.6.1) + activesupport (= 6.0.6.1) + activerecord (6.0.6.1) + activemodel (= 6.0.6.1) + activesupport (= 6.0.6.1) + activestorage (6.0.6.1) + actionpack (= 6.0.6.1) + activejob (= 6.0.6.1) + activerecord (= 6.0.6.1) + marcel (~> 1.0) + activesupport (6.0.6.1) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 0.7, < 2) + minitest (~> 5.1) + tzinfo (~> 1.1) + zeitwerk (~> 2.2, >= 2.2.2) + bootsnap (1.16.0) + msgpack (~> 1.2) + builder (3.2.4) + concurrent-ruby (1.2.0) + crass (1.0.6) + database_cleaner (2.0.1) + database_cleaner-active_record (~> 2.0.0) + database_cleaner-active_record (2.0.1) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0.0) + database_cleaner-core (2.0.1) + date (3.3.3) + diff-lcs (1.5.0) + erubi (1.12.0) + factory_bot (6.2.1) + activesupport (>= 5.0.0) + factory_bot_rails (6.2.0) + factory_bot (~> 6.2.0) + railties (>= 5.0.0) + faker (3.1.0) + i18n (>= 1.8.11, < 2) + ffi (1.15.5) + gemika (0.8.1) + globalid (1.1.0) + activesupport (>= 5.0) + i18n (1.12.0) + concurrent-ruby (~> 1.0) + jbuilder (2.11.5) + actionview (>= 5.0.0) + activesupport (>= 5.0.0) + loofah (2.19.1) + crass (~> 1.0.2) + nokogiri (>= 1.5.9) + mail (2.8.0.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.2) + method_source (1.0.0) + mini_mime (1.1.2) + mini_portile2 (2.8.1) + minitest (5.17.0) + msgpack (1.6.0) + net-imap (0.3.4) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.1) + timeout + net-smtp (0.3.3) + net-protocol + nio4r (2.5.8) + nokogiri (1.14.0) + mini_portile2 (~> 2.8.0) + racc (~> 1.4) + nokogiri (1.14.0-x86_64-darwin) + racc (~> 1.4) + puma (3.12.6) + racc (1.6.2) + rack (2.2.6.2) + rack-proxy (0.7.6) + rack + rack-test (2.0.2) + rack (>= 1.3) + rails (6.0.6.1) + actioncable (= 6.0.6.1) + actionmailbox (= 6.0.6.1) + actionmailer (= 6.0.6.1) + actionpack (= 6.0.6.1) + actiontext (= 6.0.6.1) + actionview (= 6.0.6.1) + activejob (= 6.0.6.1) + activemodel (= 6.0.6.1) + activerecord (= 6.0.6.1) + activestorage (= 6.0.6.1) + activesupport (= 6.0.6.1) + bundler (>= 1.3.0) + railties (= 6.0.6.1) + sprockets-rails (>= 2.0.0) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) + rails-html-sanitizer (1.5.0) + loofah (~> 2.19, >= 2.19.1) + railties (6.0.6.1) + actionpack (= 6.0.6.1) + activesupport (= 6.0.6.1) + method_source + rake (>= 0.8.7) + thor (>= 0.20.3, < 2.0) + rake (13.0.6) + rb-fsevent (0.11.2) + rb-inotify (0.10.1) + ffi (~> 1.0) + request_store (1.5.1) + rack (>= 1.4) + rspec-core (3.12.0) + rspec-support (~> 3.12.0) + rspec-expectations (3.12.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.12.0) + rspec-mocks (3.12.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.12.0) + rspec-rails (5.1.2) + actionpack (>= 5.2) + activesupport (>= 5.2) + railties (>= 5.2) + rspec-core (~> 3.10) + rspec-expectations (~> 3.10) + rspec-mocks (~> 3.10) + rspec-support (~> 3.10) + rspec-support (3.12.0) + sass (3.7.4) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + sass-rails (5.1.0) + railties (>= 5.2.0) + sass (~> 3.1) + sprockets (>= 2.8, < 4.0) + sprockets-rails (>= 2.0, < 4.0) + tilt (>= 1.1, < 3) + sprockets (3.7.2) + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.0.0) + actionpack (>= 4.0) + activesupport (>= 4.0) + sprockets (>= 3.0.0) + sqlite3 (1.6.0) + mini_portile2 (~> 2.8.0) + sqlite3 (1.6.0-x86_64-darwin) + thor (1.2.1) + thread_safe (0.3.6) + tilt (2.0.11) + timeout (0.3.1) + turbolinks (5.2.1) + turbolinks-source (~> 5.2) + turbolinks-source (5.2.0) + tzinfo (1.2.11) + thread_safe (~> 0.1) + webpacker (4.3.0) + activesupport (>= 4.2) + rack-proxy (>= 0.6.1) + railties (>= 4.2) + websocket-driver (0.7.5) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.6.6) + +PLATFORMS + ruby + x86_64-darwin-21 + +DEPENDENCIES + bootsnap + database_cleaner + factory_bot_rails + faker + gemika + jbuilder (~> 2.7) + multi_site! + puma (~> 3.11) + rails (~> 6.0.6.1) + rspec-rails + sass-rails (~> 5) + sprockets-rails (<= 3.0) + sqlite3 (~> 1.4) + turbolinks (~> 5) + webpacker (~> 4.0) + +BUNDLED WITH + 2.4.5 diff --git a/gemfiles/rails_7.gemfile b/gemfiles/rails_7.gemfile new file mode 100644 index 0000000..bb1a93b --- /dev/null +++ b/gemfiles/rails_7.gemfile @@ -0,0 +1,16 @@ +source "https://rubygems.org" + +gem "rails", ">= 7.0.4.1" +gem "sprockets-rails" +gem "sqlite3", "~> 1.4" +gem "puma", "~> 5.0" +gem "importmap-rails" +gem "turbo-rails" +gem "stimulus-rails" +gem "jbuilder" +gem "redis", "~> 4.0" +gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] +gem "bootsnap", require: false +gem "gemika" + +gemspec path: "../" \ No newline at end of file diff --git a/gemfiles/rails_7.gemfile.lock b/gemfiles/rails_7.gemfile.lock new file mode 100644 index 0000000..6548ef6 --- /dev/null +++ b/gemfiles/rails_7.gemfile.lock @@ -0,0 +1,232 @@ +PATH + remote: .. + specs: + multi_site (0.1.2) + rails (>= 4.0) + request_store (>= 1.0) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (7.0.4.2) + actionpack (= 7.0.4.2) + activesupport (= 7.0.4.2) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (7.0.4.2) + actionpack (= 7.0.4.2) + activejob (= 7.0.4.2) + activerecord (= 7.0.4.2) + activestorage (= 7.0.4.2) + activesupport (= 7.0.4.2) + mail (>= 2.7.1) + net-imap + net-pop + net-smtp + actionmailer (7.0.4.2) + actionpack (= 7.0.4.2) + actionview (= 7.0.4.2) + activejob (= 7.0.4.2) + activesupport (= 7.0.4.2) + mail (~> 2.5, >= 2.5.4) + net-imap + net-pop + net-smtp + rails-dom-testing (~> 2.0) + actionpack (7.0.4.2) + actionview (= 7.0.4.2) + activesupport (= 7.0.4.2) + rack (~> 2.0, >= 2.2.0) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.2.0) + actiontext (7.0.4.2) + actionpack (= 7.0.4.2) + activerecord (= 7.0.4.2) + activestorage (= 7.0.4.2) + activesupport (= 7.0.4.2) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (7.0.4.2) + activesupport (= 7.0.4.2) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (7.0.4.2) + activesupport (= 7.0.4.2) + globalid (>= 0.3.6) + activemodel (7.0.4.2) + activesupport (= 7.0.4.2) + activerecord (7.0.4.2) + activemodel (= 7.0.4.2) + activesupport (= 7.0.4.2) + activestorage (7.0.4.2) + actionpack (= 7.0.4.2) + activejob (= 7.0.4.2) + activerecord (= 7.0.4.2) + activesupport (= 7.0.4.2) + marcel (~> 1.0) + mini_mime (>= 1.1.0) + activesupport (7.0.4.2) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + bootsnap (1.16.0) + msgpack (~> 1.2) + builder (3.2.4) + concurrent-ruby (1.2.0) + crass (1.0.6) + database_cleaner (2.0.1) + database_cleaner-active_record (~> 2.0.0) + database_cleaner-active_record (2.0.1) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0.0) + database_cleaner-core (2.0.1) + date (3.3.3) + diff-lcs (1.5.0) + erubi (1.12.0) + factory_bot (6.2.1) + activesupport (>= 5.0.0) + factory_bot_rails (6.2.0) + factory_bot (~> 6.2.0) + railties (>= 5.0.0) + faker (3.1.0) + i18n (>= 1.8.11, < 2) + gemika (0.8.1) + globalid (1.1.0) + activesupport (>= 5.0) + i18n (1.12.0) + concurrent-ruby (~> 1.0) + importmap-rails (1.1.5) + actionpack (>= 6.0.0) + railties (>= 6.0.0) + jbuilder (2.11.5) + actionview (>= 5.0.0) + activesupport (>= 5.0.0) + loofah (2.19.1) + crass (~> 1.0.2) + nokogiri (>= 1.5.9) + mail (2.8.0.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.2) + method_source (1.0.0) + mini_mime (1.1.2) + minitest (5.17.0) + msgpack (1.6.0) + net-imap (0.3.4) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.1) + timeout + net-smtp (0.3.3) + net-protocol + nio4r (2.5.8) + nokogiri (1.14.0-x86_64-darwin) + racc (~> 1.4) + puma (5.6.5) + nio4r (~> 2.0) + racc (1.6.2) + rack (2.2.6.2) + rack-test (2.0.2) + rack (>= 1.3) + rails (7.0.4.2) + actioncable (= 7.0.4.2) + actionmailbox (= 7.0.4.2) + actionmailer (= 7.0.4.2) + actionpack (= 7.0.4.2) + actiontext (= 7.0.4.2) + actionview (= 7.0.4.2) + activejob (= 7.0.4.2) + activemodel (= 7.0.4.2) + activerecord (= 7.0.4.2) + activestorage (= 7.0.4.2) + activesupport (= 7.0.4.2) + bundler (>= 1.15.0) + railties (= 7.0.4.2) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) + rails-html-sanitizer (1.5.0) + loofah (~> 2.19, >= 2.19.1) + railties (7.0.4.2) + actionpack (= 7.0.4.2) + activesupport (= 7.0.4.2) + method_source + rake (>= 12.2) + thor (~> 1.0) + zeitwerk (~> 2.5) + rake (13.0.6) + redis (4.8.0) + request_store (1.5.1) + rack (>= 1.4) + rspec-core (3.12.0) + rspec-support (~> 3.12.0) + rspec-expectations (3.12.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.12.0) + rspec-mocks (3.12.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.12.0) + rspec-rails (6.0.1) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.11) + rspec-expectations (~> 3.11) + rspec-mocks (~> 3.11) + rspec-support (~> 3.11) + rspec-support (3.12.0) + sprockets (4.2.0) + concurrent-ruby (~> 1.0) + rack (>= 2.2.4, < 4) + sprockets-rails (3.4.2) + actionpack (>= 5.2) + activesupport (>= 5.2) + sprockets (>= 3.0.0) + sqlite3 (1.6.0-x86_64-darwin) + stimulus-rails (1.2.1) + railties (>= 6.0.0) + thor (1.2.1) + timeout (0.3.1) + turbo-rails (1.3.2) + actionpack (>= 6.0.0) + activejob (>= 6.0.0) + railties (>= 6.0.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + websocket-driver (0.7.5) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.6.6) + +PLATFORMS + x86_64-darwin-21 + +DEPENDENCIES + bootsnap + database_cleaner + factory_bot_rails + faker + gemika + importmap-rails + jbuilder + multi_site! + puma (~> 5.0) + rails (>= 7.0.4.1) + redis (~> 4.0) + rspec-rails + sprockets-rails + sqlite3 (~> 1.4) + stimulus-rails + turbo-rails + tzinfo-data + +BUNDLED WITH + 2.2.33 diff --git a/lib/multi_site.rb b/lib/multi_site.rb index c4add5e..468af98 100644 --- a/lib/multi_site.rb +++ b/lib/multi_site.rb @@ -1,15 +1,17 @@ -require "active_record" -require "action_controller" -require "active_model" -require "multi_site/version" +# frozen_string_literal: true + +require 'active_record' +require 'action_controller' +require 'active_model' +require 'multi_site/version' require 'multi_site/rails/routes' -require "multi_site/active_record.rb" -require "multi_site/action_controller.rb" -require "multi_site/supra/action_controller.rb" -require "request_store" +require 'multi_site/active_record' +require 'multi_site/action_controller' +require 'multi_site/supra/action_controller' +require 'request_store' if defined?(ActiveRecord::Base) - ActiveRecord::Base.send(:include, MultiSite::ActiveRecord) - ActionController::Base.send(:include, MultiSite::ActionController) - ActionController::Base.extend(MultiSite::Supra::ActionController::Macro) + ActiveRecord::Base.include MultiSite::ActiveRecord + ActionController::Base.include MultiSite::ActionController + ActionController::Base.extend MultiSite::Supra::ActionController::Macro end diff --git a/lib/multi_site/action_controller.rb b/lib/multi_site/action_controller.rb index 6e6c7ab..e838b78 100644 --- a/lib/multi_site/action_controller.rb +++ b/lib/multi_site/action_controller.rb @@ -1,10 +1,16 @@ +# frozen_string_literal: true + module MultiSite - #Controller mixin for multi-site management + # Controller mixin for multi-site management module ActionController extend ActiveSupport::Concern included do - prepend_before_filter :find_current_site + if Rails.version.to_i > 4 + prepend_before_action :find_current_site + else + prepend_before_filter :find_current_site + end helper_method :current_site, :in_site? end @@ -21,11 +27,7 @@ def in_site? end def find_current_site - if params[:multi_site].blank? - MultiSite.current_site = nil - else - MultiSite.current_site = Site.where(:url => params[:multi_site]).first - end + MultiSite.current_site = params[:multi_site].blank? ? nil : Site.where(url: params[:multi_site]).first end end -end +end \ No newline at end of file diff --git a/lib/multi_site/active_record.rb b/lib/multi_site/active_record.rb index 97b9975..7cb02da 100644 --- a/lib/multi_site/active_record.rb +++ b/lib/multi_site/active_record.rb @@ -1,3 +1,6 @@ +# frozen_string_literal: true + +# Module MultiSite module MultiSite class << self def current_site=(site) @@ -13,9 +16,11 @@ def current_site_id end end + # Module ActiveRecord module ActiveRecord extend ActiveSupport::Concern + # Module ClassMethods module ClassMethods def has_site_scope def self.is_scoped_by_site? @@ -23,14 +28,14 @@ def self.is_scoped_by_site? end validates :site, presence: true - scope :on_site, -> { where(:site_id => MultiSite.current_site_id) } - scope :for_site, ->(site) { where(:site_id => site.try(:id)) } - belongs_to :site, class_name: "Site" + scope :on_site, -> { where(site_id: MultiSite.current_site_id) } + scope :for_site, ->(site) { where(site_id: site.try(:id)) } + belongs_to :site, class_name: 'Site' - before_validation -> { self.site ||= MultiSite.current_site }, :on => :create + before_validation -> { self.site ||= MultiSite.current_site }, on: :create end - def is_scoped_by_site? + def is_scoped_by_site? # rubocop:disable Naming/PredicateName false end end diff --git a/lib/multi_site/rails/routes.rb b/lib/multi_site/rails/routes.rb index 585b366..74eb514 100644 --- a/lib/multi_site/rails/routes.rb +++ b/lib/multi_site/rails/routes.rb @@ -1,24 +1,30 @@ -module ActionDispatch::Routing - class Mapper - def multi_site_scope(&block) - scope ':multi_site', as:'site', :constraints => MultiSite::MultiSiteConstraints.new do - block.call +# frozen_string_literal: true + +module ActionDispatch + module Routing + # Class Mapper + class Mapper + def multi_site_scope(&block) + scope ':multi_site', as: 'site', constraints: MultiSite::MultiSiteConstraints.new do + block.call + end end end end end module MultiSite + # Class MultiSiteConstraints class MultiSiteConstraints def matches?(request) - #TODO: This is not a definitive solution. Devise principal class is configurable, - #so we can't be sure if the the routes will start with users/... - #Devise settings must be read to know the principal's name - return true if defined?(Devise) and [ 'devise/sessions', - 'users/registrations', - 'users/passwords' ].include?(request.path_parameters[:controller]) + # TODO: This is not a definitive solution. Devise principal class is configurable, + # so we can't be sure if the the routes will start with users/... + # Devise settings must be read to know the principal's name + return true if defined?(Devise) && ['devise/sessions', + 'users/registrations', + 'users/passwords'].include?(request.path_parameters[:controller]) - Site.exists?(:url => request.path_parameters[:multi_site]) + Site.exists?(url: request.path_parameters[:multi_site]) end end -end +end \ No newline at end of file diff --git a/lib/multi_site/supra/action_controller.rb b/lib/multi_site/supra/action_controller.rb index afc1087..aed56bb 100644 --- a/lib/multi_site/supra/action_controller.rb +++ b/lib/multi_site/supra/action_controller.rb @@ -1,4 +1,7 @@ +# frozen_string_literal: true + module MultiSite + # Module Supra module Supra mattr_reader :default_site # accessor to declare the default site @@ -37,6 +40,7 @@ def current_site module ActionController extend ActiveSupport::Concern + # Module Macro module Macro # The class macro to declare a supra site controller def cross_site_controller @@ -45,7 +49,11 @@ def cross_site_controller end included do - prepend_before_filter :set_current_site + if Rails.version.to_i > 4 + prepend_before_action :set_current_site + else + prepend_before_filter :set_current_site + end helper_method :current_site end @@ -65,6 +73,7 @@ def set_current_site end private + def self.find_site(site) case site when String, Integer @@ -74,4 +83,4 @@ def self.find_site(site) end end end -end \ No newline at end of file +end diff --git a/lib/multi_site/version.rb b/lib/multi_site/version.rb index 472f4aa..48ce7c6 100644 --- a/lib/multi_site/version.rb +++ b/lib/multi_site/version.rb @@ -1,3 +1,3 @@ module MultiSite - VERSION = "0.0.2" + VERSION = "0.1.2" end diff --git a/multi_site.gemspec b/multi_site.gemspec index 0d617f5..8807451 100644 --- a/multi_site.gemspec +++ b/multi_site.gemspec @@ -1,24 +1,28 @@ -# -*- encoding: utf-8 -*- -$:.push File.expand_path("../lib", __FILE__) -require "multi_site/version" +# frozen_string_literal: true + +$LOAD_PATH.push File.expand_path('lib', __dir__) + +require 'multi_site/version' Gem::Specification.new do |s| - s.name = "multi_site" + s.name = 'multi_site' s.version = MultiSite::VERSION - s.description = %q{Add multi-site integration into Rails applications using a shared db strategy} - s.summary = %q{Add multi-site integration into Rails applications using a shared db strategy} - s.authors = ["Runtime Revolution"] - s.files = Dir["{lib}/**/*"] - s.require_paths = %w(lib) - s.test_files = Dir.glob("spec/**/*") + s.description = 'Add multi-site integration into Rails applications using a shared db strategy' + s.summary = 'Add multi-site integration into Rails applications using a shared db strategy' + s.authors = ['Runtime Revolution'] + s.files = Dir['{lib}/**/*'] + s.require_paths = %w[lib] + s.test_files = Dir.glob('spec/**/*') + s.required_ruby_version = '>= 2.0' # rubocop:disable Gemspec/RequiredRubyVersion # dependencies s.add_dependency('rails', '>= 4.0') s.add_dependency('request_store', '>= 1.0') + s.add_development_dependency('database_cleaner') + s.add_development_dependency('factory_bot_rails') + s.add_development_dependency('faker') + s.add_development_dependency('gemika') s.add_development_dependency('rspec-rails') - s.add_development_dependency('factory_girl') s.add_development_dependency('sqlite3') - s.add_development_dependency('faker') - s.add_development_dependency('database_cleaner') end diff --git a/spec/controllers/admin/supra_site_controller_spec.rb b/spec/controllers/admin/supra_site_controller_spec.rb index f0fc07b..6dd6321 100644 --- a/spec/controllers/admin/supra_site_controller_spec.rb +++ b/spec/controllers/admin/supra_site_controller_spec.rb @@ -1,19 +1,21 @@ -require 'spec_helper' +# frozen_string_literal: true + +require 'rails_helper' describe Admin::AdminController do - let!(:site) { FactoryGirl.create(:site) } - let!(:another_site) { FactoryGirl.create(:site, url: 'another_site') } + let!(:site) { create(:site) } + let!(:another_site) { create(:site, url: 'another_site') } before(:each) { MultiSite::Supra.default_site = site } - it "is aware of a current site selection" do + it 'is aware of a current site selection' do get :show - assigns(:admin_site).should eq(site) + expect(JSON.parse(response.body)).to eq(site.as_json) end - it "switches managed site" do - put :switch_site, site_id: another_site.id + it 'switches managed site' do + put :switch_site, params: { site_id: another_site.id } get :show - assigns(:admin_site).should eq(another_site) + expect(JSON.parse(response.body)).to eq(another_site.as_json) end -end \ No newline at end of file +end diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb index 9ec622e..fe0b87c 100644 --- a/spec/controllers/users_controller_spec.rb +++ b/spec/controllers/users_controller_spec.rb @@ -1,25 +1,24 @@ -require 'spec_helper' +# frozen_string_literal: true -describe UsersController do - - context "change of site scope" do +require 'rails_helper' +describe UsersController do + context 'change of site scope' do before(:each) do - @site_1 = FactoryGirl.create(:site) - @site_2 = FactoryGirl.create(:site) + @site1 = create(:site) + @site2 = create(:site) 10.times do - FactoryGirl.create(:user, :site => @site_1) - FactoryGirl.create(:user, :site => @site_2) + create(:user, site: @site1) + create(:user, site: @site2) end end - it "should be true if current scope shows site_1" do - get :index, :multi_site => @site_1.url - MultiSite.current_site.should == @site_1 + it 'should be true if current scope shows site_1' do + get :index, params: { multi_site: @site1.url } + expect(MultiSite.current_site).to eq(@site1) - get :index, :multi_site => @site_2.url - MultiSite.current_site.should == @site_2 + get :index, params: { multi_site: @site2.url } + expect(MultiSite.current_site).to eq(@site2) end - end -end \ No newline at end of file +end diff --git a/spec/dummy.6.0/.browserslistrc b/spec/dummy.6.0/.browserslistrc new file mode 100644 index 0000000..e94f814 --- /dev/null +++ b/spec/dummy.6.0/.browserslistrc @@ -0,0 +1 @@ +defaults diff --git a/spec/dummy.6.0/.gitignore b/spec/dummy.6.0/.gitignore new file mode 100644 index 0000000..790502d --- /dev/null +++ b/spec/dummy.6.0/.gitignore @@ -0,0 +1,41 @@ +# See https://help.github.com/articles/ignoring-files for more about ignoring files. +# +# If you find yourself ignoring temporary files generated by your text editor +# or operating system, you probably want to add a global ignore instead: +# git config --global core.excludesfile '~/.gitignore_global' + +# Ignore bundler config. +/.bundle + +# Ignore the default SQLite database. +/db/*.sqlite3 +/db/*.sqlite3-journal +/db/*.sqlite3-* + +# Ignore all logfiles and tempfiles. +/log/* +/tmp/* +!/log/.keep +!/tmp/.keep + +# Ignore pidfiles, but keep the directory. +/tmp/pids/* +!/tmp/pids/ +!/tmp/pids/.keep + +# Ignore uploaded files in development. +/storage/* +!/storage/.keep + +/public/assets +.byebug_history + +# Ignore master key for decrypting credentials and more. +/config/master.key + +/public/packs +/public/packs-test +/node_modules +/yarn-error.log +yarn-debug.log* +.yarn-integrity diff --git a/spec/dummy.6.0/.ruby-version b/spec/dummy.6.0/.ruby-version new file mode 100644 index 0000000..b0f2dcb --- /dev/null +++ b/spec/dummy.6.0/.ruby-version @@ -0,0 +1 @@ +3.0.4 diff --git a/spec/dummy/README.rdoc b/spec/dummy.6.0/README.md similarity index 76% rename from spec/dummy/README.rdoc rename to spec/dummy.6.0/README.md index dd4e97e..7db80e4 100644 --- a/spec/dummy/README.rdoc +++ b/spec/dummy.6.0/README.md @@ -1,4 +1,4 @@ -== README +# README This README would normally document whatever steps are necessary to get the application up and running. @@ -22,7 +22,3 @@ Things you may want to cover: * Deployment instructions * ... - - -Please feel free to use a different markup language if you do not plan to run -rake doc:app. diff --git a/spec/dummy/Rakefile b/spec/dummy.6.0/Rakefile similarity index 64% rename from spec/dummy/Rakefile rename to spec/dummy.6.0/Rakefile index 4135d7a..e85f913 100644 --- a/spec/dummy/Rakefile +++ b/spec/dummy.6.0/Rakefile @@ -1,6 +1,6 @@ # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. -require File.expand_path('../config/application', __FILE__) +require_relative 'config/application' -Dummy::Application.load_tasks +Rails.application.load_tasks diff --git a/spec/dummy.6.0/app/assets/config/manifest.js b/spec/dummy.6.0/app/assets/config/manifest.js new file mode 100644 index 0000000..5918193 --- /dev/null +++ b/spec/dummy.6.0/app/assets/config/manifest.js @@ -0,0 +1,2 @@ +//= link_tree ../images +//= link_directory ../stylesheets .css diff --git a/spec/dummy/app/assets/images/.keep b/spec/dummy.6.0/app/assets/images/.keep similarity index 100% rename from spec/dummy/app/assets/images/.keep rename to spec/dummy.6.0/app/assets/images/.keep diff --git a/spec/dummy.6.0/app/assets/stylesheets/application.css b/spec/dummy.6.0/app/assets/stylesheets/application.css new file mode 100644 index 0000000..d05ea0f --- /dev/null +++ b/spec/dummy.6.0/app/assets/stylesheets/application.css @@ -0,0 +1,15 @@ +/* + * This is a manifest file that'll be compiled into application.css, which will include all the files + * listed below. + * + * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's + * vendor/assets/stylesheets directory can be referenced here using a relative path. + * + * You're free to add application-wide styles to this file and they'll appear at the bottom of the + * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS + * files in this directory. Styles in this file should be added after the last require_* statement. + * It is generally better to create a new file per style scope. + * + *= require_tree . + *= require_self + */ diff --git a/spec/dummy.6.0/app/assets/stylesheets/users.scss b/spec/dummy.6.0/app/assets/stylesheets/users.scss new file mode 100644 index 0000000..aaf17f7 --- /dev/null +++ b/spec/dummy.6.0/app/assets/stylesheets/users.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the users controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: https://sass-lang.com/ diff --git a/spec/dummy.6.0/app/channels/application_cable/channel.rb b/spec/dummy.6.0/app/channels/application_cable/channel.rb new file mode 100644 index 0000000..d672697 --- /dev/null +++ b/spec/dummy.6.0/app/channels/application_cable/channel.rb @@ -0,0 +1,4 @@ +module ApplicationCable + class Channel < ActionCable::Channel::Base + end +end diff --git a/spec/dummy.6.0/app/channels/application_cable/connection.rb b/spec/dummy.6.0/app/channels/application_cable/connection.rb new file mode 100644 index 0000000..0ff5442 --- /dev/null +++ b/spec/dummy.6.0/app/channels/application_cable/connection.rb @@ -0,0 +1,4 @@ +module ApplicationCable + class Connection < ActionCable::Connection::Base + end +end diff --git a/spec/dummy.6.0/app/controllers/admin/admin_controller.rb b/spec/dummy.6.0/app/controllers/admin/admin_controller.rb new file mode 100644 index 0000000..8c391c4 --- /dev/null +++ b/spec/dummy.6.0/app/controllers/admin/admin_controller.rb @@ -0,0 +1,15 @@ +module Admin + class AdminController < ApplicationController + cross_site_controller + + def show + @admin_site = current_site + render json: @admin_site + end + + def switch_site + self.current_site = Site.find(params[:site_id]) + redirect_to admin_admin_url, notice: "Switched to: #{current_site.url}" + end + end +end diff --git a/spec/dummy.6.0/app/controllers/application_controller.rb b/spec/dummy.6.0/app/controllers/application_controller.rb new file mode 100644 index 0000000..3dd60f8 --- /dev/null +++ b/spec/dummy.6.0/app/controllers/application_controller.rb @@ -0,0 +1,11 @@ +class ApplicationController < ActionController::Base + before_action :set_user + + attr_accessor :current_user + + private + + def set_user + @current_user = User.first + end +end diff --git a/spec/dummy/app/controllers/concerns/.keep b/spec/dummy.6.0/app/controllers/concerns/.keep similarity index 100% rename from spec/dummy/app/controllers/concerns/.keep rename to spec/dummy.6.0/app/controllers/concerns/.keep diff --git a/spec/dummy.6.0/app/controllers/users_controller.rb b/spec/dummy.6.0/app/controllers/users_controller.rb new file mode 100644 index 0000000..22ec183 --- /dev/null +++ b/spec/dummy.6.0/app/controllers/users_controller.rb @@ -0,0 +1,9 @@ +class UsersController < ApplicationController + def index + render json: { ola: 'mundo' } + end + + def show + render json: { site: current_site } + end +end diff --git a/spec/dummy/app/helpers/application_helper.rb b/spec/dummy.6.0/app/helpers/application_helper.rb similarity index 100% rename from spec/dummy/app/helpers/application_helper.rb rename to spec/dummy.6.0/app/helpers/application_helper.rb diff --git a/spec/dummy.6.0/app/helpers/users_helper.rb b/spec/dummy.6.0/app/helpers/users_helper.rb new file mode 100644 index 0000000..2310a24 --- /dev/null +++ b/spec/dummy.6.0/app/helpers/users_helper.rb @@ -0,0 +1,2 @@ +module UsersHelper +end diff --git a/spec/dummy.6.0/app/javascript/channels/consumer.js b/spec/dummy.6.0/app/javascript/channels/consumer.js new file mode 100644 index 0000000..0eceb59 --- /dev/null +++ b/spec/dummy.6.0/app/javascript/channels/consumer.js @@ -0,0 +1,6 @@ +// Action Cable provides the framework to deal with WebSockets in Rails. +// You can generate new channels where WebSocket features live using the `rails generate channel` command. + +import { createConsumer } from "@rails/actioncable" + +export default createConsumer() diff --git a/spec/dummy.6.0/app/javascript/channels/index.js b/spec/dummy.6.0/app/javascript/channels/index.js new file mode 100644 index 0000000..0cfcf74 --- /dev/null +++ b/spec/dummy.6.0/app/javascript/channels/index.js @@ -0,0 +1,5 @@ +// Load all the channels within this directory and all subdirectories. +// Channel files must be named *_channel.js. + +const channels = require.context('.', true, /_channel\.js$/) +channels.keys().forEach(channels) diff --git a/spec/dummy.6.0/app/javascript/packs/application.js b/spec/dummy.6.0/app/javascript/packs/application.js new file mode 100644 index 0000000..9cd55d4 --- /dev/null +++ b/spec/dummy.6.0/app/javascript/packs/application.js @@ -0,0 +1,17 @@ +// This file is automatically compiled by Webpack, along with any other files +// present in this directory. You're encouraged to place your actual application logic in +// a relevant structure within app/javascript and only use these pack files to reference +// that code so it'll be compiled. + +require("@rails/ujs").start() +require("turbolinks").start() +require("@rails/activestorage").start() +require("channels") + + +// Uncomment to copy all static images under ../images to the output folder and reference +// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>) +// or the `imagePath` JavaScript helper below. +// +// const images = require.context('../images', true) +// const imagePath = (name) => images(name, true) diff --git a/spec/dummy.6.0/app/jobs/application_job.rb b/spec/dummy.6.0/app/jobs/application_job.rb new file mode 100644 index 0000000..d394c3d --- /dev/null +++ b/spec/dummy.6.0/app/jobs/application_job.rb @@ -0,0 +1,7 @@ +class ApplicationJob < ActiveJob::Base + # Automatically retry jobs that encountered a deadlock + # retry_on ActiveRecord::Deadlocked + + # Most jobs are safe to ignore if the underlying records are no longer available + # discard_on ActiveJob::DeserializationError +end diff --git a/spec/dummy.6.0/app/mailers/application_mailer.rb b/spec/dummy.6.0/app/mailers/application_mailer.rb new file mode 100644 index 0000000..286b223 --- /dev/null +++ b/spec/dummy.6.0/app/mailers/application_mailer.rb @@ -0,0 +1,4 @@ +class ApplicationMailer < ActionMailer::Base + default from: 'from@example.com' + layout 'mailer' +end diff --git a/spec/dummy.6.0/app/models/application_record.rb b/spec/dummy.6.0/app/models/application_record.rb new file mode 100644 index 0000000..10a4cba --- /dev/null +++ b/spec/dummy.6.0/app/models/application_record.rb @@ -0,0 +1,3 @@ +class ApplicationRecord < ActiveRecord::Base + self.abstract_class = true +end diff --git a/spec/dummy/app/mailers/.keep b/spec/dummy.6.0/app/models/concerns/.keep similarity index 100% rename from spec/dummy/app/mailers/.keep rename to spec/dummy.6.0/app/models/concerns/.keep diff --git a/spec/dummy.6.0/app/models/site.rb b/spec/dummy.6.0/app/models/site.rb new file mode 100644 index 0000000..f0d3c29 --- /dev/null +++ b/spec/dummy.6.0/app/models/site.rb @@ -0,0 +1,2 @@ +class Site < ApplicationRecord +end diff --git a/spec/dummy.6.0/app/models/user.rb b/spec/dummy.6.0/app/models/user.rb new file mode 100644 index 0000000..1011308 --- /dev/null +++ b/spec/dummy.6.0/app/models/user.rb @@ -0,0 +1,3 @@ +class User < ApplicationRecord + has_site_scope +end diff --git a/spec/dummy.6.0/app/views/layouts/application.html.erb b/spec/dummy.6.0/app/views/layouts/application.html.erb new file mode 100644 index 0000000..e8f0a61 --- /dev/null +++ b/spec/dummy.6.0/app/views/layouts/application.html.erb @@ -0,0 +1,15 @@ + + + + Dummy60 + <%= csrf_meta_tags %> + <%= csp_meta_tag %> + + <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + + + + <%= yield %> + + diff --git a/spec/dummy.6.0/app/views/layouts/mailer.html.erb b/spec/dummy.6.0/app/views/layouts/mailer.html.erb new file mode 100644 index 0000000..cbd34d2 --- /dev/null +++ b/spec/dummy.6.0/app/views/layouts/mailer.html.erb @@ -0,0 +1,13 @@ + + + + + + + + + <%= yield %> + + diff --git a/spec/dummy.6.0/app/views/layouts/mailer.text.erb b/spec/dummy.6.0/app/views/layouts/mailer.text.erb new file mode 100644 index 0000000..37f0bdd --- /dev/null +++ b/spec/dummy.6.0/app/views/layouts/mailer.text.erb @@ -0,0 +1 @@ +<%= yield %> diff --git a/spec/dummy.6.0/babel.config.js b/spec/dummy.6.0/babel.config.js new file mode 100644 index 0000000..12f98da --- /dev/null +++ b/spec/dummy.6.0/babel.config.js @@ -0,0 +1,72 @@ +module.exports = function(api) { + var validEnv = ['development', 'test', 'production'] + var currentEnv = api.env() + var isDevelopmentEnv = api.env('development') + var isProductionEnv = api.env('production') + var isTestEnv = api.env('test') + + if (!validEnv.includes(currentEnv)) { + throw new Error( + 'Please specify a valid `NODE_ENV` or ' + + '`BABEL_ENV` environment variables. Valid values are "development", ' + + '"test", and "production". Instead, received: ' + + JSON.stringify(currentEnv) + + '.' + ) + } + + return { + presets: [ + isTestEnv && [ + '@babel/preset-env', + { + targets: { + node: 'current' + } + } + ], + (isProductionEnv || isDevelopmentEnv) && [ + '@babel/preset-env', + { + forceAllTransforms: true, + useBuiltIns: 'entry', + corejs: 3, + modules: false, + exclude: ['transform-typeof-symbol'] + } + ] + ].filter(Boolean), + plugins: [ + 'babel-plugin-macros', + '@babel/plugin-syntax-dynamic-import', + isTestEnv && 'babel-plugin-dynamic-import-node', + '@babel/plugin-transform-destructuring', + [ + '@babel/plugin-proposal-class-properties', + { + loose: true + } + ], + [ + '@babel/plugin-proposal-object-rest-spread', + { + useBuiltIns: true + } + ], + [ + '@babel/plugin-transform-runtime', + { + helpers: false, + regenerator: true, + corejs: false + } + ], + [ + '@babel/plugin-transform-regenerator', + { + async: false + } + ] + ].filter(Boolean) + } +} diff --git a/spec/dummy.6.0/bin/bundle b/spec/dummy.6.0/bin/bundle new file mode 100755 index 0000000..374a0a1 --- /dev/null +++ b/spec/dummy.6.0/bin/bundle @@ -0,0 +1,114 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# +# This file was generated by Bundler. +# +# The application 'bundle' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +require "rubygems" + +m = Module.new do + module_function + + def invoked_as_script? + File.expand_path($0) == File.expand_path(__FILE__) + end + + def env_var_version + ENV["BUNDLER_VERSION"] + end + + def cli_arg_version + return unless invoked_as_script? # don't want to hijack other binstubs + return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update` + bundler_version = nil + update_index = nil + ARGV.each_with_index do |a, i| + if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN + bundler_version = a + end + next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/ + bundler_version = $1 + update_index = i + end + bundler_version + end + + def gemfile + gemfile = ENV["BUNDLE_GEMFILE"] + return gemfile if gemfile && !gemfile.empty? + + File.expand_path("../../Gemfile", __FILE__) + end + + def lockfile + lockfile = + case File.basename(gemfile) + when "gems.rb" then gemfile.sub(/\.rb$/, gemfile) + else "#{gemfile}.lock" + end + File.expand_path(lockfile) + end + + def lockfile_version + return unless File.file?(lockfile) + lockfile_contents = File.read(lockfile) + return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/ + Regexp.last_match(1) + end + + def bundler_requirement + @bundler_requirement ||= + env_var_version || cli_arg_version || + bundler_requirement_for(lockfile_version) + end + + def bundler_requirement_for(version) + return "#{Gem::Requirement.default}.a" unless version + + bundler_gem_version = Gem::Version.new(version) + + requirement = bundler_gem_version.approximate_recommendation + + return requirement unless Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.7.0") + + requirement += ".a" if bundler_gem_version.prerelease? + + requirement + end + + def load_bundler! + ENV["BUNDLE_GEMFILE"] ||= gemfile + + activate_bundler + end + + def activate_bundler + gem_error = activation_error_handling do + gem "bundler", bundler_requirement + end + return if gem_error.nil? + require_error = activation_error_handling do + require "bundler/version" + end + return if require_error.nil? && Gem::Requirement.new(bundler_requirement).satisfied_by?(Gem::Version.new(Bundler::VERSION)) + warn "Activating bundler (#{bundler_requirement}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_requirement}'`" + exit 42 + end + + def activation_error_handling + yield + nil + rescue StandardError, LoadError => e + e + end +end + +m.load_bundler! + +if m.invoked_as_script? + load Gem.bin_path("bundler", "bundle") +end diff --git a/spec/dummy.6.0/bin/rails b/spec/dummy.6.0/bin/rails new file mode 100755 index 0000000..5badb2f --- /dev/null +++ b/spec/dummy.6.0/bin/rails @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby +begin + load File.expand_path('../spring', __FILE__) +rescue LoadError => e + raise unless e.message.include?('spring') +end +APP_PATH = File.expand_path('../config/application', __dir__) +require_relative '../config/boot' +require 'rails/commands' diff --git a/spec/dummy.6.0/bin/rake b/spec/dummy.6.0/bin/rake new file mode 100755 index 0000000..d87d5f5 --- /dev/null +++ b/spec/dummy.6.0/bin/rake @@ -0,0 +1,9 @@ +#!/usr/bin/env ruby +begin + load File.expand_path('../spring', __FILE__) +rescue LoadError => e + raise unless e.message.include?('spring') +end +require_relative '../config/boot' +require 'rake' +Rake.application.run diff --git a/spec/dummy.6.0/bin/setup b/spec/dummy.6.0/bin/setup new file mode 100755 index 0000000..5853b5e --- /dev/null +++ b/spec/dummy.6.0/bin/setup @@ -0,0 +1,36 @@ +#!/usr/bin/env ruby +require 'fileutils' + +# path to your application root. +APP_ROOT = File.expand_path('..', __dir__) + +def system!(*args) + system(*args) || abort("\n== Command #{args} failed ==") +end + +FileUtils.chdir APP_ROOT do + # This script is a way to setup or update your development environment automatically. + # This script is idempotent, so that you can run it at anytime and get an expectable outcome. + # Add necessary setup steps to this file. + + puts '== Installing dependencies ==' + system! 'gem install bundler --conservative' + system('bundle check') || system!('bundle install') + + # Install JavaScript dependencies + # system('bin/yarn') + + # puts "\n== Copying sample files ==" + # unless File.exist?('config/database.yml') + # FileUtils.cp 'config/database.yml.sample', 'config/database.yml' + # end + + puts "\n== Preparing database ==" + system! 'bin/rails db:prepare' + + puts "\n== Removing old logs and tempfiles ==" + system! 'bin/rails log:clear tmp:clear' + + puts "\n== Restarting application server ==" + system! 'bin/rails restart' +end diff --git a/spec/dummy.6.0/bin/spring b/spec/dummy.6.0/bin/spring new file mode 100755 index 0000000..d89ee49 --- /dev/null +++ b/spec/dummy.6.0/bin/spring @@ -0,0 +1,17 @@ +#!/usr/bin/env ruby + +# This file loads Spring without using Bundler, in order to be fast. +# It gets overwritten when you run the `spring binstub` command. + +unless defined?(Spring) + require 'rubygems' + require 'bundler' + + lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read) + spring = lockfile.specs.detect { |spec| spec.name == 'spring' } + if spring + Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path + gem 'spring', spring.version + require 'spring/binstub' + end +end diff --git a/spec/dummy.6.0/bin/webpack b/spec/dummy.6.0/bin/webpack new file mode 100755 index 0000000..1031168 --- /dev/null +++ b/spec/dummy.6.0/bin/webpack @@ -0,0 +1,18 @@ +#!/usr/bin/env ruby + +ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development" +ENV["NODE_ENV"] ||= "development" + +require "pathname" +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", + Pathname.new(__FILE__).realpath) + +require "bundler/setup" + +require "webpacker" +require "webpacker/webpack_runner" + +APP_ROOT = File.expand_path("..", __dir__) +Dir.chdir(APP_ROOT) do + Webpacker::WebpackRunner.run(ARGV) +end diff --git a/spec/dummy.6.0/bin/webpack-dev-server b/spec/dummy.6.0/bin/webpack-dev-server new file mode 100755 index 0000000..dd96627 --- /dev/null +++ b/spec/dummy.6.0/bin/webpack-dev-server @@ -0,0 +1,18 @@ +#!/usr/bin/env ruby + +ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development" +ENV["NODE_ENV"] ||= "development" + +require "pathname" +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", + Pathname.new(__FILE__).realpath) + +require "bundler/setup" + +require "webpacker" +require "webpacker/dev_server_runner" + +APP_ROOT = File.expand_path("..", __dir__) +Dir.chdir(APP_ROOT) do + Webpacker::DevServerRunner.run(ARGV) +end diff --git a/spec/dummy.6.0/bin/yarn b/spec/dummy.6.0/bin/yarn new file mode 100755 index 0000000..460dd56 --- /dev/null +++ b/spec/dummy.6.0/bin/yarn @@ -0,0 +1,11 @@ +#!/usr/bin/env ruby +APP_ROOT = File.expand_path('..', __dir__) +Dir.chdir(APP_ROOT) do + begin + exec "yarnpkg", *ARGV + rescue Errno::ENOENT + $stderr.puts "Yarn executable was not detected in the system." + $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" + exit 1 + end +end diff --git a/spec/dummy/config.ru b/spec/dummy.6.0/config.ru similarity index 59% rename from spec/dummy/config.ru rename to spec/dummy.6.0/config.ru index 5bc2a61..f7ba0b5 100644 --- a/spec/dummy/config.ru +++ b/spec/dummy.6.0/config.ru @@ -1,4 +1,5 @@ # This file is used by Rack-based servers to start the application. -require ::File.expand_path('../config/environment', __FILE__) +require_relative 'config/environment' + run Rails.application diff --git a/spec/dummy.6.0/config/application.rb b/spec/dummy.6.0/config/application.rb new file mode 100644 index 0000000..ea2c1d7 --- /dev/null +++ b/spec/dummy.6.0/config/application.rb @@ -0,0 +1,19 @@ +require_relative 'boot' + +require 'rails/all' + +# Require the gems listed in Gemfile, including any gems +# you've limited to :test, :development, or :production. +Bundler.require(*Rails.groups) + +module Dummy60 + class Application < Rails::Application + # Initialize configuration defaults for originally generated Rails version. + config.load_defaults 6.0 + + # Settings in config/environments/* take precedence over those specified here. + # Application configuration can go into files in config/initializers + # -- all .rb files in that directory are automatically loaded after loading + # the framework and any gems in your application. + end +end diff --git a/spec/dummy.6.0/config/boot.rb b/spec/dummy.6.0/config/boot.rb new file mode 100644 index 0000000..b9e460c --- /dev/null +++ b/spec/dummy.6.0/config/boot.rb @@ -0,0 +1,4 @@ +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) + +require 'bundler/setup' # Set up gems listed in the Gemfile. +require 'bootsnap/setup' # Speed up boot time by caching expensive operations. diff --git a/spec/dummy.6.0/config/cable.yml b/spec/dummy.6.0/config/cable.yml new file mode 100644 index 0000000..056dd77 --- /dev/null +++ b/spec/dummy.6.0/config/cable.yml @@ -0,0 +1,10 @@ +development: + adapter: async + +test: + adapter: test + +production: + adapter: redis + url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> + channel_prefix: dummy_6_0_production diff --git a/spec/dummy.6.0/config/credentials.yml.enc b/spec/dummy.6.0/config/credentials.yml.enc new file mode 100644 index 0000000..6b7d4d8 --- /dev/null +++ b/spec/dummy.6.0/config/credentials.yml.enc @@ -0,0 +1 @@ +T0bgygdBMs44+ftCqIG9hloZLZLWseZOXJYVIuXXAoecHHaE6Q6G5z/qPNmvoUg+eCezJsWiVyXhXlXauxyU/d7NS2IwnOc2rR8/+sPohGOseWEKg9HnaVxTNkufjwbm1/Hp6heyEZXAQg0Kqc6rUQEkbdDxCvE7buOD+3avrnuehdRhDFRoBC0YqCKJ4JVMo5e84iHvPzmoLRfn0jeuLfTumL5JzDoWKBiinKTcLyOT7N8TCR24XNj3Q5BRuXv0LQj+jeSeDOujK4HC6tBHHo7zVYX3hNtNByeBAoexW+IDwl+j6n0xphozWFKH6CygYfRZiBUtAf0EXk6mK7nSbc0QoWfkD8VkfTddY5dhFqKXQjjwvvTz53I4eKkuJWUU/kq/cv3x4q58goBHMHVmc5MyCHOBq4nelbmk--7hcuAxy0EYLULhdf--VuRsc11G9v7GghDJa9VFwg== \ No newline at end of file diff --git a/spec/dummy/config/database.yml b/spec/dummy.6.0/config/database.yml similarity index 73% rename from spec/dummy/config/database.yml rename to spec/dummy.6.0/config/database.yml index 51a4dd4..4a8a1b2 100644 --- a/spec/dummy/config/database.yml +++ b/spec/dummy.6.0/config/database.yml @@ -1,25 +1,25 @@ -# SQLite version 3.x +# SQLite. Versions 3.8.0 and up are supported. # gem install sqlite3 # # Ensure the SQLite 3 gem is defined in your Gemfile # gem 'sqlite3' -development: +# +default: &default adapter: sqlite3 - database: db/development.sqlite3 - pool: 5 + pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> timeout: 5000 +development: + <<: *default + database: db/development.sqlite3 + # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. test: - adapter: sqlite3 + <<: *default database: db/test.sqlite3 - pool: 5 - timeout: 5000 production: - adapter: sqlite3 + <<: *default database: db/production.sqlite3 - pool: 5 - timeout: 5000 diff --git a/spec/dummy.6.0/config/environment.rb b/spec/dummy.6.0/config/environment.rb new file mode 100644 index 0000000..426333b --- /dev/null +++ b/spec/dummy.6.0/config/environment.rb @@ -0,0 +1,5 @@ +# Load the Rails application. +require_relative 'application' + +# Initialize the Rails application. +Rails.application.initialize! diff --git a/spec/dummy.6.0/config/environments/development.rb b/spec/dummy.6.0/config/environments/development.rb new file mode 100644 index 0000000..66df51f --- /dev/null +++ b/spec/dummy.6.0/config/environments/development.rb @@ -0,0 +1,62 @@ +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # In the development environment your application's code is reloaded on + # every request. This slows down response time but is perfect for development + # since you don't have to restart the web server when you make code changes. + config.cache_classes = false + + # Do not eager load code on boot. + config.eager_load = false + + # Show full error reports. + config.consider_all_requests_local = true + + # Enable/disable caching. By default caching is disabled. + # Run rails dev:cache to toggle caching. + if Rails.root.join('tmp', 'caching-dev.txt').exist? + config.action_controller.perform_caching = true + config.action_controller.enable_fragment_cache_logging = true + + config.cache_store = :memory_store + config.public_file_server.headers = { + 'Cache-Control' => "public, max-age=#{2.days.to_i}" + } + else + config.action_controller.perform_caching = false + + config.cache_store = :null_store + end + + # Store uploaded files on the local file system (see config/storage.yml for options). + config.active_storage.service = :local + + # Don't care if the mailer can't send. + config.action_mailer.raise_delivery_errors = false + + config.action_mailer.perform_caching = false + + # Print deprecation notices to the Rails logger. + config.active_support.deprecation = :log + + # Raise an error on page load if there are pending migrations. + config.active_record.migration_error = :page_load + + # Highlight code that triggered database queries in logs. + config.active_record.verbose_query_logs = true + + # Debug mode disables concatenation and preprocessing of assets. + # This option may cause significant delays in view rendering with a large + # number of complex assets. + config.assets.debug = true + + # Suppress logger output for asset requests. + config.assets.quiet = true + + # Raises error for missing translations. + # config.action_view.raise_on_missing_translations = true + + # Use an evented file watcher to asynchronously detect changes in source code, + # routes, locales, etc. This feature depends on the listen gem. + config.file_watcher = ActiveSupport::EventedFileUpdateChecker +end diff --git a/spec/dummy.6.0/config/environments/production.rb b/spec/dummy.6.0/config/environments/production.rb new file mode 100644 index 0000000..c2523d0 --- /dev/null +++ b/spec/dummy.6.0/config/environments/production.rb @@ -0,0 +1,112 @@ +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # Code is not reloaded between requests. + config.cache_classes = true + + # Eager load code on boot. This eager loads most of Rails and + # your application in memory, allowing both threaded web servers + # and those relying on copy on write to perform better. + # Rake tasks automatically ignore this option for performance. + config.eager_load = true + + # Full error reports are disabled and caching is turned on. + config.consider_all_requests_local = false + config.action_controller.perform_caching = true + + # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"] + # or in config/master.key. This key is used to decrypt credentials (and other encrypted files). + # config.require_master_key = true + + # Disable serving static files from the `/public` folder by default since + # Apache or NGINX already handles this. + config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? + + # Compress CSS using a preprocessor. + # config.assets.css_compressor = :sass + + # Do not fallback to assets pipeline if a precompiled asset is missed. + config.assets.compile = false + + # Enable serving of images, stylesheets, and JavaScripts from an asset server. + # config.action_controller.asset_host = 'http://assets.example.com' + + # Specifies the header that your server uses for sending files. + # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache + # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX + + # Store uploaded files on the local file system (see config/storage.yml for options). + config.active_storage.service = :local + + # Mount Action Cable outside main process or domain. + # config.action_cable.mount_path = nil + # config.action_cable.url = 'wss://example.com/cable' + # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ] + + # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. + # config.force_ssl = true + + # Use the lowest log level to ensure availability of diagnostic information + # when problems arise. + config.log_level = :debug + + # Prepend all log lines with the following tags. + config.log_tags = [ :request_id ] + + # Use a different cache store in production. + # config.cache_store = :mem_cache_store + + # Use a real queuing backend for Active Job (and separate queues per environment). + # config.active_job.queue_adapter = :resque + # config.active_job.queue_name_prefix = "dummy_6_0_production" + + config.action_mailer.perform_caching = false + + # Ignore bad email addresses and do not raise email delivery errors. + # Set this to true and configure the email server for immediate delivery to raise delivery errors. + # config.action_mailer.raise_delivery_errors = false + + # Enable locale fallbacks for I18n (makes lookups for any locale fall back to + # the I18n.default_locale when a translation cannot be found). + config.i18n.fallbacks = true + + # Send deprecation notices to registered listeners. + config.active_support.deprecation = :notify + + # Use default logging formatter so that PID and timestamp are not suppressed. + config.log_formatter = ::Logger::Formatter.new + + # Use a different logger for distributed setups. + # require 'syslog/logger' + # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') + + if ENV["RAILS_LOG_TO_STDOUT"].present? + logger = ActiveSupport::Logger.new(STDOUT) + logger.formatter = config.log_formatter + config.logger = ActiveSupport::TaggedLogging.new(logger) + end + + # Do not dump schema after migrations. + config.active_record.dump_schema_after_migration = false + + # Inserts middleware to perform automatic connection switching. + # The `database_selector` hash is used to pass options to the DatabaseSelector + # middleware. The `delay` is used to determine how long to wait after a write + # to send a subsequent read to the primary. + # + # The `database_resolver` class is used by the middleware to determine which + # database is appropriate to use based on the time delay. + # + # The `database_resolver_context` class is used by the middleware to set + # timestamps for the last write to the primary. The resolver uses the context + # class timestamps to determine how long to wait before reading from the + # replica. + # + # By default Rails will store a last write timestamp in the session. The + # DatabaseSelector middleware is designed as such you can define your own + # strategy for connection switching and pass that into the middleware through + # these configuration options. + # config.active_record.database_selector = { delay: 2.seconds } + # config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver + # config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session +end diff --git a/spec/dummy/config/environments/test.rb b/spec/dummy.6.0/config/environments/test.rb similarity index 53% rename from spec/dummy/config/environments/test.rb rename to spec/dummy.6.0/config/environments/test.rb index afbc0ae..0cb2424 100644 --- a/spec/dummy/config/environments/test.rb +++ b/spec/dummy.6.0/config/environments/test.rb @@ -1,24 +1,29 @@ -Dummy::Application.configure do +# The test environment is used exclusively to run your application's +# test suite. You never need to work with it otherwise. Remember that +# your test database is "scratch space" for the test suite and is wiped +# and recreated between test runs. Don't rely on the data there! + +Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. - # The test environment is used exclusively to run your application's - # test suite. You never need to work with it otherwise. Remember that - # your test database is "scratch space" for the test suite and is wiped - # and recreated between test runs. Don't rely on the data there! - config.cache_classes = true + config.cache_classes = false + config.action_view.cache_template_loading = true # Do not eager load code on boot. This avoids loading your whole application # just for the purpose of running a single test. If you are using a tool that # preloads Rails for running tests, you may have to set it to true. config.eager_load = false - # Configure static asset server for tests with Cache-Control for performance. - config.serve_static_assets = true - config.static_cache_control = "public, max-age=3600" + # Configure public file server for tests with Cache-Control for performance. + config.public_file_server.enabled = true + config.public_file_server.headers = { + 'Cache-Control' => "public, max-age=#{1.hour.to_i}" + } # Show full error reports and disable caching. config.consider_all_requests_local = true config.action_controller.perform_caching = false + config.cache_store = :null_store # Raise exceptions instead of rendering exception templates. config.action_dispatch.show_exceptions = false @@ -26,6 +31,11 @@ # Disable request forgery protection in test environment. config.action_controller.allow_forgery_protection = false + # Store uploaded files on the local file system in a temporary directory. + config.active_storage.service = :test + + config.action_mailer.perform_caching = false + # Tell Action Mailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the # ActionMailer::Base.deliveries array. @@ -33,4 +43,7 @@ # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr + + # Raises error for missing translations. + # config.action_view.raise_on_missing_translations = true end diff --git a/spec/dummy.6.0/config/initializers/application_controller_renderer.rb b/spec/dummy.6.0/config/initializers/application_controller_renderer.rb new file mode 100644 index 0000000..89d2efa --- /dev/null +++ b/spec/dummy.6.0/config/initializers/application_controller_renderer.rb @@ -0,0 +1,8 @@ +# Be sure to restart your server when you modify this file. + +# ActiveSupport::Reloader.to_prepare do +# ApplicationController.renderer.defaults.merge!( +# http_host: 'example.org', +# https: false +# ) +# end diff --git a/spec/dummy.6.0/config/initializers/assets.rb b/spec/dummy.6.0/config/initializers/assets.rb new file mode 100644 index 0000000..4b828e8 --- /dev/null +++ b/spec/dummy.6.0/config/initializers/assets.rb @@ -0,0 +1,14 @@ +# Be sure to restart your server when you modify this file. + +# Version of your assets, change this if you want to expire all your assets. +Rails.application.config.assets.version = '1.0' + +# Add additional assets to the asset load path. +# Rails.application.config.assets.paths << Emoji.images_path +# Add Yarn node_modules folder to the asset load path. +Rails.application.config.assets.paths << Rails.root.join('node_modules') + +# Precompile additional assets. +# application.js, application.css, and all non-JS/CSS in the app/assets +# folder are already added. +# Rails.application.config.assets.precompile += %w( admin.js admin.css ) diff --git a/spec/dummy/config/initializers/backtrace_silencers.rb b/spec/dummy.6.0/config/initializers/backtrace_silencers.rb similarity index 100% rename from spec/dummy/config/initializers/backtrace_silencers.rb rename to spec/dummy.6.0/config/initializers/backtrace_silencers.rb diff --git a/spec/dummy.6.0/config/initializers/content_security_policy.rb b/spec/dummy.6.0/config/initializers/content_security_policy.rb new file mode 100644 index 0000000..35d0f26 --- /dev/null +++ b/spec/dummy.6.0/config/initializers/content_security_policy.rb @@ -0,0 +1,30 @@ +# Be sure to restart your server when you modify this file. + +# Define an application-wide content security policy +# For further information see the following documentation +# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy + +# Rails.application.config.content_security_policy do |policy| +# policy.default_src :self, :https +# policy.font_src :self, :https, :data +# policy.img_src :self, :https, :data +# policy.object_src :none +# policy.script_src :self, :https +# policy.style_src :self, :https +# # If you are using webpack-dev-server then specify webpack-dev-server host +# policy.connect_src :self, :https, "http://localhost:3035", "ws://localhost:3035" if Rails.env.development? + +# # Specify URI for violation reports +# # policy.report_uri "/csp-violation-report-endpoint" +# end + +# If you are using UJS then enable automatic nonce generation +# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) } + +# Set the nonce only to specific directives +# Rails.application.config.content_security_policy_nonce_directives = %w(script-src) + +# Report CSP violations to a specified URI +# For further information see the following documentation: +# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only +# Rails.application.config.content_security_policy_report_only = true diff --git a/spec/dummy.6.0/config/initializers/cookies_serializer.rb b/spec/dummy.6.0/config/initializers/cookies_serializer.rb new file mode 100644 index 0000000..5a6a32d --- /dev/null +++ b/spec/dummy.6.0/config/initializers/cookies_serializer.rb @@ -0,0 +1,5 @@ +# Be sure to restart your server when you modify this file. + +# Specify a serializer for the signed and encrypted cookie jars. +# Valid options are :json, :marshal, and :hybrid. +Rails.application.config.action_dispatch.cookies_serializer = :json diff --git a/spec/dummy/config/initializers/filter_parameter_logging.rb b/spec/dummy.6.0/config/initializers/filter_parameter_logging.rb similarity index 100% rename from spec/dummy/config/initializers/filter_parameter_logging.rb rename to spec/dummy.6.0/config/initializers/filter_parameter_logging.rb diff --git a/spec/dummy/config/initializers/inflections.rb b/spec/dummy.6.0/config/initializers/inflections.rb similarity index 100% rename from spec/dummy/config/initializers/inflections.rb rename to spec/dummy.6.0/config/initializers/inflections.rb diff --git a/spec/dummy/config/initializers/mime_types.rb b/spec/dummy.6.0/config/initializers/mime_types.rb similarity index 76% rename from spec/dummy/config/initializers/mime_types.rb rename to spec/dummy.6.0/config/initializers/mime_types.rb index 72aca7e..dc18996 100644 --- a/spec/dummy/config/initializers/mime_types.rb +++ b/spec/dummy.6.0/config/initializers/mime_types.rb @@ -2,4 +2,3 @@ # Add new mime types for use in respond_to blocks: # Mime::Type.register "text/richtext", :rtf -# Mime::Type.register_alias "text/html", :iphone diff --git a/spec/dummy/config/initializers/wrap_parameters.rb b/spec/dummy.6.0/config/initializers/wrap_parameters.rb similarity index 80% rename from spec/dummy/config/initializers/wrap_parameters.rb rename to spec/dummy.6.0/config/initializers/wrap_parameters.rb index 33725e9..bbfc396 100644 --- a/spec/dummy/config/initializers/wrap_parameters.rb +++ b/spec/dummy.6.0/config/initializers/wrap_parameters.rb @@ -5,10 +5,10 @@ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. ActiveSupport.on_load(:action_controller) do - wrap_parameters format: [:json] if respond_to?(:wrap_parameters) + wrap_parameters format: [:json] end # To enable root element in JSON for ActiveRecord objects. # ActiveSupport.on_load(:active_record) do -# self.include_root_in_json = true +# self.include_root_in_json = true # end diff --git a/spec/dummy/config/locales/en.yml b/spec/dummy.6.0/config/locales/en.yml similarity index 68% rename from spec/dummy/config/locales/en.yml rename to spec/dummy.6.0/config/locales/en.yml index 0653957..cf9b342 100644 --- a/spec/dummy/config/locales/en.yml +++ b/spec/dummy.6.0/config/locales/en.yml @@ -16,8 +16,18 @@ # # This would use the information in config/locales/es.yml. # +# The following keys must be escaped otherwise they will not be retrieved by +# the default I18n backend: +# +# true, false, on, off, yes, no +# +# Instead, surround them with single quotes. +# +# en: +# 'true': 'foo' +# # To learn more, please read the Rails Internationalization guide -# available at http://guides.rubyonrails.org/i18n.html. +# available at https://guides.rubyonrails.org/i18n.html. en: hello: "Hello world" diff --git a/spec/dummy.6.0/config/puma.rb b/spec/dummy.6.0/config/puma.rb new file mode 100644 index 0000000..5ed4437 --- /dev/null +++ b/spec/dummy.6.0/config/puma.rb @@ -0,0 +1,38 @@ +# Puma can serve each request in a thread from an internal thread pool. +# The `threads` method setting takes two numbers: a minimum and maximum. +# Any libraries that use thread pools should be configured to match +# the maximum value specified for Puma. Default is set to 5 threads for minimum +# and maximum; this matches the default thread size of Active Record. +# +max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 } +min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count } +threads min_threads_count, max_threads_count + +# Specifies the `port` that Puma will listen on to receive requests; default is 3000. +# +port ENV.fetch("PORT") { 3000 } + +# Specifies the `environment` that Puma will run in. +# +environment ENV.fetch("RAILS_ENV") { "development" } + +# Specifies the `pidfile` that Puma will use. +pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" } + +# Specifies the number of `workers` to boot in clustered mode. +# Workers are forked web server processes. If using threads and workers together +# the concurrency of the application would be max `threads` * `workers`. +# Workers do not work on JRuby or Windows (both of which do not support +# processes). +# +# workers ENV.fetch("WEB_CONCURRENCY") { 2 } + +# Use the `preload_app!` method when specifying a `workers` number. +# This directive tells Puma to first boot the application and load code +# before forking the application. This takes advantage of Copy On Write +# process behavior so workers use less memory. +# +# preload_app! + +# Allow puma to be restarted by `rails restart` command. +plugin :tmp_restart diff --git a/spec/dummy/config/routes.rb b/spec/dummy.6.0/config/routes.rb similarity index 55% rename from spec/dummy/config/routes.rb rename to spec/dummy.6.0/config/routes.rb index ac7038f..56639a5 100644 --- a/spec/dummy/config/routes.rb +++ b/spec/dummy.6.0/config/routes.rb @@ -1,5 +1,8 @@ -Dummy::Application.routes.draw do - root to: 'welcome#index' +# frozen_string_literal: true + +Rails.application.routes.draw do + # Defines the root path route ("/") + root to: 'users#index' multi_site_scope do resources :users end diff --git a/spec/dummy.6.0/config/spring.rb b/spec/dummy.6.0/config/spring.rb new file mode 100644 index 0000000..db5bf13 --- /dev/null +++ b/spec/dummy.6.0/config/spring.rb @@ -0,0 +1,6 @@ +Spring.watch( + ".ruby-version", + ".rbenv-vars", + "tmp/restart.txt", + "tmp/caching-dev.txt" +) diff --git a/spec/dummy.6.0/config/storage.yml b/spec/dummy.6.0/config/storage.yml new file mode 100644 index 0000000..d32f76e --- /dev/null +++ b/spec/dummy.6.0/config/storage.yml @@ -0,0 +1,34 @@ +test: + service: Disk + root: <%= Rails.root.join("tmp/storage") %> + +local: + service: Disk + root: <%= Rails.root.join("storage") %> + +# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key) +# amazon: +# service: S3 +# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %> +# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %> +# region: us-east-1 +# bucket: your_own_bucket + +# Remember not to checkin your GCS keyfile to a repository +# google: +# service: GCS +# project: your_project +# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %> +# bucket: your_own_bucket + +# Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key) +# microsoft: +# service: AzureStorage +# storage_account_name: your_account_name +# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %> +# container: your_container_name + +# mirror: +# service: Mirror +# primary: local +# mirrors: [ amazon, google, microsoft ] diff --git a/spec/dummy.6.0/config/webpack/development.js b/spec/dummy.6.0/config/webpack/development.js new file mode 100644 index 0000000..c5edff9 --- /dev/null +++ b/spec/dummy.6.0/config/webpack/development.js @@ -0,0 +1,5 @@ +process.env.NODE_ENV = process.env.NODE_ENV || 'development' + +const environment = require('./environment') + +module.exports = environment.toWebpackConfig() diff --git a/spec/dummy.6.0/config/webpack/environment.js b/spec/dummy.6.0/config/webpack/environment.js new file mode 100644 index 0000000..d16d9af --- /dev/null +++ b/spec/dummy.6.0/config/webpack/environment.js @@ -0,0 +1,3 @@ +const { environment } = require('@rails/webpacker') + +module.exports = environment diff --git a/spec/dummy.6.0/config/webpack/production.js b/spec/dummy.6.0/config/webpack/production.js new file mode 100644 index 0000000..be0f53a --- /dev/null +++ b/spec/dummy.6.0/config/webpack/production.js @@ -0,0 +1,5 @@ +process.env.NODE_ENV = process.env.NODE_ENV || 'production' + +const environment = require('./environment') + +module.exports = environment.toWebpackConfig() diff --git a/spec/dummy.6.0/config/webpack/test.js b/spec/dummy.6.0/config/webpack/test.js new file mode 100644 index 0000000..c5edff9 --- /dev/null +++ b/spec/dummy.6.0/config/webpack/test.js @@ -0,0 +1,5 @@ +process.env.NODE_ENV = process.env.NODE_ENV || 'development' + +const environment = require('./environment') + +module.exports = environment.toWebpackConfig() diff --git a/spec/dummy.6.0/config/webpacker.yml b/spec/dummy.6.0/config/webpacker.yml new file mode 100644 index 0000000..8581ac0 --- /dev/null +++ b/spec/dummy.6.0/config/webpacker.yml @@ -0,0 +1,96 @@ +# Note: You must restart bin/webpack-dev-server for changes to take effect + +default: &default + source_path: app/javascript + source_entry_path: packs + public_root_path: public + public_output_path: packs + cache_path: tmp/cache/webpacker + check_yarn_integrity: false + webpack_compile_output: true + + # Additional paths webpack should lookup modules + # ['app/assets', 'engine/foo/app/assets'] + resolved_paths: [] + + # Reload manifest.json on all requests so we reload latest compiled packs + cache_manifest: false + + # Extract and emit a css file + extract_css: false + + static_assets_extensions: + - .jpg + - .jpeg + - .png + - .gif + - .tiff + - .ico + - .svg + - .eot + - .otf + - .ttf + - .woff + - .woff2 + + extensions: + - .mjs + - .js + - .sass + - .scss + - .css + - .module.sass + - .module.scss + - .module.css + - .png + - .svg + - .gif + - .jpeg + - .jpg + +development: + <<: *default + compile: true + + # Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules + check_yarn_integrity: true + + # Reference: https://webpack.js.org/configuration/dev-server/ + dev_server: + https: false + host: localhost + port: 3035 + public: localhost:3035 + hmr: false + # Inline should be set to true if using HMR + inline: true + overlay: true + compress: true + disable_host_check: true + use_local_ip: false + quiet: false + pretty: false + headers: + 'Access-Control-Allow-Origin': '*' + watch_options: + ignored: '**/node_modules/**' + + +test: + <<: *default + compile: true + + # Compile test packs to a separate directory + public_output_path: packs-test + +production: + <<: *default + + # Production depends on precompilation of packs prior to booting for performance. + compile: false + + # Extract and emit a css file + extract_css: true + + # Cache manifest.json for performance + cache_manifest: true diff --git a/spec/dummy.6.0/db/migrate/20230130163134_create_users.rb b/spec/dummy.6.0/db/migrate/20230130163134_create_users.rb new file mode 100644 index 0000000..08ae80c --- /dev/null +++ b/spec/dummy.6.0/db/migrate/20230130163134_create_users.rb @@ -0,0 +1,9 @@ +class CreateUsers < ActiveRecord::Migration[6.0] + def change + create_table :users do |t| + t.string :login + t.references :site + t.timestamps + end + end +end diff --git a/spec/dummy/db/migrate/20130129143939_create_sites.rb b/spec/dummy.6.0/db/migrate/20230130163141_create_sites.rb similarity index 67% rename from spec/dummy/db/migrate/20130129143939_create_sites.rb rename to spec/dummy.6.0/db/migrate/20230130163141_create_sites.rb index a6f2cdb..dbcca28 100644 --- a/spec/dummy/db/migrate/20130129143939_create_sites.rb +++ b/spec/dummy.6.0/db/migrate/20230130163141_create_sites.rb @@ -1,8 +1,7 @@ -class CreateSites < ActiveRecord::Migration +class CreateSites < ActiveRecord::Migration[6.0] def change create_table :sites do |t| t.string :url - t.timestamps end end diff --git a/spec/dummy.6.0/db/schema.rb b/spec/dummy.6.0/db/schema.rb new file mode 100644 index 0000000..a683d06 --- /dev/null +++ b/spec/dummy.6.0/db/schema.rb @@ -0,0 +1,29 @@ +# This file is auto-generated from the current state of the database. Instead +# of editing this file, please use the migrations feature of Active Record to +# incrementally modify your database, and then regenerate this schema definition. +# +# This file is the source Rails uses to define your schema when running `rails +# db:schema:load`. When creating a new database, `rails db:schema:load` tends to +# be faster and is potentially less error prone than running all of your +# migrations from scratch. Old migrations may fail to apply correctly if those +# migrations use external dependencies or application code. +# +# It's strongly recommended that you check this file into your version control system. + +ActiveRecord::Schema.define(version: 2023_01_30_163141) do + + create_table "sites", force: :cascade do |t| + t.string "url" + t.datetime "created_at", precision: 6, null: false + t.datetime "updated_at", precision: 6, null: false + end + + create_table "users", force: :cascade do |t| + t.string "login" + t.integer "site_id" + t.datetime "created_at", precision: 6, null: false + t.datetime "updated_at", precision: 6, null: false + t.index ["site_id"], name: "index_users_on_site_id" + end + +end diff --git a/spec/dummy.6.0/db/seeds.rb b/spec/dummy.6.0/db/seeds.rb new file mode 100644 index 0000000..1beea2a --- /dev/null +++ b/spec/dummy.6.0/db/seeds.rb @@ -0,0 +1,7 @@ +# This file should contain all the record creation needed to seed the database with its default values. +# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup). +# +# Examples: +# +# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) +# Character.create(name: 'Luke', movie: movies.first) diff --git a/spec/dummy/app/models/.keep b/spec/dummy.6.0/lib/assets/.keep similarity index 100% rename from spec/dummy/app/models/.keep rename to spec/dummy.6.0/lib/assets/.keep diff --git a/spec/dummy/app/models/concerns/.keep b/spec/dummy.6.0/lib/tasks/.keep similarity index 100% rename from spec/dummy/app/models/concerns/.keep rename to spec/dummy.6.0/lib/tasks/.keep diff --git a/spec/dummy/lib/assets/.keep b/spec/dummy.6.0/log/.keep similarity index 100% rename from spec/dummy/lib/assets/.keep rename to spec/dummy.6.0/log/.keep diff --git a/spec/dummy.6.0/package.json b/spec/dummy.6.0/package.json new file mode 100644 index 0000000..51a48e5 --- /dev/null +++ b/spec/dummy.6.0/package.json @@ -0,0 +1,14 @@ +{ + "name": "dummy_6_0", + "private": true, + "dependencies": { + "@rails/actioncable": "^6.0.0", + "@rails/activestorage": "^6.0.0", + "@rails/ujs": "^6.0.0", + "turbolinks": "^5.2.0" + }, + "version": "0.1.0", + "devDependencies": { + "webpack-dev-server": "^4.11.1" + } +} diff --git a/spec/dummy.6.0/postcss.config.js b/spec/dummy.6.0/postcss.config.js new file mode 100644 index 0000000..aa5998a --- /dev/null +++ b/spec/dummy.6.0/postcss.config.js @@ -0,0 +1,12 @@ +module.exports = { + plugins: [ + require('postcss-import'), + require('postcss-flexbugs-fixes'), + require('postcss-preset-env')({ + autoprefixer: { + flexbox: 'no-2009' + }, + stage: 3 + }) + ] +} diff --git a/spec/dummy/public/404.html b/spec/dummy.6.0/public/404.html similarity index 52% rename from spec/dummy/public/404.html rename to spec/dummy.6.0/public/404.html index a0daa0c..2be3af2 100644 --- a/spec/dummy/public/404.html +++ b/spec/dummy.6.0/public/404.html @@ -2,17 +2,23 @@ The page you were looking for doesn't exist (404) + - +
-

The page you were looking for doesn't exist.

-

You may have mistyped the address or the page may have moved.

+
+

The page you were looking for doesn't exist.

+

You may have mistyped the address or the page may have moved.

+
+

If you are the application owner check the logs for more information.

-

If you are the application owner check the logs for more information.

diff --git a/spec/dummy/public/422.html b/spec/dummy.6.0/public/422.html similarity index 52% rename from spec/dummy/public/422.html rename to spec/dummy.6.0/public/422.html index fbb4b84..c08eac0 100644 --- a/spec/dummy/public/422.html +++ b/spec/dummy.6.0/public/422.html @@ -2,17 +2,23 @@ The change you wanted was rejected (422) + - +
-

The change you wanted was rejected.

-

Maybe you tried to change something you didn't have access to.

+
+

The change you wanted was rejected.

+

Maybe you tried to change something you didn't have access to.

+
+

If you are the application owner check the logs for more information.

-

If you are the application owner check the logs for more information.

diff --git a/spec/dummy/public/500.html b/spec/dummy.6.0/public/500.html similarity index 55% rename from spec/dummy/public/500.html rename to spec/dummy.6.0/public/500.html index e9052d3..78a030a 100644 --- a/spec/dummy/public/500.html +++ b/spec/dummy.6.0/public/500.html @@ -2,17 +2,23 @@ We're sorry, but something went wrong (500) + - +
-

We're sorry, but something went wrong.

+
+

We're sorry, but something went wrong.

+
+

If you are the application owner check the logs for more information.

-

If you are the application owner check the logs for more information.

diff --git a/spec/dummy/lib/tasks/.keep b/spec/dummy.6.0/public/apple-touch-icon-precomposed.png similarity index 100% rename from spec/dummy/lib/tasks/.keep rename to spec/dummy.6.0/public/apple-touch-icon-precomposed.png diff --git a/spec/dummy/log/.keep b/spec/dummy.6.0/public/apple-touch-icon.png similarity index 100% rename from spec/dummy/log/.keep rename to spec/dummy.6.0/public/apple-touch-icon.png diff --git a/spec/dummy/public/favicon.ico b/spec/dummy.6.0/public/favicon.ico similarity index 100% rename from spec/dummy/public/favicon.ico rename to spec/dummy.6.0/public/favicon.ico diff --git a/spec/dummy.6.0/public/robots.txt b/spec/dummy.6.0/public/robots.txt new file mode 100644 index 0000000..c19f78a --- /dev/null +++ b/spec/dummy.6.0/public/robots.txt @@ -0,0 +1 @@ +# See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file diff --git a/spec/dummy/vendor/assets/javascripts/.keep b/spec/dummy.6.0/storage/.keep similarity index 100% rename from spec/dummy/vendor/assets/javascripts/.keep rename to spec/dummy.6.0/storage/.keep diff --git a/spec/dummy.6.0/test/application_system_test_case.rb b/spec/dummy.6.0/test/application_system_test_case.rb new file mode 100644 index 0000000..d19212a --- /dev/null +++ b/spec/dummy.6.0/test/application_system_test_case.rb @@ -0,0 +1,5 @@ +require "test_helper" + +class ApplicationSystemTestCase < ActionDispatch::SystemTestCase + driven_by :selenium, using: :chrome, screen_size: [1400, 1400] +end diff --git a/spec/dummy.6.0/test/channels/application_cable/connection_test.rb b/spec/dummy.6.0/test/channels/application_cable/connection_test.rb new file mode 100644 index 0000000..800405f --- /dev/null +++ b/spec/dummy.6.0/test/channels/application_cable/connection_test.rb @@ -0,0 +1,11 @@ +require "test_helper" + +class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase + # test "connects with cookies" do + # cookies.signed[:user_id] = 42 + # + # connect + # + # assert_equal connection.user_id, "42" + # end +end diff --git a/spec/dummy/vendor/assets/stylesheets/.keep b/spec/dummy.6.0/test/controllers/.keep similarity index 100% rename from spec/dummy/vendor/assets/stylesheets/.keep rename to spec/dummy.6.0/test/controllers/.keep diff --git a/spec/dummy.6.0/test/controllers/users_controller_test.rb b/spec/dummy.6.0/test/controllers/users_controller_test.rb new file mode 100644 index 0000000..6c3da77 --- /dev/null +++ b/spec/dummy.6.0/test/controllers/users_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class UsersControllerTest < ActionDispatch::IntegrationTest + # test "the truth" do + # assert true + # end +end diff --git a/spec/dummy.6.0/test/fixtures/.keep b/spec/dummy.6.0/test/fixtures/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.6.0/test/fixtures/files/.keep b/spec/dummy.6.0/test/fixtures/files/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.6.0/test/fixtures/sites.yml b/spec/dummy.6.0/test/fixtures/sites.yml new file mode 100644 index 0000000..5181636 --- /dev/null +++ b/spec/dummy.6.0/test/fixtures/sites.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the '{}' from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/spec/dummy.6.0/test/fixtures/users.yml b/spec/dummy.6.0/test/fixtures/users.yml new file mode 100644 index 0000000..5181636 --- /dev/null +++ b/spec/dummy.6.0/test/fixtures/users.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the '{}' from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/spec/dummy.6.0/test/helpers/.keep b/spec/dummy.6.0/test/helpers/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.6.0/test/integration/.keep b/spec/dummy.6.0/test/integration/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.6.0/test/mailers/.keep b/spec/dummy.6.0/test/mailers/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.6.0/test/models/.keep b/spec/dummy.6.0/test/models/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.6.0/test/models/site_test.rb b/spec/dummy.6.0/test/models/site_test.rb new file mode 100644 index 0000000..38c8dd0 --- /dev/null +++ b/spec/dummy.6.0/test/models/site_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class SiteTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/spec/dummy.6.0/test/models/user_test.rb b/spec/dummy.6.0/test/models/user_test.rb new file mode 100644 index 0000000..82f61e0 --- /dev/null +++ b/spec/dummy.6.0/test/models/user_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class UserTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/spec/dummy.6.0/test/system/.keep b/spec/dummy.6.0/test/system/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.6.0/test/test_helper.rb b/spec/dummy.6.0/test/test_helper.rb new file mode 100644 index 0000000..d5300f8 --- /dev/null +++ b/spec/dummy.6.0/test/test_helper.rb @@ -0,0 +1,13 @@ +ENV['RAILS_ENV'] ||= 'test' +require_relative '../config/environment' +require 'rails/test_help' + +class ActiveSupport::TestCase + # Run tests in parallel with specified workers + parallelize(workers: :number_of_processors) + + # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. + fixtures :all + + # Add more helper methods to be used by all tests here... +end diff --git a/spec/dummy.6.0/vendor/.keep b/spec/dummy.6.0/vendor/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.6.0/yarn.lock b/spec/dummy.6.0/yarn.lock new file mode 100644 index 0000000..866ca7a --- /dev/null +++ b/spec/dummy.6.0/yarn.lock @@ -0,0 +1,1391 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@leichtgewicht/ip-codec@^2.0.1": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" + integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== + +"@rails/actioncable@^6.0.0": + version "6.1.7" + resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-6.1.7.tgz#8b4506925d3f7146a70941e4db7ce9dda99f99ae" + integrity sha512-F6S74NGpxhbbDRFsQFGYqefRfZPgYvePNtz9hHKYOqLturrsqrDoG+UcrxEGHsvqDUorMYfx4Wl3K8smmk/u2g== + +"@rails/activestorage@^6.0.0": + version "6.1.7" + resolved "https://registry.yarnpkg.com/@rails/activestorage/-/activestorage-6.1.7.tgz#5aaae9f4d10800fdb4fd6fe26fd8b4218579c6e3" + integrity sha512-h++k8LBLns4O8AqzdaFp1TsCLP9VSc2hgWI37bjzJ+4D995X7Rd8kdkRmXRaNAUlHDJgy6RpnbhBJ5oiIgWTDw== + dependencies: + spark-md5 "^3.0.0" + +"@rails/ujs@^6.0.0": + version "6.1.7" + resolved "https://registry.yarnpkg.com/@rails/ujs/-/ujs-6.1.7.tgz#b09dc5b2105dd267e8374c47e4490240451dc7f6" + integrity sha512-0e7WQ4LE/+LEfW2zfAw9ppsB6A8RmxbdAUPAF++UT80epY+7emuQDkKXmaK0a9lp6An50RvzezI0cIQjp1A58w== + +"@types/body-parser@*": + version "1.19.2" + resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.2.tgz#aea2059e28b7658639081347ac4fab3de166e6f0" + integrity sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g== + dependencies: + "@types/connect" "*" + "@types/node" "*" + +"@types/bonjour@^3.5.9": + version "3.5.10" + resolved "https://registry.yarnpkg.com/@types/bonjour/-/bonjour-3.5.10.tgz#0f6aadfe00ea414edc86f5d106357cda9701e275" + integrity sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw== + dependencies: + "@types/node" "*" + +"@types/connect-history-api-fallback@^1.3.5": + version "1.3.5" + resolved "https://registry.yarnpkg.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz#d1f7a8a09d0ed5a57aee5ae9c18ab9b803205dae" + integrity sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw== + dependencies: + "@types/express-serve-static-core" "*" + "@types/node" "*" + +"@types/connect@*": + version "3.4.35" + resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1" + integrity sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ== + dependencies: + "@types/node" "*" + +"@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.31": + version "4.17.33" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.33.tgz#de35d30a9d637dc1450ad18dd583d75d5733d543" + integrity sha512-TPBqmR/HRYI3eC2E5hmiivIzv+bidAfXofM+sbonAGvyDhySGw9/PQZFt2BLOrjUUR++4eJVpx6KnLQK1Fk9tA== + dependencies: + "@types/node" "*" + "@types/qs" "*" + "@types/range-parser" "*" + +"@types/express@*", "@types/express@^4.17.13": + version "4.17.16" + resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.16.tgz#986caf0b4b850611254505355daa24e1b8323de8" + integrity sha512-LkKpqRZ7zqXJuvoELakaFYuETHjZkSol8EV6cNnyishutDBCCdv6+dsKPbKkCcIk57qRphOLY5sEgClw1bO3gA== + dependencies: + "@types/body-parser" "*" + "@types/express-serve-static-core" "^4.17.31" + "@types/qs" "*" + "@types/serve-static" "*" + +"@types/http-proxy@^1.17.8": + version "1.17.9" + resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.9.tgz#7f0e7931343761efde1e2bf48c40f02f3f75705a" + integrity sha512-QsbSjA/fSk7xB+UXlCT3wHBy5ai9wOcNDWwZAtud+jXhwOM3l+EYZh8Lng4+/6n8uar0J7xILzqftJdJ/Wdfkw== + dependencies: + "@types/node" "*" + +"@types/json-schema@^7.0.9": + version "7.0.11" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + +"@types/mime@*": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10" + integrity sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA== + +"@types/node@*": + version "18.11.18" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" + integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== + +"@types/qs@*": + version "6.9.7" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb" + integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw== + +"@types/range-parser@*": + version "1.2.4" + resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" + integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== + +"@types/retry@0.12.0": + version "0.12.0" + resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d" + integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA== + +"@types/serve-index@^1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@types/serve-index/-/serve-index-1.9.1.tgz#1b5e85370a192c01ec6cec4735cf2917337a6278" + integrity sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg== + dependencies: + "@types/express" "*" + +"@types/serve-static@*", "@types/serve-static@^1.13.10": + version "1.15.0" + resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.0.tgz#c7930ff61afb334e121a9da780aac0d9b8f34155" + integrity sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg== + dependencies: + "@types/mime" "*" + "@types/node" "*" + +"@types/sockjs@^0.3.33": + version "0.3.33" + resolved "https://registry.yarnpkg.com/@types/sockjs/-/sockjs-0.3.33.tgz#570d3a0b99ac995360e3136fd6045113b1bd236f" + integrity sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw== + dependencies: + "@types/node" "*" + +"@types/ws@^8.5.1": + version "8.5.4" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.4.tgz#bb10e36116d6e570dd943735f86c933c1587b8a5" + integrity sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg== + dependencies: + "@types/node" "*" + +accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.8: + version "1.3.8" + resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" + integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== + dependencies: + mime-types "~2.1.34" + negotiator "0.6.3" + +ajv-formats@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" + integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== + dependencies: + ajv "^8.0.0" + +ajv-keywords@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz#69d4d385a4733cdbeab44964a1170a88f87f0e16" + integrity sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw== + dependencies: + fast-deep-equal "^3.1.3" + +ajv@^8.0.0, ajv@^8.8.0: + version "8.12.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" + integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== + dependencies: + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" + +ansi-html-community@^0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41" + integrity sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw== + +anymatch@~3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +array-flatten@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" + integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== + +array-flatten@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" + integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +batch@0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" + integrity sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw== + +binary-extensions@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" + integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + +body-parser@1.20.1: + version "1.20.1" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" + integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== + dependencies: + bytes "3.1.2" + content-type "~1.0.4" + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + http-errors "2.0.0" + iconv-lite "0.4.24" + on-finished "2.4.1" + qs "6.11.0" + raw-body "2.5.1" + type-is "~1.6.18" + unpipe "1.0.0" + +bonjour-service@^1.0.11: + version "1.1.0" + resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.1.0.tgz#424170268d68af26ff83a5c640b95def01803a13" + integrity sha512-LVRinRB3k1/K0XzZ2p58COnWvkQknIY6sf0zF2rpErvcJXpMBttEPQSxK+HEXSS9VmpZlDoDnQWv8ftJT20B0Q== + dependencies: + array-flatten "^2.1.2" + dns-equal "^1.0.0" + fast-deep-equal "^3.1.3" + multicast-dns "^7.2.5" + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +braces@^3.0.2, braces@~3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +bytes@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" + integrity sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw== + +bytes@3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" + integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== + +call-bind@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + +chokidar@^3.5.3: + version "3.5.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + +colorette@^2.0.10: + version "2.0.19" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.19.tgz#cdf044f47ad41a0f4b56b3a0d5b4e6e1a2d5a798" + integrity sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ== + +compressible@~2.0.16: + version "2.0.18" + resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" + integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== + dependencies: + mime-db ">= 1.43.0 < 2" + +compression@^1.7.4: + version "1.7.4" + resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f" + integrity sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ== + dependencies: + accepts "~1.3.5" + bytes "3.0.0" + compressible "~2.0.16" + debug "2.6.9" + on-headers "~1.0.2" + safe-buffer "5.1.2" + vary "~1.1.2" + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +connect-history-api-fallback@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz#647264845251a0daf25b97ce87834cace0f5f1c8" + integrity sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA== + +content-disposition@0.5.4: + version "0.5.4" + resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" + integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== + dependencies: + safe-buffer "5.2.1" + +content-type@~1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" + integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== + +cookie-signature@1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" + integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== + +cookie@0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" + integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== + +core-util-is@~1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" + integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== + +cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +debug@2.6.9: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== + dependencies: + ms "2.0.0" + +debug@^4.1.0: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +default-gateway@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/default-gateway/-/default-gateway-6.0.3.tgz#819494c888053bdb743edbf343d6cdf7f2943a71" + integrity sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg== + dependencies: + execa "^5.0.0" + +define-lazy-prop@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" + integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== + +depd@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" + integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== + +depd@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" + integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== + +destroy@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" + integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== + +detect-node@^2.0.4: + version "2.1.0" + resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" + integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== + +dns-equal@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" + integrity sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg== + +dns-packet@^5.2.2: + version "5.4.0" + resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.4.0.tgz#1f88477cf9f27e78a213fb6d118ae38e759a879b" + integrity sha512-EgqGeaBB8hLiHLZtp/IbaDQTL8pZ0+IvwzSHA6d7VyMDM+B9hgddEMa9xjK5oYnw0ci0JQ6g2XCD7/f6cafU6g== + dependencies: + "@leichtgewicht/ip-codec" "^2.0.1" + +ee-first@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" + integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== + +encodeurl@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" + integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== + +escape-html@~1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" + integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== + +etag@~1.8.1: + version "1.8.1" + resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" + integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== + +eventemitter3@^4.0.0: + version "4.0.7" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== + +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + +express@^4.17.3: + version "4.18.2" + resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" + integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== + dependencies: + accepts "~1.3.8" + array-flatten "1.1.1" + body-parser "1.20.1" + content-disposition "0.5.4" + content-type "~1.0.4" + cookie "0.5.0" + cookie-signature "1.0.6" + debug "2.6.9" + depd "2.0.0" + encodeurl "~1.0.2" + escape-html "~1.0.3" + etag "~1.8.1" + finalhandler "1.2.0" + fresh "0.5.2" + http-errors "2.0.0" + merge-descriptors "1.0.1" + methods "~1.1.2" + on-finished "2.4.1" + parseurl "~1.3.3" + path-to-regexp "0.1.7" + proxy-addr "~2.0.7" + qs "6.11.0" + range-parser "~1.2.1" + safe-buffer "5.2.1" + send "0.18.0" + serve-static "1.15.0" + setprototypeof "1.2.0" + statuses "2.0.1" + type-is "~1.6.18" + utils-merge "1.0.1" + vary "~1.1.2" + +fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +faye-websocket@^0.11.3: + version "0.11.4" + resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.4.tgz#7f0d9275cfdd86a1c963dc8b65fcc451edcbb1da" + integrity sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g== + dependencies: + websocket-driver ">=0.5.1" + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +finalhandler@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" + integrity sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg== + dependencies: + debug "2.6.9" + encodeurl "~1.0.2" + escape-html "~1.0.3" + on-finished "2.4.1" + parseurl "~1.3.3" + statuses "2.0.1" + unpipe "~1.0.0" + +follow-redirects@^1.0.0: + version "1.15.2" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +forwarded@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" + integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== + +fresh@0.5.2: + version "0.5.2" + resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" + integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== + +fs-monkey@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.3.tgz#ae3ac92d53bb328efe0e9a1d9541f6ad8d48e2d3" + integrity sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q== + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@~2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +get-intrinsic@^1.0.2: + version "1.2.0" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz#7ad1dc0535f3a2904bba075772763e5051f6d05f" + integrity sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + +get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + +glob-parent@~5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob@^7.1.3: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +graceful-fs@^4.2.6: + version "4.2.10" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + +handle-thing@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" + integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hpack.js@^2.1.6: + version "2.1.6" + resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" + integrity sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ== + dependencies: + inherits "^2.0.1" + obuf "^1.0.0" + readable-stream "^2.0.1" + wbuf "^1.1.0" + +html-entities@^2.3.2: + version "2.3.3" + resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-2.3.3.tgz#117d7626bece327fc8baace8868fa6f5ef856e46" + integrity sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA== + +http-deceiver@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" + integrity sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw== + +http-errors@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" + integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== + dependencies: + depd "2.0.0" + inherits "2.0.4" + setprototypeof "1.2.0" + statuses "2.0.1" + toidentifier "1.0.1" + +http-errors@~1.6.2: + version "1.6.3" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" + integrity sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A== + dependencies: + depd "~1.1.2" + inherits "2.0.3" + setprototypeof "1.1.0" + statuses ">= 1.4.0 < 2" + +http-parser-js@>=0.5.1: + version "0.5.8" + resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" + integrity sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q== + +http-proxy-middleware@^2.0.3: + version "2.0.6" + resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz#e1a4dd6979572c7ab5a4e4b55095d1f32a74963f" + integrity sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw== + dependencies: + "@types/http-proxy" "^1.17.8" + http-proxy "^1.18.1" + is-glob "^4.0.1" + is-plain-obj "^3.0.0" + micromatch "^4.0.2" + +http-proxy@^1.18.1: + version "1.18.1" + resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" + integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== + dependencies: + eventemitter3 "^4.0.0" + follow-redirects "^1.0.0" + requires-port "^1.0.0" + +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + +iconv-lite@0.4.24: + version "0.4.24" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +inherits@2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" + integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== + +ipaddr.js@1.9.1: + version "1.9.1" + resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" + integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== + +ipaddr.js@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.0.1.tgz#eca256a7a877e917aeb368b0a7497ddf42ef81c0" + integrity sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng== + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-docker@^2.0.0, is-docker@^2.1.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-glob@^4.0.1, is-glob@~4.0.1: + version "4.0.3" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-plain-obj@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7" + integrity sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA== + +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-wsl@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + +isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + +media-typer@0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" + integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== + +memfs@^3.4.3: + version "3.4.13" + resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.4.13.tgz#248a8bd239b3c240175cd5ec548de5227fc4f345" + integrity sha512-omTM41g3Skpvx5dSYeZIbXKcXoAVc/AoMNwn9TKx++L/gaen/+4TTttmu8ZSch5vfVJ8uJvGbroTsIlslRg6lg== + dependencies: + fs-monkey "^1.0.3" + +merge-descriptors@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" + integrity sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w== + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +methods@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" + integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== + +micromatch@^4.0.2: + version "4.0.5" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": + version "1.52.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34: + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mime@1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" + integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +minimalistic-assert@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +ms@2.1.3: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +multicast-dns@^7.2.5: + version "7.2.5" + resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.5.tgz#77eb46057f4d7adbd16d9290fa7299f6fa64cced" + integrity sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg== + dependencies: + dns-packet "^5.2.2" + thunky "^1.0.2" + +negotiator@0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== + +node-forge@^1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" + integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== + +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + +object-inspect@^1.9.0: + version "1.12.3" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" + integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== + +obuf@^1.0.0, obuf@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" + integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== + +on-finished@2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" + integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== + dependencies: + ee-first "1.1.1" + +on-headers@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" + integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +open@^8.0.9: + version "8.4.0" + resolved "https://registry.yarnpkg.com/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8" + integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q== + dependencies: + define-lazy-prop "^2.0.0" + is-docker "^2.1.1" + is-wsl "^2.2.0" + +p-retry@^4.5.0: + version "4.6.2" + resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.6.2.tgz#9baae7184057edd4e17231cee04264106e092a16" + integrity sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ== + dependencies: + "@types/retry" "0.12.0" + retry "^0.13.1" + +parseurl@~1.3.2, parseurl@~1.3.3: + version "1.3.3" + resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" + integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-to-regexp@0.1.7: + version "0.1.7" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" + integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== + +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +process-nextick-args@~2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" + integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== + +proxy-addr@~2.0.7: + version "2.0.7" + resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" + integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg== + dependencies: + forwarded "0.2.0" + ipaddr.js "1.9.1" + +punycode@^2.1.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" + integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== + +qs@6.11.0: + version "6.11.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" + integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== + dependencies: + side-channel "^1.0.4" + +range-parser@^1.2.1, range-parser@~1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" + integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== + +raw-body@2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" + integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== + dependencies: + bytes "3.1.2" + http-errors "2.0.0" + iconv-lite "0.4.24" + unpipe "1.0.0" + +readable-stream@^2.0.1: + version "2.3.7" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" + integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + +readable-stream@^3.0.6: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" + integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== + +requires-port@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" + integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== + +retry@^0.13.1: + version "0.13.1" + resolved "https://registry.yarnpkg.com/retry/-/retry-0.13.1.tgz#185b1587acf67919d63b357349e03537b2484658" + integrity sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg== + +rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + +safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +"safer-buffer@>= 2.1.2 < 3": + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +schema-utils@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.0.0.tgz#60331e9e3ae78ec5d16353c467c34b3a0a1d3df7" + integrity sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg== + dependencies: + "@types/json-schema" "^7.0.9" + ajv "^8.8.0" + ajv-formats "^2.1.1" + ajv-keywords "^5.0.0" + +select-hose@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" + integrity sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg== + +selfsigned@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.1.1.tgz#18a7613d714c0cd3385c48af0075abf3f266af61" + integrity sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ== + dependencies: + node-forge "^1" + +send@0.18.0: + version "0.18.0" + resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" + integrity sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg== + dependencies: + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + encodeurl "~1.0.2" + escape-html "~1.0.3" + etag "~1.8.1" + fresh "0.5.2" + http-errors "2.0.0" + mime "1.6.0" + ms "2.1.3" + on-finished "2.4.1" + range-parser "~1.2.1" + statuses "2.0.1" + +serve-index@^1.9.1: + version "1.9.1" + resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" + integrity sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw== + dependencies: + accepts "~1.3.4" + batch "0.6.1" + debug "2.6.9" + escape-html "~1.0.3" + http-errors "~1.6.2" + mime-types "~2.1.17" + parseurl "~1.3.2" + +serve-static@1.15.0: + version "1.15.0" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" + integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== + dependencies: + encodeurl "~1.0.2" + escape-html "~1.0.3" + parseurl "~1.3.3" + send "0.18.0" + +setprototypeof@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" + integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ== + +setprototypeof@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" + integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +side-channel@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + dependencies: + call-bind "^1.0.0" + get-intrinsic "^1.0.2" + object-inspect "^1.9.0" + +signal-exit@^3.0.3: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +sockjs@^0.3.24: + version "0.3.24" + resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.24.tgz#c9bc8995f33a111bea0395ec30aa3206bdb5ccce" + integrity sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ== + dependencies: + faye-websocket "^0.11.3" + uuid "^8.3.2" + websocket-driver "^0.7.4" + +spark-md5@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/spark-md5/-/spark-md5-3.0.2.tgz#7952c4a30784347abcee73268e473b9c0167e3fc" + integrity sha512-wcFzz9cDfbuqe0FZzfi2or1sgyIrsDwmPwfZC4hiNidPdPINjeUwNfv5kldczoEAcjl9Y1L3SM7Uz2PUEQzxQw== + +spdy-transport@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" + integrity sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw== + dependencies: + debug "^4.1.0" + detect-node "^2.0.4" + hpack.js "^2.1.6" + obuf "^1.1.2" + readable-stream "^3.0.6" + wbuf "^1.7.3" + +spdy@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.2.tgz#b74f466203a3eda452c02492b91fb9e84a27677b" + integrity sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA== + dependencies: + debug "^4.1.0" + handle-thing "^2.0.0" + http-deceiver "^1.2.7" + select-hose "^2.0.0" + spdy-transport "^3.0.0" + +statuses@2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" + integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== + +"statuses@>= 1.4.0 < 2": + version "1.5.0" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" + integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" + integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== + dependencies: + safe-buffer "~5.1.0" + +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + +thunky@^1.0.2: + version "1.1.0" + resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" + integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toidentifier@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" + integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== + +turbolinks@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/turbolinks/-/turbolinks-5.2.0.tgz#e6877a55ea5c1cb3bb225f0a4ae303d6d32ff77c" + integrity sha512-pMiez3tyBo6uRHFNNZoYMmrES/IaGgMhQQM+VFF36keryjb5ms0XkVpmKHkfW/4Vy96qiGW3K9bz0tF5sK9bBw== + +type-is@~1.6.18: + version "1.6.18" + resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" + integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== + dependencies: + media-typer "0.3.0" + mime-types "~2.1.24" + +unpipe@1.0.0, unpipe@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" + integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== + +uri-js@^4.2.2: + version "4.4.1" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +util-deprecate@^1.0.1, util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utils-merge@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" + integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== + +uuid@^8.3.2: + version "8.3.2" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" + integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== + +vary@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" + integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== + +wbuf@^1.1.0, wbuf@^1.7.3: + version "1.7.3" + resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" + integrity sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA== + dependencies: + minimalistic-assert "^1.0.0" + +webpack-dev-middleware@^5.3.1: + version "5.3.3" + resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz#efae67c2793908e7311f1d9b06f2a08dcc97e51f" + integrity sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA== + dependencies: + colorette "^2.0.10" + memfs "^3.4.3" + mime-types "^2.1.31" + range-parser "^1.2.1" + schema-utils "^4.0.0" + +webpack-dev-server@^4.11.1: + version "4.11.1" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.11.1.tgz#ae07f0d71ca0438cf88446f09029b92ce81380b5" + integrity sha512-lILVz9tAUy1zGFwieuaQtYiadImb5M3d+H+L1zDYalYoDl0cksAB1UNyuE5MMWJrG6zR1tXkCP2fitl7yoUJiw== + dependencies: + "@types/bonjour" "^3.5.9" + "@types/connect-history-api-fallback" "^1.3.5" + "@types/express" "^4.17.13" + "@types/serve-index" "^1.9.1" + "@types/serve-static" "^1.13.10" + "@types/sockjs" "^0.3.33" + "@types/ws" "^8.5.1" + ansi-html-community "^0.0.8" + bonjour-service "^1.0.11" + chokidar "^3.5.3" + colorette "^2.0.10" + compression "^1.7.4" + connect-history-api-fallback "^2.0.0" + default-gateway "^6.0.3" + express "^4.17.3" + graceful-fs "^4.2.6" + html-entities "^2.3.2" + http-proxy-middleware "^2.0.3" + ipaddr.js "^2.0.1" + open "^8.0.9" + p-retry "^4.5.0" + rimraf "^3.0.2" + schema-utils "^4.0.0" + selfsigned "^2.1.1" + serve-index "^1.9.1" + sockjs "^0.3.24" + spdy "^4.0.2" + webpack-dev-middleware "^5.3.1" + ws "^8.4.2" + +websocket-driver@>=0.5.1, websocket-driver@^0.7.4: + version "0.7.4" + resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760" + integrity sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg== + dependencies: + http-parser-js ">=0.5.1" + safe-buffer ">=5.1.0" + websocket-extensions ">=0.1.1" + +websocket-extensions@>=0.1.1: + version "0.1.4" + resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" + integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +ws@^8.4.2: + version "8.12.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.12.0.tgz#485074cc392689da78e1828a9ff23585e06cddd8" + integrity sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig== diff --git a/spec/dummy.7.0/.gitattributes b/spec/dummy.7.0/.gitattributes new file mode 100644 index 0000000..31eeee0 --- /dev/null +++ b/spec/dummy.7.0/.gitattributes @@ -0,0 +1,7 @@ +# See https://git-scm.com/docs/gitattributes for more about git attribute files. + +# Mark the database schema as having been generated. +db/schema.rb linguist-generated + +# Mark any vendored files as having been vendored. +vendor/* linguist-vendored diff --git a/spec/dummy/.gitignore b/spec/dummy.7.0/.gitignore similarity index 55% rename from spec/dummy/.gitignore rename to spec/dummy.7.0/.gitignore index 6a502e9..886f714 100644 --- a/spec/dummy/.gitignore +++ b/spec/dummy.7.0/.gitignore @@ -9,8 +9,27 @@ # Ignore the default SQLite database. /db/*.sqlite3 -/db/*.sqlite3-journal +/db/*.sqlite3-* # Ignore all logfiles and tempfiles. -/log/*.log -/tmp +/log/* +/tmp/* +!/log/.keep +!/tmp/.keep + +# Ignore pidfiles, but keep the directory. +/tmp/pids/* +!/tmp/pids/ +!/tmp/pids/.keep + +# Ignore uploaded files in development. +/storage/* +!/storage/.keep +/tmp/storage/* +!/tmp/storage/ +!/tmp/storage/.keep + +/public/assets + +# Ignore master key for decrypting credentials and more. +/config/master.key diff --git a/spec/dummy.7.0/.ruby-version b/spec/dummy.7.0/.ruby-version new file mode 100644 index 0000000..b0f2dcb --- /dev/null +++ b/spec/dummy.7.0/.ruby-version @@ -0,0 +1 @@ +3.0.4 diff --git a/spec/dummy.7.0/README.md b/spec/dummy.7.0/README.md new file mode 100644 index 0000000..7db80e4 --- /dev/null +++ b/spec/dummy.7.0/README.md @@ -0,0 +1,24 @@ +# README + +This README would normally document whatever steps are necessary to get the +application up and running. + +Things you may want to cover: + +* Ruby version + +* System dependencies + +* Configuration + +* Database creation + +* Database initialization + +* How to run the test suite + +* Services (job queues, cache servers, search engines, etc.) + +* Deployment instructions + +* ... diff --git a/spec/dummy.7.0/Rakefile b/spec/dummy.7.0/Rakefile new file mode 100644 index 0000000..9a5ea73 --- /dev/null +++ b/spec/dummy.7.0/Rakefile @@ -0,0 +1,6 @@ +# Add your own tasks in files placed in lib/tasks ending in .rake, +# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. + +require_relative "config/application" + +Rails.application.load_tasks diff --git a/spec/dummy.7.0/app/assets/config/manifest.js b/spec/dummy.7.0/app/assets/config/manifest.js new file mode 100644 index 0000000..ddd546a --- /dev/null +++ b/spec/dummy.7.0/app/assets/config/manifest.js @@ -0,0 +1,4 @@ +//= link_tree ../images +//= link_directory ../stylesheets .css +//= link_tree ../../javascript .js +//= link_tree ../../../vendor/javascript .js diff --git a/spec/dummy.7.0/app/assets/images/.keep b/spec/dummy.7.0/app/assets/images/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/app/assets/stylesheets/application.css b/spec/dummy.7.0/app/assets/stylesheets/application.css new file mode 100644 index 0000000..288b9ab --- /dev/null +++ b/spec/dummy.7.0/app/assets/stylesheets/application.css @@ -0,0 +1,15 @@ +/* + * This is a manifest file that'll be compiled into application.css, which will include all the files + * listed below. + * + * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's + * vendor/assets/stylesheets directory can be referenced here using a relative path. + * + * You're free to add application-wide styles to this file and they'll appear at the bottom of the + * compiled file so the styles you add here take precedence over styles defined in any other CSS + * files in this directory. Styles in this file should be added after the last require_* statement. + * It is generally better to create a new file per style scope. + * + *= require_tree . + *= require_self + */ diff --git a/spec/dummy.7.0/app/channels/application_cable/channel.rb b/spec/dummy.7.0/app/channels/application_cable/channel.rb new file mode 100644 index 0000000..d672697 --- /dev/null +++ b/spec/dummy.7.0/app/channels/application_cable/channel.rb @@ -0,0 +1,4 @@ +module ApplicationCable + class Channel < ActionCable::Channel::Base + end +end diff --git a/spec/dummy.7.0/app/channels/application_cable/connection.rb b/spec/dummy.7.0/app/channels/application_cable/connection.rb new file mode 100644 index 0000000..0ff5442 --- /dev/null +++ b/spec/dummy.7.0/app/channels/application_cable/connection.rb @@ -0,0 +1,4 @@ +module ApplicationCable + class Connection < ActionCable::Connection::Base + end +end diff --git a/spec/dummy.7.0/app/controllers/admin/admin_controller.rb b/spec/dummy.7.0/app/controllers/admin/admin_controller.rb new file mode 100644 index 0000000..8c391c4 --- /dev/null +++ b/spec/dummy.7.0/app/controllers/admin/admin_controller.rb @@ -0,0 +1,15 @@ +module Admin + class AdminController < ApplicationController + cross_site_controller + + def show + @admin_site = current_site + render json: @admin_site + end + + def switch_site + self.current_site = Site.find(params[:site_id]) + redirect_to admin_admin_url, notice: "Switched to: #{current_site.url}" + end + end +end diff --git a/spec/dummy.7.0/app/controllers/application_controller.rb b/spec/dummy.7.0/app/controllers/application_controller.rb new file mode 100644 index 0000000..13221fb --- /dev/null +++ b/spec/dummy.7.0/app/controllers/application_controller.rb @@ -0,0 +1,12 @@ +class ApplicationController < ActionController::Base + before_action :set_user + + attr_accessor :current_user + + private + + def set_user + @current_user = User.first + end +end + diff --git a/spec/dummy.7.0/app/controllers/concerns/.keep b/spec/dummy.7.0/app/controllers/concerns/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/app/controllers/users_controller.rb b/spec/dummy.7.0/app/controllers/users_controller.rb new file mode 100644 index 0000000..22ec183 --- /dev/null +++ b/spec/dummy.7.0/app/controllers/users_controller.rb @@ -0,0 +1,9 @@ +class UsersController < ApplicationController + def index + render json: { ola: 'mundo' } + end + + def show + render json: { site: current_site } + end +end diff --git a/spec/dummy.7.0/app/helpers/application_helper.rb b/spec/dummy.7.0/app/helpers/application_helper.rb new file mode 100644 index 0000000..de6be79 --- /dev/null +++ b/spec/dummy.7.0/app/helpers/application_helper.rb @@ -0,0 +1,2 @@ +module ApplicationHelper +end diff --git a/spec/dummy.7.0/app/helpers/users_helper.rb b/spec/dummy.7.0/app/helpers/users_helper.rb new file mode 100644 index 0000000..2310a24 --- /dev/null +++ b/spec/dummy.7.0/app/helpers/users_helper.rb @@ -0,0 +1,2 @@ +module UsersHelper +end diff --git a/spec/dummy.7.0/app/javascript/application.js b/spec/dummy.7.0/app/javascript/application.js new file mode 100644 index 0000000..0d7b494 --- /dev/null +++ b/spec/dummy.7.0/app/javascript/application.js @@ -0,0 +1,3 @@ +// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails +import "@hotwired/turbo-rails" +import "controllers" diff --git a/spec/dummy.7.0/app/javascript/controllers/application.js b/spec/dummy.7.0/app/javascript/controllers/application.js new file mode 100644 index 0000000..1213e85 --- /dev/null +++ b/spec/dummy.7.0/app/javascript/controllers/application.js @@ -0,0 +1,9 @@ +import { Application } from "@hotwired/stimulus" + +const application = Application.start() + +// Configure Stimulus development experience +application.debug = false +window.Stimulus = application + +export { application } diff --git a/spec/dummy.7.0/app/javascript/controllers/hello_controller.js b/spec/dummy.7.0/app/javascript/controllers/hello_controller.js new file mode 100644 index 0000000..5975c07 --- /dev/null +++ b/spec/dummy.7.0/app/javascript/controllers/hello_controller.js @@ -0,0 +1,7 @@ +import { Controller } from "@hotwired/stimulus" + +export default class extends Controller { + connect() { + this.element.textContent = "Hello World!" + } +} diff --git a/spec/dummy.7.0/app/javascript/controllers/index.js b/spec/dummy.7.0/app/javascript/controllers/index.js new file mode 100644 index 0000000..54ad4ca --- /dev/null +++ b/spec/dummy.7.0/app/javascript/controllers/index.js @@ -0,0 +1,11 @@ +// Import and register all your controllers from the importmap under controllers/* + +import { application } from "controllers/application" + +// Eager load all controllers defined in the import map under controllers/**/*_controller +import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading" +eagerLoadControllersFrom("controllers", application) + +// Lazy load controllers as they appear in the DOM (remember not to preload controllers in import map!) +// import { lazyLoadControllersFrom } from "@hotwired/stimulus-loading" +// lazyLoadControllersFrom("controllers", application) diff --git a/spec/dummy.7.0/app/jobs/application_job.rb b/spec/dummy.7.0/app/jobs/application_job.rb new file mode 100644 index 0000000..d394c3d --- /dev/null +++ b/spec/dummy.7.0/app/jobs/application_job.rb @@ -0,0 +1,7 @@ +class ApplicationJob < ActiveJob::Base + # Automatically retry jobs that encountered a deadlock + # retry_on ActiveRecord::Deadlocked + + # Most jobs are safe to ignore if the underlying records are no longer available + # discard_on ActiveJob::DeserializationError +end diff --git a/spec/dummy.7.0/app/mailers/application_mailer.rb b/spec/dummy.7.0/app/mailers/application_mailer.rb new file mode 100644 index 0000000..3c34c81 --- /dev/null +++ b/spec/dummy.7.0/app/mailers/application_mailer.rb @@ -0,0 +1,4 @@ +class ApplicationMailer < ActionMailer::Base + default from: "from@example.com" + layout "mailer" +end diff --git a/spec/dummy.7.0/app/models/application_record.rb b/spec/dummy.7.0/app/models/application_record.rb new file mode 100644 index 0000000..b63caeb --- /dev/null +++ b/spec/dummy.7.0/app/models/application_record.rb @@ -0,0 +1,3 @@ +class ApplicationRecord < ActiveRecord::Base + primary_abstract_class +end diff --git a/spec/dummy.7.0/app/models/concerns/.keep b/spec/dummy.7.0/app/models/concerns/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/app/models/site.rb b/spec/dummy.7.0/app/models/site.rb new file mode 100644 index 0000000..f0d3c29 --- /dev/null +++ b/spec/dummy.7.0/app/models/site.rb @@ -0,0 +1,2 @@ +class Site < ApplicationRecord +end diff --git a/spec/dummy.7.0/app/models/user.rb b/spec/dummy.7.0/app/models/user.rb new file mode 100644 index 0000000..1011308 --- /dev/null +++ b/spec/dummy.7.0/app/models/user.rb @@ -0,0 +1,3 @@ +class User < ApplicationRecord + has_site_scope +end diff --git a/spec/dummy.7.0/app/views/layouts/application.html.erb b/spec/dummy.7.0/app/views/layouts/application.html.erb new file mode 100644 index 0000000..1549706 --- /dev/null +++ b/spec/dummy.7.0/app/views/layouts/application.html.erb @@ -0,0 +1,16 @@ + + + + Dummy70 + + <%= csrf_meta_tags %> + <%= csp_meta_tag %> + + <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %> + <%= javascript_importmap_tags %> + + + + <%= yield %> + + diff --git a/spec/dummy.7.0/app/views/layouts/mailer.html.erb b/spec/dummy.7.0/app/views/layouts/mailer.html.erb new file mode 100644 index 0000000..cbd34d2 --- /dev/null +++ b/spec/dummy.7.0/app/views/layouts/mailer.html.erb @@ -0,0 +1,13 @@ + + + + + + + + + <%= yield %> + + diff --git a/spec/dummy.7.0/app/views/layouts/mailer.text.erb b/spec/dummy.7.0/app/views/layouts/mailer.text.erb new file mode 100644 index 0000000..37f0bdd --- /dev/null +++ b/spec/dummy.7.0/app/views/layouts/mailer.text.erb @@ -0,0 +1 @@ +<%= yield %> diff --git a/spec/dummy.7.0/bin/bundle b/spec/dummy.7.0/bin/bundle new file mode 100755 index 0000000..374a0a1 --- /dev/null +++ b/spec/dummy.7.0/bin/bundle @@ -0,0 +1,114 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# +# This file was generated by Bundler. +# +# The application 'bundle' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +require "rubygems" + +m = Module.new do + module_function + + def invoked_as_script? + File.expand_path($0) == File.expand_path(__FILE__) + end + + def env_var_version + ENV["BUNDLER_VERSION"] + end + + def cli_arg_version + return unless invoked_as_script? # don't want to hijack other binstubs + return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update` + bundler_version = nil + update_index = nil + ARGV.each_with_index do |a, i| + if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN + bundler_version = a + end + next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/ + bundler_version = $1 + update_index = i + end + bundler_version + end + + def gemfile + gemfile = ENV["BUNDLE_GEMFILE"] + return gemfile if gemfile && !gemfile.empty? + + File.expand_path("../../Gemfile", __FILE__) + end + + def lockfile + lockfile = + case File.basename(gemfile) + when "gems.rb" then gemfile.sub(/\.rb$/, gemfile) + else "#{gemfile}.lock" + end + File.expand_path(lockfile) + end + + def lockfile_version + return unless File.file?(lockfile) + lockfile_contents = File.read(lockfile) + return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/ + Regexp.last_match(1) + end + + def bundler_requirement + @bundler_requirement ||= + env_var_version || cli_arg_version || + bundler_requirement_for(lockfile_version) + end + + def bundler_requirement_for(version) + return "#{Gem::Requirement.default}.a" unless version + + bundler_gem_version = Gem::Version.new(version) + + requirement = bundler_gem_version.approximate_recommendation + + return requirement unless Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.7.0") + + requirement += ".a" if bundler_gem_version.prerelease? + + requirement + end + + def load_bundler! + ENV["BUNDLE_GEMFILE"] ||= gemfile + + activate_bundler + end + + def activate_bundler + gem_error = activation_error_handling do + gem "bundler", bundler_requirement + end + return if gem_error.nil? + require_error = activation_error_handling do + require "bundler/version" + end + return if require_error.nil? && Gem::Requirement.new(bundler_requirement).satisfied_by?(Gem::Version.new(Bundler::VERSION)) + warn "Activating bundler (#{bundler_requirement}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_requirement}'`" + exit 42 + end + + def activation_error_handling + yield + nil + rescue StandardError, LoadError => e + e + end +end + +m.load_bundler! + +if m.invoked_as_script? + load Gem.bin_path("bundler", "bundle") +end diff --git a/spec/dummy.7.0/bin/importmap b/spec/dummy.7.0/bin/importmap new file mode 100755 index 0000000..36502ab --- /dev/null +++ b/spec/dummy.7.0/bin/importmap @@ -0,0 +1,4 @@ +#!/usr/bin/env ruby + +require_relative "../config/application" +require "importmap/commands" diff --git a/spec/dummy.7.0/bin/rails b/spec/dummy.7.0/bin/rails new file mode 100755 index 0000000..efc0377 --- /dev/null +++ b/spec/dummy.7.0/bin/rails @@ -0,0 +1,4 @@ +#!/usr/bin/env ruby +APP_PATH = File.expand_path("../config/application", __dir__) +require_relative "../config/boot" +require "rails/commands" diff --git a/spec/dummy.7.0/bin/rake b/spec/dummy.7.0/bin/rake new file mode 100755 index 0000000..4fbf10b --- /dev/null +++ b/spec/dummy.7.0/bin/rake @@ -0,0 +1,4 @@ +#!/usr/bin/env ruby +require_relative "../config/boot" +require "rake" +Rake.application.run diff --git a/spec/dummy.7.0/bin/setup b/spec/dummy.7.0/bin/setup new file mode 100755 index 0000000..ec47b79 --- /dev/null +++ b/spec/dummy.7.0/bin/setup @@ -0,0 +1,33 @@ +#!/usr/bin/env ruby +require "fileutils" + +# path to your application root. +APP_ROOT = File.expand_path("..", __dir__) + +def system!(*args) + system(*args) || abort("\n== Command #{args} failed ==") +end + +FileUtils.chdir APP_ROOT do + # This script is a way to set up or update your development environment automatically. + # This script is idempotent, so that you can run it at any time and get an expectable outcome. + # Add necessary setup steps to this file. + + puts "== Installing dependencies ==" + system! "gem install bundler --conservative" + system("bundle check") || system!("bundle install") + + # puts "\n== Copying sample files ==" + # unless File.exist?("config/database.yml") + # FileUtils.cp "config/database.yml.sample", "config/database.yml" + # end + + puts "\n== Preparing database ==" + system! "bin/rails db:prepare" + + puts "\n== Removing old logs and tempfiles ==" + system! "bin/rails log:clear tmp:clear" + + puts "\n== Restarting application server ==" + system! "bin/rails restart" +end diff --git a/spec/dummy.7.0/config.ru b/spec/dummy.7.0/config.ru new file mode 100644 index 0000000..4a3c09a --- /dev/null +++ b/spec/dummy.7.0/config.ru @@ -0,0 +1,6 @@ +# This file is used by Rack-based servers to start the application. + +require_relative "config/environment" + +run Rails.application +Rails.application.load_server diff --git a/spec/dummy.7.0/config/application.rb b/spec/dummy.7.0/config/application.rb new file mode 100644 index 0000000..36195be --- /dev/null +++ b/spec/dummy.7.0/config/application.rb @@ -0,0 +1,22 @@ +require_relative "boot" + +require "rails/all" + +# Require the gems listed in Gemfile, including any gems +# you've limited to :test, :development, or :production. +Bundler.require(*Rails.groups) + +module Dummy70 + class Application < Rails::Application + # Initialize configuration defaults for originally generated Rails version. + config.load_defaults 7.0 + + # Configuration for the application, engines, and railties goes here. + # + # These settings can be overridden in specific environments using the files + # in config/environments, which are processed later. + # + # config.time_zone = "Central Time (US & Canada)" + # config.eager_load_paths << Rails.root.join("extras") + end +end diff --git a/spec/dummy.7.0/config/boot.rb b/spec/dummy.7.0/config/boot.rb new file mode 100644 index 0000000..988a5dd --- /dev/null +++ b/spec/dummy.7.0/config/boot.rb @@ -0,0 +1,4 @@ +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) + +require "bundler/setup" # Set up gems listed in the Gemfile. +require "bootsnap/setup" # Speed up boot time by caching expensive operations. diff --git a/spec/dummy.7.0/config/cable.yml b/spec/dummy.7.0/config/cable.yml new file mode 100644 index 0000000..3ed3f06 --- /dev/null +++ b/spec/dummy.7.0/config/cable.yml @@ -0,0 +1,11 @@ +development: + adapter: redis + url: redis://localhost:6379/1 + +test: + adapter: test + +production: + adapter: redis + url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> + channel_prefix: dummy_7_0_production diff --git a/spec/dummy.7.0/config/credentials.yml.enc b/spec/dummy.7.0/config/credentials.yml.enc new file mode 100644 index 0000000..713f855 --- /dev/null +++ b/spec/dummy.7.0/config/credentials.yml.enc @@ -0,0 +1 @@ +Bv4TEZXNcfcV+rfdZlvTvvK4+22baz+HkNcVmCbIoT+dYgIXecuy0vi2yDFdl91ug+tdvecE4njlKUleMZhuQOSghMPsZ5NWd+9a7lRAlBisQ7dmHVz74PKVllZcdOP0Zzkg6Z1XpLjMK9+cENiH4pBvAWktVARLnScARd3TUAIu8Mu6nV+OFM3s0hQvHMDHx9Rv/gNPjNRd62NKq+P9iOMn/ALj4nIz34sshOy/zcJXBWWFzCC8i27rVYKAWEs1bDgbQodPO7rGcvdVhFAf0OWMB1Hm3ryyHki2eOIlL4ahAR9vxr60A8Dsulx7tnsQZvTFfiZUA8z3EMWuyE/Ds7d4Lkg/UCodLI46czSbs+jOUdr8P3mb8snAT33wloaeY2969vzac7bCOicVRI6f5mJ/TY+Qt80waK/a--wSRlbVkg+aLXMIHK--+CFIcCwkROvk8ap/bjpFww== \ No newline at end of file diff --git a/spec/dummy.7.0/config/database.yml b/spec/dummy.7.0/config/database.yml new file mode 100644 index 0000000..fcba57f --- /dev/null +++ b/spec/dummy.7.0/config/database.yml @@ -0,0 +1,25 @@ +# SQLite. Versions 3.8.0 and up are supported. +# gem install sqlite3 +# +# Ensure the SQLite 3 gem is defined in your Gemfile +# gem "sqlite3" +# +default: &default + adapter: sqlite3 + pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> + timeout: 5000 + +development: + <<: *default + database: db/development.sqlite3 + +# Warning: The database defined as "test" will be erased and +# re-generated from your development database when you run "rake". +# Do not set this db to the same as development or production. +test: + <<: *default + database: db/test.sqlite3 + +production: + <<: *default + database: db/production.sqlite3 diff --git a/spec/dummy.7.0/config/environment.rb b/spec/dummy.7.0/config/environment.rb new file mode 100644 index 0000000..cac5315 --- /dev/null +++ b/spec/dummy.7.0/config/environment.rb @@ -0,0 +1,5 @@ +# Load the Rails application. +require_relative "application" + +# Initialize the Rails application. +Rails.application.initialize! diff --git a/spec/dummy.7.0/config/environments/development.rb b/spec/dummy.7.0/config/environments/development.rb new file mode 100644 index 0000000..8500f45 --- /dev/null +++ b/spec/dummy.7.0/config/environments/development.rb @@ -0,0 +1,70 @@ +require "active_support/core_ext/integer/time" + +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # In the development environment your application's code is reloaded any time + # it changes. This slows down response time but is perfect for development + # since you don't have to restart the web server when you make code changes. + config.cache_classes = false + + # Do not eager load code on boot. + config.eager_load = false + + # Show full error reports. + config.consider_all_requests_local = true + + # Enable server timing + config.server_timing = true + + # Enable/disable caching. By default caching is disabled. + # Run rails dev:cache to toggle caching. + if Rails.root.join("tmp/caching-dev.txt").exist? + config.action_controller.perform_caching = true + config.action_controller.enable_fragment_cache_logging = true + + config.cache_store = :memory_store + config.public_file_server.headers = { + "Cache-Control" => "public, max-age=#{2.days.to_i}" + } + else + config.action_controller.perform_caching = false + + config.cache_store = :null_store + end + + # Store uploaded files on the local file system (see config/storage.yml for options). + config.active_storage.service = :local + + # Don't care if the mailer can't send. + config.action_mailer.raise_delivery_errors = false + + config.action_mailer.perform_caching = false + + # Print deprecation notices to the Rails logger. + config.active_support.deprecation = :log + + # Raise exceptions for disallowed deprecations. + config.active_support.disallowed_deprecation = :raise + + # Tell Active Support which deprecation messages to disallow. + config.active_support.disallowed_deprecation_warnings = [] + + # Raise an error on page load if there are pending migrations. + config.active_record.migration_error = :page_load + + # Highlight code that triggered database queries in logs. + config.active_record.verbose_query_logs = true + + # Suppress logger output for asset requests. + config.assets.quiet = true + + # Raises error for missing translations. + # config.i18n.raise_on_missing_translations = true + + # Annotate rendered view with file names. + # config.action_view.annotate_rendered_view_with_filenames = true + + # Uncomment if you wish to allow Action Cable access from any origin. + # config.action_cable.disable_request_forgery_protection = true +end diff --git a/spec/dummy.7.0/config/environments/production.rb b/spec/dummy.7.0/config/environments/production.rb new file mode 100644 index 0000000..ad3a361 --- /dev/null +++ b/spec/dummy.7.0/config/environments/production.rb @@ -0,0 +1,93 @@ +require "active_support/core_ext/integer/time" + +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # Code is not reloaded between requests. + config.cache_classes = true + + # Eager load code on boot. This eager loads most of Rails and + # your application in memory, allowing both threaded web servers + # and those relying on copy on write to perform better. + # Rake tasks automatically ignore this option for performance. + config.eager_load = true + + # Full error reports are disabled and caching is turned on. + config.consider_all_requests_local = false + config.action_controller.perform_caching = true + + # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"] + # or in config/master.key. This key is used to decrypt credentials (and other encrypted files). + # config.require_master_key = true + + # Disable serving static files from the `/public` folder by default since + # Apache or NGINX already handles this. + config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present? + + # Compress CSS using a preprocessor. + # config.assets.css_compressor = :sass + + # Do not fallback to assets pipeline if a precompiled asset is missed. + config.assets.compile = false + + # Enable serving of images, stylesheets, and JavaScripts from an asset server. + # config.asset_host = "http://assets.example.com" + + # Specifies the header that your server uses for sending files. + # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for Apache + # config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # for NGINX + + # Store uploaded files on the local file system (see config/storage.yml for options). + config.active_storage.service = :local + + # Mount Action Cable outside main process or domain. + # config.action_cable.mount_path = nil + # config.action_cable.url = "wss://example.com/cable" + # config.action_cable.allowed_request_origins = [ "http://example.com", /http:\/\/example.*/ ] + + # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. + # config.force_ssl = true + + # Include generic and useful information about system operation, but avoid logging too much + # information to avoid inadvertent exposure of personally identifiable information (PII). + config.log_level = :info + + # Prepend all log lines with the following tags. + config.log_tags = [ :request_id ] + + # Use a different cache store in production. + # config.cache_store = :mem_cache_store + + # Use a real queuing backend for Active Job (and separate queues per environment). + # config.active_job.queue_adapter = :resque + # config.active_job.queue_name_prefix = "dummy_7_0_production" + + config.action_mailer.perform_caching = false + + # Ignore bad email addresses and do not raise email delivery errors. + # Set this to true and configure the email server for immediate delivery to raise delivery errors. + # config.action_mailer.raise_delivery_errors = false + + # Enable locale fallbacks for I18n (makes lookups for any locale fall back to + # the I18n.default_locale when a translation cannot be found). + config.i18n.fallbacks = true + + # Don't log any deprecations. + config.active_support.report_deprecations = false + + # Use default logging formatter so that PID and timestamp are not suppressed. + config.log_formatter = ::Logger::Formatter.new + + # Use a different logger for distributed setups. + # require "syslog/logger" + # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new "app-name") + + if ENV["RAILS_LOG_TO_STDOUT"].present? + logger = ActiveSupport::Logger.new(STDOUT) + logger.formatter = config.log_formatter + config.logger = ActiveSupport::TaggedLogging.new(logger) + end + + # Do not dump schema after migrations. + config.active_record.dump_schema_after_migration = false +end diff --git a/spec/dummy.7.0/config/environments/test.rb b/spec/dummy.7.0/config/environments/test.rb new file mode 100644 index 0000000..6ea4d1e --- /dev/null +++ b/spec/dummy.7.0/config/environments/test.rb @@ -0,0 +1,60 @@ +require "active_support/core_ext/integer/time" + +# The test environment is used exclusively to run your application's +# test suite. You never need to work with it otherwise. Remember that +# your test database is "scratch space" for the test suite and is wiped +# and recreated between test runs. Don't rely on the data there! + +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # Turn false under Spring and add config.action_view.cache_template_loading = true. + config.cache_classes = true + + # Eager loading loads your whole application. When running a single test locally, + # this probably isn't necessary. It's a good idea to do in a continuous integration + # system, or in some way before deploying your code. + config.eager_load = ENV["CI"].present? + + # Configure public file server for tests with Cache-Control for performance. + config.public_file_server.enabled = true + config.public_file_server.headers = { + "Cache-Control" => "public, max-age=#{1.hour.to_i}" + } + + # Show full error reports and disable caching. + config.consider_all_requests_local = true + config.action_controller.perform_caching = false + config.cache_store = :null_store + + # Raise exceptions instead of rendering exception templates. + config.action_dispatch.show_exceptions = false + + # Disable request forgery protection in test environment. + config.action_controller.allow_forgery_protection = false + + # Store uploaded files on the local file system in a temporary directory. + config.active_storage.service = :test + + config.action_mailer.perform_caching = false + + # Tell Action Mailer not to deliver emails to the real world. + # The :test delivery method accumulates sent emails in the + # ActionMailer::Base.deliveries array. + config.action_mailer.delivery_method = :test + + # Print deprecation notices to the stderr. + config.active_support.deprecation = :stderr + + # Raise exceptions for disallowed deprecations. + config.active_support.disallowed_deprecation = :raise + + # Tell Active Support which deprecation messages to disallow. + config.active_support.disallowed_deprecation_warnings = [] + + # Raises error for missing translations. + # config.i18n.raise_on_missing_translations = true + + # Annotate rendered view with file names. + # config.action_view.annotate_rendered_view_with_filenames = true +end diff --git a/spec/dummy.7.0/config/importmap.rb b/spec/dummy.7.0/config/importmap.rb new file mode 100644 index 0000000..8dce42d --- /dev/null +++ b/spec/dummy.7.0/config/importmap.rb @@ -0,0 +1,7 @@ +# Pin npm packages by running ./bin/importmap + +pin "application", preload: true +pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true +pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true +pin "@hotwired/stimulus-loading", to: "stimulus-loading.js", preload: true +pin_all_from "app/javascript/controllers", under: "controllers" diff --git a/spec/dummy.7.0/config/initializers/assets.rb b/spec/dummy.7.0/config/initializers/assets.rb new file mode 100644 index 0000000..2eeef96 --- /dev/null +++ b/spec/dummy.7.0/config/initializers/assets.rb @@ -0,0 +1,12 @@ +# Be sure to restart your server when you modify this file. + +# Version of your assets, change this if you want to expire all your assets. +Rails.application.config.assets.version = "1.0" + +# Add additional assets to the asset load path. +# Rails.application.config.assets.paths << Emoji.images_path + +# Precompile additional assets. +# application.js, application.css, and all non-JS/CSS in the app/assets +# folder are already added. +# Rails.application.config.assets.precompile += %w( admin.js admin.css ) diff --git a/spec/dummy.7.0/config/initializers/content_security_policy.rb b/spec/dummy.7.0/config/initializers/content_security_policy.rb new file mode 100644 index 0000000..54f47cf --- /dev/null +++ b/spec/dummy.7.0/config/initializers/content_security_policy.rb @@ -0,0 +1,25 @@ +# Be sure to restart your server when you modify this file. + +# Define an application-wide content security policy. +# See the Securing Rails Applications Guide for more information: +# https://guides.rubyonrails.org/security.html#content-security-policy-header + +# Rails.application.configure do +# config.content_security_policy do |policy| +# policy.default_src :self, :https +# policy.font_src :self, :https, :data +# policy.img_src :self, :https, :data +# policy.object_src :none +# policy.script_src :self, :https +# policy.style_src :self, :https +# # Specify URI for violation reports +# # policy.report_uri "/csp-violation-report-endpoint" +# end +# +# # Generate session nonces for permitted importmap and inline scripts +# config.content_security_policy_nonce_generator = ->(request) { request.session.id.to_s } +# config.content_security_policy_nonce_directives = %w(script-src) +# +# # Report violations without enforcing the policy. +# # config.content_security_policy_report_only = true +# end diff --git a/spec/dummy.7.0/config/initializers/filter_parameter_logging.rb b/spec/dummy.7.0/config/initializers/filter_parameter_logging.rb new file mode 100644 index 0000000..adc6568 --- /dev/null +++ b/spec/dummy.7.0/config/initializers/filter_parameter_logging.rb @@ -0,0 +1,8 @@ +# Be sure to restart your server when you modify this file. + +# Configure parameters to be filtered from the log file. Use this to limit dissemination of +# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported +# notations and behaviors. +Rails.application.config.filter_parameters += [ + :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn +] diff --git a/spec/dummy.7.0/config/initializers/inflections.rb b/spec/dummy.7.0/config/initializers/inflections.rb new file mode 100644 index 0000000..3860f65 --- /dev/null +++ b/spec/dummy.7.0/config/initializers/inflections.rb @@ -0,0 +1,16 @@ +# Be sure to restart your server when you modify this file. + +# Add new inflection rules using the following format. Inflections +# are locale specific, and you may define rules for as many different +# locales as you wish. All of these examples are active by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.plural /^(ox)$/i, "\\1en" +# inflect.singular /^(ox)en/i, "\\1" +# inflect.irregular "person", "people" +# inflect.uncountable %w( fish sheep ) +# end + +# These inflection rules are supported but not enabled by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.acronym "RESTful" +# end diff --git a/spec/dummy.7.0/config/initializers/permissions_policy.rb b/spec/dummy.7.0/config/initializers/permissions_policy.rb new file mode 100644 index 0000000..00f64d7 --- /dev/null +++ b/spec/dummy.7.0/config/initializers/permissions_policy.rb @@ -0,0 +1,11 @@ +# Define an application-wide HTTP permissions policy. For further +# information see https://developers.google.com/web/updates/2018/06/feature-policy +# +# Rails.application.config.permissions_policy do |f| +# f.camera :none +# f.gyroscope :none +# f.microphone :none +# f.usb :none +# f.fullscreen :self +# f.payment :self, "https://secure.example.com" +# end diff --git a/spec/dummy.7.0/config/locales/en.yml b/spec/dummy.7.0/config/locales/en.yml new file mode 100644 index 0000000..8ca56fc --- /dev/null +++ b/spec/dummy.7.0/config/locales/en.yml @@ -0,0 +1,33 @@ +# Files in the config/locales directory are used for internationalization +# and are automatically loaded by Rails. If you want to use locales other +# than English, add the necessary files in this directory. +# +# To use the locales, use `I18n.t`: +# +# I18n.t "hello" +# +# In views, this is aliased to just `t`: +# +# <%= t("hello") %> +# +# To use a different locale, set it with `I18n.locale`: +# +# I18n.locale = :es +# +# This would use the information in config/locales/es.yml. +# +# The following keys must be escaped otherwise they will not be retrieved by +# the default I18n backend: +# +# true, false, on, off, yes, no +# +# Instead, surround them with single quotes. +# +# en: +# "true": "foo" +# +# To learn more, please read the Rails Internationalization guide +# available at https://guides.rubyonrails.org/i18n.html. + +en: + hello: "Hello world" diff --git a/spec/dummy.7.0/config/puma.rb b/spec/dummy.7.0/config/puma.rb new file mode 100644 index 0000000..daaf036 --- /dev/null +++ b/spec/dummy.7.0/config/puma.rb @@ -0,0 +1,43 @@ +# Puma can serve each request in a thread from an internal thread pool. +# The `threads` method setting takes two numbers: a minimum and maximum. +# Any libraries that use thread pools should be configured to match +# the maximum value specified for Puma. Default is set to 5 threads for minimum +# and maximum; this matches the default thread size of Active Record. +# +max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 } +min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count } +threads min_threads_count, max_threads_count + +# Specifies the `worker_timeout` threshold that Puma will use to wait before +# terminating a worker in development environments. +# +worker_timeout 3600 if ENV.fetch("RAILS_ENV", "development") == "development" + +# Specifies the `port` that Puma will listen on to receive requests; default is 3000. +# +port ENV.fetch("PORT") { 3000 } + +# Specifies the `environment` that Puma will run in. +# +environment ENV.fetch("RAILS_ENV") { "development" } + +# Specifies the `pidfile` that Puma will use. +pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" } + +# Specifies the number of `workers` to boot in clustered mode. +# Workers are forked web server processes. If using threads and workers together +# the concurrency of the application would be max `threads` * `workers`. +# Workers do not work on JRuby or Windows (both of which do not support +# processes). +# +# workers ENV.fetch("WEB_CONCURRENCY") { 2 } + +# Use the `preload_app!` method when specifying a `workers` number. +# This directive tells Puma to first boot the application and load code +# before forking the application. This takes advantage of Copy On Write +# process behavior so workers use less memory. +# +# preload_app! + +# Allow puma to be restarted by `bin/rails restart` command. +plugin :tmp_restart diff --git a/spec/dummy.7.0/config/routes.rb b/spec/dummy.7.0/config/routes.rb new file mode 100644 index 0000000..56639a5 --- /dev/null +++ b/spec/dummy.7.0/config/routes.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +Rails.application.routes.draw do + # Defines the root path route ("/") + root to: 'users#index' + multi_site_scope do + resources :users + end + + namespace :admin do + resource :admin, controller: 'admin' do + put :switch_site + end + end +end diff --git a/spec/dummy.7.0/config/storage.yml b/spec/dummy.7.0/config/storage.yml new file mode 100644 index 0000000..4942ab6 --- /dev/null +++ b/spec/dummy.7.0/config/storage.yml @@ -0,0 +1,34 @@ +test: + service: Disk + root: <%= Rails.root.join("tmp/storage") %> + +local: + service: Disk + root: <%= Rails.root.join("storage") %> + +# Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key) +# amazon: +# service: S3 +# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %> +# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %> +# region: us-east-1 +# bucket: your_own_bucket-<%= Rails.env %> + +# Remember not to checkin your GCS keyfile to a repository +# google: +# service: GCS +# project: your_project +# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %> +# bucket: your_own_bucket-<%= Rails.env %> + +# Use bin/rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key) +# microsoft: +# service: AzureStorage +# storage_account_name: your_account_name +# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %> +# container: your_container_name-<%= Rails.env %> + +# mirror: +# service: Mirror +# primary: local +# mirrors: [ amazon, google, microsoft ] diff --git a/spec/dummy.7.0/db/migrate/20230130164228_create_users.rb b/spec/dummy.7.0/db/migrate/20230130164228_create_users.rb new file mode 100644 index 0000000..08ae80c --- /dev/null +++ b/spec/dummy.7.0/db/migrate/20230130164228_create_users.rb @@ -0,0 +1,9 @@ +class CreateUsers < ActiveRecord::Migration[6.0] + def change + create_table :users do |t| + t.string :login + t.references :site + t.timestamps + end + end +end diff --git a/spec/dummy.7.0/db/migrate/20230130164233_create_sites.rb b/spec/dummy.7.0/db/migrate/20230130164233_create_sites.rb new file mode 100644 index 0000000..dbcca28 --- /dev/null +++ b/spec/dummy.7.0/db/migrate/20230130164233_create_sites.rb @@ -0,0 +1,8 @@ +class CreateSites < ActiveRecord::Migration[6.0] + def change + create_table :sites do |t| + t.string :url + t.timestamps + end + end +end diff --git a/spec/dummy.7.0/db/schema.rb b/spec/dummy.7.0/db/schema.rb new file mode 100644 index 0000000..dd4c090 --- /dev/null +++ b/spec/dummy.7.0/db/schema.rb @@ -0,0 +1,28 @@ +# This file is auto-generated from the current state of the database. Instead +# of editing this file, please use the migrations feature of Active Record to +# incrementally modify your database, and then regenerate this schema definition. +# +# This file is the source Rails uses to define your schema when running `bin/rails +# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to +# be faster and is potentially less error prone than running all of your +# migrations from scratch. Old migrations may fail to apply correctly if those +# migrations use external dependencies or application code. +# +# It's strongly recommended that you check this file into your version control system. + +ActiveRecord::Schema[7.0].define(version: 2023_01_30_164233) do + create_table "sites", force: :cascade do |t| + t.string "url" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + + create_table "users", force: :cascade do |t| + t.string "login" + t.integer "site_id" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.index ["site_id"], name: "index_users_on_site_id" + end + +end diff --git a/spec/dummy.7.0/db/seeds.rb b/spec/dummy.7.0/db/seeds.rb new file mode 100644 index 0000000..bc25fce --- /dev/null +++ b/spec/dummy.7.0/db/seeds.rb @@ -0,0 +1,7 @@ +# This file should contain all the record creation needed to seed the database with its default values. +# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup). +# +# Examples: +# +# movies = Movie.create([{ name: "Star Wars" }, { name: "Lord of the Rings" }]) +# Character.create(name: "Luke", movie: movies.first) diff --git a/spec/dummy.7.0/lib/assets/.keep b/spec/dummy.7.0/lib/assets/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/lib/tasks/.keep b/spec/dummy.7.0/lib/tasks/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/log/.keep b/spec/dummy.7.0/log/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/public/404.html b/spec/dummy.7.0/public/404.html new file mode 100644 index 0000000..2be3af2 --- /dev/null +++ b/spec/dummy.7.0/public/404.html @@ -0,0 +1,67 @@ + + + + The page you were looking for doesn't exist (404) + + + + + + +
+
+

The page you were looking for doesn't exist.

+

You may have mistyped the address or the page may have moved.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/spec/dummy.7.0/public/422.html b/spec/dummy.7.0/public/422.html new file mode 100644 index 0000000..c08eac0 --- /dev/null +++ b/spec/dummy.7.0/public/422.html @@ -0,0 +1,67 @@ + + + + The change you wanted was rejected (422) + + + + + + +
+
+

The change you wanted was rejected.

+

Maybe you tried to change something you didn't have access to.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/spec/dummy.7.0/public/500.html b/spec/dummy.7.0/public/500.html new file mode 100644 index 0000000..78a030a --- /dev/null +++ b/spec/dummy.7.0/public/500.html @@ -0,0 +1,66 @@ + + + + We're sorry, but something went wrong (500) + + + + + + +
+
+

We're sorry, but something went wrong.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/spec/dummy.7.0/public/apple-touch-icon-precomposed.png b/spec/dummy.7.0/public/apple-touch-icon-precomposed.png new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/public/apple-touch-icon.png b/spec/dummy.7.0/public/apple-touch-icon.png new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/public/favicon.ico b/spec/dummy.7.0/public/favicon.ico new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/public/robots.txt b/spec/dummy.7.0/public/robots.txt new file mode 100644 index 0000000..c19f78a --- /dev/null +++ b/spec/dummy.7.0/public/robots.txt @@ -0,0 +1 @@ +# See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file diff --git a/spec/dummy.7.0/storage/.keep b/spec/dummy.7.0/storage/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/test/application_system_test_case.rb b/spec/dummy.7.0/test/application_system_test_case.rb new file mode 100644 index 0000000..d19212a --- /dev/null +++ b/spec/dummy.7.0/test/application_system_test_case.rb @@ -0,0 +1,5 @@ +require "test_helper" + +class ApplicationSystemTestCase < ActionDispatch::SystemTestCase + driven_by :selenium, using: :chrome, screen_size: [1400, 1400] +end diff --git a/spec/dummy.7.0/test/channels/application_cable/connection_test.rb b/spec/dummy.7.0/test/channels/application_cable/connection_test.rb new file mode 100644 index 0000000..800405f --- /dev/null +++ b/spec/dummy.7.0/test/channels/application_cable/connection_test.rb @@ -0,0 +1,11 @@ +require "test_helper" + +class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase + # test "connects with cookies" do + # cookies.signed[:user_id] = 42 + # + # connect + # + # assert_equal connection.user_id, "42" + # end +end diff --git a/spec/dummy.7.0/test/controllers/.keep b/spec/dummy.7.0/test/controllers/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/test/controllers/users_controller_test.rb b/spec/dummy.7.0/test/controllers/users_controller_test.rb new file mode 100644 index 0000000..61c1532 --- /dev/null +++ b/spec/dummy.7.0/test/controllers/users_controller_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class UsersControllerTest < ActionDispatch::IntegrationTest + # test "the truth" do + # assert true + # end +end diff --git a/spec/dummy.7.0/test/fixtures/files/.keep b/spec/dummy.7.0/test/fixtures/files/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/test/fixtures/sites.yml b/spec/dummy.7.0/test/fixtures/sites.yml new file mode 100644 index 0000000..d7a3329 --- /dev/null +++ b/spec/dummy.7.0/test/fixtures/sites.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the "{}" from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/spec/dummy.7.0/test/fixtures/users.yml b/spec/dummy.7.0/test/fixtures/users.yml new file mode 100644 index 0000000..d7a3329 --- /dev/null +++ b/spec/dummy.7.0/test/fixtures/users.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +# This model initially had no columns defined. If you add columns to the +# model remove the "{}" from the fixture names and add the columns immediately +# below each fixture, per the syntax in the comments below +# +one: {} +# column: value +# +two: {} +# column: value diff --git a/spec/dummy.7.0/test/helpers/.keep b/spec/dummy.7.0/test/helpers/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/test/integration/.keep b/spec/dummy.7.0/test/integration/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/test/mailers/.keep b/spec/dummy.7.0/test/mailers/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/test/models/.keep b/spec/dummy.7.0/test/models/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/test/models/site_test.rb b/spec/dummy.7.0/test/models/site_test.rb new file mode 100644 index 0000000..f373949 --- /dev/null +++ b/spec/dummy.7.0/test/models/site_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class SiteTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/spec/dummy.7.0/test/models/user_test.rb b/spec/dummy.7.0/test/models/user_test.rb new file mode 100644 index 0000000..5c07f49 --- /dev/null +++ b/spec/dummy.7.0/test/models/user_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class UserTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/spec/dummy.7.0/test/system/.keep b/spec/dummy.7.0/test/system/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/test/test_helper.rb b/spec/dummy.7.0/test/test_helper.rb new file mode 100644 index 0000000..d713e37 --- /dev/null +++ b/spec/dummy.7.0/test/test_helper.rb @@ -0,0 +1,13 @@ +ENV["RAILS_ENV"] ||= "test" +require_relative "../config/environment" +require "rails/test_help" + +class ActiveSupport::TestCase + # Run tests in parallel with specified workers + parallelize(workers: :number_of_processors) + + # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. + fixtures :all + + # Add more helper methods to be used by all tests here... +end diff --git a/spec/dummy.7.0/vendor/.keep b/spec/dummy.7.0/vendor/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy.7.0/vendor/javascript/.keep b/spec/dummy.7.0/vendor/javascript/.keep new file mode 100644 index 0000000..e69de29 diff --git a/spec/dummy/Gemfile b/spec/dummy/Gemfile deleted file mode 100644 index ba8e5ca..0000000 --- a/spec/dummy/Gemfile +++ /dev/null @@ -1,44 +0,0 @@ -source 'https://rubygems.org' - -# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '4.0.2' - -# Use sqlite3 as the database for Active Record -gem 'sqlite3' - -# Use SCSS for stylesheets -gem 'sass-rails', '~> 4.0.0' - -# Use Uglifier as compressor for JavaScript assets -gem 'uglifier', '>= 1.3.0' - -# Use CoffeeScript for .js.coffee assets and views -gem 'coffee-rails', '~> 4.0.0' - -# See https://github.com/sstephenson/execjs#readme for more supported runtimes -# gem 'therubyracer', platforms: :ruby - -# Use jquery as the JavaScript library -gem 'jquery-rails' - -# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder -gem 'jbuilder', '~> 1.2' - -gem 'request_store', '1.1.0' - -group :doc do - # bundle exec rake doc:rails generates the API under doc/api. - gem 'sdoc', require: false -end - -# Use ActiveModel has_secure_password -# gem 'bcrypt-ruby', '~> 3.1.2' - -# Use unicorn as the app server -# gem 'unicorn' - -# Use Capistrano for deployment -# gem 'capistrano', group: :development - -# Use debugger -# gem 'debugger', group: [:development, :test] diff --git a/spec/dummy/Gemfile.lock b/spec/dummy/Gemfile.lock deleted file mode 100644 index f89fc94..0000000 --- a/spec/dummy/Gemfile.lock +++ /dev/null @@ -1,117 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - actionmailer (4.0.2) - actionpack (= 4.0.2) - mail (~> 2.5.4) - actionpack (4.0.2) - activesupport (= 4.0.2) - builder (~> 3.1.0) - erubis (~> 2.7.0) - rack (~> 1.5.2) - rack-test (~> 0.6.2) - activemodel (4.0.2) - activesupport (= 4.0.2) - builder (~> 3.1.0) - activerecord (4.0.2) - activemodel (= 4.0.2) - activerecord-deprecated_finders (~> 1.0.2) - activesupport (= 4.0.2) - arel (~> 4.0.0) - activerecord-deprecated_finders (1.0.3) - activesupport (4.0.2) - i18n (~> 0.6, >= 0.6.4) - minitest (~> 4.2) - multi_json (~> 1.3) - thread_safe (~> 0.1) - tzinfo (~> 0.3.37) - arel (4.0.2) - builder (3.1.4) - coffee-rails (4.0.1) - coffee-script (>= 2.2.0) - railties (>= 4.0.0, < 5.0) - coffee-script (2.3.0) - coffee-script-source - execjs - coffee-script-source (1.9.1) - erubis (2.7.0) - execjs (2.3.0) - hike (1.2.3) - i18n (0.7.0) - jbuilder (1.5.3) - activesupport (>= 3.0.0) - multi_json (>= 1.2.0) - jquery-rails (3.1.2) - railties (>= 3.0, < 5.0) - thor (>= 0.14, < 2.0) - json (1.8.2) - mail (2.5.4) - mime-types (~> 1.16) - treetop (~> 1.4.8) - mime-types (1.25.1) - minitest (4.7.5) - multi_json (1.11.0) - polyglot (0.3.5) - rack (1.5.2) - rack-test (0.6.3) - rack (>= 1.0) - rails (4.0.2) - actionmailer (= 4.0.2) - actionpack (= 4.0.2) - activerecord (= 4.0.2) - activesupport (= 4.0.2) - bundler (>= 1.3.0, < 2.0) - railties (= 4.0.2) - sprockets-rails (~> 2.0.0) - railties (4.0.2) - actionpack (= 4.0.2) - activesupport (= 4.0.2) - rake (>= 0.8.7) - thor (>= 0.18.1, < 2.0) - rake (10.4.2) - rdoc (4.2.0) - json (~> 1.4) - request_store (1.1.0) - sass (3.2.19) - sass-rails (4.0.5) - railties (>= 4.0.0, < 5.0) - sass (~> 3.2.2) - sprockets (~> 2.8, < 3.0) - sprockets-rails (~> 2.0) - sdoc (0.4.1) - json (~> 1.7, >= 1.7.7) - rdoc (~> 4.0) - sprockets (2.12.3) - hike (~> 1.2) - multi_json (~> 1.0) - rack (~> 1.0) - tilt (~> 1.1, != 1.3.0) - sprockets-rails (2.0.1) - actionpack (>= 3.0) - activesupport (>= 3.0) - sprockets (~> 2.8) - sqlite3 (1.3.10) - thor (0.19.1) - thread_safe (0.3.4) - tilt (1.4.1) - treetop (1.4.15) - polyglot - polyglot (>= 0.3.1) - tzinfo (0.3.43) - uglifier (2.7.1) - execjs (>= 0.3.0) - json (>= 1.8.0) - -PLATFORMS - ruby - -DEPENDENCIES - coffee-rails (~> 4.0.0) - jbuilder (~> 1.2) - jquery-rails - rails (= 4.0.2) - request_store (= 1.1.0) - sass-rails (~> 4.0.0) - sdoc - sqlite3 - uglifier (>= 1.3.0) diff --git a/spec/dummy/app/assets/javascripts/application.js b/spec/dummy/app/assets/javascripts/application.js deleted file mode 100644 index d6925fa..0000000 --- a/spec/dummy/app/assets/javascripts/application.js +++ /dev/null @@ -1,16 +0,0 @@ -// This is a manifest file that'll be compiled into application.js, which will include all the files -// listed below. -// -// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, -// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. -// -// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the -// compiled file. -// -// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details -// about supported directives. -// -//= require jquery -//= require jquery_ujs -//= require turbolinks -//= require_tree . diff --git a/spec/dummy/app/assets/stylesheets/application.css b/spec/dummy/app/assets/stylesheets/application.css deleted file mode 100644 index 3192ec8..0000000 --- a/spec/dummy/app/assets/stylesheets/application.css +++ /dev/null @@ -1,13 +0,0 @@ -/* - * This is a manifest file that'll be compiled into application.css, which will include all the files - * listed below. - * - * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, - * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. - * - * You're free to add application-wide styles to this file and they'll appear at the top of the - * compiled file, but it's generally better to create a new file per style scope. - * - *= require_self - *= require_tree . - */ diff --git a/spec/dummy/app/controllers/admin/admin_controller.rb b/spec/dummy/app/controllers/admin/admin_controller.rb deleted file mode 100644 index d38feb1..0000000 --- a/spec/dummy/app/controllers/admin/admin_controller.rb +++ /dev/null @@ -1,12 +0,0 @@ -class Admin::AdminController < ApplicationController - cross_site_controller - - def show - @admin_site = current_site - end - - def switch_site - self.current_site = Site.find(params[:site_id]) - redirect_to admin_admin_url, notice: "Switched to: #{current_site.url}" - end -end \ No newline at end of file diff --git a/spec/dummy/app/controllers/application_controller.rb b/spec/dummy/app/controllers/application_controller.rb deleted file mode 100644 index d83690e..0000000 --- a/spec/dummy/app/controllers/application_controller.rb +++ /dev/null @@ -1,5 +0,0 @@ -class ApplicationController < ActionController::Base - # Prevent CSRF attacks by raising an exception. - # For APIs, you may want to use :null_session instead. - protect_from_forgery with: :exception -end diff --git a/spec/dummy/app/controllers/users_controller.rb b/spec/dummy/app/controllers/users_controller.rb deleted file mode 100644 index 9c3de09..0000000 --- a/spec/dummy/app/controllers/users_controller.rb +++ /dev/null @@ -1,20 +0,0 @@ -class UsersController < ApplicationController - - def index - @users = User.on_site - end - - def new - @user = User.new - end - - def create - @user = User.new(params[:user]) - if @user.valid? and @user.save - redirect_to users_path(current_site.url) - else - render :action => :new - end - end - -end diff --git a/spec/dummy/app/controllers/welcome_controller.rb b/spec/dummy/app/controllers/welcome_controller.rb deleted file mode 100644 index 950d3b2..0000000 --- a/spec/dummy/app/controllers/welcome_controller.rb +++ /dev/null @@ -1,6 +0,0 @@ -class WelcomeController < ApplicationController - - def index - render text: 'HELLO WORLD' - end -end diff --git a/spec/dummy/app/helpers/contests/questionnaires_helper.rb b/spec/dummy/app/helpers/contests/questionnaires_helper.rb deleted file mode 100644 index 868b657..0000000 --- a/spec/dummy/app/helpers/contests/questionnaires_helper.rb +++ /dev/null @@ -1,30 +0,0 @@ -module Contests - module QuestionnairesHelper - def link_to_remove_field(name, f) - f.hidden_field(:_destroy) + - link_to_function(raw(name), "removeField(this)", :id =>"remove-attach") - end - - def new_questionnaire_path - new_contests_questionnaire_path - end - - def edit_questionnaire_path(resource) - edit_contests_questionnaire_path(resource) - end - - def questionnaire_scope(resource) - [:contests, resource] - end - - def link_to_add_field(name, f, association) - new_object = f.object.class.reflect_on_association(association).klass.new - fields = f.fields_for(association, new_object,:child_index => "new_#{association}") do |builder| - render(association.to_s.singularize + "_fields", :f => builder) - end - link_to_function(name, "addField(this, \"#{association}\", \"#{escape_javascript(fields)}\")", - :id=>"add-attach", - :class=>"btn btn-small btn-info") - end - end -end \ No newline at end of file diff --git a/spec/dummy/app/models/site.rb b/spec/dummy/app/models/site.rb deleted file mode 100644 index e98d8e5..0000000 --- a/spec/dummy/app/models/site.rb +++ /dev/null @@ -1,5 +0,0 @@ -class Site < ActiveRecord::Base - has_many :users - - validates :url, presence: true, uniqueness: true -end diff --git a/spec/dummy/app/models/user.rb b/spec/dummy/app/models/user.rb deleted file mode 100644 index 99363d4..0000000 --- a/spec/dummy/app/models/user.rb +++ /dev/null @@ -1,3 +0,0 @@ -class User < ActiveRecord::Base - has_site_scope -end diff --git a/spec/dummy/app/views/admin/admin/show.erb b/spec/dummy/app/views/admin/admin/show.erb deleted file mode 100644 index 7252474..0000000 --- a/spec/dummy/app/views/admin/admin/show.erb +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/spec/dummy/app/views/layouts/application.html.erb b/spec/dummy/app/views/layouts/application.html.erb deleted file mode 100644 index 00acdb2..0000000 --- a/spec/dummy/app/views/layouts/application.html.erb +++ /dev/null @@ -1,14 +0,0 @@ - - - - Dummy - <%#= stylesheet_link_tag :all %> - <%= javascript_include_tag "application" %> - <%= csrf_meta_tag %> - - - -<%= yield %> - - - diff --git a/spec/dummy/app/views/users/_form.html.erb b/spec/dummy/app/views/users/_form.html.erb deleted file mode 100644 index da1d4cc..0000000 --- a/spec/dummy/app/views/users/_form.html.erb +++ /dev/null @@ -1,12 +0,0 @@ -<%= form_for @user do |f| %> -
- <%= f.label :name %> - <%= f.text_field :name %> -
- - <%= f.hidden_field :site_id, :value => current_site.try(:id) %> - -
- <%= f.submit %> -
-<% end -%> \ No newline at end of file diff --git a/spec/dummy/app/views/users/edit.html.erb b/spec/dummy/app/views/users/edit.html.erb deleted file mode 100644 index 36d248f..0000000 --- a/spec/dummy/app/views/users/edit.html.erb +++ /dev/null @@ -1,2 +0,0 @@ -Edit User -<%= render 'form' %> \ No newline at end of file diff --git a/spec/dummy/app/views/users/index.html.erb b/spec/dummy/app/views/users/index.html.erb deleted file mode 100644 index ebebb67..0000000 --- a/spec/dummy/app/views/users/index.html.erb +++ /dev/null @@ -1,10 +0,0 @@ -Users - \ No newline at end of file diff --git a/spec/dummy/app/views/users/new.html.erb b/spec/dummy/app/views/users/new.html.erb deleted file mode 100644 index 64484ec..0000000 --- a/spec/dummy/app/views/users/new.html.erb +++ /dev/null @@ -1,2 +0,0 @@ -New User -<%= render 'form' %> \ No newline at end of file diff --git a/spec/dummy/bin/bundle b/spec/dummy/bin/bundle deleted file mode 100755 index 66e9889..0000000 --- a/spec/dummy/bin/bundle +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env ruby -ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) -load Gem.bin_path('bundler', 'bundle') diff --git a/spec/dummy/bin/rails b/spec/dummy/bin/rails deleted file mode 100755 index 728cd85..0000000 --- a/spec/dummy/bin/rails +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env ruby -APP_PATH = File.expand_path('../../config/application', __FILE__) -require_relative '../config/boot' -require 'rails/commands' diff --git a/spec/dummy/bin/rake b/spec/dummy/bin/rake deleted file mode 100755 index 1724048..0000000 --- a/spec/dummy/bin/rake +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env ruby -require_relative '../config/boot' -require 'rake' -Rake.application.run diff --git a/spec/dummy/config/application.rb b/spec/dummy/config/application.rb deleted file mode 100644 index 4cd6683..0000000 --- a/spec/dummy/config/application.rb +++ /dev/null @@ -1,23 +0,0 @@ -require File.expand_path('../boot', __FILE__) - -require 'rails/all' - -# Require the gems listed in Gemfile, including any gems -# you've limited to :test, :development, or :production. -Bundler.require(:default, Rails.env) - -module Dummy - class Application < Rails::Application - # Settings in config/environments/* take precedence over those specified here. - # Application configuration should go into files in config/initializers - # -- all .rb files in that directory are automatically loaded. - - # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. - # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. - # config.time_zone = 'Central Time (US & Canada)' - - # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. - # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] - # config.i18n.default_locale = :de - end -end diff --git a/spec/dummy/config/boot.rb b/spec/dummy/config/boot.rb deleted file mode 100644 index 3596736..0000000 --- a/spec/dummy/config/boot.rb +++ /dev/null @@ -1,4 +0,0 @@ -# Set up gems listed in the Gemfile. -ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) - -require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) diff --git a/spec/dummy/config/environment.rb b/spec/dummy/config/environment.rb deleted file mode 100644 index 10e0cad..0000000 --- a/spec/dummy/config/environment.rb +++ /dev/null @@ -1,5 +0,0 @@ -# Load the Rails application. -require File.expand_path('../application', __FILE__) - -# Initialize the Rails application. -Dummy::Application.initialize! diff --git a/spec/dummy/config/environments/development.rb b/spec/dummy/config/environments/development.rb deleted file mode 100644 index 9d26e12..0000000 --- a/spec/dummy/config/environments/development.rb +++ /dev/null @@ -1,29 +0,0 @@ -Dummy::Application.configure do - # Settings specified here will take precedence over those in config/application.rb. - - # In the development environment your application's code is reloaded on - # every request. This slows down response time but is perfect for development - # since you don't have to restart the web server when you make code changes. - config.cache_classes = false - - # Do not eager load code on boot. - config.eager_load = false - - # Show full error reports and disable caching. - config.consider_all_requests_local = true - config.action_controller.perform_caching = false - - # Don't care if the mailer can't send. - config.action_mailer.raise_delivery_errors = false - - # Print deprecation notices to the Rails logger. - config.active_support.deprecation = :log - - # Raise an error on page load if there are pending migrations - config.active_record.migration_error = :page_load - - # Debug mode disables concatenation and preprocessing of assets. - # This option may cause significant delays in view rendering with a large - # number of complex assets. - config.assets.debug = true -end diff --git a/spec/dummy/config/environments/production.rb b/spec/dummy/config/environments/production.rb deleted file mode 100644 index b690b1c..0000000 --- a/spec/dummy/config/environments/production.rb +++ /dev/null @@ -1,80 +0,0 @@ -Dummy::Application.configure do - # Settings specified here will take precedence over those in config/application.rb. - - # Code is not reloaded between requests. - config.cache_classes = true - - # Eager load code on boot. This eager loads most of Rails and - # your application in memory, allowing both thread web servers - # and those relying on copy on write to perform better. - # Rake tasks automatically ignore this option for performance. - config.eager_load = true - - # Full error reports are disabled and caching is turned on. - config.consider_all_requests_local = false - config.action_controller.perform_caching = true - - # Enable Rack::Cache to put a simple HTTP cache in front of your application - # Add `rack-cache` to your Gemfile before enabling this. - # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid. - # config.action_dispatch.rack_cache = true - - # Disable Rails's static asset server (Apache or nginx will already do this). - config.serve_static_assets = false - - # Compress JavaScripts and CSS. - config.assets.js_compressor = :uglifier - # config.assets.css_compressor = :sass - - # Do not fallback to assets pipeline if a precompiled asset is missed. - config.assets.compile = false - - # Generate digests for assets URLs. - config.assets.digest = true - - # Version of your assets, change this if you want to expire all your assets. - config.assets.version = '1.0' - - # Specifies the header that your server uses for sending files. - # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache - # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx - - # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. - # config.force_ssl = true - - # Set to :debug to see everything in the log. - config.log_level = :info - - # Prepend all log lines with the following tags. - # config.log_tags = [ :subdomain, :uuid ] - - # Use a different logger for distributed setups. - # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) - - # Use a different cache store in production. - # config.cache_store = :mem_cache_store - - # Enable serving of images, stylesheets, and JavaScripts from an asset server. - # config.action_controller.asset_host = "http://assets.example.com" - - # Precompile additional assets. - # application.js, application.css, and all non-JS/CSS in app/assets folder are already added. - # config.assets.precompile += %w( search.js ) - - # Ignore bad email addresses and do not raise email delivery errors. - # Set this to true and configure the email server for immediate delivery to raise delivery errors. - # config.action_mailer.raise_delivery_errors = false - - # Enable locale fallbacks for I18n (makes lookups for any locale fall back to - # the I18n.default_locale when a translation can not be found). - config.i18n.fallbacks = true - - # Send deprecation notices to registered listeners. - config.active_support.deprecation = :notify - - # Disable automatic flushing of the log to improve performance. - # config.autoflush_log = false - - # Use default logging formatter so that PID and timestamp are not suppressed. - config.log_formatter = ::Logger::Formatter.new -end diff --git a/spec/dummy/config/initializers/secret_token.rb b/spec/dummy/config/initializers/secret_token.rb deleted file mode 100644 index f159890..0000000 --- a/spec/dummy/config/initializers/secret_token.rb +++ /dev/null @@ -1,12 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Your secret key is used for verifying the integrity of signed cookies. -# If you change this key, all old signed cookies will become invalid! - -# Make sure the secret is at least 30 characters and all random, -# no regular words or you'll be exposed to dictionary attacks. -# You can use `rake secret` to generate a secure secret key. - -# Make sure your secret_key_base is kept private -# if you're sharing your code publicly. -Dummy::Application.config.secret_key_base = '75ad7c4fa3066f9a84f7a9eb5608bc8cc36cfae40b4b12d68c5e73740d0d59b1594778fcdfc6b11a6556d51c6c8ec2c67177dc30af9fb28967802fbd46dce9da' diff --git a/spec/dummy/config/initializers/session_store.rb b/spec/dummy/config/initializers/session_store.rb deleted file mode 100644 index 155f7b0..0000000 --- a/spec/dummy/config/initializers/session_store.rb +++ /dev/null @@ -1,3 +0,0 @@ -# Be sure to restart your server when you modify this file. - -Dummy::Application.config.session_store :cookie_store, key: '_dummy_session' diff --git a/spec/dummy/db/migrate/20130123110019_create_users.rb b/spec/dummy/db/migrate/20130123110019_create_users.rb deleted file mode 100644 index 212eaef..0000000 --- a/spec/dummy/db/migrate/20130123110019_create_users.rb +++ /dev/null @@ -1,9 +0,0 @@ -class CreateUsers < ActiveRecord::Migration - def change - create_table :users do |t| - t.string :name - t.integer :site_id - t.timestamps - end - end -end diff --git a/spec/dummy/db/schema.rb b/spec/dummy/db/schema.rb deleted file mode 100644 index 3caa66d..0000000 --- a/spec/dummy/db/schema.rb +++ /dev/null @@ -1,29 +0,0 @@ -# encoding: UTF-8 -# This file is auto-generated from the current state of the database. Instead -# of editing this file, please use the migrations feature of Active Record to -# incrementally modify your database, and then regenerate this schema definition. -# -# Note that this schema.rb definition is the authoritative source for your -# database schema. If you need to create the application database on another -# system, you should be using db:schema:load, not running all the migrations -# from scratch. The latter is a flawed and unsustainable approach (the more migrations -# you'll amass, the slower it'll run and the greater likelihood for issues). -# -# It's strongly recommended that you check this file into your version control system. - -ActiveRecord::Schema.define(version: 20130129143939) do - - create_table "sites", force: true do |t| - t.string "url" - t.datetime "created_at" - t.datetime "updated_at" - end - - create_table "users", force: true do |t| - t.string "name" - t.integer "site_id" - t.datetime "created_at" - t.datetime "updated_at" - end - -end diff --git a/spec/dummy/db/seeds.rb b/spec/dummy/db/seeds.rb deleted file mode 100644 index 4edb1e8..0000000 --- a/spec/dummy/db/seeds.rb +++ /dev/null @@ -1,7 +0,0 @@ -# This file should contain all the record creation needed to seed the database with its default values. -# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). -# -# Examples: -# -# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) -# Mayor.create(name: 'Emanuel', city: cities.first) diff --git a/spec/dummy/public/robots.txt b/spec/dummy/public/robots.txt deleted file mode 100644 index 1a3a5e4..0000000 --- a/spec/dummy/public/robots.txt +++ /dev/null @@ -1,5 +0,0 @@ -# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file -# -# To ban all spiders from the entire site uncomment the next two lines: -# User-agent: * -# Disallow: / diff --git a/spec/factories/site.rb b/spec/factories/site.rb index 040bde9..e78c201 100644 --- a/spec/factories/site.rb +++ b/spec/factories/site.rb @@ -1,10 +1,10 @@ -require 'factory_girl' +# frozen_string_literal: true -FactoryGirl.define do +FactoryBot.define do sequence :url do |n| "url_#{n}" end factory :site do url end -end \ No newline at end of file +end diff --git a/spec/factories/user.rb b/spec/factories/user.rb index cfca7df..83cd864 100644 --- a/spec/factories/user.rb +++ b/spec/factories/user.rb @@ -1,8 +1,8 @@ -require 'factory_girl' +# frozen_string_literal: true -FactoryGirl.define do +FactoryBot.define do factory :user do - association :site, :factory => :site - name Faker::Name.name + association :site, factory: :site + login { Faker::Name.name } end -end \ No newline at end of file +end diff --git a/spec/multi_site_spec.rb b/spec/multi_site_spec.rb index e82f892..c791729 100644 --- a/spec/multi_site_spec.rb +++ b/spec/multi_site_spec.rb @@ -1,29 +1,29 @@ -require 'spec_helper' +require 'rails_helper' -describe "MultiSite" do - it "should be true if the number of users shown in the site scope is the same doing a where query" do - site_1 = FactoryGirl.create(:site) - site_2 = FactoryGirl.create(:site) - site_3 = FactoryGirl.create(:site) +describe 'MultiSite' do + it 'should be true if the number of users shown in the site scope is the same doing a where query' do + site1 = create(:site) + site2 = create(:site) + site3 = create(:site) - 20.times { FactoryGirl.create(:user, :site => site_1) } - 10.times { FactoryGirl.create(:user, :site => site_2) } + 20.times { create(:user, site: site1) } + 10.times { create(:user, site: site2) } - MultiSite.current_site = site_1 - User.on_site.count.should == User.where(:site_id => site_1.id).count + MultiSite.current_site = site1 + expect(User.on_site.count).to eq(User.where(site_id: site1.id).count) - MultiSite.current_site = site_2 - User.on_site.count.should == User.where(:site_id => site_2.id).count + MultiSite.current_site = site2 + expect(User.on_site.count).to eq(User.where(site_id: site2.id).count) - MultiSite.current_site = site_3 - User.on_site.count.should == 0 + MultiSite.current_site = site3 + expect(User.on_site.count).to eq(0) end - it "should return true if users is scoped by site" do + it 'should return true if users is scoped by site' do answer = User.is_scoped_by_site? - answer.should == true + expect(answer).to eq(true) answer = Site.is_scoped_by_site? - answer.should == false + expect(answer).to eq(false) end end diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb new file mode 100644 index 0000000..869ac61 --- /dev/null +++ b/spec/rails_helper.rb @@ -0,0 +1,28 @@ +# frozen_string_literal: true + +require 'rails' +require 'spec_helper' +ENV['RAILS_ENV'] ||= 'test' +require 'faker' +require 'factory_bot' +require_relative "dummy.#{Rails.version.to_f}/config/environment" +require 'rspec/rails' + +begin + ActiveRecord::Migration.maintain_test_schema! +rescue ActiveRecord::PendingMigrationError => e + abort e.to_s.strip +end + +RSpec.configure do |config| + config.include FactoryBot::Syntax::Methods + + config.fixture_path = "#{::Rails.root}/spec/fixtures" + config.use_transactional_fixtures = true + config.infer_spec_type_from_file_location! + config.filter_rails_from_backtrace! + + config.before(:suite) do + FactoryBot.find_definitions + end +end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 83c083e..06e09a3 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,25 +1,11 @@ -# Configure Rails Envinronment -ENV["RAILS_ENV"] = "test" - -require File.expand_path("../dummy/config/environment.rb", __FILE__) -require 'rspec/rails' -require 'faker' -# Run any available migration -ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__) -Rails.backtrace_cleaner.remove_silencers! - -require 'factory_girl' - -Site.delete_all - -FactoryGirl.find_definitions - RSpec.configure do |config| - require 'rspec/expectations' + config.expect_with :rspec do |expectations| + expectations.include_chain_clauses_in_custom_matcher_descriptions = true + end - config.include RSpec::Matchers - config.use_transactional_examples = true - config.expect_with :rspec do |c| - c.syntax = [:should] + config.mock_with :rspec do |mocks| + mocks.verify_partial_doubles = true end + + config.shared_context_metadata_behavior = :apply_to_host_groups end From ad295c7f1033ce4be1dcfb33cd465abb3c7cc14f Mon Sep 17 00:00:00 2001 From: a-figueiredo-campos Date: Mon, 30 Jan 2023 17:20:54 +0000 Subject: [PATCH 2/3] Updated files for last lines --- .travis.yml | 2 +- Rakefile | 2 +- gemfiles/rails_7.gemfile | 2 +- lib/multi_site/action_controller.rb | 2 +- lib/multi_site/rails/routes.rb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 899721d..7a4d1fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,4 @@ matrix: - gemfile: gemfiles/rails_6.gemfile rvm: 2.7.7 - gemfile: gemfiles/rails_7.gemfile - rvm: 3.0.4 \ No newline at end of file + rvm: 3.0.4 diff --git a/Rakefile b/Rakefile index c90dd69..517e465 100644 --- a/Rakefile +++ b/Rakefile @@ -12,4 +12,4 @@ require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task test: :spec -task default: 'matrix:spec' \ No newline at end of file +task default: 'matrix:spec' diff --git a/gemfiles/rails_7.gemfile b/gemfiles/rails_7.gemfile index bb1a93b..112a91b 100644 --- a/gemfiles/rails_7.gemfile +++ b/gemfiles/rails_7.gemfile @@ -13,4 +13,4 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] gem "bootsnap", require: false gem "gemika" -gemspec path: "../" \ No newline at end of file +gemspec path: "../" diff --git a/lib/multi_site/action_controller.rb b/lib/multi_site/action_controller.rb index e838b78..247969a 100644 --- a/lib/multi_site/action_controller.rb +++ b/lib/multi_site/action_controller.rb @@ -30,4 +30,4 @@ def find_current_site MultiSite.current_site = params[:multi_site].blank? ? nil : Site.where(url: params[:multi_site]).first end end -end \ No newline at end of file +end diff --git a/lib/multi_site/rails/routes.rb b/lib/multi_site/rails/routes.rb index 74eb514..f62a35e 100644 --- a/lib/multi_site/rails/routes.rb +++ b/lib/multi_site/rails/routes.rb @@ -27,4 +27,4 @@ def matches?(request) Site.exists?(url: request.path_parameters[:multi_site]) end end -end \ No newline at end of file +end From 26151a7f95efa979424a60807897b02011fb0457 Mon Sep 17 00:00:00 2001 From: a-figueiredo-campos Date: Fri, 3 Feb 2023 15:26:19 +0000 Subject: [PATCH 3/3] Added Appraisals and minor tweaks Added Appraisals Removed commented lines from rails helper --- Appraisals | 9 + Gemfile.lock | 13 +- Rakefile | 5 - gemfiles/rails_6.gemfile | 13 +- gemfiles/rails_6.gemfile.lock | 209 +- gemfiles/rails_7.gemfile | 15 +- gemfiles/rails_7.gemfile.lock | 53 +- multi_site.gemspec | 2 +- spec/dummy.6.0/.browserslistrc | 1 - spec/dummy.6.0/.gitignore | 41 - spec/dummy.6.0/.ruby-version | 1 - spec/dummy.6.0/README.md | 24 - spec/dummy.6.0/Rakefile | 6 - spec/dummy.6.0/app/assets/config/manifest.js | 2 - .../app/assets/stylesheets/application.css | 15 - .../app/assets/stylesheets/users.scss | 3 - .../app/controllers/application_controller.rb | 11 - .../app/controllers/users_controller.rb | 9 - spec/dummy.6.0/app/helpers/users_helper.rb | 2 - .../app/javascript/channels/consumer.js | 6 - .../app/javascript/channels/index.js | 5 - .../app/javascript/packs/application.js | 17 - .../app/mailers/application_mailer.rb | 4 - .../app/views/layouts/application.html.erb | 15 - spec/dummy.6.0/babel.config.js | 72 - spec/dummy.6.0/bin/bundle | 114 - spec/dummy.6.0/bin/rails | 9 - spec/dummy.6.0/bin/rake | 9 - spec/dummy.6.0/bin/setup | 36 - spec/dummy.6.0/bin/spring | 17 - spec/dummy.6.0/bin/webpack | 18 - spec/dummy.6.0/bin/webpack-dev-server | 18 - spec/dummy.6.0/bin/yarn | 11 - spec/dummy.6.0/config.ru | 5 - spec/dummy.6.0/config/application.rb | 19 - spec/dummy.6.0/config/boot.rb | 4 - spec/dummy.6.0/config/credentials.yml.enc | 1 - spec/dummy.6.0/config/database.yml | 25 - .../config/environments/development.rb | 62 - .../config/environments/production.rb | 112 - spec/dummy.6.0/config/environments/test.rb | 49 - .../application_controller_renderer.rb | 8 - spec/dummy.6.0/config/initializers/assets.rb | 14 - .../initializers/backtrace_silencers.rb | 7 - .../initializers/content_security_policy.rb | 30 - .../config/initializers/cookies_serializer.rb | 5 - .../initializers/filter_parameter_logging.rb | 4 - .../config/initializers/inflections.rb | 16 - .../config/initializers/mime_types.rb | 4 - .../config/initializers/wrap_parameters.rb | 14 - spec/dummy.6.0/config/locales/en.yml | 33 - spec/dummy.6.0/config/puma.rb | 38 - spec/dummy.6.0/config/routes.rb | 15 - spec/dummy.6.0/config/spring.rb | 6 - spec/dummy.6.0/config/storage.yml | 34 - spec/dummy.6.0/config/webpack/development.js | 5 - spec/dummy.6.0/config/webpack/environment.js | 3 - spec/dummy.6.0/config/webpack/production.js | 5 - spec/dummy.6.0/config/webpack/test.js | 5 - spec/dummy.6.0/config/webpacker.yml | 96 - spec/dummy.6.0/db/schema.rb | 29 - spec/dummy.6.0/db/seeds.rb | 7 - spec/dummy.6.0/package.json | 14 - spec/dummy.6.0/postcss.config.js | 12 - spec/dummy.6.0/public/robots.txt | 1 - .../test/application_system_test_case.rb | 5 - .../application_cable/connection_test.rb | 11 - .../test/controllers/users_controller_test.rb | 7 - spec/dummy.6.0/test/fixtures/files/.keep | 0 spec/dummy.6.0/test/fixtures/sites.yml | 11 - spec/dummy.6.0/test/fixtures/users.yml | 11 - spec/dummy.6.0/test/helpers/.keep | 0 spec/dummy.6.0/test/integration/.keep | 0 spec/dummy.6.0/test/mailers/.keep | 0 spec/dummy.6.0/test/models/.keep | 0 spec/dummy.6.0/test/models/site_test.rb | 7 - spec/dummy.6.0/test/models/user_test.rb | 7 - spec/dummy.6.0/test/system/.keep | 0 spec/dummy.6.0/test/test_helper.rb | 13 - spec/dummy.6.0/vendor/.keep | 0 spec/dummy.6.0/yarn.lock | 1391 - spec/dummy.7.0/.gitattributes | 7 - spec/dummy.7.0/.gitignore | 35 - spec/dummy.7.0/.ruby-version | 1 - spec/dummy.7.0/README.md | 24 - spec/dummy.7.0/app/assets/config/manifest.js | 4 - spec/dummy.7.0/app/assets/images/.keep | 0 .../app/assets/stylesheets/application.css | 15 - .../app/channels/application_cable/channel.rb | 4 - .../channels/application_cable/connection.rb | 4 - .../app/controllers/admin/admin_controller.rb | 15 - .../app/controllers/application_controller.rb | 12 - spec/dummy.7.0/app/controllers/concerns/.keep | 0 .../app/helpers/application_helper.rb | 2 - spec/dummy.7.0/app/helpers/users_helper.rb | 2 - spec/dummy.7.0/app/javascript/application.js | 3 - .../app/javascript/controllers/application.js | 9 - .../controllers/hello_controller.js | 7 - .../app/javascript/controllers/index.js | 11 - spec/dummy.7.0/app/jobs/application_job.rb | 7 - .../app/models/application_record.rb | 3 - spec/dummy.7.0/app/models/concerns/.keep | 0 spec/dummy.7.0/app/models/site.rb | 2 - spec/dummy.7.0/app/models/user.rb | 3 - .../app/views/layouts/mailer.html.erb | 13 - .../app/views/layouts/mailer.text.erb | 1 - spec/dummy.7.0/bin/bundle | 114 - spec/dummy.7.0/bin/importmap | 4 - spec/dummy.7.0/config/boot.rb | 4 - spec/dummy.7.0/config/cable.yml | 11 - spec/dummy.7.0/config/credentials.yml.enc | 1 - spec/dummy.7.0/config/environment.rb | 5 - spec/dummy.7.0/config/importmap.rb | 7 - spec/dummy.7.0/config/initializers/assets.rb | 12 - .../db/migrate/20230130164228_create_users.rb | 9 - .../db/migrate/20230130164233_create_sites.rb | 8 - spec/dummy.7.0/db/seeds.rb | 7 - spec/dummy.7.0/lib/assets/.keep | 0 spec/dummy.7.0/lib/tasks/.keep | 0 spec/dummy.7.0/log/.keep | 0 spec/dummy.7.0/public/404.html | 67 - spec/dummy.7.0/public/422.html | 67 - spec/dummy.7.0/public/500.html | 66 - .../public/apple-touch-icon-precomposed.png | 0 spec/dummy.7.0/public/apple-touch-icon.png | 0 spec/dummy.7.0/public/favicon.ico | 0 spec/dummy.7.0/public/robots.txt | 1 - spec/dummy.7.0/storage/.keep | 0 .../test/application_system_test_case.rb | 5 - .../application_cable/connection_test.rb | 11 - spec/dummy.7.0/test/controllers/.keep | 0 .../test/controllers/users_controller_test.rb | 7 - spec/dummy.7.0/test/fixtures/files/.keep | 0 spec/dummy.7.0/test/fixtures/sites.yml | 11 - spec/dummy.7.0/test/fixtures/users.yml | 11 - spec/dummy.7.0/test/helpers/.keep | 0 spec/dummy.7.0/test/integration/.keep | 0 spec/dummy.7.0/test/mailers/.keep | 0 spec/dummy.7.0/test/models/.keep | 0 spec/dummy.7.0/test/models/site_test.rb | 7 - spec/dummy.7.0/test/models/user_test.rb | 7 - spec/dummy.7.0/test/system/.keep | 0 spec/dummy.7.0/test/test_helper.rb | 13 - spec/dummy.7.0/vendor/.keep | 0 spec/dummy.7.0/vendor/javascript/.keep | 0 spec/{dummy.7.0 => dummy}/Rakefile | 0 spec/dummy/app/assets/config/manifest.js | 3 + .../app/assets/images/.keep | 0 .../app/assets/stylesheets/application.css | 1 + .../app/channels/application_cable/channel.rb | 0 .../channels/application_cable/connection.rb | 0 .../app/controllers/admin/admin_controller.rb | 0 .../app/controllers/application_controller.rb | 2 + .../app/controllers/concerns/.keep | 0 .../app/controllers/users_controller.rb | 2 + .../app/helpers/application_helper.rb | 0 .../app/jobs/application_job.rb | 0 .../app/mailers/application_mailer.rb | 0 .../app/models/application_record.rb | 0 .../app/models/concerns/.keep | 0 spec/{dummy.6.0 => dummy}/app/models/site.rb | 0 spec/{dummy.6.0 => dummy}/app/models/user.rb | 0 .../app/views/layouts/application.html.erb | 5 +- .../app/views/layouts/mailer.html.erb | 0 .../app/views/layouts/mailer.text.erb | 0 spec/{dummy.7.0 => dummy}/bin/rails | 0 spec/{dummy.7.0 => dummy}/bin/rake | 0 spec/{dummy.7.0 => dummy}/bin/setup | 0 spec/{dummy.7.0 => dummy}/config.ru | 0 .../config/application.rb | 13 +- spec/dummy/config/boot.rb | 5 + spec/{dummy.6.0 => dummy}/config/cable.yml | 2 +- spec/{dummy.7.0 => dummy}/config/database.yml | 0 .../config/environment.rb | 0 .../config/environments/development.rb | 2 - .../config/environments/production.rb | 8 +- .../config/environments/test.rb | 4 +- .../initializers/content_security_policy.rb | 0 .../initializers/filter_parameter_logging.rb | 0 .../config/initializers/inflections.rb | 0 .../config/initializers/permissions_policy.rb | 0 .../config/locales/en.yml | 0 spec/{dummy.7.0 => dummy}/config/puma.rb | 0 spec/{dummy.7.0 => dummy}/config/routes.rb | 2 - spec/{dummy.7.0 => dummy}/config/storage.yml | 0 spec/dummy/db/development.sqlite3 | Bin 0 -> 36864 bytes .../db/migrate/20230130163134_create_users.rb | 2 +- .../db/migrate/20230130163141_create_sites.rb | 2 +- spec/{dummy.7.0 => dummy}/db/schema.rb | 2 +- spec/dummy/db/test.sqlite3 | Bin 0 -> 36864 bytes spec/{dummy.6.0 => dummy}/lib/assets/.keep | 0 spec/{dummy.6.0/lib/tasks => dummy/log}/.keep | 0 spec/dummy/log/development.log | 128 + spec/dummy/log/test.log | 52858 ++++++++++++++++ spec/{dummy.6.0 => dummy}/public/404.html | 0 spec/{dummy.6.0 => dummy}/public/422.html | 0 spec/{dummy.6.0 => dummy}/public/500.html | 0 .../public/apple-touch-icon-precomposed.png | 0 .../public/apple-touch-icon.png | 0 spec/{dummy.6.0 => dummy}/public/favicon.ico | 0 spec/{dummy.6.0/log => dummy/storage}/.keep | 0 spec/{dummy.6.0/storage => dummy/tmp}/.keep | 0 spec/dummy/tmp/development_secret.txt | 1 + .../test/controllers => dummy/tmp/pids}/.keep | 0 .../test/fixtures => dummy/tmp/storage}/.keep | 0 spec/rails_helper.rb | 12 +- spec/spec_helper.rb | 2 + 207 files changed, 53151 insertions(+), 3474 deletions(-) create mode 100644 Appraisals delete mode 100644 spec/dummy.6.0/.browserslistrc delete mode 100644 spec/dummy.6.0/.gitignore delete mode 100644 spec/dummy.6.0/.ruby-version delete mode 100644 spec/dummy.6.0/README.md delete mode 100644 spec/dummy.6.0/Rakefile delete mode 100644 spec/dummy.6.0/app/assets/config/manifest.js delete mode 100644 spec/dummy.6.0/app/assets/stylesheets/application.css delete mode 100644 spec/dummy.6.0/app/assets/stylesheets/users.scss delete mode 100644 spec/dummy.6.0/app/controllers/application_controller.rb delete mode 100644 spec/dummy.6.0/app/controllers/users_controller.rb delete mode 100644 spec/dummy.6.0/app/helpers/users_helper.rb delete mode 100644 spec/dummy.6.0/app/javascript/channels/consumer.js delete mode 100644 spec/dummy.6.0/app/javascript/channels/index.js delete mode 100644 spec/dummy.6.0/app/javascript/packs/application.js delete mode 100644 spec/dummy.6.0/app/mailers/application_mailer.rb delete mode 100644 spec/dummy.6.0/app/views/layouts/application.html.erb delete mode 100644 spec/dummy.6.0/babel.config.js delete mode 100755 spec/dummy.6.0/bin/bundle delete mode 100755 spec/dummy.6.0/bin/rails delete mode 100755 spec/dummy.6.0/bin/rake delete mode 100755 spec/dummy.6.0/bin/setup delete mode 100755 spec/dummy.6.0/bin/spring delete mode 100755 spec/dummy.6.0/bin/webpack delete mode 100755 spec/dummy.6.0/bin/webpack-dev-server delete mode 100755 spec/dummy.6.0/bin/yarn delete mode 100644 spec/dummy.6.0/config.ru delete mode 100644 spec/dummy.6.0/config/application.rb delete mode 100644 spec/dummy.6.0/config/boot.rb delete mode 100644 spec/dummy.6.0/config/credentials.yml.enc delete mode 100644 spec/dummy.6.0/config/database.yml delete mode 100644 spec/dummy.6.0/config/environments/development.rb delete mode 100644 spec/dummy.6.0/config/environments/production.rb delete mode 100644 spec/dummy.6.0/config/environments/test.rb delete mode 100644 spec/dummy.6.0/config/initializers/application_controller_renderer.rb delete mode 100644 spec/dummy.6.0/config/initializers/assets.rb delete mode 100644 spec/dummy.6.0/config/initializers/backtrace_silencers.rb delete mode 100644 spec/dummy.6.0/config/initializers/content_security_policy.rb delete mode 100644 spec/dummy.6.0/config/initializers/cookies_serializer.rb delete mode 100644 spec/dummy.6.0/config/initializers/filter_parameter_logging.rb delete mode 100644 spec/dummy.6.0/config/initializers/inflections.rb delete mode 100644 spec/dummy.6.0/config/initializers/mime_types.rb delete mode 100644 spec/dummy.6.0/config/initializers/wrap_parameters.rb delete mode 100644 spec/dummy.6.0/config/locales/en.yml delete mode 100644 spec/dummy.6.0/config/puma.rb delete mode 100644 spec/dummy.6.0/config/routes.rb delete mode 100644 spec/dummy.6.0/config/spring.rb delete mode 100644 spec/dummy.6.0/config/storage.yml delete mode 100644 spec/dummy.6.0/config/webpack/development.js delete mode 100644 spec/dummy.6.0/config/webpack/environment.js delete mode 100644 spec/dummy.6.0/config/webpack/production.js delete mode 100644 spec/dummy.6.0/config/webpack/test.js delete mode 100644 spec/dummy.6.0/config/webpacker.yml delete mode 100644 spec/dummy.6.0/db/schema.rb delete mode 100644 spec/dummy.6.0/db/seeds.rb delete mode 100644 spec/dummy.6.0/package.json delete mode 100644 spec/dummy.6.0/postcss.config.js delete mode 100644 spec/dummy.6.0/public/robots.txt delete mode 100644 spec/dummy.6.0/test/application_system_test_case.rb delete mode 100644 spec/dummy.6.0/test/channels/application_cable/connection_test.rb delete mode 100644 spec/dummy.6.0/test/controllers/users_controller_test.rb delete mode 100644 spec/dummy.6.0/test/fixtures/files/.keep delete mode 100644 spec/dummy.6.0/test/fixtures/sites.yml delete mode 100644 spec/dummy.6.0/test/fixtures/users.yml delete mode 100644 spec/dummy.6.0/test/helpers/.keep delete mode 100644 spec/dummy.6.0/test/integration/.keep delete mode 100644 spec/dummy.6.0/test/mailers/.keep delete mode 100644 spec/dummy.6.0/test/models/.keep delete mode 100644 spec/dummy.6.0/test/models/site_test.rb delete mode 100644 spec/dummy.6.0/test/models/user_test.rb delete mode 100644 spec/dummy.6.0/test/system/.keep delete mode 100644 spec/dummy.6.0/test/test_helper.rb delete mode 100644 spec/dummy.6.0/vendor/.keep delete mode 100644 spec/dummy.6.0/yarn.lock delete mode 100644 spec/dummy.7.0/.gitattributes delete mode 100644 spec/dummy.7.0/.gitignore delete mode 100644 spec/dummy.7.0/.ruby-version delete mode 100644 spec/dummy.7.0/README.md delete mode 100644 spec/dummy.7.0/app/assets/config/manifest.js delete mode 100644 spec/dummy.7.0/app/assets/images/.keep delete mode 100644 spec/dummy.7.0/app/assets/stylesheets/application.css delete mode 100644 spec/dummy.7.0/app/channels/application_cable/channel.rb delete mode 100644 spec/dummy.7.0/app/channels/application_cable/connection.rb delete mode 100644 spec/dummy.7.0/app/controllers/admin/admin_controller.rb delete mode 100644 spec/dummy.7.0/app/controllers/application_controller.rb delete mode 100644 spec/dummy.7.0/app/controllers/concerns/.keep delete mode 100644 spec/dummy.7.0/app/helpers/application_helper.rb delete mode 100644 spec/dummy.7.0/app/helpers/users_helper.rb delete mode 100644 spec/dummy.7.0/app/javascript/application.js delete mode 100644 spec/dummy.7.0/app/javascript/controllers/application.js delete mode 100644 spec/dummy.7.0/app/javascript/controllers/hello_controller.js delete mode 100644 spec/dummy.7.0/app/javascript/controllers/index.js delete mode 100644 spec/dummy.7.0/app/jobs/application_job.rb delete mode 100644 spec/dummy.7.0/app/models/application_record.rb delete mode 100644 spec/dummy.7.0/app/models/concerns/.keep delete mode 100644 spec/dummy.7.0/app/models/site.rb delete mode 100644 spec/dummy.7.0/app/models/user.rb delete mode 100644 spec/dummy.7.0/app/views/layouts/mailer.html.erb delete mode 100644 spec/dummy.7.0/app/views/layouts/mailer.text.erb delete mode 100755 spec/dummy.7.0/bin/bundle delete mode 100755 spec/dummy.7.0/bin/importmap delete mode 100644 spec/dummy.7.0/config/boot.rb delete mode 100644 spec/dummy.7.0/config/cable.yml delete mode 100644 spec/dummy.7.0/config/credentials.yml.enc delete mode 100644 spec/dummy.7.0/config/environment.rb delete mode 100644 spec/dummy.7.0/config/importmap.rb delete mode 100644 spec/dummy.7.0/config/initializers/assets.rb delete mode 100644 spec/dummy.7.0/db/migrate/20230130164228_create_users.rb delete mode 100644 spec/dummy.7.0/db/migrate/20230130164233_create_sites.rb delete mode 100644 spec/dummy.7.0/db/seeds.rb delete mode 100644 spec/dummy.7.0/lib/assets/.keep delete mode 100644 spec/dummy.7.0/lib/tasks/.keep delete mode 100644 spec/dummy.7.0/log/.keep delete mode 100644 spec/dummy.7.0/public/404.html delete mode 100644 spec/dummy.7.0/public/422.html delete mode 100644 spec/dummy.7.0/public/500.html delete mode 100644 spec/dummy.7.0/public/apple-touch-icon-precomposed.png delete mode 100644 spec/dummy.7.0/public/apple-touch-icon.png delete mode 100644 spec/dummy.7.0/public/favicon.ico delete mode 100644 spec/dummy.7.0/public/robots.txt delete mode 100644 spec/dummy.7.0/storage/.keep delete mode 100644 spec/dummy.7.0/test/application_system_test_case.rb delete mode 100644 spec/dummy.7.0/test/channels/application_cable/connection_test.rb delete mode 100644 spec/dummy.7.0/test/controllers/.keep delete mode 100644 spec/dummy.7.0/test/controllers/users_controller_test.rb delete mode 100644 spec/dummy.7.0/test/fixtures/files/.keep delete mode 100644 spec/dummy.7.0/test/fixtures/sites.yml delete mode 100644 spec/dummy.7.0/test/fixtures/users.yml delete mode 100644 spec/dummy.7.0/test/helpers/.keep delete mode 100644 spec/dummy.7.0/test/integration/.keep delete mode 100644 spec/dummy.7.0/test/mailers/.keep delete mode 100644 spec/dummy.7.0/test/models/.keep delete mode 100644 spec/dummy.7.0/test/models/site_test.rb delete mode 100644 spec/dummy.7.0/test/models/user_test.rb delete mode 100644 spec/dummy.7.0/test/system/.keep delete mode 100644 spec/dummy.7.0/test/test_helper.rb delete mode 100644 spec/dummy.7.0/vendor/.keep delete mode 100644 spec/dummy.7.0/vendor/javascript/.keep rename spec/{dummy.7.0 => dummy}/Rakefile (100%) create mode 100644 spec/dummy/app/assets/config/manifest.js rename spec/{dummy.6.0 => dummy}/app/assets/images/.keep (100%) create mode 100644 spec/dummy/app/assets/stylesheets/application.css rename spec/{dummy.6.0 => dummy}/app/channels/application_cable/channel.rb (100%) rename spec/{dummy.6.0 => dummy}/app/channels/application_cable/connection.rb (100%) rename spec/{dummy.6.0 => dummy}/app/controllers/admin/admin_controller.rb (100%) create mode 100644 spec/dummy/app/controllers/application_controller.rb rename spec/{dummy.6.0 => dummy}/app/controllers/concerns/.keep (100%) rename spec/{dummy.7.0 => dummy}/app/controllers/users_controller.rb (83%) rename spec/{dummy.6.0 => dummy}/app/helpers/application_helper.rb (100%) rename spec/{dummy.6.0 => dummy}/app/jobs/application_job.rb (100%) rename spec/{dummy.7.0 => dummy}/app/mailers/application_mailer.rb (100%) rename spec/{dummy.6.0 => dummy}/app/models/application_record.rb (100%) rename spec/{dummy.6.0 => dummy}/app/models/concerns/.keep (100%) rename spec/{dummy.6.0 => dummy}/app/models/site.rb (100%) rename spec/{dummy.6.0 => dummy}/app/models/user.rb (100%) rename spec/{dummy.7.0 => dummy}/app/views/layouts/application.html.erb (60%) rename spec/{dummy.6.0 => dummy}/app/views/layouts/mailer.html.erb (100%) rename spec/{dummy.6.0 => dummy}/app/views/layouts/mailer.text.erb (100%) rename spec/{dummy.7.0 => dummy}/bin/rails (100%) rename spec/{dummy.7.0 => dummy}/bin/rake (100%) rename spec/{dummy.7.0 => dummy}/bin/setup (100%) rename spec/{dummy.7.0 => dummy}/config.ru (100%) rename spec/{dummy.7.0 => dummy}/config/application.rb (60%) create mode 100644 spec/dummy/config/boot.rb rename spec/{dummy.6.0 => dummy}/config/cable.yml (79%) rename spec/{dummy.7.0 => dummy}/config/database.yml (100%) rename spec/{dummy.6.0 => dummy}/config/environment.rb (100%) rename spec/{dummy.7.0 => dummy}/config/environments/development.rb (96%) rename spec/{dummy.7.0 => dummy}/config/environments/production.rb (93%) rename spec/{dummy.7.0 => dummy}/config/environments/test.rb (95%) rename spec/{dummy.7.0 => dummy}/config/initializers/content_security_policy.rb (100%) rename spec/{dummy.7.0 => dummy}/config/initializers/filter_parameter_logging.rb (100%) rename spec/{dummy.7.0 => dummy}/config/initializers/inflections.rb (100%) rename spec/{dummy.7.0 => dummy}/config/initializers/permissions_policy.rb (100%) rename spec/{dummy.7.0 => dummy}/config/locales/en.yml (100%) rename spec/{dummy.7.0 => dummy}/config/puma.rb (100%) rename spec/{dummy.7.0 => dummy}/config/routes.rb (89%) rename spec/{dummy.7.0 => dummy}/config/storage.yml (100%) create mode 100644 spec/dummy/db/development.sqlite3 rename spec/{dummy.6.0 => dummy}/db/migrate/20230130163134_create_users.rb (72%) rename spec/{dummy.6.0 => dummy}/db/migrate/20230130163141_create_sites.rb (67%) rename spec/{dummy.7.0 => dummy}/db/schema.rb (94%) create mode 100644 spec/dummy/db/test.sqlite3 rename spec/{dummy.6.0 => dummy}/lib/assets/.keep (100%) rename spec/{dummy.6.0/lib/tasks => dummy/log}/.keep (100%) create mode 100644 spec/dummy/log/development.log create mode 100644 spec/dummy/log/test.log rename spec/{dummy.6.0 => dummy}/public/404.html (100%) rename spec/{dummy.6.0 => dummy}/public/422.html (100%) rename spec/{dummy.6.0 => dummy}/public/500.html (100%) rename spec/{dummy.6.0 => dummy}/public/apple-touch-icon-precomposed.png (100%) rename spec/{dummy.6.0 => dummy}/public/apple-touch-icon.png (100%) rename spec/{dummy.6.0 => dummy}/public/favicon.ico (100%) rename spec/{dummy.6.0/log => dummy/storage}/.keep (100%) rename spec/{dummy.6.0/storage => dummy/tmp}/.keep (100%) create mode 100644 spec/dummy/tmp/development_secret.txt rename spec/{dummy.6.0/test/controllers => dummy/tmp/pids}/.keep (100%) rename spec/{dummy.6.0/test/fixtures => dummy/tmp/storage}/.keep (100%) diff --git a/Appraisals b/Appraisals new file mode 100644 index 0000000..ec8c598 --- /dev/null +++ b/Appraisals @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +appraise 'rails-6' do + gem 'rails', '>= 6', '< 7' +end + +appraise 'rails-7' do + gem 'rails', '>= 7' +end diff --git a/Gemfile.lock b/Gemfile.lock index 726a5a0..0a0e6e0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -73,6 +73,10 @@ GEM i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) + appraisal (2.4.1) + bundler + rake + thor (>= 0.14.0) builder (3.2.4) concurrent-ruby (1.2.0) crass (1.0.6) @@ -92,7 +96,6 @@ GEM railties (>= 5.0.0) faker (3.1.0) i18n (>= 1.8.11, < 2) - gemika (0.8.1) globalid (1.1.0) activesupport (>= 5.0) i18n (1.12.0) @@ -119,7 +122,7 @@ GEM net-smtp (0.3.3) net-protocol nio4r (2.5.8) - nokogiri (1.14.0-x86_64-darwin) + nokogiri (1.14.1-x86_64-darwin) racc (~> 1.4) racc (1.6.2) rack (2.2.6.2) @@ -182,16 +185,16 @@ GEM zeitwerk (2.6.6) PLATFORMS - ruby + x86_64-darwin-21 DEPENDENCIES + appraisal database_cleaner factory_bot_rails faker - gemika multi_site! rspec-rails sqlite3 BUNDLED WITH - 2.1.4 + 2.4.5 diff --git a/Rakefile b/Rakefile index 517e465..2e2d81a 100644 --- a/Rakefile +++ b/Rakefile @@ -3,11 +3,6 @@ require 'bundler' Bundler::GemHelper.install_tasks -begin - require 'gemika/tasks' -rescue LoadError - puts 'Run `gem install gemika` for additional tasks' -end require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) diff --git a/gemfiles/rails_6.gemfile b/gemfiles/rails_6.gemfile index 807b9a7..5e41258 100644 --- a/gemfiles/rails_6.gemfile +++ b/gemfiles/rails_6.gemfile @@ -1,14 +1,7 @@ +# This file was generated by Appraisal + source "https://rubygems.org" -gem "rails", "~> 6.0.6.1" -gem "sqlite3", "~> 1.4" -gem "puma", "~> 3.11" -gem "sass-rails", "~> 5" -gem "webpacker", "~> 4.0" -gem "turbolinks", "~> 5" -gem "jbuilder", "~> 2.7" -gem "sprockets-rails", "<= 3.0" -gem "bootsnap", require: false -gem "gemika" +gem "rails", ">= 6", "< 7" gemspec path: "../" diff --git a/gemfiles/rails_6.gemfile.lock b/gemfiles/rails_6.gemfile.lock index b86be95..6ceaeba 100644 --- a/gemfiles/rails_6.gemfile.lock +++ b/gemfiles/rails_6.gemfile.lock @@ -8,63 +8,69 @@ PATH GEM remote: https://rubygems.org/ specs: - actioncable (6.0.6.1) - actionpack (= 6.0.6.1) + actioncable (6.1.7.2) + actionpack (= 6.1.7.2) + activesupport (= 6.1.7.2) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (6.0.6.1) - actionpack (= 6.0.6.1) - activejob (= 6.0.6.1) - activerecord (= 6.0.6.1) - activestorage (= 6.0.6.1) - activesupport (= 6.0.6.1) + actionmailbox (6.1.7.2) + actionpack (= 6.1.7.2) + activejob (= 6.1.7.2) + activerecord (= 6.1.7.2) + activestorage (= 6.1.7.2) + activesupport (= 6.1.7.2) mail (>= 2.7.1) - actionmailer (6.0.6.1) - actionpack (= 6.0.6.1) - actionview (= 6.0.6.1) - activejob (= 6.0.6.1) + actionmailer (6.1.7.2) + actionpack (= 6.1.7.2) + actionview (= 6.1.7.2) + activejob (= 6.1.7.2) + activesupport (= 6.1.7.2) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (6.0.6.1) - actionview (= 6.0.6.1) - activesupport (= 6.0.6.1) - rack (~> 2.0, >= 2.0.8) + actionpack (6.1.7.2) + actionview (= 6.1.7.2) + activesupport (= 6.1.7.2) + rack (~> 2.0, >= 2.0.9) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (6.0.6.1) - actionpack (= 6.0.6.1) - activerecord (= 6.0.6.1) - activestorage (= 6.0.6.1) - activesupport (= 6.0.6.1) + actiontext (6.1.7.2) + actionpack (= 6.1.7.2) + activerecord (= 6.1.7.2) + activestorage (= 6.1.7.2) + activesupport (= 6.1.7.2) nokogiri (>= 1.8.5) - actionview (6.0.6.1) - activesupport (= 6.0.6.1) + actionview (6.1.7.2) + activesupport (= 6.1.7.2) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (6.0.6.1) - activesupport (= 6.0.6.1) + activejob (6.1.7.2) + activesupport (= 6.1.7.2) globalid (>= 0.3.6) - activemodel (6.0.6.1) - activesupport (= 6.0.6.1) - activerecord (6.0.6.1) - activemodel (= 6.0.6.1) - activesupport (= 6.0.6.1) - activestorage (6.0.6.1) - actionpack (= 6.0.6.1) - activejob (= 6.0.6.1) - activerecord (= 6.0.6.1) + activemodel (6.1.7.2) + activesupport (= 6.1.7.2) + activerecord (6.1.7.2) + activemodel (= 6.1.7.2) + activesupport (= 6.1.7.2) + activestorage (6.1.7.2) + actionpack (= 6.1.7.2) + activejob (= 6.1.7.2) + activerecord (= 6.1.7.2) + activesupport (= 6.1.7.2) marcel (~> 1.0) - activesupport (6.0.6.1) + mini_mime (>= 1.1.0) + activesupport (6.1.7.2) concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - zeitwerk (~> 2.2, >= 2.2.2) - bootsnap (1.16.0) - msgpack (~> 1.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + zeitwerk (~> 2.3) + appraisal (2.4.1) + bundler + rake + thor (>= 0.14.0) builder (3.2.4) concurrent-ruby (1.2.0) crass (1.0.6) @@ -84,19 +90,14 @@ GEM railties (>= 5.0.0) faker (3.1.0) i18n (>= 1.8.11, < 2) - ffi (1.15.5) - gemika (0.8.1) globalid (1.1.0) activesupport (>= 5.0) i18n (1.12.0) concurrent-ruby (~> 1.0) - jbuilder (2.11.5) - actionview (>= 5.0.0) - activesupport (>= 5.0.0) loofah (2.19.1) crass (~> 1.0.2) nokogiri (>= 1.5.9) - mail (2.8.0.1) + mail (2.8.1) mini_mime (>= 0.1.1) net-imap net-pop @@ -106,7 +107,6 @@ GEM mini_mime (1.1.2) mini_portile2 (2.8.1) minitest (5.17.0) - msgpack (1.6.0) net-imap (0.3.4) date net-protocol @@ -117,51 +117,45 @@ GEM net-smtp (0.3.3) net-protocol nio4r (2.5.8) - nokogiri (1.14.0) + nokogiri (1.14.1) mini_portile2 (~> 2.8.0) racc (~> 1.4) - nokogiri (1.14.0-x86_64-darwin) + nokogiri (1.14.1-x86_64-darwin) racc (~> 1.4) - puma (3.12.6) racc (1.6.2) rack (2.2.6.2) - rack-proxy (0.7.6) - rack rack-test (2.0.2) rack (>= 1.3) - rails (6.0.6.1) - actioncable (= 6.0.6.1) - actionmailbox (= 6.0.6.1) - actionmailer (= 6.0.6.1) - actionpack (= 6.0.6.1) - actiontext (= 6.0.6.1) - actionview (= 6.0.6.1) - activejob (= 6.0.6.1) - activemodel (= 6.0.6.1) - activerecord (= 6.0.6.1) - activestorage (= 6.0.6.1) - activesupport (= 6.0.6.1) - bundler (>= 1.3.0) - railties (= 6.0.6.1) + rails (6.1.7.2) + actioncable (= 6.1.7.2) + actionmailbox (= 6.1.7.2) + actionmailer (= 6.1.7.2) + actionpack (= 6.1.7.2) + actiontext (= 6.1.7.2) + actionview (= 6.1.7.2) + activejob (= 6.1.7.2) + activemodel (= 6.1.7.2) + activerecord (= 6.1.7.2) + activestorage (= 6.1.7.2) + activesupport (= 6.1.7.2) + bundler (>= 1.15.0) + railties (= 6.1.7.2) sprockets-rails (>= 2.0.0) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) rails-html-sanitizer (1.5.0) loofah (~> 2.19, >= 2.19.1) - railties (6.0.6.1) - actionpack (= 6.0.6.1) - activesupport (= 6.0.6.1) + railties (6.1.7.2) + actionpack (= 6.1.7.2) + activesupport (= 6.1.7.2) method_source - rake (>= 0.8.7) - thor (>= 0.20.3, < 2.0) + rake (>= 12.2) + thor (~> 1.0) rake (13.0.6) - rb-fsevent (0.11.2) - rb-inotify (0.10.1) - ffi (~> 1.0) request_store (1.5.1) rack (>= 1.4) - rspec-core (3.12.0) + rspec-core (3.12.1) rspec-support (~> 3.12.0) rspec-expectations (3.12.2) diff-lcs (>= 1.2.0, < 2.0) @@ -169,49 +163,29 @@ GEM rspec-mocks (3.12.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) - rspec-rails (5.1.2) - actionpack (>= 5.2) - activesupport (>= 5.2) - railties (>= 5.2) - rspec-core (~> 3.10) - rspec-expectations (~> 3.10) - rspec-mocks (~> 3.10) - rspec-support (~> 3.10) + rspec-rails (6.0.1) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.11) + rspec-expectations (~> 3.11) + rspec-mocks (~> 3.11) + rspec-support (~> 3.11) rspec-support (3.12.0) - sass (3.7.4) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - sass-rails (5.1.0) - railties (>= 5.2.0) - sass (~> 3.1) - sprockets (>= 2.8, < 4.0) - sprockets-rails (>= 2.0, < 4.0) - tilt (>= 1.1, < 3) - sprockets (3.7.2) + sprockets (4.2.0) concurrent-ruby (~> 1.0) - rack (> 1, < 3) - sprockets-rails (3.0.0) - actionpack (>= 4.0) - activesupport (>= 4.0) + rack (>= 2.2.4, < 4) + sprockets-rails (3.4.2) + actionpack (>= 5.2) + activesupport (>= 5.2) sprockets (>= 3.0.0) sqlite3 (1.6.0) mini_portile2 (~> 2.8.0) sqlite3 (1.6.0-x86_64-darwin) thor (1.2.1) - thread_safe (0.3.6) - tilt (2.0.11) timeout (0.3.1) - turbolinks (5.2.1) - turbolinks-source (~> 5.2) - turbolinks-source (5.2.0) - tzinfo (1.2.11) - thread_safe (~> 0.1) - webpacker (4.3.0) - activesupport (>= 4.2) - rack-proxy (>= 0.6.1) - railties (>= 4.2) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) @@ -222,21 +196,14 @@ PLATFORMS x86_64-darwin-21 DEPENDENCIES - bootsnap + appraisal database_cleaner factory_bot_rails faker - gemika - jbuilder (~> 2.7) multi_site! - puma (~> 3.11) - rails (~> 6.0.6.1) + rails (>= 6, < 7) rspec-rails - sass-rails (~> 5) - sprockets-rails (<= 3.0) - sqlite3 (~> 1.4) - turbolinks (~> 5) - webpacker (~> 4.0) + sqlite3 BUNDLED WITH 2.4.5 diff --git a/gemfiles/rails_7.gemfile b/gemfiles/rails_7.gemfile index 112a91b..4e57ffe 100644 --- a/gemfiles/rails_7.gemfile +++ b/gemfiles/rails_7.gemfile @@ -1,16 +1,7 @@ +# This file was generated by Appraisal + source "https://rubygems.org" -gem "rails", ">= 7.0.4.1" -gem "sprockets-rails" -gem "sqlite3", "~> 1.4" -gem "puma", "~> 5.0" -gem "importmap-rails" -gem "turbo-rails" -gem "stimulus-rails" -gem "jbuilder" -gem "redis", "~> 4.0" -gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] -gem "bootsnap", require: false -gem "gemika" +gem "rails", ">= 7" gemspec path: "../" diff --git a/gemfiles/rails_7.gemfile.lock b/gemfiles/rails_7.gemfile.lock index 6548ef6..09062f2 100644 --- a/gemfiles/rails_7.gemfile.lock +++ b/gemfiles/rails_7.gemfile.lock @@ -73,8 +73,10 @@ GEM i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - bootsnap (1.16.0) - msgpack (~> 1.2) + appraisal (2.4.1) + bundler + rake + thor (>= 0.14.0) builder (3.2.4) concurrent-ruby (1.2.0) crass (1.0.6) @@ -94,21 +96,14 @@ GEM railties (>= 5.0.0) faker (3.1.0) i18n (>= 1.8.11, < 2) - gemika (0.8.1) globalid (1.1.0) activesupport (>= 5.0) i18n (1.12.0) concurrent-ruby (~> 1.0) - importmap-rails (1.1.5) - actionpack (>= 6.0.0) - railties (>= 6.0.0) - jbuilder (2.11.5) - actionview (>= 5.0.0) - activesupport (>= 5.0.0) loofah (2.19.1) crass (~> 1.0.2) nokogiri (>= 1.5.9) - mail (2.8.0.1) + mail (2.8.1) mini_mime (>= 0.1.1) net-imap net-pop @@ -117,7 +112,6 @@ GEM method_source (1.0.0) mini_mime (1.1.2) minitest (5.17.0) - msgpack (1.6.0) net-imap (0.3.4) date net-protocol @@ -128,10 +122,8 @@ GEM net-smtp (0.3.3) net-protocol nio4r (2.5.8) - nokogiri (1.14.0-x86_64-darwin) + nokogiri (1.14.1-x86_64-darwin) racc (~> 1.4) - puma (5.6.5) - nio4r (~> 2.0) racc (1.6.2) rack (2.2.6.2) rack-test (2.0.2) @@ -163,10 +155,9 @@ GEM thor (~> 1.0) zeitwerk (~> 2.5) rake (13.0.6) - redis (4.8.0) request_store (1.5.1) rack (>= 1.4) - rspec-core (3.12.0) + rspec-core (3.12.1) rspec-support (~> 3.12.0) rspec-expectations (3.12.2) diff-lcs (>= 1.2.0, < 2.0) @@ -183,22 +174,9 @@ GEM rspec-mocks (~> 3.11) rspec-support (~> 3.11) rspec-support (3.12.0) - sprockets (4.2.0) - concurrent-ruby (~> 1.0) - rack (>= 2.2.4, < 4) - sprockets-rails (3.4.2) - actionpack (>= 5.2) - activesupport (>= 5.2) - sprockets (>= 3.0.0) sqlite3 (1.6.0-x86_64-darwin) - stimulus-rails (1.2.1) - railties (>= 6.0.0) thor (1.2.1) timeout (0.3.1) - turbo-rails (1.3.2) - actionpack (>= 6.0.0) - activejob (>= 6.0.0) - railties (>= 6.0.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) websocket-driver (0.7.5) @@ -210,23 +188,14 @@ PLATFORMS x86_64-darwin-21 DEPENDENCIES - bootsnap + appraisal database_cleaner factory_bot_rails faker - gemika - importmap-rails - jbuilder multi_site! - puma (~> 5.0) - rails (>= 7.0.4.1) - redis (~> 4.0) + rails (>= 7) rspec-rails - sprockets-rails - sqlite3 (~> 1.4) - stimulus-rails - turbo-rails - tzinfo-data + sqlite3 BUNDLED WITH - 2.2.33 + 2.4.5 diff --git a/multi_site.gemspec b/multi_site.gemspec index 8807451..a91c2ee 100644 --- a/multi_site.gemspec +++ b/multi_site.gemspec @@ -19,10 +19,10 @@ Gem::Specification.new do |s| s.add_dependency('rails', '>= 4.0') s.add_dependency('request_store', '>= 1.0') + s.add_development_dependency('appraisal') s.add_development_dependency('database_cleaner') s.add_development_dependency('factory_bot_rails') s.add_development_dependency('faker') - s.add_development_dependency('gemika') s.add_development_dependency('rspec-rails') s.add_development_dependency('sqlite3') end diff --git a/spec/dummy.6.0/.browserslistrc b/spec/dummy.6.0/.browserslistrc deleted file mode 100644 index e94f814..0000000 --- a/spec/dummy.6.0/.browserslistrc +++ /dev/null @@ -1 +0,0 @@ -defaults diff --git a/spec/dummy.6.0/.gitignore b/spec/dummy.6.0/.gitignore deleted file mode 100644 index 790502d..0000000 --- a/spec/dummy.6.0/.gitignore +++ /dev/null @@ -1,41 +0,0 @@ -# See https://help.github.com/articles/ignoring-files for more about ignoring files. -# -# If you find yourself ignoring temporary files generated by your text editor -# or operating system, you probably want to add a global ignore instead: -# git config --global core.excludesfile '~/.gitignore_global' - -# Ignore bundler config. -/.bundle - -# Ignore the default SQLite database. -/db/*.sqlite3 -/db/*.sqlite3-journal -/db/*.sqlite3-* - -# Ignore all logfiles and tempfiles. -/log/* -/tmp/* -!/log/.keep -!/tmp/.keep - -# Ignore pidfiles, but keep the directory. -/tmp/pids/* -!/tmp/pids/ -!/tmp/pids/.keep - -# Ignore uploaded files in development. -/storage/* -!/storage/.keep - -/public/assets -.byebug_history - -# Ignore master key for decrypting credentials and more. -/config/master.key - -/public/packs -/public/packs-test -/node_modules -/yarn-error.log -yarn-debug.log* -.yarn-integrity diff --git a/spec/dummy.6.0/.ruby-version b/spec/dummy.6.0/.ruby-version deleted file mode 100644 index b0f2dcb..0000000 --- a/spec/dummy.6.0/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -3.0.4 diff --git a/spec/dummy.6.0/README.md b/spec/dummy.6.0/README.md deleted file mode 100644 index 7db80e4..0000000 --- a/spec/dummy.6.0/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# README - -This README would normally document whatever steps are necessary to get the -application up and running. - -Things you may want to cover: - -* Ruby version - -* System dependencies - -* Configuration - -* Database creation - -* Database initialization - -* How to run the test suite - -* Services (job queues, cache servers, search engines, etc.) - -* Deployment instructions - -* ... diff --git a/spec/dummy.6.0/Rakefile b/spec/dummy.6.0/Rakefile deleted file mode 100644 index e85f913..0000000 --- a/spec/dummy.6.0/Rakefile +++ /dev/null @@ -1,6 +0,0 @@ -# Add your own tasks in files placed in lib/tasks ending in .rake, -# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. - -require_relative 'config/application' - -Rails.application.load_tasks diff --git a/spec/dummy.6.0/app/assets/config/manifest.js b/spec/dummy.6.0/app/assets/config/manifest.js deleted file mode 100644 index 5918193..0000000 --- a/spec/dummy.6.0/app/assets/config/manifest.js +++ /dev/null @@ -1,2 +0,0 @@ -//= link_tree ../images -//= link_directory ../stylesheets .css diff --git a/spec/dummy.6.0/app/assets/stylesheets/application.css b/spec/dummy.6.0/app/assets/stylesheets/application.css deleted file mode 100644 index d05ea0f..0000000 --- a/spec/dummy.6.0/app/assets/stylesheets/application.css +++ /dev/null @@ -1,15 +0,0 @@ -/* - * This is a manifest file that'll be compiled into application.css, which will include all the files - * listed below. - * - * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's - * vendor/assets/stylesheets directory can be referenced here using a relative path. - * - * You're free to add application-wide styles to this file and they'll appear at the bottom of the - * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS - * files in this directory. Styles in this file should be added after the last require_* statement. - * It is generally better to create a new file per style scope. - * - *= require_tree . - *= require_self - */ diff --git a/spec/dummy.6.0/app/assets/stylesheets/users.scss b/spec/dummy.6.0/app/assets/stylesheets/users.scss deleted file mode 100644 index aaf17f7..0000000 --- a/spec/dummy.6.0/app/assets/stylesheets/users.scss +++ /dev/null @@ -1,3 +0,0 @@ -// Place all the styles related to the users controller here. -// They will automatically be included in application.css. -// You can use Sass (SCSS) here: https://sass-lang.com/ diff --git a/spec/dummy.6.0/app/controllers/application_controller.rb b/spec/dummy.6.0/app/controllers/application_controller.rb deleted file mode 100644 index 3dd60f8..0000000 --- a/spec/dummy.6.0/app/controllers/application_controller.rb +++ /dev/null @@ -1,11 +0,0 @@ -class ApplicationController < ActionController::Base - before_action :set_user - - attr_accessor :current_user - - private - - def set_user - @current_user = User.first - end -end diff --git a/spec/dummy.6.0/app/controllers/users_controller.rb b/spec/dummy.6.0/app/controllers/users_controller.rb deleted file mode 100644 index 22ec183..0000000 --- a/spec/dummy.6.0/app/controllers/users_controller.rb +++ /dev/null @@ -1,9 +0,0 @@ -class UsersController < ApplicationController - def index - render json: { ola: 'mundo' } - end - - def show - render json: { site: current_site } - end -end diff --git a/spec/dummy.6.0/app/helpers/users_helper.rb b/spec/dummy.6.0/app/helpers/users_helper.rb deleted file mode 100644 index 2310a24..0000000 --- a/spec/dummy.6.0/app/helpers/users_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module UsersHelper -end diff --git a/spec/dummy.6.0/app/javascript/channels/consumer.js b/spec/dummy.6.0/app/javascript/channels/consumer.js deleted file mode 100644 index 0eceb59..0000000 --- a/spec/dummy.6.0/app/javascript/channels/consumer.js +++ /dev/null @@ -1,6 +0,0 @@ -// Action Cable provides the framework to deal with WebSockets in Rails. -// You can generate new channels where WebSocket features live using the `rails generate channel` command. - -import { createConsumer } from "@rails/actioncable" - -export default createConsumer() diff --git a/spec/dummy.6.0/app/javascript/channels/index.js b/spec/dummy.6.0/app/javascript/channels/index.js deleted file mode 100644 index 0cfcf74..0000000 --- a/spec/dummy.6.0/app/javascript/channels/index.js +++ /dev/null @@ -1,5 +0,0 @@ -// Load all the channels within this directory and all subdirectories. -// Channel files must be named *_channel.js. - -const channels = require.context('.', true, /_channel\.js$/) -channels.keys().forEach(channels) diff --git a/spec/dummy.6.0/app/javascript/packs/application.js b/spec/dummy.6.0/app/javascript/packs/application.js deleted file mode 100644 index 9cd55d4..0000000 --- a/spec/dummy.6.0/app/javascript/packs/application.js +++ /dev/null @@ -1,17 +0,0 @@ -// This file is automatically compiled by Webpack, along with any other files -// present in this directory. You're encouraged to place your actual application logic in -// a relevant structure within app/javascript and only use these pack files to reference -// that code so it'll be compiled. - -require("@rails/ujs").start() -require("turbolinks").start() -require("@rails/activestorage").start() -require("channels") - - -// Uncomment to copy all static images under ../images to the output folder and reference -// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>) -// or the `imagePath` JavaScript helper below. -// -// const images = require.context('../images', true) -// const imagePath = (name) => images(name, true) diff --git a/spec/dummy.6.0/app/mailers/application_mailer.rb b/spec/dummy.6.0/app/mailers/application_mailer.rb deleted file mode 100644 index 286b223..0000000 --- a/spec/dummy.6.0/app/mailers/application_mailer.rb +++ /dev/null @@ -1,4 +0,0 @@ -class ApplicationMailer < ActionMailer::Base - default from: 'from@example.com' - layout 'mailer' -end diff --git a/spec/dummy.6.0/app/views/layouts/application.html.erb b/spec/dummy.6.0/app/views/layouts/application.html.erb deleted file mode 100644 index e8f0a61..0000000 --- a/spec/dummy.6.0/app/views/layouts/application.html.erb +++ /dev/null @@ -1,15 +0,0 @@ - - - - Dummy60 - <%= csrf_meta_tags %> - <%= csp_meta_tag %> - - <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> - <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> - - - - <%= yield %> - - diff --git a/spec/dummy.6.0/babel.config.js b/spec/dummy.6.0/babel.config.js deleted file mode 100644 index 12f98da..0000000 --- a/spec/dummy.6.0/babel.config.js +++ /dev/null @@ -1,72 +0,0 @@ -module.exports = function(api) { - var validEnv = ['development', 'test', 'production'] - var currentEnv = api.env() - var isDevelopmentEnv = api.env('development') - var isProductionEnv = api.env('production') - var isTestEnv = api.env('test') - - if (!validEnv.includes(currentEnv)) { - throw new Error( - 'Please specify a valid `NODE_ENV` or ' + - '`BABEL_ENV` environment variables. Valid values are "development", ' + - '"test", and "production". Instead, received: ' + - JSON.stringify(currentEnv) + - '.' - ) - } - - return { - presets: [ - isTestEnv && [ - '@babel/preset-env', - { - targets: { - node: 'current' - } - } - ], - (isProductionEnv || isDevelopmentEnv) && [ - '@babel/preset-env', - { - forceAllTransforms: true, - useBuiltIns: 'entry', - corejs: 3, - modules: false, - exclude: ['transform-typeof-symbol'] - } - ] - ].filter(Boolean), - plugins: [ - 'babel-plugin-macros', - '@babel/plugin-syntax-dynamic-import', - isTestEnv && 'babel-plugin-dynamic-import-node', - '@babel/plugin-transform-destructuring', - [ - '@babel/plugin-proposal-class-properties', - { - loose: true - } - ], - [ - '@babel/plugin-proposal-object-rest-spread', - { - useBuiltIns: true - } - ], - [ - '@babel/plugin-transform-runtime', - { - helpers: false, - regenerator: true, - corejs: false - } - ], - [ - '@babel/plugin-transform-regenerator', - { - async: false - } - ] - ].filter(Boolean) - } -} diff --git a/spec/dummy.6.0/bin/bundle b/spec/dummy.6.0/bin/bundle deleted file mode 100755 index 374a0a1..0000000 --- a/spec/dummy.6.0/bin/bundle +++ /dev/null @@ -1,114 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -# -# This file was generated by Bundler. -# -# The application 'bundle' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "rubygems" - -m = Module.new do - module_function - - def invoked_as_script? - File.expand_path($0) == File.expand_path(__FILE__) - end - - def env_var_version - ENV["BUNDLER_VERSION"] - end - - def cli_arg_version - return unless invoked_as_script? # don't want to hijack other binstubs - return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update` - bundler_version = nil - update_index = nil - ARGV.each_with_index do |a, i| - if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN - bundler_version = a - end - next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/ - bundler_version = $1 - update_index = i - end - bundler_version - end - - def gemfile - gemfile = ENV["BUNDLE_GEMFILE"] - return gemfile if gemfile && !gemfile.empty? - - File.expand_path("../../Gemfile", __FILE__) - end - - def lockfile - lockfile = - case File.basename(gemfile) - when "gems.rb" then gemfile.sub(/\.rb$/, gemfile) - else "#{gemfile}.lock" - end - File.expand_path(lockfile) - end - - def lockfile_version - return unless File.file?(lockfile) - lockfile_contents = File.read(lockfile) - return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/ - Regexp.last_match(1) - end - - def bundler_requirement - @bundler_requirement ||= - env_var_version || cli_arg_version || - bundler_requirement_for(lockfile_version) - end - - def bundler_requirement_for(version) - return "#{Gem::Requirement.default}.a" unless version - - bundler_gem_version = Gem::Version.new(version) - - requirement = bundler_gem_version.approximate_recommendation - - return requirement unless Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.7.0") - - requirement += ".a" if bundler_gem_version.prerelease? - - requirement - end - - def load_bundler! - ENV["BUNDLE_GEMFILE"] ||= gemfile - - activate_bundler - end - - def activate_bundler - gem_error = activation_error_handling do - gem "bundler", bundler_requirement - end - return if gem_error.nil? - require_error = activation_error_handling do - require "bundler/version" - end - return if require_error.nil? && Gem::Requirement.new(bundler_requirement).satisfied_by?(Gem::Version.new(Bundler::VERSION)) - warn "Activating bundler (#{bundler_requirement}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_requirement}'`" - exit 42 - end - - def activation_error_handling - yield - nil - rescue StandardError, LoadError => e - e - end -end - -m.load_bundler! - -if m.invoked_as_script? - load Gem.bin_path("bundler", "bundle") -end diff --git a/spec/dummy.6.0/bin/rails b/spec/dummy.6.0/bin/rails deleted file mode 100755 index 5badb2f..0000000 --- a/spec/dummy.6.0/bin/rails +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env ruby -begin - load File.expand_path('../spring', __FILE__) -rescue LoadError => e - raise unless e.message.include?('spring') -end -APP_PATH = File.expand_path('../config/application', __dir__) -require_relative '../config/boot' -require 'rails/commands' diff --git a/spec/dummy.6.0/bin/rake b/spec/dummy.6.0/bin/rake deleted file mode 100755 index d87d5f5..0000000 --- a/spec/dummy.6.0/bin/rake +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env ruby -begin - load File.expand_path('../spring', __FILE__) -rescue LoadError => e - raise unless e.message.include?('spring') -end -require_relative '../config/boot' -require 'rake' -Rake.application.run diff --git a/spec/dummy.6.0/bin/setup b/spec/dummy.6.0/bin/setup deleted file mode 100755 index 5853b5e..0000000 --- a/spec/dummy.6.0/bin/setup +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env ruby -require 'fileutils' - -# path to your application root. -APP_ROOT = File.expand_path('..', __dir__) - -def system!(*args) - system(*args) || abort("\n== Command #{args} failed ==") -end - -FileUtils.chdir APP_ROOT do - # This script is a way to setup or update your development environment automatically. - # This script is idempotent, so that you can run it at anytime and get an expectable outcome. - # Add necessary setup steps to this file. - - puts '== Installing dependencies ==' - system! 'gem install bundler --conservative' - system('bundle check') || system!('bundle install') - - # Install JavaScript dependencies - # system('bin/yarn') - - # puts "\n== Copying sample files ==" - # unless File.exist?('config/database.yml') - # FileUtils.cp 'config/database.yml.sample', 'config/database.yml' - # end - - puts "\n== Preparing database ==" - system! 'bin/rails db:prepare' - - puts "\n== Removing old logs and tempfiles ==" - system! 'bin/rails log:clear tmp:clear' - - puts "\n== Restarting application server ==" - system! 'bin/rails restart' -end diff --git a/spec/dummy.6.0/bin/spring b/spec/dummy.6.0/bin/spring deleted file mode 100755 index d89ee49..0000000 --- a/spec/dummy.6.0/bin/spring +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env ruby - -# This file loads Spring without using Bundler, in order to be fast. -# It gets overwritten when you run the `spring binstub` command. - -unless defined?(Spring) - require 'rubygems' - require 'bundler' - - lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read) - spring = lockfile.specs.detect { |spec| spec.name == 'spring' } - if spring - Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path - gem 'spring', spring.version - require 'spring/binstub' - end -end diff --git a/spec/dummy.6.0/bin/webpack b/spec/dummy.6.0/bin/webpack deleted file mode 100755 index 1031168..0000000 --- a/spec/dummy.6.0/bin/webpack +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env ruby - -ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development" -ENV["NODE_ENV"] ||= "development" - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "bundler/setup" - -require "webpacker" -require "webpacker/webpack_runner" - -APP_ROOT = File.expand_path("..", __dir__) -Dir.chdir(APP_ROOT) do - Webpacker::WebpackRunner.run(ARGV) -end diff --git a/spec/dummy.6.0/bin/webpack-dev-server b/spec/dummy.6.0/bin/webpack-dev-server deleted file mode 100755 index dd96627..0000000 --- a/spec/dummy.6.0/bin/webpack-dev-server +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env ruby - -ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development" -ENV["NODE_ENV"] ||= "development" - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -require "bundler/setup" - -require "webpacker" -require "webpacker/dev_server_runner" - -APP_ROOT = File.expand_path("..", __dir__) -Dir.chdir(APP_ROOT) do - Webpacker::DevServerRunner.run(ARGV) -end diff --git a/spec/dummy.6.0/bin/yarn b/spec/dummy.6.0/bin/yarn deleted file mode 100755 index 460dd56..0000000 --- a/spec/dummy.6.0/bin/yarn +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env ruby -APP_ROOT = File.expand_path('..', __dir__) -Dir.chdir(APP_ROOT) do - begin - exec "yarnpkg", *ARGV - rescue Errno::ENOENT - $stderr.puts "Yarn executable was not detected in the system." - $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" - exit 1 - end -end diff --git a/spec/dummy.6.0/config.ru b/spec/dummy.6.0/config.ru deleted file mode 100644 index f7ba0b5..0000000 --- a/spec/dummy.6.0/config.ru +++ /dev/null @@ -1,5 +0,0 @@ -# This file is used by Rack-based servers to start the application. - -require_relative 'config/environment' - -run Rails.application diff --git a/spec/dummy.6.0/config/application.rb b/spec/dummy.6.0/config/application.rb deleted file mode 100644 index ea2c1d7..0000000 --- a/spec/dummy.6.0/config/application.rb +++ /dev/null @@ -1,19 +0,0 @@ -require_relative 'boot' - -require 'rails/all' - -# Require the gems listed in Gemfile, including any gems -# you've limited to :test, :development, or :production. -Bundler.require(*Rails.groups) - -module Dummy60 - class Application < Rails::Application - # Initialize configuration defaults for originally generated Rails version. - config.load_defaults 6.0 - - # Settings in config/environments/* take precedence over those specified here. - # Application configuration can go into files in config/initializers - # -- all .rb files in that directory are automatically loaded after loading - # the framework and any gems in your application. - end -end diff --git a/spec/dummy.6.0/config/boot.rb b/spec/dummy.6.0/config/boot.rb deleted file mode 100644 index b9e460c..0000000 --- a/spec/dummy.6.0/config/boot.rb +++ /dev/null @@ -1,4 +0,0 @@ -ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) - -require 'bundler/setup' # Set up gems listed in the Gemfile. -require 'bootsnap/setup' # Speed up boot time by caching expensive operations. diff --git a/spec/dummy.6.0/config/credentials.yml.enc b/spec/dummy.6.0/config/credentials.yml.enc deleted file mode 100644 index 6b7d4d8..0000000 --- a/spec/dummy.6.0/config/credentials.yml.enc +++ /dev/null @@ -1 +0,0 @@ -T0bgygdBMs44+ftCqIG9hloZLZLWseZOXJYVIuXXAoecHHaE6Q6G5z/qPNmvoUg+eCezJsWiVyXhXlXauxyU/d7NS2IwnOc2rR8/+sPohGOseWEKg9HnaVxTNkufjwbm1/Hp6heyEZXAQg0Kqc6rUQEkbdDxCvE7buOD+3avrnuehdRhDFRoBC0YqCKJ4JVMo5e84iHvPzmoLRfn0jeuLfTumL5JzDoWKBiinKTcLyOT7N8TCR24XNj3Q5BRuXv0LQj+jeSeDOujK4HC6tBHHo7zVYX3hNtNByeBAoexW+IDwl+j6n0xphozWFKH6CygYfRZiBUtAf0EXk6mK7nSbc0QoWfkD8VkfTddY5dhFqKXQjjwvvTz53I4eKkuJWUU/kq/cv3x4q58goBHMHVmc5MyCHOBq4nelbmk--7hcuAxy0EYLULhdf--VuRsc11G9v7GghDJa9VFwg== \ No newline at end of file diff --git a/spec/dummy.6.0/config/database.yml b/spec/dummy.6.0/config/database.yml deleted file mode 100644 index 4a8a1b2..0000000 --- a/spec/dummy.6.0/config/database.yml +++ /dev/null @@ -1,25 +0,0 @@ -# SQLite. Versions 3.8.0 and up are supported. -# gem install sqlite3 -# -# Ensure the SQLite 3 gem is defined in your Gemfile -# gem 'sqlite3' -# -default: &default - adapter: sqlite3 - pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> - timeout: 5000 - -development: - <<: *default - database: db/development.sqlite3 - -# Warning: The database defined as "test" will be erased and -# re-generated from your development database when you run "rake". -# Do not set this db to the same as development or production. -test: - <<: *default - database: db/test.sqlite3 - -production: - <<: *default - database: db/production.sqlite3 diff --git a/spec/dummy.6.0/config/environments/development.rb b/spec/dummy.6.0/config/environments/development.rb deleted file mode 100644 index 66df51f..0000000 --- a/spec/dummy.6.0/config/environments/development.rb +++ /dev/null @@ -1,62 +0,0 @@ -Rails.application.configure do - # Settings specified here will take precedence over those in config/application.rb. - - # In the development environment your application's code is reloaded on - # every request. This slows down response time but is perfect for development - # since you don't have to restart the web server when you make code changes. - config.cache_classes = false - - # Do not eager load code on boot. - config.eager_load = false - - # Show full error reports. - config.consider_all_requests_local = true - - # Enable/disable caching. By default caching is disabled. - # Run rails dev:cache to toggle caching. - if Rails.root.join('tmp', 'caching-dev.txt').exist? - config.action_controller.perform_caching = true - config.action_controller.enable_fragment_cache_logging = true - - config.cache_store = :memory_store - config.public_file_server.headers = { - 'Cache-Control' => "public, max-age=#{2.days.to_i}" - } - else - config.action_controller.perform_caching = false - - config.cache_store = :null_store - end - - # Store uploaded files on the local file system (see config/storage.yml for options). - config.active_storage.service = :local - - # Don't care if the mailer can't send. - config.action_mailer.raise_delivery_errors = false - - config.action_mailer.perform_caching = false - - # Print deprecation notices to the Rails logger. - config.active_support.deprecation = :log - - # Raise an error on page load if there are pending migrations. - config.active_record.migration_error = :page_load - - # Highlight code that triggered database queries in logs. - config.active_record.verbose_query_logs = true - - # Debug mode disables concatenation and preprocessing of assets. - # This option may cause significant delays in view rendering with a large - # number of complex assets. - config.assets.debug = true - - # Suppress logger output for asset requests. - config.assets.quiet = true - - # Raises error for missing translations. - # config.action_view.raise_on_missing_translations = true - - # Use an evented file watcher to asynchronously detect changes in source code, - # routes, locales, etc. This feature depends on the listen gem. - config.file_watcher = ActiveSupport::EventedFileUpdateChecker -end diff --git a/spec/dummy.6.0/config/environments/production.rb b/spec/dummy.6.0/config/environments/production.rb deleted file mode 100644 index c2523d0..0000000 --- a/spec/dummy.6.0/config/environments/production.rb +++ /dev/null @@ -1,112 +0,0 @@ -Rails.application.configure do - # Settings specified here will take precedence over those in config/application.rb. - - # Code is not reloaded between requests. - config.cache_classes = true - - # Eager load code on boot. This eager loads most of Rails and - # your application in memory, allowing both threaded web servers - # and those relying on copy on write to perform better. - # Rake tasks automatically ignore this option for performance. - config.eager_load = true - - # Full error reports are disabled and caching is turned on. - config.consider_all_requests_local = false - config.action_controller.perform_caching = true - - # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"] - # or in config/master.key. This key is used to decrypt credentials (and other encrypted files). - # config.require_master_key = true - - # Disable serving static files from the `/public` folder by default since - # Apache or NGINX already handles this. - config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? - - # Compress CSS using a preprocessor. - # config.assets.css_compressor = :sass - - # Do not fallback to assets pipeline if a precompiled asset is missed. - config.assets.compile = false - - # Enable serving of images, stylesheets, and JavaScripts from an asset server. - # config.action_controller.asset_host = 'http://assets.example.com' - - # Specifies the header that your server uses for sending files. - # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache - # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX - - # Store uploaded files on the local file system (see config/storage.yml for options). - config.active_storage.service = :local - - # Mount Action Cable outside main process or domain. - # config.action_cable.mount_path = nil - # config.action_cable.url = 'wss://example.com/cable' - # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ] - - # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. - # config.force_ssl = true - - # Use the lowest log level to ensure availability of diagnostic information - # when problems arise. - config.log_level = :debug - - # Prepend all log lines with the following tags. - config.log_tags = [ :request_id ] - - # Use a different cache store in production. - # config.cache_store = :mem_cache_store - - # Use a real queuing backend for Active Job (and separate queues per environment). - # config.active_job.queue_adapter = :resque - # config.active_job.queue_name_prefix = "dummy_6_0_production" - - config.action_mailer.perform_caching = false - - # Ignore bad email addresses and do not raise email delivery errors. - # Set this to true and configure the email server for immediate delivery to raise delivery errors. - # config.action_mailer.raise_delivery_errors = false - - # Enable locale fallbacks for I18n (makes lookups for any locale fall back to - # the I18n.default_locale when a translation cannot be found). - config.i18n.fallbacks = true - - # Send deprecation notices to registered listeners. - config.active_support.deprecation = :notify - - # Use default logging formatter so that PID and timestamp are not suppressed. - config.log_formatter = ::Logger::Formatter.new - - # Use a different logger for distributed setups. - # require 'syslog/logger' - # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') - - if ENV["RAILS_LOG_TO_STDOUT"].present? - logger = ActiveSupport::Logger.new(STDOUT) - logger.formatter = config.log_formatter - config.logger = ActiveSupport::TaggedLogging.new(logger) - end - - # Do not dump schema after migrations. - config.active_record.dump_schema_after_migration = false - - # Inserts middleware to perform automatic connection switching. - # The `database_selector` hash is used to pass options to the DatabaseSelector - # middleware. The `delay` is used to determine how long to wait after a write - # to send a subsequent read to the primary. - # - # The `database_resolver` class is used by the middleware to determine which - # database is appropriate to use based on the time delay. - # - # The `database_resolver_context` class is used by the middleware to set - # timestamps for the last write to the primary. The resolver uses the context - # class timestamps to determine how long to wait before reading from the - # replica. - # - # By default Rails will store a last write timestamp in the session. The - # DatabaseSelector middleware is designed as such you can define your own - # strategy for connection switching and pass that into the middleware through - # these configuration options. - # config.active_record.database_selector = { delay: 2.seconds } - # config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver - # config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session -end diff --git a/spec/dummy.6.0/config/environments/test.rb b/spec/dummy.6.0/config/environments/test.rb deleted file mode 100644 index 0cb2424..0000000 --- a/spec/dummy.6.0/config/environments/test.rb +++ /dev/null @@ -1,49 +0,0 @@ -# The test environment is used exclusively to run your application's -# test suite. You never need to work with it otherwise. Remember that -# your test database is "scratch space" for the test suite and is wiped -# and recreated between test runs. Don't rely on the data there! - -Rails.application.configure do - # Settings specified here will take precedence over those in config/application.rb. - - config.cache_classes = false - config.action_view.cache_template_loading = true - - # Do not eager load code on boot. This avoids loading your whole application - # just for the purpose of running a single test. If you are using a tool that - # preloads Rails for running tests, you may have to set it to true. - config.eager_load = false - - # Configure public file server for tests with Cache-Control for performance. - config.public_file_server.enabled = true - config.public_file_server.headers = { - 'Cache-Control' => "public, max-age=#{1.hour.to_i}" - } - - # Show full error reports and disable caching. - config.consider_all_requests_local = true - config.action_controller.perform_caching = false - config.cache_store = :null_store - - # Raise exceptions instead of rendering exception templates. - config.action_dispatch.show_exceptions = false - - # Disable request forgery protection in test environment. - config.action_controller.allow_forgery_protection = false - - # Store uploaded files on the local file system in a temporary directory. - config.active_storage.service = :test - - config.action_mailer.perform_caching = false - - # Tell Action Mailer not to deliver emails to the real world. - # The :test delivery method accumulates sent emails in the - # ActionMailer::Base.deliveries array. - config.action_mailer.delivery_method = :test - - # Print deprecation notices to the stderr. - config.active_support.deprecation = :stderr - - # Raises error for missing translations. - # config.action_view.raise_on_missing_translations = true -end diff --git a/spec/dummy.6.0/config/initializers/application_controller_renderer.rb b/spec/dummy.6.0/config/initializers/application_controller_renderer.rb deleted file mode 100644 index 89d2efa..0000000 --- a/spec/dummy.6.0/config/initializers/application_controller_renderer.rb +++ /dev/null @@ -1,8 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# ActiveSupport::Reloader.to_prepare do -# ApplicationController.renderer.defaults.merge!( -# http_host: 'example.org', -# https: false -# ) -# end diff --git a/spec/dummy.6.0/config/initializers/assets.rb b/spec/dummy.6.0/config/initializers/assets.rb deleted file mode 100644 index 4b828e8..0000000 --- a/spec/dummy.6.0/config/initializers/assets.rb +++ /dev/null @@ -1,14 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Version of your assets, change this if you want to expire all your assets. -Rails.application.config.assets.version = '1.0' - -# Add additional assets to the asset load path. -# Rails.application.config.assets.paths << Emoji.images_path -# Add Yarn node_modules folder to the asset load path. -Rails.application.config.assets.paths << Rails.root.join('node_modules') - -# Precompile additional assets. -# application.js, application.css, and all non-JS/CSS in the app/assets -# folder are already added. -# Rails.application.config.assets.precompile += %w( admin.js admin.css ) diff --git a/spec/dummy.6.0/config/initializers/backtrace_silencers.rb b/spec/dummy.6.0/config/initializers/backtrace_silencers.rb deleted file mode 100644 index 59385cd..0000000 --- a/spec/dummy.6.0/config/initializers/backtrace_silencers.rb +++ /dev/null @@ -1,7 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. -# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } - -# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. -# Rails.backtrace_cleaner.remove_silencers! diff --git a/spec/dummy.6.0/config/initializers/content_security_policy.rb b/spec/dummy.6.0/config/initializers/content_security_policy.rb deleted file mode 100644 index 35d0f26..0000000 --- a/spec/dummy.6.0/config/initializers/content_security_policy.rb +++ /dev/null @@ -1,30 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Define an application-wide content security policy -# For further information see the following documentation -# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy - -# Rails.application.config.content_security_policy do |policy| -# policy.default_src :self, :https -# policy.font_src :self, :https, :data -# policy.img_src :self, :https, :data -# policy.object_src :none -# policy.script_src :self, :https -# policy.style_src :self, :https -# # If you are using webpack-dev-server then specify webpack-dev-server host -# policy.connect_src :self, :https, "http://localhost:3035", "ws://localhost:3035" if Rails.env.development? - -# # Specify URI for violation reports -# # policy.report_uri "/csp-violation-report-endpoint" -# end - -# If you are using UJS then enable automatic nonce generation -# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) } - -# Set the nonce only to specific directives -# Rails.application.config.content_security_policy_nonce_directives = %w(script-src) - -# Report CSP violations to a specified URI -# For further information see the following documentation: -# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only -# Rails.application.config.content_security_policy_report_only = true diff --git a/spec/dummy.6.0/config/initializers/cookies_serializer.rb b/spec/dummy.6.0/config/initializers/cookies_serializer.rb deleted file mode 100644 index 5a6a32d..0000000 --- a/spec/dummy.6.0/config/initializers/cookies_serializer.rb +++ /dev/null @@ -1,5 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Specify a serializer for the signed and encrypted cookie jars. -# Valid options are :json, :marshal, and :hybrid. -Rails.application.config.action_dispatch.cookies_serializer = :json diff --git a/spec/dummy.6.0/config/initializers/filter_parameter_logging.rb b/spec/dummy.6.0/config/initializers/filter_parameter_logging.rb deleted file mode 100644 index 4a994e1..0000000 --- a/spec/dummy.6.0/config/initializers/filter_parameter_logging.rb +++ /dev/null @@ -1,4 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Configure sensitive parameters which will be filtered from the log file. -Rails.application.config.filter_parameters += [:password] diff --git a/spec/dummy.6.0/config/initializers/inflections.rb b/spec/dummy.6.0/config/initializers/inflections.rb deleted file mode 100644 index ac033bf..0000000 --- a/spec/dummy.6.0/config/initializers/inflections.rb +++ /dev/null @@ -1,16 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Add new inflection rules using the following format. Inflections -# are locale specific, and you may define rules for as many different -# locales as you wish. All of these examples are active by default: -# ActiveSupport::Inflector.inflections(:en) do |inflect| -# inflect.plural /^(ox)$/i, '\1en' -# inflect.singular /^(ox)en/i, '\1' -# inflect.irregular 'person', 'people' -# inflect.uncountable %w( fish sheep ) -# end - -# These inflection rules are supported but not enabled by default: -# ActiveSupport::Inflector.inflections(:en) do |inflect| -# inflect.acronym 'RESTful' -# end diff --git a/spec/dummy.6.0/config/initializers/mime_types.rb b/spec/dummy.6.0/config/initializers/mime_types.rb deleted file mode 100644 index dc18996..0000000 --- a/spec/dummy.6.0/config/initializers/mime_types.rb +++ /dev/null @@ -1,4 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Add new mime types for use in respond_to blocks: -# Mime::Type.register "text/richtext", :rtf diff --git a/spec/dummy.6.0/config/initializers/wrap_parameters.rb b/spec/dummy.6.0/config/initializers/wrap_parameters.rb deleted file mode 100644 index bbfc396..0000000 --- a/spec/dummy.6.0/config/initializers/wrap_parameters.rb +++ /dev/null @@ -1,14 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# This file contains settings for ActionController::ParamsWrapper which -# is enabled by default. - -# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. -ActiveSupport.on_load(:action_controller) do - wrap_parameters format: [:json] -end - -# To enable root element in JSON for ActiveRecord objects. -# ActiveSupport.on_load(:active_record) do -# self.include_root_in_json = true -# end diff --git a/spec/dummy.6.0/config/locales/en.yml b/spec/dummy.6.0/config/locales/en.yml deleted file mode 100644 index cf9b342..0000000 --- a/spec/dummy.6.0/config/locales/en.yml +++ /dev/null @@ -1,33 +0,0 @@ -# Files in the config/locales directory are used for internationalization -# and are automatically loaded by Rails. If you want to use locales other -# than English, add the necessary files in this directory. -# -# To use the locales, use `I18n.t`: -# -# I18n.t 'hello' -# -# In views, this is aliased to just `t`: -# -# <%= t('hello') %> -# -# To use a different locale, set it with `I18n.locale`: -# -# I18n.locale = :es -# -# This would use the information in config/locales/es.yml. -# -# The following keys must be escaped otherwise they will not be retrieved by -# the default I18n backend: -# -# true, false, on, off, yes, no -# -# Instead, surround them with single quotes. -# -# en: -# 'true': 'foo' -# -# To learn more, please read the Rails Internationalization guide -# available at https://guides.rubyonrails.org/i18n.html. - -en: - hello: "Hello world" diff --git a/spec/dummy.6.0/config/puma.rb b/spec/dummy.6.0/config/puma.rb deleted file mode 100644 index 5ed4437..0000000 --- a/spec/dummy.6.0/config/puma.rb +++ /dev/null @@ -1,38 +0,0 @@ -# Puma can serve each request in a thread from an internal thread pool. -# The `threads` method setting takes two numbers: a minimum and maximum. -# Any libraries that use thread pools should be configured to match -# the maximum value specified for Puma. Default is set to 5 threads for minimum -# and maximum; this matches the default thread size of Active Record. -# -max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 } -min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count } -threads min_threads_count, max_threads_count - -# Specifies the `port` that Puma will listen on to receive requests; default is 3000. -# -port ENV.fetch("PORT") { 3000 } - -# Specifies the `environment` that Puma will run in. -# -environment ENV.fetch("RAILS_ENV") { "development" } - -# Specifies the `pidfile` that Puma will use. -pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" } - -# Specifies the number of `workers` to boot in clustered mode. -# Workers are forked web server processes. If using threads and workers together -# the concurrency of the application would be max `threads` * `workers`. -# Workers do not work on JRuby or Windows (both of which do not support -# processes). -# -# workers ENV.fetch("WEB_CONCURRENCY") { 2 } - -# Use the `preload_app!` method when specifying a `workers` number. -# This directive tells Puma to first boot the application and load code -# before forking the application. This takes advantage of Copy On Write -# process behavior so workers use less memory. -# -# preload_app! - -# Allow puma to be restarted by `rails restart` command. -plugin :tmp_restart diff --git a/spec/dummy.6.0/config/routes.rb b/spec/dummy.6.0/config/routes.rb deleted file mode 100644 index 56639a5..0000000 --- a/spec/dummy.6.0/config/routes.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -Rails.application.routes.draw do - # Defines the root path route ("/") - root to: 'users#index' - multi_site_scope do - resources :users - end - - namespace :admin do - resource :admin, controller: 'admin' do - put :switch_site - end - end -end diff --git a/spec/dummy.6.0/config/spring.rb b/spec/dummy.6.0/config/spring.rb deleted file mode 100644 index db5bf13..0000000 --- a/spec/dummy.6.0/config/spring.rb +++ /dev/null @@ -1,6 +0,0 @@ -Spring.watch( - ".ruby-version", - ".rbenv-vars", - "tmp/restart.txt", - "tmp/caching-dev.txt" -) diff --git a/spec/dummy.6.0/config/storage.yml b/spec/dummy.6.0/config/storage.yml deleted file mode 100644 index d32f76e..0000000 --- a/spec/dummy.6.0/config/storage.yml +++ /dev/null @@ -1,34 +0,0 @@ -test: - service: Disk - root: <%= Rails.root.join("tmp/storage") %> - -local: - service: Disk - root: <%= Rails.root.join("storage") %> - -# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key) -# amazon: -# service: S3 -# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %> -# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %> -# region: us-east-1 -# bucket: your_own_bucket - -# Remember not to checkin your GCS keyfile to a repository -# google: -# service: GCS -# project: your_project -# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %> -# bucket: your_own_bucket - -# Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key) -# microsoft: -# service: AzureStorage -# storage_account_name: your_account_name -# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %> -# container: your_container_name - -# mirror: -# service: Mirror -# primary: local -# mirrors: [ amazon, google, microsoft ] diff --git a/spec/dummy.6.0/config/webpack/development.js b/spec/dummy.6.0/config/webpack/development.js deleted file mode 100644 index c5edff9..0000000 --- a/spec/dummy.6.0/config/webpack/development.js +++ /dev/null @@ -1,5 +0,0 @@ -process.env.NODE_ENV = process.env.NODE_ENV || 'development' - -const environment = require('./environment') - -module.exports = environment.toWebpackConfig() diff --git a/spec/dummy.6.0/config/webpack/environment.js b/spec/dummy.6.0/config/webpack/environment.js deleted file mode 100644 index d16d9af..0000000 --- a/spec/dummy.6.0/config/webpack/environment.js +++ /dev/null @@ -1,3 +0,0 @@ -const { environment } = require('@rails/webpacker') - -module.exports = environment diff --git a/spec/dummy.6.0/config/webpack/production.js b/spec/dummy.6.0/config/webpack/production.js deleted file mode 100644 index be0f53a..0000000 --- a/spec/dummy.6.0/config/webpack/production.js +++ /dev/null @@ -1,5 +0,0 @@ -process.env.NODE_ENV = process.env.NODE_ENV || 'production' - -const environment = require('./environment') - -module.exports = environment.toWebpackConfig() diff --git a/spec/dummy.6.0/config/webpack/test.js b/spec/dummy.6.0/config/webpack/test.js deleted file mode 100644 index c5edff9..0000000 --- a/spec/dummy.6.0/config/webpack/test.js +++ /dev/null @@ -1,5 +0,0 @@ -process.env.NODE_ENV = process.env.NODE_ENV || 'development' - -const environment = require('./environment') - -module.exports = environment.toWebpackConfig() diff --git a/spec/dummy.6.0/config/webpacker.yml b/spec/dummy.6.0/config/webpacker.yml deleted file mode 100644 index 8581ac0..0000000 --- a/spec/dummy.6.0/config/webpacker.yml +++ /dev/null @@ -1,96 +0,0 @@ -# Note: You must restart bin/webpack-dev-server for changes to take effect - -default: &default - source_path: app/javascript - source_entry_path: packs - public_root_path: public - public_output_path: packs - cache_path: tmp/cache/webpacker - check_yarn_integrity: false - webpack_compile_output: true - - # Additional paths webpack should lookup modules - # ['app/assets', 'engine/foo/app/assets'] - resolved_paths: [] - - # Reload manifest.json on all requests so we reload latest compiled packs - cache_manifest: false - - # Extract and emit a css file - extract_css: false - - static_assets_extensions: - - .jpg - - .jpeg - - .png - - .gif - - .tiff - - .ico - - .svg - - .eot - - .otf - - .ttf - - .woff - - .woff2 - - extensions: - - .mjs - - .js - - .sass - - .scss - - .css - - .module.sass - - .module.scss - - .module.css - - .png - - .svg - - .gif - - .jpeg - - .jpg - -development: - <<: *default - compile: true - - # Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules - check_yarn_integrity: true - - # Reference: https://webpack.js.org/configuration/dev-server/ - dev_server: - https: false - host: localhost - port: 3035 - public: localhost:3035 - hmr: false - # Inline should be set to true if using HMR - inline: true - overlay: true - compress: true - disable_host_check: true - use_local_ip: false - quiet: false - pretty: false - headers: - 'Access-Control-Allow-Origin': '*' - watch_options: - ignored: '**/node_modules/**' - - -test: - <<: *default - compile: true - - # Compile test packs to a separate directory - public_output_path: packs-test - -production: - <<: *default - - # Production depends on precompilation of packs prior to booting for performance. - compile: false - - # Extract and emit a css file - extract_css: true - - # Cache manifest.json for performance - cache_manifest: true diff --git a/spec/dummy.6.0/db/schema.rb b/spec/dummy.6.0/db/schema.rb deleted file mode 100644 index a683d06..0000000 --- a/spec/dummy.6.0/db/schema.rb +++ /dev/null @@ -1,29 +0,0 @@ -# This file is auto-generated from the current state of the database. Instead -# of editing this file, please use the migrations feature of Active Record to -# incrementally modify your database, and then regenerate this schema definition. -# -# This file is the source Rails uses to define your schema when running `rails -# db:schema:load`. When creating a new database, `rails db:schema:load` tends to -# be faster and is potentially less error prone than running all of your -# migrations from scratch. Old migrations may fail to apply correctly if those -# migrations use external dependencies or application code. -# -# It's strongly recommended that you check this file into your version control system. - -ActiveRecord::Schema.define(version: 2023_01_30_163141) do - - create_table "sites", force: :cascade do |t| - t.string "url" - t.datetime "created_at", precision: 6, null: false - t.datetime "updated_at", precision: 6, null: false - end - - create_table "users", force: :cascade do |t| - t.string "login" - t.integer "site_id" - t.datetime "created_at", precision: 6, null: false - t.datetime "updated_at", precision: 6, null: false - t.index ["site_id"], name: "index_users_on_site_id" - end - -end diff --git a/spec/dummy.6.0/db/seeds.rb b/spec/dummy.6.0/db/seeds.rb deleted file mode 100644 index 1beea2a..0000000 --- a/spec/dummy.6.0/db/seeds.rb +++ /dev/null @@ -1,7 +0,0 @@ -# This file should contain all the record creation needed to seed the database with its default values. -# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup). -# -# Examples: -# -# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) -# Character.create(name: 'Luke', movie: movies.first) diff --git a/spec/dummy.6.0/package.json b/spec/dummy.6.0/package.json deleted file mode 100644 index 51a48e5..0000000 --- a/spec/dummy.6.0/package.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "dummy_6_0", - "private": true, - "dependencies": { - "@rails/actioncable": "^6.0.0", - "@rails/activestorage": "^6.0.0", - "@rails/ujs": "^6.0.0", - "turbolinks": "^5.2.0" - }, - "version": "0.1.0", - "devDependencies": { - "webpack-dev-server": "^4.11.1" - } -} diff --git a/spec/dummy.6.0/postcss.config.js b/spec/dummy.6.0/postcss.config.js deleted file mode 100644 index aa5998a..0000000 --- a/spec/dummy.6.0/postcss.config.js +++ /dev/null @@ -1,12 +0,0 @@ -module.exports = { - plugins: [ - require('postcss-import'), - require('postcss-flexbugs-fixes'), - require('postcss-preset-env')({ - autoprefixer: { - flexbox: 'no-2009' - }, - stage: 3 - }) - ] -} diff --git a/spec/dummy.6.0/public/robots.txt b/spec/dummy.6.0/public/robots.txt deleted file mode 100644 index c19f78a..0000000 --- a/spec/dummy.6.0/public/robots.txt +++ /dev/null @@ -1 +0,0 @@ -# See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file diff --git a/spec/dummy.6.0/test/application_system_test_case.rb b/spec/dummy.6.0/test/application_system_test_case.rb deleted file mode 100644 index d19212a..0000000 --- a/spec/dummy.6.0/test/application_system_test_case.rb +++ /dev/null @@ -1,5 +0,0 @@ -require "test_helper" - -class ApplicationSystemTestCase < ActionDispatch::SystemTestCase - driven_by :selenium, using: :chrome, screen_size: [1400, 1400] -end diff --git a/spec/dummy.6.0/test/channels/application_cable/connection_test.rb b/spec/dummy.6.0/test/channels/application_cable/connection_test.rb deleted file mode 100644 index 800405f..0000000 --- a/spec/dummy.6.0/test/channels/application_cable/connection_test.rb +++ /dev/null @@ -1,11 +0,0 @@ -require "test_helper" - -class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase - # test "connects with cookies" do - # cookies.signed[:user_id] = 42 - # - # connect - # - # assert_equal connection.user_id, "42" - # end -end diff --git a/spec/dummy.6.0/test/controllers/users_controller_test.rb b/spec/dummy.6.0/test/controllers/users_controller_test.rb deleted file mode 100644 index 6c3da77..0000000 --- a/spec/dummy.6.0/test/controllers/users_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class UsersControllerTest < ActionDispatch::IntegrationTest - # test "the truth" do - # assert true - # end -end diff --git a/spec/dummy.6.0/test/fixtures/files/.keep b/spec/dummy.6.0/test/fixtures/files/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.6.0/test/fixtures/sites.yml b/spec/dummy.6.0/test/fixtures/sites.yml deleted file mode 100644 index 5181636..0000000 --- a/spec/dummy.6.0/test/fixtures/sites.yml +++ /dev/null @@ -1,11 +0,0 @@ -# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html - -# This model initially had no columns defined. If you add columns to the -# model remove the '{}' from the fixture names and add the columns immediately -# below each fixture, per the syntax in the comments below -# -one: {} -# column: value -# -two: {} -# column: value diff --git a/spec/dummy.6.0/test/fixtures/users.yml b/spec/dummy.6.0/test/fixtures/users.yml deleted file mode 100644 index 5181636..0000000 --- a/spec/dummy.6.0/test/fixtures/users.yml +++ /dev/null @@ -1,11 +0,0 @@ -# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html - -# This model initially had no columns defined. If you add columns to the -# model remove the '{}' from the fixture names and add the columns immediately -# below each fixture, per the syntax in the comments below -# -one: {} -# column: value -# -two: {} -# column: value diff --git a/spec/dummy.6.0/test/helpers/.keep b/spec/dummy.6.0/test/helpers/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.6.0/test/integration/.keep b/spec/dummy.6.0/test/integration/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.6.0/test/mailers/.keep b/spec/dummy.6.0/test/mailers/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.6.0/test/models/.keep b/spec/dummy.6.0/test/models/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.6.0/test/models/site_test.rb b/spec/dummy.6.0/test/models/site_test.rb deleted file mode 100644 index 38c8dd0..0000000 --- a/spec/dummy.6.0/test/models/site_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class SiteTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/spec/dummy.6.0/test/models/user_test.rb b/spec/dummy.6.0/test/models/user_test.rb deleted file mode 100644 index 82f61e0..0000000 --- a/spec/dummy.6.0/test/models/user_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class UserTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/spec/dummy.6.0/test/system/.keep b/spec/dummy.6.0/test/system/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.6.0/test/test_helper.rb b/spec/dummy.6.0/test/test_helper.rb deleted file mode 100644 index d5300f8..0000000 --- a/spec/dummy.6.0/test/test_helper.rb +++ /dev/null @@ -1,13 +0,0 @@ -ENV['RAILS_ENV'] ||= 'test' -require_relative '../config/environment' -require 'rails/test_help' - -class ActiveSupport::TestCase - # Run tests in parallel with specified workers - parallelize(workers: :number_of_processors) - - # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. - fixtures :all - - # Add more helper methods to be used by all tests here... -end diff --git a/spec/dummy.6.0/vendor/.keep b/spec/dummy.6.0/vendor/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.6.0/yarn.lock b/spec/dummy.6.0/yarn.lock deleted file mode 100644 index 866ca7a..0000000 --- a/spec/dummy.6.0/yarn.lock +++ /dev/null @@ -1,1391 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@leichtgewicht/ip-codec@^2.0.1": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" - integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== - -"@rails/actioncable@^6.0.0": - version "6.1.7" - resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-6.1.7.tgz#8b4506925d3f7146a70941e4db7ce9dda99f99ae" - integrity sha512-F6S74NGpxhbbDRFsQFGYqefRfZPgYvePNtz9hHKYOqLturrsqrDoG+UcrxEGHsvqDUorMYfx4Wl3K8smmk/u2g== - -"@rails/activestorage@^6.0.0": - version "6.1.7" - resolved "https://registry.yarnpkg.com/@rails/activestorage/-/activestorage-6.1.7.tgz#5aaae9f4d10800fdb4fd6fe26fd8b4218579c6e3" - integrity sha512-h++k8LBLns4O8AqzdaFp1TsCLP9VSc2hgWI37bjzJ+4D995X7Rd8kdkRmXRaNAUlHDJgy6RpnbhBJ5oiIgWTDw== - dependencies: - spark-md5 "^3.0.0" - -"@rails/ujs@^6.0.0": - version "6.1.7" - resolved "https://registry.yarnpkg.com/@rails/ujs/-/ujs-6.1.7.tgz#b09dc5b2105dd267e8374c47e4490240451dc7f6" - integrity sha512-0e7WQ4LE/+LEfW2zfAw9ppsB6A8RmxbdAUPAF++UT80epY+7emuQDkKXmaK0a9lp6An50RvzezI0cIQjp1A58w== - -"@types/body-parser@*": - version "1.19.2" - resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.2.tgz#aea2059e28b7658639081347ac4fab3de166e6f0" - integrity sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g== - dependencies: - "@types/connect" "*" - "@types/node" "*" - -"@types/bonjour@^3.5.9": - version "3.5.10" - resolved "https://registry.yarnpkg.com/@types/bonjour/-/bonjour-3.5.10.tgz#0f6aadfe00ea414edc86f5d106357cda9701e275" - integrity sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw== - dependencies: - "@types/node" "*" - -"@types/connect-history-api-fallback@^1.3.5": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz#d1f7a8a09d0ed5a57aee5ae9c18ab9b803205dae" - integrity sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw== - dependencies: - "@types/express-serve-static-core" "*" - "@types/node" "*" - -"@types/connect@*": - version "3.4.35" - resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1" - integrity sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ== - dependencies: - "@types/node" "*" - -"@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.31": - version "4.17.33" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.33.tgz#de35d30a9d637dc1450ad18dd583d75d5733d543" - integrity sha512-TPBqmR/HRYI3eC2E5hmiivIzv+bidAfXofM+sbonAGvyDhySGw9/PQZFt2BLOrjUUR++4eJVpx6KnLQK1Fk9tA== - dependencies: - "@types/node" "*" - "@types/qs" "*" - "@types/range-parser" "*" - -"@types/express@*", "@types/express@^4.17.13": - version "4.17.16" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.16.tgz#986caf0b4b850611254505355daa24e1b8323de8" - integrity sha512-LkKpqRZ7zqXJuvoELakaFYuETHjZkSol8EV6cNnyishutDBCCdv6+dsKPbKkCcIk57qRphOLY5sEgClw1bO3gA== - dependencies: - "@types/body-parser" "*" - "@types/express-serve-static-core" "^4.17.31" - "@types/qs" "*" - "@types/serve-static" "*" - -"@types/http-proxy@^1.17.8": - version "1.17.9" - resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.9.tgz#7f0e7931343761efde1e2bf48c40f02f3f75705a" - integrity sha512-QsbSjA/fSk7xB+UXlCT3wHBy5ai9wOcNDWwZAtud+jXhwOM3l+EYZh8Lng4+/6n8uar0J7xILzqftJdJ/Wdfkw== - dependencies: - "@types/node" "*" - -"@types/json-schema@^7.0.9": - version "7.0.11" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" - integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== - -"@types/mime@*": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10" - integrity sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA== - -"@types/node@*": - version "18.11.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" - integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== - -"@types/qs@*": - version "6.9.7" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb" - integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw== - -"@types/range-parser@*": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" - integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== - -"@types/retry@0.12.0": - version "0.12.0" - resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d" - integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA== - -"@types/serve-index@^1.9.1": - version "1.9.1" - resolved "https://registry.yarnpkg.com/@types/serve-index/-/serve-index-1.9.1.tgz#1b5e85370a192c01ec6cec4735cf2917337a6278" - integrity sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg== - dependencies: - "@types/express" "*" - -"@types/serve-static@*", "@types/serve-static@^1.13.10": - version "1.15.0" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.0.tgz#c7930ff61afb334e121a9da780aac0d9b8f34155" - integrity sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg== - dependencies: - "@types/mime" "*" - "@types/node" "*" - -"@types/sockjs@^0.3.33": - version "0.3.33" - resolved "https://registry.yarnpkg.com/@types/sockjs/-/sockjs-0.3.33.tgz#570d3a0b99ac995360e3136fd6045113b1bd236f" - integrity sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw== - dependencies: - "@types/node" "*" - -"@types/ws@^8.5.1": - version "8.5.4" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.4.tgz#bb10e36116d6e570dd943735f86c933c1587b8a5" - integrity sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg== - dependencies: - "@types/node" "*" - -accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.8: - version "1.3.8" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" - integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== - dependencies: - mime-types "~2.1.34" - negotiator "0.6.3" - -ajv-formats@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" - integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== - dependencies: - ajv "^8.0.0" - -ajv-keywords@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz#69d4d385a4733cdbeab44964a1170a88f87f0e16" - integrity sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw== - dependencies: - fast-deep-equal "^3.1.3" - -ajv@^8.0.0, ajv@^8.8.0: - version "8.12.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" - integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== - dependencies: - fast-deep-equal "^3.1.1" - json-schema-traverse "^1.0.0" - require-from-string "^2.0.2" - uri-js "^4.2.2" - -ansi-html-community@^0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41" - integrity sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw== - -anymatch@~3.1.2: - version "3.1.3" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" - integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -array-flatten@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" - integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== - -array-flatten@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" - integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -batch@0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" - integrity sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw== - -binary-extensions@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" - integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== - -body-parser@1.20.1: - version "1.20.1" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" - integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== - dependencies: - bytes "3.1.2" - content-type "~1.0.4" - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - http-errors "2.0.0" - iconv-lite "0.4.24" - on-finished "2.4.1" - qs "6.11.0" - raw-body "2.5.1" - type-is "~1.6.18" - unpipe "1.0.0" - -bonjour-service@^1.0.11: - version "1.1.0" - resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.1.0.tgz#424170268d68af26ff83a5c640b95def01803a13" - integrity sha512-LVRinRB3k1/K0XzZ2p58COnWvkQknIY6sf0zF2rpErvcJXpMBttEPQSxK+HEXSS9VmpZlDoDnQWv8ftJT20B0Q== - dependencies: - array-flatten "^2.1.2" - dns-equal "^1.0.0" - fast-deep-equal "^3.1.3" - multicast-dns "^7.2.5" - -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@^3.0.2, braces@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== - dependencies: - fill-range "^7.0.1" - -bytes@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" - integrity sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw== - -bytes@3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" - integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== - -call-bind@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== - dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" - -chokidar@^3.5.3: - version "3.5.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - -colorette@^2.0.10: - version "2.0.19" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.19.tgz#cdf044f47ad41a0f4b56b3a0d5b4e6e1a2d5a798" - integrity sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ== - -compressible@~2.0.16: - version "2.0.18" - resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" - integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== - dependencies: - mime-db ">= 1.43.0 < 2" - -compression@^1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f" - integrity sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ== - dependencies: - accepts "~1.3.5" - bytes "3.0.0" - compressible "~2.0.16" - debug "2.6.9" - on-headers "~1.0.2" - safe-buffer "5.1.2" - vary "~1.1.2" - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - -connect-history-api-fallback@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz#647264845251a0daf25b97ce87834cace0f5f1c8" - integrity sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA== - -content-disposition@0.5.4: - version "0.5.4" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" - integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== - dependencies: - safe-buffer "5.2.1" - -content-type@~1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" - integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== - -cookie-signature@1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" - integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== - -cookie@0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" - integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== - -core-util-is@~1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" - integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== - -cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -debug@2.6.9: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@^4.1.0: - version "4.3.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== - dependencies: - ms "2.1.2" - -default-gateway@^6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/default-gateway/-/default-gateway-6.0.3.tgz#819494c888053bdb743edbf343d6cdf7f2943a71" - integrity sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg== - dependencies: - execa "^5.0.0" - -define-lazy-prop@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" - integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== - -depd@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" - integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== - -depd@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== - -destroy@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" - integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== - -detect-node@^2.0.4: - version "2.1.0" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" - integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== - -dns-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" - integrity sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg== - -dns-packet@^5.2.2: - version "5.4.0" - resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.4.0.tgz#1f88477cf9f27e78a213fb6d118ae38e759a879b" - integrity sha512-EgqGeaBB8hLiHLZtp/IbaDQTL8pZ0+IvwzSHA6d7VyMDM+B9hgddEMa9xjK5oYnw0ci0JQ6g2XCD7/f6cafU6g== - dependencies: - "@leichtgewicht/ip-codec" "^2.0.1" - -ee-first@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" - integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== - -encodeurl@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" - integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== - -escape-html@~1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" - integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== - -etag@~1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" - integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== - -eventemitter3@^4.0.0: - version "4.0.7" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - -execa@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" - integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - -express@^4.17.3: - version "4.18.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" - integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== - dependencies: - accepts "~1.3.8" - array-flatten "1.1.1" - body-parser "1.20.1" - content-disposition "0.5.4" - content-type "~1.0.4" - cookie "0.5.0" - cookie-signature "1.0.6" - debug "2.6.9" - depd "2.0.0" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - finalhandler "1.2.0" - fresh "0.5.2" - http-errors "2.0.0" - merge-descriptors "1.0.1" - methods "~1.1.2" - on-finished "2.4.1" - parseurl "~1.3.3" - path-to-regexp "0.1.7" - proxy-addr "~2.0.7" - qs "6.11.0" - range-parser "~1.2.1" - safe-buffer "5.2.1" - send "0.18.0" - serve-static "1.15.0" - setprototypeof "1.2.0" - statuses "2.0.1" - type-is "~1.6.18" - utils-merge "1.0.1" - vary "~1.1.2" - -fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" - integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== - -faye-websocket@^0.11.3: - version "0.11.4" - resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.4.tgz#7f0d9275cfdd86a1c963dc8b65fcc451edcbb1da" - integrity sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g== - dependencies: - websocket-driver ">=0.5.1" - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== - dependencies: - to-regex-range "^5.0.1" - -finalhandler@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" - integrity sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg== - dependencies: - debug "2.6.9" - encodeurl "~1.0.2" - escape-html "~1.0.3" - on-finished "2.4.1" - parseurl "~1.3.3" - statuses "2.0.1" - unpipe "~1.0.0" - -follow-redirects@^1.0.0: - version "1.15.2" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" - integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== - -forwarded@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" - integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== - -fresh@0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" - integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== - -fs-monkey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.3.tgz#ae3ac92d53bb328efe0e9a1d9541f6ad8d48e2d3" - integrity sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q== - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - -fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== - -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== - -get-intrinsic@^1.0.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz#7ad1dc0535f3a2904bba075772763e5051f6d05f" - integrity sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q== - dependencies: - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.3" - -get-stream@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - -glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== - dependencies: - is-glob "^4.0.1" - -glob@^7.1.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.1.1" - once "^1.3.0" - path-is-absolute "^1.0.0" - -graceful-fs@^4.2.6: - version "4.2.10" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" - integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== - -handle-thing@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" - integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== - -has-symbols@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" - integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== - -has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - -hpack.js@^2.1.6: - version "2.1.6" - resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" - integrity sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ== - dependencies: - inherits "^2.0.1" - obuf "^1.0.0" - readable-stream "^2.0.1" - wbuf "^1.1.0" - -html-entities@^2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-2.3.3.tgz#117d7626bece327fc8baace8868fa6f5ef856e46" - integrity sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA== - -http-deceiver@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" - integrity sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw== - -http-errors@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" - integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== - dependencies: - depd "2.0.0" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses "2.0.1" - toidentifier "1.0.1" - -http-errors@~1.6.2: - version "1.6.3" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" - integrity sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A== - dependencies: - depd "~1.1.2" - inherits "2.0.3" - setprototypeof "1.1.0" - statuses ">= 1.4.0 < 2" - -http-parser-js@>=0.5.1: - version "0.5.8" - resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" - integrity sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q== - -http-proxy-middleware@^2.0.3: - version "2.0.6" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz#e1a4dd6979572c7ab5a4e4b55095d1f32a74963f" - integrity sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw== - dependencies: - "@types/http-proxy" "^1.17.8" - http-proxy "^1.18.1" - is-glob "^4.0.1" - is-plain-obj "^3.0.0" - micromatch "^4.0.2" - -http-proxy@^1.18.1: - version "1.18.1" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" - integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== - dependencies: - eventemitter3 "^4.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" - -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" - integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== - -iconv-lite@0.4.24: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -inherits@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== - -ipaddr.js@1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" - integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== - -ipaddr.js@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.0.1.tgz#eca256a7a877e917aeb368b0a7497ddf42ef81c0" - integrity sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng== - -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - -is-docker@^2.0.0, is-docker@^2.1.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" - integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== - -is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== - -is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" - integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== - dependencies: - is-extglob "^2.1.1" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-plain-obj@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7" - integrity sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA== - -is-stream@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" - integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== - -is-wsl@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" - integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== - dependencies: - is-docker "^2.0.0" - -isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - -json-schema-traverse@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" - integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== - -media-typer@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" - integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== - -memfs@^3.4.3: - version "3.4.13" - resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.4.13.tgz#248a8bd239b3c240175cd5ec548de5227fc4f345" - integrity sha512-omTM41g3Skpvx5dSYeZIbXKcXoAVc/AoMNwn9TKx++L/gaen/+4TTttmu8ZSch5vfVJ8uJvGbroTsIlslRg6lg== - dependencies: - fs-monkey "^1.0.3" - -merge-descriptors@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - integrity sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w== - -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" - integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== - -methods@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" - integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== - -micromatch@^4.0.2: - version "4.0.5" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" - integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== - dependencies: - braces "^3.0.2" - picomatch "^2.3.1" - -mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": - version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34: - version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -mime@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" - integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== - -mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -minimalistic-assert@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== - -minimatch@^3.1.1: - version "3.1.2" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" - integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== - dependencies: - brace-expansion "^1.1.7" - -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== - -ms@2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" - integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== - -ms@2.1.3: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - -multicast-dns@^7.2.5: - version "7.2.5" - resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.5.tgz#77eb46057f4d7adbd16d9290fa7299f6fa64cced" - integrity sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg== - dependencies: - dns-packet "^5.2.2" - thunky "^1.0.2" - -negotiator@0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" - integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== - -node-forge@^1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" - integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - -object-inspect@^1.9.0: - version "1.12.3" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" - integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== - -obuf@^1.0.0, obuf@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" - integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== - -on-finished@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" - integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== - dependencies: - ee-first "1.1.1" - -on-headers@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" - integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== - -once@^1.3.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== - dependencies: - wrappy "1" - -onetime@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" - integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== - dependencies: - mimic-fn "^2.1.0" - -open@^8.0.9: - version "8.4.0" - resolved "https://registry.yarnpkg.com/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8" - integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q== - dependencies: - define-lazy-prop "^2.0.0" - is-docker "^2.1.1" - is-wsl "^2.2.0" - -p-retry@^4.5.0: - version "4.6.2" - resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.6.2.tgz#9baae7184057edd4e17231cee04264106e092a16" - integrity sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ== - dependencies: - "@types/retry" "0.12.0" - retry "^0.13.1" - -parseurl@~1.3.2, parseurl@~1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" - integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - -path-key@^3.0.0, path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-to-regexp@0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" - integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== - -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== - -process-nextick-args@~2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" - integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== - -proxy-addr@~2.0.7: - version "2.0.7" - resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" - integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg== - dependencies: - forwarded "0.2.0" - ipaddr.js "1.9.1" - -punycode@^2.1.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" - integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== - -qs@6.11.0: - version "6.11.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" - integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== - dependencies: - side-channel "^1.0.4" - -range-parser@^1.2.1, range-parser@~1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" - integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== - -raw-body@2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" - integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== - dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.4.24" - unpipe "1.0.0" - -readable-stream@^2.0.1: - version "2.3.7" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" - integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readable-stream@^3.0.6: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" - integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - -readdirp@~3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" - integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== - dependencies: - picomatch "^2.2.1" - -require-from-string@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" - integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== - -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== - -retry@^0.13.1: - version "0.13.1" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.13.1.tgz#185b1587acf67919d63b357349e03537b2484658" - integrity sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg== - -rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - -safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@~5.2.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - -"safer-buffer@>= 2.1.2 < 3": - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -schema-utils@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.0.0.tgz#60331e9e3ae78ec5d16353c467c34b3a0a1d3df7" - integrity sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg== - dependencies: - "@types/json-schema" "^7.0.9" - ajv "^8.8.0" - ajv-formats "^2.1.1" - ajv-keywords "^5.0.0" - -select-hose@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" - integrity sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg== - -selfsigned@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.1.1.tgz#18a7613d714c0cd3385c48af0075abf3f266af61" - integrity sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ== - dependencies: - node-forge "^1" - -send@0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" - integrity sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg== - dependencies: - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - fresh "0.5.2" - http-errors "2.0.0" - mime "1.6.0" - ms "2.1.3" - on-finished "2.4.1" - range-parser "~1.2.1" - statuses "2.0.1" - -serve-index@^1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" - integrity sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw== - dependencies: - accepts "~1.3.4" - batch "0.6.1" - debug "2.6.9" - escape-html "~1.0.3" - http-errors "~1.6.2" - mime-types "~2.1.17" - parseurl "~1.3.2" - -serve-static@1.15.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" - integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== - dependencies: - encodeurl "~1.0.2" - escape-html "~1.0.3" - parseurl "~1.3.3" - send "0.18.0" - -setprototypeof@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" - integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ== - -setprototypeof@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" - integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== - dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.0" - -signal-exit@^3.0.3: - version "3.0.7" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" - integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== - -sockjs@^0.3.24: - version "0.3.24" - resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.24.tgz#c9bc8995f33a111bea0395ec30aa3206bdb5ccce" - integrity sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ== - dependencies: - faye-websocket "^0.11.3" - uuid "^8.3.2" - websocket-driver "^0.7.4" - -spark-md5@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/spark-md5/-/spark-md5-3.0.2.tgz#7952c4a30784347abcee73268e473b9c0167e3fc" - integrity sha512-wcFzz9cDfbuqe0FZzfi2or1sgyIrsDwmPwfZC4hiNidPdPINjeUwNfv5kldczoEAcjl9Y1L3SM7Uz2PUEQzxQw== - -spdy-transport@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" - integrity sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw== - dependencies: - debug "^4.1.0" - detect-node "^2.0.4" - hpack.js "^2.1.6" - obuf "^1.1.2" - readable-stream "^3.0.6" - wbuf "^1.7.3" - -spdy@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.2.tgz#b74f466203a3eda452c02492b91fb9e84a27677b" - integrity sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA== - dependencies: - debug "^4.1.0" - handle-thing "^2.0.0" - http-deceiver "^1.2.7" - select-hose "^2.0.0" - spdy-transport "^3.0.0" - -statuses@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" - integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== - -"statuses@>= 1.4.0 < 2": - version "1.5.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" - integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== - -string_decoder@^1.1.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - -strip-final-newline@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" - integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== - -thunky@^1.0.2: - version "1.1.0" - resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" - integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -toidentifier@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" - integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== - -turbolinks@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/turbolinks/-/turbolinks-5.2.0.tgz#e6877a55ea5c1cb3bb225f0a4ae303d6d32ff77c" - integrity sha512-pMiez3tyBo6uRHFNNZoYMmrES/IaGgMhQQM+VFF36keryjb5ms0XkVpmKHkfW/4Vy96qiGW3K9bz0tF5sK9bBw== - -type-is@~1.6.18: - version "1.6.18" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" - integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== - dependencies: - media-typer "0.3.0" - mime-types "~2.1.24" - -unpipe@1.0.0, unpipe@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" - integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== - -uri-js@^4.2.2: - version "4.4.1" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" - integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== - dependencies: - punycode "^2.1.0" - -util-deprecate@^1.0.1, util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== - -utils-merge@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" - integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== - -uuid@^8.3.2: - version "8.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" - integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== - -vary@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" - integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== - -wbuf@^1.1.0, wbuf@^1.7.3: - version "1.7.3" - resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" - integrity sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA== - dependencies: - minimalistic-assert "^1.0.0" - -webpack-dev-middleware@^5.3.1: - version "5.3.3" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz#efae67c2793908e7311f1d9b06f2a08dcc97e51f" - integrity sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA== - dependencies: - colorette "^2.0.10" - memfs "^3.4.3" - mime-types "^2.1.31" - range-parser "^1.2.1" - schema-utils "^4.0.0" - -webpack-dev-server@^4.11.1: - version "4.11.1" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.11.1.tgz#ae07f0d71ca0438cf88446f09029b92ce81380b5" - integrity sha512-lILVz9tAUy1zGFwieuaQtYiadImb5M3d+H+L1zDYalYoDl0cksAB1UNyuE5MMWJrG6zR1tXkCP2fitl7yoUJiw== - dependencies: - "@types/bonjour" "^3.5.9" - "@types/connect-history-api-fallback" "^1.3.5" - "@types/express" "^4.17.13" - "@types/serve-index" "^1.9.1" - "@types/serve-static" "^1.13.10" - "@types/sockjs" "^0.3.33" - "@types/ws" "^8.5.1" - ansi-html-community "^0.0.8" - bonjour-service "^1.0.11" - chokidar "^3.5.3" - colorette "^2.0.10" - compression "^1.7.4" - connect-history-api-fallback "^2.0.0" - default-gateway "^6.0.3" - express "^4.17.3" - graceful-fs "^4.2.6" - html-entities "^2.3.2" - http-proxy-middleware "^2.0.3" - ipaddr.js "^2.0.1" - open "^8.0.9" - p-retry "^4.5.0" - rimraf "^3.0.2" - schema-utils "^4.0.0" - selfsigned "^2.1.1" - serve-index "^1.9.1" - sockjs "^0.3.24" - spdy "^4.0.2" - webpack-dev-middleware "^5.3.1" - ws "^8.4.2" - -websocket-driver@>=0.5.1, websocket-driver@^0.7.4: - version "0.7.4" - resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760" - integrity sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg== - dependencies: - http-parser-js ">=0.5.1" - safe-buffer ">=5.1.0" - websocket-extensions ">=0.1.1" - -websocket-extensions@>=0.1.1: - version "0.1.4" - resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" - integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== - -which@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - -ws@^8.4.2: - version "8.12.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.12.0.tgz#485074cc392689da78e1828a9ff23585e06cddd8" - integrity sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig== diff --git a/spec/dummy.7.0/.gitattributes b/spec/dummy.7.0/.gitattributes deleted file mode 100644 index 31eeee0..0000000 --- a/spec/dummy.7.0/.gitattributes +++ /dev/null @@ -1,7 +0,0 @@ -# See https://git-scm.com/docs/gitattributes for more about git attribute files. - -# Mark the database schema as having been generated. -db/schema.rb linguist-generated - -# Mark any vendored files as having been vendored. -vendor/* linguist-vendored diff --git a/spec/dummy.7.0/.gitignore b/spec/dummy.7.0/.gitignore deleted file mode 100644 index 886f714..0000000 --- a/spec/dummy.7.0/.gitignore +++ /dev/null @@ -1,35 +0,0 @@ -# See https://help.github.com/articles/ignoring-files for more about ignoring files. -# -# If you find yourself ignoring temporary files generated by your text editor -# or operating system, you probably want to add a global ignore instead: -# git config --global core.excludesfile '~/.gitignore_global' - -# Ignore bundler config. -/.bundle - -# Ignore the default SQLite database. -/db/*.sqlite3 -/db/*.sqlite3-* - -# Ignore all logfiles and tempfiles. -/log/* -/tmp/* -!/log/.keep -!/tmp/.keep - -# Ignore pidfiles, but keep the directory. -/tmp/pids/* -!/tmp/pids/ -!/tmp/pids/.keep - -# Ignore uploaded files in development. -/storage/* -!/storage/.keep -/tmp/storage/* -!/tmp/storage/ -!/tmp/storage/.keep - -/public/assets - -# Ignore master key for decrypting credentials and more. -/config/master.key diff --git a/spec/dummy.7.0/.ruby-version b/spec/dummy.7.0/.ruby-version deleted file mode 100644 index b0f2dcb..0000000 --- a/spec/dummy.7.0/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -3.0.4 diff --git a/spec/dummy.7.0/README.md b/spec/dummy.7.0/README.md deleted file mode 100644 index 7db80e4..0000000 --- a/spec/dummy.7.0/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# README - -This README would normally document whatever steps are necessary to get the -application up and running. - -Things you may want to cover: - -* Ruby version - -* System dependencies - -* Configuration - -* Database creation - -* Database initialization - -* How to run the test suite - -* Services (job queues, cache servers, search engines, etc.) - -* Deployment instructions - -* ... diff --git a/spec/dummy.7.0/app/assets/config/manifest.js b/spec/dummy.7.0/app/assets/config/manifest.js deleted file mode 100644 index ddd546a..0000000 --- a/spec/dummy.7.0/app/assets/config/manifest.js +++ /dev/null @@ -1,4 +0,0 @@ -//= link_tree ../images -//= link_directory ../stylesheets .css -//= link_tree ../../javascript .js -//= link_tree ../../../vendor/javascript .js diff --git a/spec/dummy.7.0/app/assets/images/.keep b/spec/dummy.7.0/app/assets/images/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/app/assets/stylesheets/application.css b/spec/dummy.7.0/app/assets/stylesheets/application.css deleted file mode 100644 index 288b9ab..0000000 --- a/spec/dummy.7.0/app/assets/stylesheets/application.css +++ /dev/null @@ -1,15 +0,0 @@ -/* - * This is a manifest file that'll be compiled into application.css, which will include all the files - * listed below. - * - * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's - * vendor/assets/stylesheets directory can be referenced here using a relative path. - * - * You're free to add application-wide styles to this file and they'll appear at the bottom of the - * compiled file so the styles you add here take precedence over styles defined in any other CSS - * files in this directory. Styles in this file should be added after the last require_* statement. - * It is generally better to create a new file per style scope. - * - *= require_tree . - *= require_self - */ diff --git a/spec/dummy.7.0/app/channels/application_cable/channel.rb b/spec/dummy.7.0/app/channels/application_cable/channel.rb deleted file mode 100644 index d672697..0000000 --- a/spec/dummy.7.0/app/channels/application_cable/channel.rb +++ /dev/null @@ -1,4 +0,0 @@ -module ApplicationCable - class Channel < ActionCable::Channel::Base - end -end diff --git a/spec/dummy.7.0/app/channels/application_cable/connection.rb b/spec/dummy.7.0/app/channels/application_cable/connection.rb deleted file mode 100644 index 0ff5442..0000000 --- a/spec/dummy.7.0/app/channels/application_cable/connection.rb +++ /dev/null @@ -1,4 +0,0 @@ -module ApplicationCable - class Connection < ActionCable::Connection::Base - end -end diff --git a/spec/dummy.7.0/app/controllers/admin/admin_controller.rb b/spec/dummy.7.0/app/controllers/admin/admin_controller.rb deleted file mode 100644 index 8c391c4..0000000 --- a/spec/dummy.7.0/app/controllers/admin/admin_controller.rb +++ /dev/null @@ -1,15 +0,0 @@ -module Admin - class AdminController < ApplicationController - cross_site_controller - - def show - @admin_site = current_site - render json: @admin_site - end - - def switch_site - self.current_site = Site.find(params[:site_id]) - redirect_to admin_admin_url, notice: "Switched to: #{current_site.url}" - end - end -end diff --git a/spec/dummy.7.0/app/controllers/application_controller.rb b/spec/dummy.7.0/app/controllers/application_controller.rb deleted file mode 100644 index 13221fb..0000000 --- a/spec/dummy.7.0/app/controllers/application_controller.rb +++ /dev/null @@ -1,12 +0,0 @@ -class ApplicationController < ActionController::Base - before_action :set_user - - attr_accessor :current_user - - private - - def set_user - @current_user = User.first - end -end - diff --git a/spec/dummy.7.0/app/controllers/concerns/.keep b/spec/dummy.7.0/app/controllers/concerns/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/app/helpers/application_helper.rb b/spec/dummy.7.0/app/helpers/application_helper.rb deleted file mode 100644 index de6be79..0000000 --- a/spec/dummy.7.0/app/helpers/application_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module ApplicationHelper -end diff --git a/spec/dummy.7.0/app/helpers/users_helper.rb b/spec/dummy.7.0/app/helpers/users_helper.rb deleted file mode 100644 index 2310a24..0000000 --- a/spec/dummy.7.0/app/helpers/users_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module UsersHelper -end diff --git a/spec/dummy.7.0/app/javascript/application.js b/spec/dummy.7.0/app/javascript/application.js deleted file mode 100644 index 0d7b494..0000000 --- a/spec/dummy.7.0/app/javascript/application.js +++ /dev/null @@ -1,3 +0,0 @@ -// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails -import "@hotwired/turbo-rails" -import "controllers" diff --git a/spec/dummy.7.0/app/javascript/controllers/application.js b/spec/dummy.7.0/app/javascript/controllers/application.js deleted file mode 100644 index 1213e85..0000000 --- a/spec/dummy.7.0/app/javascript/controllers/application.js +++ /dev/null @@ -1,9 +0,0 @@ -import { Application } from "@hotwired/stimulus" - -const application = Application.start() - -// Configure Stimulus development experience -application.debug = false -window.Stimulus = application - -export { application } diff --git a/spec/dummy.7.0/app/javascript/controllers/hello_controller.js b/spec/dummy.7.0/app/javascript/controllers/hello_controller.js deleted file mode 100644 index 5975c07..0000000 --- a/spec/dummy.7.0/app/javascript/controllers/hello_controller.js +++ /dev/null @@ -1,7 +0,0 @@ -import { Controller } from "@hotwired/stimulus" - -export default class extends Controller { - connect() { - this.element.textContent = "Hello World!" - } -} diff --git a/spec/dummy.7.0/app/javascript/controllers/index.js b/spec/dummy.7.0/app/javascript/controllers/index.js deleted file mode 100644 index 54ad4ca..0000000 --- a/spec/dummy.7.0/app/javascript/controllers/index.js +++ /dev/null @@ -1,11 +0,0 @@ -// Import and register all your controllers from the importmap under controllers/* - -import { application } from "controllers/application" - -// Eager load all controllers defined in the import map under controllers/**/*_controller -import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading" -eagerLoadControllersFrom("controllers", application) - -// Lazy load controllers as they appear in the DOM (remember not to preload controllers in import map!) -// import { lazyLoadControllersFrom } from "@hotwired/stimulus-loading" -// lazyLoadControllersFrom("controllers", application) diff --git a/spec/dummy.7.0/app/jobs/application_job.rb b/spec/dummy.7.0/app/jobs/application_job.rb deleted file mode 100644 index d394c3d..0000000 --- a/spec/dummy.7.0/app/jobs/application_job.rb +++ /dev/null @@ -1,7 +0,0 @@ -class ApplicationJob < ActiveJob::Base - # Automatically retry jobs that encountered a deadlock - # retry_on ActiveRecord::Deadlocked - - # Most jobs are safe to ignore if the underlying records are no longer available - # discard_on ActiveJob::DeserializationError -end diff --git a/spec/dummy.7.0/app/models/application_record.rb b/spec/dummy.7.0/app/models/application_record.rb deleted file mode 100644 index b63caeb..0000000 --- a/spec/dummy.7.0/app/models/application_record.rb +++ /dev/null @@ -1,3 +0,0 @@ -class ApplicationRecord < ActiveRecord::Base - primary_abstract_class -end diff --git a/spec/dummy.7.0/app/models/concerns/.keep b/spec/dummy.7.0/app/models/concerns/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/app/models/site.rb b/spec/dummy.7.0/app/models/site.rb deleted file mode 100644 index f0d3c29..0000000 --- a/spec/dummy.7.0/app/models/site.rb +++ /dev/null @@ -1,2 +0,0 @@ -class Site < ApplicationRecord -end diff --git a/spec/dummy.7.0/app/models/user.rb b/spec/dummy.7.0/app/models/user.rb deleted file mode 100644 index 1011308..0000000 --- a/spec/dummy.7.0/app/models/user.rb +++ /dev/null @@ -1,3 +0,0 @@ -class User < ApplicationRecord - has_site_scope -end diff --git a/spec/dummy.7.0/app/views/layouts/mailer.html.erb b/spec/dummy.7.0/app/views/layouts/mailer.html.erb deleted file mode 100644 index cbd34d2..0000000 --- a/spec/dummy.7.0/app/views/layouts/mailer.html.erb +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - <%= yield %> - - diff --git a/spec/dummy.7.0/app/views/layouts/mailer.text.erb b/spec/dummy.7.0/app/views/layouts/mailer.text.erb deleted file mode 100644 index 37f0bdd..0000000 --- a/spec/dummy.7.0/app/views/layouts/mailer.text.erb +++ /dev/null @@ -1 +0,0 @@ -<%= yield %> diff --git a/spec/dummy.7.0/bin/bundle b/spec/dummy.7.0/bin/bundle deleted file mode 100755 index 374a0a1..0000000 --- a/spec/dummy.7.0/bin/bundle +++ /dev/null @@ -1,114 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -# -# This file was generated by Bundler. -# -# The application 'bundle' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "rubygems" - -m = Module.new do - module_function - - def invoked_as_script? - File.expand_path($0) == File.expand_path(__FILE__) - end - - def env_var_version - ENV["BUNDLER_VERSION"] - end - - def cli_arg_version - return unless invoked_as_script? # don't want to hijack other binstubs - return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update` - bundler_version = nil - update_index = nil - ARGV.each_with_index do |a, i| - if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN - bundler_version = a - end - next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/ - bundler_version = $1 - update_index = i - end - bundler_version - end - - def gemfile - gemfile = ENV["BUNDLE_GEMFILE"] - return gemfile if gemfile && !gemfile.empty? - - File.expand_path("../../Gemfile", __FILE__) - end - - def lockfile - lockfile = - case File.basename(gemfile) - when "gems.rb" then gemfile.sub(/\.rb$/, gemfile) - else "#{gemfile}.lock" - end - File.expand_path(lockfile) - end - - def lockfile_version - return unless File.file?(lockfile) - lockfile_contents = File.read(lockfile) - return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/ - Regexp.last_match(1) - end - - def bundler_requirement - @bundler_requirement ||= - env_var_version || cli_arg_version || - bundler_requirement_for(lockfile_version) - end - - def bundler_requirement_for(version) - return "#{Gem::Requirement.default}.a" unless version - - bundler_gem_version = Gem::Version.new(version) - - requirement = bundler_gem_version.approximate_recommendation - - return requirement unless Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.7.0") - - requirement += ".a" if bundler_gem_version.prerelease? - - requirement - end - - def load_bundler! - ENV["BUNDLE_GEMFILE"] ||= gemfile - - activate_bundler - end - - def activate_bundler - gem_error = activation_error_handling do - gem "bundler", bundler_requirement - end - return if gem_error.nil? - require_error = activation_error_handling do - require "bundler/version" - end - return if require_error.nil? && Gem::Requirement.new(bundler_requirement).satisfied_by?(Gem::Version.new(Bundler::VERSION)) - warn "Activating bundler (#{bundler_requirement}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_requirement}'`" - exit 42 - end - - def activation_error_handling - yield - nil - rescue StandardError, LoadError => e - e - end -end - -m.load_bundler! - -if m.invoked_as_script? - load Gem.bin_path("bundler", "bundle") -end diff --git a/spec/dummy.7.0/bin/importmap b/spec/dummy.7.0/bin/importmap deleted file mode 100755 index 36502ab..0000000 --- a/spec/dummy.7.0/bin/importmap +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env ruby - -require_relative "../config/application" -require "importmap/commands" diff --git a/spec/dummy.7.0/config/boot.rb b/spec/dummy.7.0/config/boot.rb deleted file mode 100644 index 988a5dd..0000000 --- a/spec/dummy.7.0/config/boot.rb +++ /dev/null @@ -1,4 +0,0 @@ -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) - -require "bundler/setup" # Set up gems listed in the Gemfile. -require "bootsnap/setup" # Speed up boot time by caching expensive operations. diff --git a/spec/dummy.7.0/config/cable.yml b/spec/dummy.7.0/config/cable.yml deleted file mode 100644 index 3ed3f06..0000000 --- a/spec/dummy.7.0/config/cable.yml +++ /dev/null @@ -1,11 +0,0 @@ -development: - adapter: redis - url: redis://localhost:6379/1 - -test: - adapter: test - -production: - adapter: redis - url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> - channel_prefix: dummy_7_0_production diff --git a/spec/dummy.7.0/config/credentials.yml.enc b/spec/dummy.7.0/config/credentials.yml.enc deleted file mode 100644 index 713f855..0000000 --- a/spec/dummy.7.0/config/credentials.yml.enc +++ /dev/null @@ -1 +0,0 @@ -Bv4TEZXNcfcV+rfdZlvTvvK4+22baz+HkNcVmCbIoT+dYgIXecuy0vi2yDFdl91ug+tdvecE4njlKUleMZhuQOSghMPsZ5NWd+9a7lRAlBisQ7dmHVz74PKVllZcdOP0Zzkg6Z1XpLjMK9+cENiH4pBvAWktVARLnScARd3TUAIu8Mu6nV+OFM3s0hQvHMDHx9Rv/gNPjNRd62NKq+P9iOMn/ALj4nIz34sshOy/zcJXBWWFzCC8i27rVYKAWEs1bDgbQodPO7rGcvdVhFAf0OWMB1Hm3ryyHki2eOIlL4ahAR9vxr60A8Dsulx7tnsQZvTFfiZUA8z3EMWuyE/Ds7d4Lkg/UCodLI46czSbs+jOUdr8P3mb8snAT33wloaeY2969vzac7bCOicVRI6f5mJ/TY+Qt80waK/a--wSRlbVkg+aLXMIHK--+CFIcCwkROvk8ap/bjpFww== \ No newline at end of file diff --git a/spec/dummy.7.0/config/environment.rb b/spec/dummy.7.0/config/environment.rb deleted file mode 100644 index cac5315..0000000 --- a/spec/dummy.7.0/config/environment.rb +++ /dev/null @@ -1,5 +0,0 @@ -# Load the Rails application. -require_relative "application" - -# Initialize the Rails application. -Rails.application.initialize! diff --git a/spec/dummy.7.0/config/importmap.rb b/spec/dummy.7.0/config/importmap.rb deleted file mode 100644 index 8dce42d..0000000 --- a/spec/dummy.7.0/config/importmap.rb +++ /dev/null @@ -1,7 +0,0 @@ -# Pin npm packages by running ./bin/importmap - -pin "application", preload: true -pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true -pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true -pin "@hotwired/stimulus-loading", to: "stimulus-loading.js", preload: true -pin_all_from "app/javascript/controllers", under: "controllers" diff --git a/spec/dummy.7.0/config/initializers/assets.rb b/spec/dummy.7.0/config/initializers/assets.rb deleted file mode 100644 index 2eeef96..0000000 --- a/spec/dummy.7.0/config/initializers/assets.rb +++ /dev/null @@ -1,12 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Version of your assets, change this if you want to expire all your assets. -Rails.application.config.assets.version = "1.0" - -# Add additional assets to the asset load path. -# Rails.application.config.assets.paths << Emoji.images_path - -# Precompile additional assets. -# application.js, application.css, and all non-JS/CSS in the app/assets -# folder are already added. -# Rails.application.config.assets.precompile += %w( admin.js admin.css ) diff --git a/spec/dummy.7.0/db/migrate/20230130164228_create_users.rb b/spec/dummy.7.0/db/migrate/20230130164228_create_users.rb deleted file mode 100644 index 08ae80c..0000000 --- a/spec/dummy.7.0/db/migrate/20230130164228_create_users.rb +++ /dev/null @@ -1,9 +0,0 @@ -class CreateUsers < ActiveRecord::Migration[6.0] - def change - create_table :users do |t| - t.string :login - t.references :site - t.timestamps - end - end -end diff --git a/spec/dummy.7.0/db/migrate/20230130164233_create_sites.rb b/spec/dummy.7.0/db/migrate/20230130164233_create_sites.rb deleted file mode 100644 index dbcca28..0000000 --- a/spec/dummy.7.0/db/migrate/20230130164233_create_sites.rb +++ /dev/null @@ -1,8 +0,0 @@ -class CreateSites < ActiveRecord::Migration[6.0] - def change - create_table :sites do |t| - t.string :url - t.timestamps - end - end -end diff --git a/spec/dummy.7.0/db/seeds.rb b/spec/dummy.7.0/db/seeds.rb deleted file mode 100644 index bc25fce..0000000 --- a/spec/dummy.7.0/db/seeds.rb +++ /dev/null @@ -1,7 +0,0 @@ -# This file should contain all the record creation needed to seed the database with its default values. -# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup). -# -# Examples: -# -# movies = Movie.create([{ name: "Star Wars" }, { name: "Lord of the Rings" }]) -# Character.create(name: "Luke", movie: movies.first) diff --git a/spec/dummy.7.0/lib/assets/.keep b/spec/dummy.7.0/lib/assets/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/lib/tasks/.keep b/spec/dummy.7.0/lib/tasks/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/log/.keep b/spec/dummy.7.0/log/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/public/404.html b/spec/dummy.7.0/public/404.html deleted file mode 100644 index 2be3af2..0000000 --- a/spec/dummy.7.0/public/404.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - The page you were looking for doesn't exist (404) - - - - - - -
-
-

The page you were looking for doesn't exist.

-

You may have mistyped the address or the page may have moved.

-
-

If you are the application owner check the logs for more information.

-
- - diff --git a/spec/dummy.7.0/public/422.html b/spec/dummy.7.0/public/422.html deleted file mode 100644 index c08eac0..0000000 --- a/spec/dummy.7.0/public/422.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - The change you wanted was rejected (422) - - - - - - -
-
-

The change you wanted was rejected.

-

Maybe you tried to change something you didn't have access to.

-
-

If you are the application owner check the logs for more information.

-
- - diff --git a/spec/dummy.7.0/public/500.html b/spec/dummy.7.0/public/500.html deleted file mode 100644 index 78a030a..0000000 --- a/spec/dummy.7.0/public/500.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - We're sorry, but something went wrong (500) - - - - - - -
-
-

We're sorry, but something went wrong.

-
-

If you are the application owner check the logs for more information.

-
- - diff --git a/spec/dummy.7.0/public/apple-touch-icon-precomposed.png b/spec/dummy.7.0/public/apple-touch-icon-precomposed.png deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/public/apple-touch-icon.png b/spec/dummy.7.0/public/apple-touch-icon.png deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/public/favicon.ico b/spec/dummy.7.0/public/favicon.ico deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/public/robots.txt b/spec/dummy.7.0/public/robots.txt deleted file mode 100644 index c19f78a..0000000 --- a/spec/dummy.7.0/public/robots.txt +++ /dev/null @@ -1 +0,0 @@ -# See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file diff --git a/spec/dummy.7.0/storage/.keep b/spec/dummy.7.0/storage/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/test/application_system_test_case.rb b/spec/dummy.7.0/test/application_system_test_case.rb deleted file mode 100644 index d19212a..0000000 --- a/spec/dummy.7.0/test/application_system_test_case.rb +++ /dev/null @@ -1,5 +0,0 @@ -require "test_helper" - -class ApplicationSystemTestCase < ActionDispatch::SystemTestCase - driven_by :selenium, using: :chrome, screen_size: [1400, 1400] -end diff --git a/spec/dummy.7.0/test/channels/application_cable/connection_test.rb b/spec/dummy.7.0/test/channels/application_cable/connection_test.rb deleted file mode 100644 index 800405f..0000000 --- a/spec/dummy.7.0/test/channels/application_cable/connection_test.rb +++ /dev/null @@ -1,11 +0,0 @@ -require "test_helper" - -class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase - # test "connects with cookies" do - # cookies.signed[:user_id] = 42 - # - # connect - # - # assert_equal connection.user_id, "42" - # end -end diff --git a/spec/dummy.7.0/test/controllers/.keep b/spec/dummy.7.0/test/controllers/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/test/controllers/users_controller_test.rb b/spec/dummy.7.0/test/controllers/users_controller_test.rb deleted file mode 100644 index 61c1532..0000000 --- a/spec/dummy.7.0/test/controllers/users_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require "test_helper" - -class UsersControllerTest < ActionDispatch::IntegrationTest - # test "the truth" do - # assert true - # end -end diff --git a/spec/dummy.7.0/test/fixtures/files/.keep b/spec/dummy.7.0/test/fixtures/files/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/test/fixtures/sites.yml b/spec/dummy.7.0/test/fixtures/sites.yml deleted file mode 100644 index d7a3329..0000000 --- a/spec/dummy.7.0/test/fixtures/sites.yml +++ /dev/null @@ -1,11 +0,0 @@ -# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html - -# This model initially had no columns defined. If you add columns to the -# model remove the "{}" from the fixture names and add the columns immediately -# below each fixture, per the syntax in the comments below -# -one: {} -# column: value -# -two: {} -# column: value diff --git a/spec/dummy.7.0/test/fixtures/users.yml b/spec/dummy.7.0/test/fixtures/users.yml deleted file mode 100644 index d7a3329..0000000 --- a/spec/dummy.7.0/test/fixtures/users.yml +++ /dev/null @@ -1,11 +0,0 @@ -# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html - -# This model initially had no columns defined. If you add columns to the -# model remove the "{}" from the fixture names and add the columns immediately -# below each fixture, per the syntax in the comments below -# -one: {} -# column: value -# -two: {} -# column: value diff --git a/spec/dummy.7.0/test/helpers/.keep b/spec/dummy.7.0/test/helpers/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/test/integration/.keep b/spec/dummy.7.0/test/integration/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/test/mailers/.keep b/spec/dummy.7.0/test/mailers/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/test/models/.keep b/spec/dummy.7.0/test/models/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/test/models/site_test.rb b/spec/dummy.7.0/test/models/site_test.rb deleted file mode 100644 index f373949..0000000 --- a/spec/dummy.7.0/test/models/site_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require "test_helper" - -class SiteTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/spec/dummy.7.0/test/models/user_test.rb b/spec/dummy.7.0/test/models/user_test.rb deleted file mode 100644 index 5c07f49..0000000 --- a/spec/dummy.7.0/test/models/user_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require "test_helper" - -class UserTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/spec/dummy.7.0/test/system/.keep b/spec/dummy.7.0/test/system/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/test/test_helper.rb b/spec/dummy.7.0/test/test_helper.rb deleted file mode 100644 index d713e37..0000000 --- a/spec/dummy.7.0/test/test_helper.rb +++ /dev/null @@ -1,13 +0,0 @@ -ENV["RAILS_ENV"] ||= "test" -require_relative "../config/environment" -require "rails/test_help" - -class ActiveSupport::TestCase - # Run tests in parallel with specified workers - parallelize(workers: :number_of_processors) - - # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. - fixtures :all - - # Add more helper methods to be used by all tests here... -end diff --git a/spec/dummy.7.0/vendor/.keep b/spec/dummy.7.0/vendor/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/vendor/javascript/.keep b/spec/dummy.7.0/vendor/javascript/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy.7.0/Rakefile b/spec/dummy/Rakefile similarity index 100% rename from spec/dummy.7.0/Rakefile rename to spec/dummy/Rakefile diff --git a/spec/dummy/app/assets/config/manifest.js b/spec/dummy/app/assets/config/manifest.js new file mode 100644 index 0000000..5cc2c08 --- /dev/null +++ b/spec/dummy/app/assets/config/manifest.js @@ -0,0 +1,3 @@ +//= link_tree ../images +//= link_directory ../javascripts .js +//= link_directory ../stylesheets .css \ No newline at end of file diff --git a/spec/dummy.6.0/app/assets/images/.keep b/spec/dummy/app/assets/images/.keep similarity index 100% rename from spec/dummy.6.0/app/assets/images/.keep rename to spec/dummy/app/assets/images/.keep diff --git a/spec/dummy/app/assets/stylesheets/application.css b/spec/dummy/app/assets/stylesheets/application.css new file mode 100644 index 0000000..dcd7273 --- /dev/null +++ b/spec/dummy/app/assets/stylesheets/application.css @@ -0,0 +1 @@ +/* Application styles */ diff --git a/spec/dummy.6.0/app/channels/application_cable/channel.rb b/spec/dummy/app/channels/application_cable/channel.rb similarity index 100% rename from spec/dummy.6.0/app/channels/application_cable/channel.rb rename to spec/dummy/app/channels/application_cable/channel.rb diff --git a/spec/dummy.6.0/app/channels/application_cable/connection.rb b/spec/dummy/app/channels/application_cable/connection.rb similarity index 100% rename from spec/dummy.6.0/app/channels/application_cable/connection.rb rename to spec/dummy/app/channels/application_cable/connection.rb diff --git a/spec/dummy.6.0/app/controllers/admin/admin_controller.rb b/spec/dummy/app/controllers/admin/admin_controller.rb similarity index 100% rename from spec/dummy.6.0/app/controllers/admin/admin_controller.rb rename to spec/dummy/app/controllers/admin/admin_controller.rb diff --git a/spec/dummy/app/controllers/application_controller.rb b/spec/dummy/app/controllers/application_controller.rb new file mode 100644 index 0000000..09705d1 --- /dev/null +++ b/spec/dummy/app/controllers/application_controller.rb @@ -0,0 +1,2 @@ +class ApplicationController < ActionController::Base +end diff --git a/spec/dummy.6.0/app/controllers/concerns/.keep b/spec/dummy/app/controllers/concerns/.keep similarity index 100% rename from spec/dummy.6.0/app/controllers/concerns/.keep rename to spec/dummy/app/controllers/concerns/.keep diff --git a/spec/dummy.7.0/app/controllers/users_controller.rb b/spec/dummy/app/controllers/users_controller.rb similarity index 83% rename from spec/dummy.7.0/app/controllers/users_controller.rb rename to spec/dummy/app/controllers/users_controller.rb index 22ec183..ac55bb8 100644 --- a/spec/dummy.7.0/app/controllers/users_controller.rb +++ b/spec/dummy/app/controllers/users_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class UsersController < ApplicationController def index render json: { ola: 'mundo' } diff --git a/spec/dummy.6.0/app/helpers/application_helper.rb b/spec/dummy/app/helpers/application_helper.rb similarity index 100% rename from spec/dummy.6.0/app/helpers/application_helper.rb rename to spec/dummy/app/helpers/application_helper.rb diff --git a/spec/dummy.6.0/app/jobs/application_job.rb b/spec/dummy/app/jobs/application_job.rb similarity index 100% rename from spec/dummy.6.0/app/jobs/application_job.rb rename to spec/dummy/app/jobs/application_job.rb diff --git a/spec/dummy.7.0/app/mailers/application_mailer.rb b/spec/dummy/app/mailers/application_mailer.rb similarity index 100% rename from spec/dummy.7.0/app/mailers/application_mailer.rb rename to spec/dummy/app/mailers/application_mailer.rb diff --git a/spec/dummy.6.0/app/models/application_record.rb b/spec/dummy/app/models/application_record.rb similarity index 100% rename from spec/dummy.6.0/app/models/application_record.rb rename to spec/dummy/app/models/application_record.rb diff --git a/spec/dummy.6.0/app/models/concerns/.keep b/spec/dummy/app/models/concerns/.keep similarity index 100% rename from spec/dummy.6.0/app/models/concerns/.keep rename to spec/dummy/app/models/concerns/.keep diff --git a/spec/dummy.6.0/app/models/site.rb b/spec/dummy/app/models/site.rb similarity index 100% rename from spec/dummy.6.0/app/models/site.rb rename to spec/dummy/app/models/site.rb diff --git a/spec/dummy.6.0/app/models/user.rb b/spec/dummy/app/models/user.rb similarity index 100% rename from spec/dummy.6.0/app/models/user.rb rename to spec/dummy/app/models/user.rb diff --git a/spec/dummy.7.0/app/views/layouts/application.html.erb b/spec/dummy/app/views/layouts/application.html.erb similarity index 60% rename from spec/dummy.7.0/app/views/layouts/application.html.erb rename to spec/dummy/app/views/layouts/application.html.erb index 1549706..f72b4ef 100644 --- a/spec/dummy.7.0/app/views/layouts/application.html.erb +++ b/spec/dummy/app/views/layouts/application.html.erb @@ -1,13 +1,12 @@ - Dummy70 + Dummy <%= csrf_meta_tags %> <%= csp_meta_tag %> - <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %> - <%= javascript_importmap_tags %> + <%= stylesheet_link_tag "application" %> diff --git a/spec/dummy.6.0/app/views/layouts/mailer.html.erb b/spec/dummy/app/views/layouts/mailer.html.erb similarity index 100% rename from spec/dummy.6.0/app/views/layouts/mailer.html.erb rename to spec/dummy/app/views/layouts/mailer.html.erb diff --git a/spec/dummy.6.0/app/views/layouts/mailer.text.erb b/spec/dummy/app/views/layouts/mailer.text.erb similarity index 100% rename from spec/dummy.6.0/app/views/layouts/mailer.text.erb rename to spec/dummy/app/views/layouts/mailer.text.erb diff --git a/spec/dummy.7.0/bin/rails b/spec/dummy/bin/rails similarity index 100% rename from spec/dummy.7.0/bin/rails rename to spec/dummy/bin/rails diff --git a/spec/dummy.7.0/bin/rake b/spec/dummy/bin/rake similarity index 100% rename from spec/dummy.7.0/bin/rake rename to spec/dummy/bin/rake diff --git a/spec/dummy.7.0/bin/setup b/spec/dummy/bin/setup similarity index 100% rename from spec/dummy.7.0/bin/setup rename to spec/dummy/bin/setup diff --git a/spec/dummy.7.0/config.ru b/spec/dummy/config.ru similarity index 100% rename from spec/dummy.7.0/config.ru rename to spec/dummy/config.ru diff --git a/spec/dummy.7.0/config/application.rb b/spec/dummy/config/application.rb similarity index 60% rename from spec/dummy.7.0/config/application.rb rename to spec/dummy/config/application.rb index 36195be..3a0d682 100644 --- a/spec/dummy.7.0/config/application.rb +++ b/spec/dummy/config/application.rb @@ -1,22 +1,21 @@ -require_relative "boot" +require_relative 'boot' -require "rails/all" +require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) -module Dummy70 +module Dummy class Application < Rails::Application - # Initialize configuration defaults for originally generated Rails version. - config.load_defaults 7.0 + config.load_defaults Rails::VERSION::STRING.to_f # Configuration for the application, engines, and railties goes here. # # These settings can be overridden in specific environments using the files # in config/environments, which are processed later. # - # config.time_zone = "Central Time (US & Canada)" - # config.eager_load_paths << Rails.root.join("extras") + # config.time_zone = 'Central Time (US & Canada)' + # config.eager_load_paths << Rails.root.join('extras') end end diff --git a/spec/dummy/config/boot.rb b/spec/dummy/config/boot.rb new file mode 100644 index 0000000..116591a --- /dev/null +++ b/spec/dummy/config/boot.rb @@ -0,0 +1,5 @@ +# Set up gems listed in the Gemfile. +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../../Gemfile", __dir__) + +require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"]) +$LOAD_PATH.unshift File.expand_path("../../../lib", __dir__) diff --git a/spec/dummy.6.0/config/cable.yml b/spec/dummy/config/cable.yml similarity index 79% rename from spec/dummy.6.0/config/cable.yml rename to spec/dummy/config/cable.yml index 056dd77..98367f8 100644 --- a/spec/dummy.6.0/config/cable.yml +++ b/spec/dummy/config/cable.yml @@ -7,4 +7,4 @@ test: production: adapter: redis url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> - channel_prefix: dummy_6_0_production + channel_prefix: dummy_production diff --git a/spec/dummy.7.0/config/database.yml b/spec/dummy/config/database.yml similarity index 100% rename from spec/dummy.7.0/config/database.yml rename to spec/dummy/config/database.yml diff --git a/spec/dummy.6.0/config/environment.rb b/spec/dummy/config/environment.rb similarity index 100% rename from spec/dummy.6.0/config/environment.rb rename to spec/dummy/config/environment.rb diff --git a/spec/dummy.7.0/config/environments/development.rb b/spec/dummy/config/environments/development.rb similarity index 96% rename from spec/dummy.7.0/config/environments/development.rb rename to spec/dummy/config/environments/development.rb index 8500f45..8d1635e 100644 --- a/spec/dummy.7.0/config/environments/development.rb +++ b/spec/dummy/config/environments/development.rb @@ -56,8 +56,6 @@ # Highlight code that triggered database queries in logs. config.active_record.verbose_query_logs = true - # Suppress logger output for asset requests. - config.assets.quiet = true # Raises error for missing translations. # config.i18n.raise_on_missing_translations = true diff --git a/spec/dummy.7.0/config/environments/production.rb b/spec/dummy/config/environments/production.rb similarity index 93% rename from spec/dummy.7.0/config/environments/production.rb rename to spec/dummy/config/environments/production.rb index ad3a361..83a5a16 100644 --- a/spec/dummy.7.0/config/environments/production.rb +++ b/spec/dummy/config/environments/production.rb @@ -24,12 +24,6 @@ # Apache or NGINX already handles this. config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present? - # Compress CSS using a preprocessor. - # config.assets.css_compressor = :sass - - # Do not fallback to assets pipeline if a precompiled asset is missed. - config.assets.compile = false - # Enable serving of images, stylesheets, and JavaScripts from an asset server. # config.asset_host = "http://assets.example.com" @@ -60,7 +54,7 @@ # Use a real queuing backend for Active Job (and separate queues per environment). # config.active_job.queue_adapter = :resque - # config.active_job.queue_name_prefix = "dummy_7_0_production" + # config.active_job.queue_name_prefix = "dummy_production" config.action_mailer.perform_caching = false diff --git a/spec/dummy.7.0/config/environments/test.rb b/spec/dummy/config/environments/test.rb similarity index 95% rename from spec/dummy.7.0/config/environments/test.rb rename to spec/dummy/config/environments/test.rb index 6ea4d1e..64d2cf7 100644 --- a/spec/dummy.7.0/config/environments/test.rb +++ b/spec/dummy/config/environments/test.rb @@ -14,12 +14,12 @@ # Eager loading loads your whole application. When running a single test locally, # this probably isn't necessary. It's a good idea to do in a continuous integration # system, or in some way before deploying your code. - config.eager_load = ENV["CI"].present? + config.eager_load = ENV['CI'].present? # Configure public file server for tests with Cache-Control for performance. config.public_file_server.enabled = true config.public_file_server.headers = { - "Cache-Control" => "public, max-age=#{1.hour.to_i}" + 'Cache-Control' => "public, max-age=#{1.hour.to_i}" } # Show full error reports and disable caching. diff --git a/spec/dummy.7.0/config/initializers/content_security_policy.rb b/spec/dummy/config/initializers/content_security_policy.rb similarity index 100% rename from spec/dummy.7.0/config/initializers/content_security_policy.rb rename to spec/dummy/config/initializers/content_security_policy.rb diff --git a/spec/dummy.7.0/config/initializers/filter_parameter_logging.rb b/spec/dummy/config/initializers/filter_parameter_logging.rb similarity index 100% rename from spec/dummy.7.0/config/initializers/filter_parameter_logging.rb rename to spec/dummy/config/initializers/filter_parameter_logging.rb diff --git a/spec/dummy.7.0/config/initializers/inflections.rb b/spec/dummy/config/initializers/inflections.rb similarity index 100% rename from spec/dummy.7.0/config/initializers/inflections.rb rename to spec/dummy/config/initializers/inflections.rb diff --git a/spec/dummy.7.0/config/initializers/permissions_policy.rb b/spec/dummy/config/initializers/permissions_policy.rb similarity index 100% rename from spec/dummy.7.0/config/initializers/permissions_policy.rb rename to spec/dummy/config/initializers/permissions_policy.rb diff --git a/spec/dummy.7.0/config/locales/en.yml b/spec/dummy/config/locales/en.yml similarity index 100% rename from spec/dummy.7.0/config/locales/en.yml rename to spec/dummy/config/locales/en.yml diff --git a/spec/dummy.7.0/config/puma.rb b/spec/dummy/config/puma.rb similarity index 100% rename from spec/dummy.7.0/config/puma.rb rename to spec/dummy/config/puma.rb diff --git a/spec/dummy.7.0/config/routes.rb b/spec/dummy/config/routes.rb similarity index 89% rename from spec/dummy.7.0/config/routes.rb rename to spec/dummy/config/routes.rb index 56639a5..4657082 100644 --- a/spec/dummy.7.0/config/routes.rb +++ b/spec/dummy/config/routes.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - Rails.application.routes.draw do # Defines the root path route ("/") root to: 'users#index' diff --git a/spec/dummy.7.0/config/storage.yml b/spec/dummy/config/storage.yml similarity index 100% rename from spec/dummy.7.0/config/storage.yml rename to spec/dummy/config/storage.yml diff --git a/spec/dummy/db/development.sqlite3 b/spec/dummy/db/development.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..c2bba60c28b42bebdac52f63411d8a5d9892abf0 GIT binary patch literal 36864 zcmeI*&rTCT9KiA27Fw!8(aRn@I9V<d}{<&DOF$64vC6Rd8tnCOJ+pTW54Iax| z_!ORe8a#S7(UUiwSqipN4kjG5ekZ%r+1Z_CexI2%-420gTN{2P#j94>^djLHvxaFJ z4}>rbBh%m2OPnsLe4=00FXlk`ykf?t zN-vUi*NbdXSEa~r%K4StP>VPE#QB%x>Qia!u4VQn{h%%n;>_)|W!QFGfvbD!`t|sD zsvpE!PDtw<#k}jh{EFZelpjQJ3f;crD+Z#&9|@24|a!qU$v}^7N_;3hVJi%6d^W zjd-H;htcaqt>cL^s=IDsRPE$}nYI=e&EAdU$y3{xP0wxmd!ZNkt)Sihy&^FTbLPBO z>8c5;8lT2IQYKeQq^zCA^FlatW4CaoDyiONrt}-lwAvHdPe%5O%18(xfB*srAbL;>C`uYFpp9_!-U9d=k z$8|zE1Rwwb2tWV=5P$##An^AB?Q%M;n5KBV8PfeaqrT&MA@e<2cN#3DRT|P!Ws|Er zMY~)iW&80~k*K4ZsAOJ!!#=3wi29X7>XXuTnUr?7w#c)cji>g`9@#AJEfDpH)?2LK ziWgLTMnhJ0Xs8nY{Va4FY~ITD`|~EPw^7CTCfT*gl=8|H1=p*x_rbe5U&lDK6*l8@ zXVh>VZB*&h`(#>KS`yp$VxFLK$QsmXxCcHB-KG~@Do72(T&j;$j+h_t&i$DCkqydZ z?NmzHT^bj{r3*XSrJ^)Xi^(W8suO9Ypor~c9Dc{374T6wP0tA;8@C#tC%dEHC_O2@ zB2JvoU*reant*Ru-wgcu5Mo#SA^7clF zcY0bZ@s#PN4WIUU^T54e;|0C%?p@}JvgetUQtsau_d0Xl$)13{Yca3Fy2;c#O$^2M zOXa*r8*G6$&9-&1W3$@1CN~eF!3WY%|2Uvn^^a{@e!ZViSHzHsa%VQ$VS@k!AOHaf zKmY;|fB*y_009U<;JON6{eN9&7I8rU0uX=z1Rwwb2tWV=5P$##E(Eatzp%g&1Rwwb z2tWV=5P$##AOHafK;XIx+=v3h@Bgps^dc?@KmY;|fB*y_009U<00IzzKr9eF|Ci)% zf_%<**dPD_2tWV=5P$##AOHafKmY;|`0oT}B`K@tbR(znmt|;1epVbV$!pQ`e@Q+O zgo ztxCQ|SD3zBv#3_Ea)ny79)FP2ALI<8nGbdIp{6ey`JAb1<7?K%"2"} + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +Redirected to http://test.host/admin/admin +Completed 302 Found in 1ms (ActiveRecord: 0.1ms | Allocations: 613) +Processing by Admin::AdminController#show as HTML + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 452) + TRANSACTION (0.2ms) rollback transaction +  (0.0ms) PRAGMA foreign_keys +  (0.0ms) PRAGMA defer_foreign_keys +  (0.0ms) PRAGMA defer_foreign_keys = ON +  (0.0ms) PRAGMA foreign_keys = OFF +  (0.1ms) TRUNCATE TABLE "sites" +  (0.4ms) DELETE FROM "sites" +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.0ms) DELETE FROM sqlite_sequence where name = 'sites'; +  (0.3ms) TRUNCATE TABLE "users" +  (0.3ms) DELETE FROM "users" +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.0ms) DELETE FROM sqlite_sequence where name = 'users'; +  (0.0ms) PRAGMA defer_foreign_keys = 0 +  (0.0ms) PRAGMA foreign_keys = 1 + TRANSACTION (0.0ms) begin transaction + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + Site Create (0.2ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_3"], ["created_at", "2023-02-03 15:25:17.991803"], ["updated_at", "2023-02-03 15:25:17.991803"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + Site Create (0.1ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_4"], ["created_at", "2023-02-03 15:25:17.992848"], ["updated_at", "2023-02-03 15:25:17.992848"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Richie Huels"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.853896"], ["updated_at", "2023-02-03 15:25:18.853896"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.3ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Wayne Wunsch"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.855487"], ["updated_at", "2023-02-03 15:25:18.855487"]] + TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Venetta Wehner"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.858239"], ["updated_at", "2023-02-03 15:25:18.858239"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (1.4ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Kent Lakin"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.859257"], ["updated_at", "2023-02-03 15:25:18.859257"]] + TRANSACTION (0.2ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + User Create (0.2ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Amb. Keisha Mraz"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.862798"], ["updated_at", "2023-02-03 15:25:18.862798"]] + TRANSACTION (0.2ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Bernadette Lesch"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.867611"], ["updated_at", "2023-02-03 15:25:18.867611"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Otha King"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.869307"], ["updated_at", "2023-02-03 15:25:18.869307"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Lynna Hilpert"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.870202"], ["updated_at", "2023-02-03 15:25:18.870202"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Amb. Tess Farrell"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.873155"], ["updated_at", "2023-02-03 15:25:18.873155"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Cedrick Gusikowski"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.874509"], ["updated_at", "2023-02-03 15:25:18.874509"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Rosemarie Watsica"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.875462"], ["updated_at", "2023-02-03 15:25:18.875462"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Bernie Jones"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.876433"], ["updated_at", "2023-02-03 15:25:18.876433"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Lia Ledner"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.878470"], ["updated_at", "2023-02-03 15:25:18.878470"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Christina Rippin"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.880538"], ["updated_at", "2023-02-03 15:25:18.880538"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.2ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Vincent Reichert JD"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.882317"], ["updated_at", "2023-02-03 15:25:18.882317"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Elicia Kunde"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.883804"], ["updated_at", "2023-02-03 15:25:18.883804"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.2ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Gov. Gladys Hermann"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.884709"], ["updated_at", "2023-02-03 15:25:18.884709"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Janene Schoen"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.886433"], ["updated_at", "2023-02-03 15:25:18.886433"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Tangela Cormier"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.887768"], ["updated_at", "2023-02-03 15:25:18.887768"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Pres. Odelia Schamberger"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.888880"], ["updated_at", "2023-02-03 15:25:18.888880"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by UsersController#index as HTML + Parameters: {"multi_site"=>"url_3"} + Site Load (0.2ms) SELECT "sites".* FROM "sites" WHERE "sites"."url" = ? ORDER BY "sites"."id" ASC LIMIT ? [["url", "url_3"], ["LIMIT", 1]] +Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 697) + Site Load (0.1ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Processing by UsersController#index as HTML + Parameters: {"multi_site"=>"url_4"} + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."url" = ? ORDER BY "sites"."id" ASC LIMIT ? [["url", "url_4"], ["LIMIT", 1]] +Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms | Allocations: 310) + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + TRANSACTION (0.3ms) rollback transaction +  (0.1ms) PRAGMA foreign_keys +  (0.0ms) PRAGMA defer_foreign_keys +  (0.0ms) PRAGMA defer_foreign_keys = ON +  (0.0ms) PRAGMA foreign_keys = OFF +  (0.1ms) TRUNCATE TABLE "sites" +  (0.4ms) DELETE FROM "sites" +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.0ms) DELETE FROM sqlite_sequence where name = 'sites'; +  (0.1ms) TRUNCATE TABLE "users" +  (0.4ms) DELETE FROM "users" +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.0ms) DELETE FROM sqlite_sequence where name = 'users'; +  (0.0ms) PRAGMA defer_foreign_keys = 0 +  (0.0ms) PRAGMA foreign_keys = 1 + TRANSACTION (0.0ms) begin transaction + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + Site Create (0.3ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_5"], ["created_at", "2023-02-03 15:25:18.900211"], ["updated_at", "2023-02-03 15:25:18.900211"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + Site Create (0.1ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_6"], ["created_at", "2023-02-03 15:25:18.901495"], ["updated_at", "2023-02-03 15:25:18.901495"]] + TRANSACTION (0.3ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + Site Create (0.1ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_7"], ["created_at", "2023-02-03 15:25:18.903149"], ["updated_at", "2023-02-03 15:25:18.903149"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Amb. Talitha Roberts"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.904609"], ["updated_at", "2023-02-03 15:25:18.904609"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Sherlene Cruickshank"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.905828"], ["updated_at", "2023-02-03 15:25:18.905828"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Doyle Bechtelar"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.906860"], ["updated_at", "2023-02-03 15:25:18.906860"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Ned Bergnaum DC"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.907876"], ["updated_at", "2023-02-03 15:25:18.907876"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Carter Braun"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.908991"], ["updated_at", "2023-02-03 15:25:18.908991"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + User Create (0.6ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Geoffrey Strosin"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.910462"], ["updated_at", "2023-02-03 15:25:18.910462"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Arden Ortiz"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.913879"], ["updated_at", "2023-02-03 15:25:18.913879"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Sang Quitzon"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.916167"], ["updated_at", "2023-02-03 15:25:18.916167"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Mr. Forrest Hegmann"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.917314"], ["updated_at", "2023-02-03 15:25:18.917314"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Winford Mante"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.918480"], ["updated_at", "2023-02-03 15:25:18.918480"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Bradly Spinka Esq."], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.919387"], ["updated_at", "2023-02-03 15:25:18.919387"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Jerrell Boyle"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.920549"], ["updated_at", "2023-02-03 15:25:18.920549"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Josh O'Connell"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.921627"], ["updated_at", "2023-02-03 15:25:18.921627"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Clement Osinski"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.922838"], ["updated_at", "2023-02-03 15:25:18.922838"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Rob Ondricka"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.923891"], ["updated_at", "2023-02-03 15:25:18.923891"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Gustavo Mayer"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.924618"], ["updated_at", "2023-02-03 15:25:18.924618"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Isabelle Cassin"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.925405"], ["updated_at", "2023-02-03 15:25:18.925405"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Prof. Sebrina Cremin"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.926162"], ["updated_at", "2023-02-03 15:25:18.926162"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Fernando Kirlin"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.926925"], ["updated_at", "2023-02-03 15:25:18.926925"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Deangelo Hirthe"], ["site_id", 1], ["created_at", "2023-02-03 15:25:18.927588"], ["updated_at", "2023-02-03 15:25:18.927588"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Alisha D'Amore"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.928357"], ["updated_at", "2023-02-03 15:25:18.928357"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Vincent Hayes"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.929074"], ["updated_at", "2023-02-03 15:25:18.929074"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Shelby Greenfelder"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.929776"], ["updated_at", "2023-02-03 15:25:18.929776"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Mrs. Brett Kemmer"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.930484"], ["updated_at", "2023-02-03 15:25:18.930484"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Bertie Kessler"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.931169"], ["updated_at", "2023-02-03 15:25:18.931169"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Dorian Keebler DVM"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.931953"], ["updated_at", "2023-02-03 15:25:18.931953"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + User Create (0.3ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Pres. Emery Bergnaum"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.932776"], ["updated_at", "2023-02-03 15:25:18.932776"]] + TRANSACTION (0.2ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.2ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Gay Ziemann"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.936475"], ["updated_at", "2023-02-03 15:25:18.936475"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Ned Botsford"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.941608"], ["updated_at", "2023-02-03 15:25:18.941608"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Miss Delphia Jenkins"], ["site_id", 2], ["created_at", "2023-02-03 15:25:18.943153"], ["updated_at", "2023-02-03 15:25:18.943153"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SELECT COUNT(*) FROM "users" WHERE "users"."site_id" = ? [["site_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."site_id" = ? [["site_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."site_id" = ? [["site_id", 2]] +  (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."site_id" = ? [["site_id", 2]] +  (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."site_id" = ? [["site_id", 3]] + TRANSACTION (0.2ms) rollback transaction + TRANSACTION (0.0ms) begin transaction + TRANSACTION (0.0ms) rollback transaction + ActiveRecord::InternalMetadata Pluck (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "schema_sha1"], ["LIMIT", 1]] + ActiveRecord::SchemaMigration Pluck (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.0ms) PRAGMA foreign_keys +  (0.0ms) PRAGMA defer_foreign_keys +  (0.0ms) PRAGMA defer_foreign_keys = ON +  (0.0ms) PRAGMA foreign_keys = OFF +  (0.3ms) TRUNCATE TABLE "sites" +  (0.4ms) DELETE FROM "sites" +  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.0ms) DELETE FROM sqlite_sequence where name = 'sites'; +  (0.1ms) TRUNCATE TABLE "users" +  (0.3ms) DELETE FROM "users" +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.0ms) DELETE FROM sqlite_sequence where name = 'users'; +  (0.0ms) PRAGMA defer_foreign_keys = 0 +  (0.0ms) PRAGMA foreign_keys = 1 + TRANSACTION (0.0ms) begin transaction + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + Site Create (0.3ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_1"], ["created_at", "2023-02-03 15:25:20.581126"], ["updated_at", "2023-02-03 15:25:20.581126"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + Site Create (0.0ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "another_site"], ["created_at", "2023-02-03 15:25:20.582809"], ["updated_at", "2023-02-03 15:25:20.582809"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Admin::AdminController#show as HTML + Site Load (0.1ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.1ms | Allocations: 2318) + TRANSACTION (0.3ms) rollback transaction + TRANSACTION (0.0ms) begin transaction + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + Site Create (0.4ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_2"], ["created_at", "2023-02-03 15:25:20.621696"], ["updated_at", "2023-02-03 15:25:20.621696"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + Site Create (0.1ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "another_site"], ["created_at", "2023-02-03 15:25:20.623360"], ["updated_at", "2023-02-03 15:25:20.623360"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Admin::AdminController#switch_site as HTML + Parameters: {"site_id"=>"2"} + Site Load (0.1ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +Redirected to http://test.host/admin/admin +Completed 302 Found in 1ms (ActiveRecord: 0.1ms | Allocations: 696) +Processing by Admin::AdminController#show as HTML + Site Load (0.1ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + CACHE Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 448) + TRANSACTION (0.3ms) rollback transaction +  (0.1ms) PRAGMA foreign_keys +  (0.0ms) PRAGMA defer_foreign_keys +  (0.0ms) PRAGMA defer_foreign_keys = ON +  (0.0ms) PRAGMA foreign_keys = OFF +  (0.1ms) TRUNCATE TABLE "sites" +  (0.5ms) DELETE FROM "sites" +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.0ms) DELETE FROM sqlite_sequence where name = 'sites'; +  (0.1ms) TRUNCATE TABLE "users" +  (0.5ms) DELETE FROM "users" +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.0ms) DELETE FROM sqlite_sequence where name = 'users'; +  (0.0ms) PRAGMA defer_foreign_keys = 0 +  (0.0ms) PRAGMA foreign_keys = 1 + TRANSACTION (0.1ms) begin transaction + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + Site Create (0.3ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_3"], ["created_at", "2023-02-03 15:25:20.639270"], ["updated_at", "2023-02-03 15:25:20.639270"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + Site Create (0.1ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_4"], ["created_at", "2023-02-03 15:25:20.640733"], ["updated_at", "2023-02-03 15:25:20.640733"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.1ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Forest Shields"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.567631"], ["updated_at", "2023-02-03 15:25:21.567631"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "The Hon. Tracey Howe"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.569265"], ["updated_at", "2023-02-03 15:25:21.569265"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Msgr. Joe Frami"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.570335"], ["updated_at", "2023-02-03 15:25:21.570335"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Barrie Borer"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.571099"], ["updated_at", "2023-02-03 15:25:21.571099"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Denver Armstrong"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.571788"], ["updated_at", "2023-02-03 15:25:21.571788"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Daron Nader"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.572462"], ["updated_at", "2023-02-03 15:25:21.572462"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Fr. Carson Hamill"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.573171"], ["updated_at", "2023-02-03 15:25:21.573171"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Syble Gutmann"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.573864"], ["updated_at", "2023-02-03 15:25:21.573864"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Ms. Leopoldo Bogisich"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.574633"], ["updated_at", "2023-02-03 15:25:21.574633"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Dante Kuhic"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.575325"], ["updated_at", "2023-02-03 15:25:21.575325"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Barton Mitchell Ret."], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.576053"], ["updated_at", "2023-02-03 15:25:21.576053"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Cora Sauer"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.576730"], ["updated_at", "2023-02-03 15:25:21.576730"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Gerard Welch"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.577388"], ["updated_at", "2023-02-03 15:25:21.577388"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Anibal Towne"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.578043"], ["updated_at", "2023-02-03 15:25:21.578043"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Andrea Baumbach JD"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.578741"], ["updated_at", "2023-02-03 15:25:21.578741"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Dante Gusikowski"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.579399"], ["updated_at", "2023-02-03 15:25:21.579399"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Dr. Tanner Brakus"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.580099"], ["updated_at", "2023-02-03 15:25:21.580099"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Candy Schowalter"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.580764"], ["updated_at", "2023-02-03 15:25:21.580764"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Christie Borer"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.581440"], ["updated_at", "2023-02-03 15:25:21.581440"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Josette Orn"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.582108"], ["updated_at", "2023-02-03 15:25:21.582108"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by UsersController#index as HTML + Parameters: {"multi_site"=>"url_3"} + Site Load (0.1ms) SELECT "sites".* FROM "sites" WHERE "sites"."url" = ? ORDER BY "sites"."id" ASC LIMIT ? [["url", "url_3"], ["LIMIT", 1]] +Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms | Allocations: 649) + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Processing by UsersController#index as HTML + Parameters: {"multi_site"=>"url_4"} + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."url" = ? ORDER BY "sites"."id" ASC LIMIT ? [["url", "url_4"], ["LIMIT", 1]] +Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 293) + Site Load (0.0ms) SELECT "sites".* FROM "sites" WHERE "sites"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + TRANSACTION (0.2ms) rollback transaction +  (0.0ms) PRAGMA foreign_keys +  (0.0ms) PRAGMA defer_foreign_keys +  (0.0ms) PRAGMA defer_foreign_keys = ON +  (0.0ms) PRAGMA foreign_keys = OFF +  (0.1ms) TRUNCATE TABLE "sites" +  (0.5ms) DELETE FROM "sites" +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.0ms) DELETE FROM sqlite_sequence where name = 'sites'; +  (0.1ms) TRUNCATE TABLE "users" +  (0.3ms) DELETE FROM "users" +  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.0ms) DELETE FROM sqlite_sequence where name = 'users'; +  (0.0ms) PRAGMA defer_foreign_keys = 0 +  (0.0ms) PRAGMA foreign_keys = 1 + TRANSACTION (0.0ms) begin transaction + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + Site Create (0.3ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_5"], ["created_at", "2023-02-03 15:25:21.589878"], ["updated_at", "2023-02-03 15:25:21.589878"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + Site Create (0.1ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_6"], ["created_at", "2023-02-03 15:25:21.591191"], ["updated_at", "2023-02-03 15:25:21.591191"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + Site Create (0.0ms) INSERT INTO "sites" ("url", "created_at", "updated_at") VALUES (?, ?, ?) [["url", "url_7"], ["created_at", "2023-02-03 15:25:21.591928"], ["updated_at", "2023-02-03 15:25:21.591928"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Tiffanie Grant II"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.592866"], ["updated_at", "2023-02-03 15:25:21.592866"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Donna Pfeffer"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.593652"], ["updated_at", "2023-02-03 15:25:21.593652"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Deon Glover"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.594373"], ["updated_at", "2023-02-03 15:25:21.594373"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Jessenia Connelly CPA"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.595091"], ["updated_at", "2023-02-03 15:25:21.595091"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Laree Spinka"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.595791"], ["updated_at", "2023-02-03 15:25:21.595791"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Reginia Kassulke Sr."], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.596570"], ["updated_at", "2023-02-03 15:25:21.596570"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Cuc Funk"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.597258"], ["updated_at", "2023-02-03 15:25:21.597258"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Bryon Zemlak DVM"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.597984"], ["updated_at", "2023-02-03 15:25:21.597984"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Joe Johnston"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.598693"], ["updated_at", "2023-02-03 15:25:21.598693"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Riley Baumbach"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.599376"], ["updated_at", "2023-02-03 15:25:21.599376"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Maureen Schiller"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.600052"], ["updated_at", "2023-02-03 15:25:21.600052"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Josefina Kerluke DDS"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.600753"], ["updated_at", "2023-02-03 15:25:21.600753"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Pres. Arden Walter"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.601469"], ["updated_at", "2023-02-03 15:25:21.601469"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Shayna Abshire"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.602133"], ["updated_at", "2023-02-03 15:25:21.602133"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Dr. Etha Green"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.602857"], ["updated_at", "2023-02-03 15:25:21.602857"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Ben Kessler"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.603568"], ["updated_at", "2023-02-03 15:25:21.603568"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Eugene Hahn"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.604264"], ["updated_at", "2023-02-03 15:25:21.604264"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.1ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Krysten Schoen"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.604980"], ["updated_at", "2023-02-03 15:25:21.604980"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Agnes Brown"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.605911"], ["updated_at", "2023-02-03 15:25:21.605911"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Kerry Senger"], ["site_id", 1], ["created_at", "2023-02-03 15:25:21.606735"], ["updated_at", "2023-02-03 15:25:21.606735"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Pa Swaniawski"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.607448"], ["updated_at", "2023-02-03 15:25:21.607448"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Prof. Claudio Lang"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.608143"], ["updated_at", "2023-02-03 15:25:21.608143"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Yee Kertzmann"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.608813"], ["updated_at", "2023-02-03 15:25:21.608813"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Amb. Nieves Kuhn"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.609505"], ["updated_at", "2023-02-03 15:25:21.609505"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Edgardo Deckow II"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.610186"], ["updated_at", "2023-02-03 15:25:21.610186"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Contessa Ward"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.610846"], ["updated_at", "2023-02-03 15:25:21.610846"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Margorie Roberts MD"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.611534"], ["updated_at", "2023-02-03 15:25:21.611534"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Mandi Jenkins"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.612226"], ["updated_at", "2023-02-03 15:25:21.612226"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Edmond Kihn"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.612906"], ["updated_at", "2023-02-03 15:25:21.612906"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + TRANSACTION (0.0ms) SAVEPOINT active_record_1 + User Create (0.0ms) INSERT INTO "users" ("login", "site_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["login", "Tammie Collier I"], ["site_id", 2], ["created_at", "2023-02-03 15:25:21.613632"], ["updated_at", "2023-02-03 15:25:21.613632"]] + TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1 + User Count (0.1ms) SELECT COUNT(*) FROM "users" WHERE "users"."site_id" = ? [["site_id", 1]] + User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."site_id" = ? [["site_id", 1]] + User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."site_id" = ? [["site_id", 2]] + User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."site_id" = ? [["site_id", 2]] + User Count (0.0ms) SELECT COUNT(*) FROM "users" WHERE "users"."site_id" = ? [["site_id", 3]] + TRANSACTION (0.2ms) rollback transaction + TRANSACTION (0.0ms) begin transaction + TRANSACTION (0.0ms) rollback transaction diff --git a/spec/dummy.6.0/public/404.html b/spec/dummy/public/404.html similarity index 100% rename from spec/dummy.6.0/public/404.html rename to spec/dummy/public/404.html diff --git a/spec/dummy.6.0/public/422.html b/spec/dummy/public/422.html similarity index 100% rename from spec/dummy.6.0/public/422.html rename to spec/dummy/public/422.html diff --git a/spec/dummy.6.0/public/500.html b/spec/dummy/public/500.html similarity index 100% rename from spec/dummy.6.0/public/500.html rename to spec/dummy/public/500.html diff --git a/spec/dummy.6.0/public/apple-touch-icon-precomposed.png b/spec/dummy/public/apple-touch-icon-precomposed.png similarity index 100% rename from spec/dummy.6.0/public/apple-touch-icon-precomposed.png rename to spec/dummy/public/apple-touch-icon-precomposed.png diff --git a/spec/dummy.6.0/public/apple-touch-icon.png b/spec/dummy/public/apple-touch-icon.png similarity index 100% rename from spec/dummy.6.0/public/apple-touch-icon.png rename to spec/dummy/public/apple-touch-icon.png diff --git a/spec/dummy.6.0/public/favicon.ico b/spec/dummy/public/favicon.ico similarity index 100% rename from spec/dummy.6.0/public/favicon.ico rename to spec/dummy/public/favicon.ico diff --git a/spec/dummy.6.0/log/.keep b/spec/dummy/storage/.keep similarity index 100% rename from spec/dummy.6.0/log/.keep rename to spec/dummy/storage/.keep diff --git a/spec/dummy.6.0/storage/.keep b/spec/dummy/tmp/.keep similarity index 100% rename from spec/dummy.6.0/storage/.keep rename to spec/dummy/tmp/.keep diff --git a/spec/dummy/tmp/development_secret.txt b/spec/dummy/tmp/development_secret.txt new file mode 100644 index 0000000..fb2bf20 --- /dev/null +++ b/spec/dummy/tmp/development_secret.txt @@ -0,0 +1 @@ +fd9c516074043ad27a7ec780f964c2bb146fd2ab6399108179c0a7e3bf69998df32366644082e166076843c5b388c96bfaddf393d271dd469b2324e1e1c0b363 \ No newline at end of file diff --git a/spec/dummy.6.0/test/controllers/.keep b/spec/dummy/tmp/pids/.keep similarity index 100% rename from spec/dummy.6.0/test/controllers/.keep rename to spec/dummy/tmp/pids/.keep diff --git a/spec/dummy.6.0/test/fixtures/.keep b/spec/dummy/tmp/storage/.keep similarity index 100% rename from spec/dummy.6.0/test/fixtures/.keep rename to spec/dummy/tmp/storage/.keep diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 869ac61..55486a6 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -5,7 +5,8 @@ ENV['RAILS_ENV'] ||= 'test' require 'faker' require 'factory_bot' -require_relative "dummy.#{Rails.version.to_f}/config/environment" +require 'database_cleaner' +require_relative 'dummy/config/environment' require 'rspec/rails' begin @@ -25,4 +26,13 @@ config.before(:suite) do FactoryBot.find_definitions end + + config.before(:all) do + DatabaseCleaner.strategy = :transaction + DatabaseCleaner.clean_with(:truncation) + end + + config.after(:all) do + DatabaseCleaner.clean + end end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 06e09a3..a7d360f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true