Skip to content

Commit

Permalink
Dummy Rails 7.2 app
Browse files Browse the repository at this point in the history
  • Loading branch information
fidel committed Jan 2, 2025
1 parent dd0ca4a commit 0ef9eef
Show file tree
Hide file tree
Showing 20 changed files with 686 additions and 0 deletions.
14 changes: 14 additions & 0 deletions rails_event_store/spec/dummy_7_2/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# frozen_string_literal: true

source "https://rubygems.org"

gem "rails_event_store", path: "../../"
gem "ruby_event_store", path: "../../../ruby_event_store"
gem "ruby_event_store-browser", path: "../../../ruby_event_store-browser"
gem "ruby_event_store-active_record",
path: "../../../ruby_event_store-active_record"
gem "rails_event_store_active_record",
path: "../../../ruby_event_store-active_record"
gem "aggregate_root", path: "../../../aggregate_root"

gem "rails", "~> 7.2.2", ">= 7.2.2.1"
253 changes: 253 additions & 0 deletions rails_event_store/spec/dummy_7_2/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,253 @@
PATH
remote: ../../../aggregate_root
specs:
aggregate_root (2.15.0)
ruby_event_store (= 2.15.0)

PATH
remote: ../../../ruby_event_store-active_record
specs:
rails_event_store_active_record (2.15.0)
ruby_event_store-active_record (= 2.15.0)
ruby_event_store-active_record (2.15.0)
activerecord (>= 6.0)
ruby_event_store (= 2.15.0)

PATH
remote: ../../../ruby_event_store-browser
specs:
ruby_event_store-browser (2.15.0)
rack
ruby_event_store (= 2.15.0)

PATH
remote: ../../../ruby_event_store
specs:
ruby_event_store (2.15.0)
concurrent-ruby (~> 1.0, >= 1.1.6)

PATH
remote: ../..
specs:
rails_event_store (2.15.0)
activejob (>= 6.0)
activemodel (>= 6.0)
activesupport (>= 6.0)
aggregate_root (= 2.15.0)
arkency-command_bus (>= 0.4)
rails_event_store_active_record (= 2.15.0)
ruby_event_store (= 2.15.0)
ruby_event_store-browser (= 2.15.0)

GEM
remote: https://rubygems.org/
specs:
actioncable (7.2.2.1)
actionpack (= 7.2.2.1)
activesupport (= 7.2.2.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
actionmailbox (7.2.2.1)
actionpack (= 7.2.2.1)
activejob (= 7.2.2.1)
activerecord (= 7.2.2.1)
activestorage (= 7.2.2.1)
activesupport (= 7.2.2.1)
mail (>= 2.8.0)
actionmailer (7.2.2.1)
actionpack (= 7.2.2.1)
actionview (= 7.2.2.1)
activejob (= 7.2.2.1)
activesupport (= 7.2.2.1)
mail (>= 2.8.0)
rails-dom-testing (~> 2.2)
actionpack (7.2.2.1)
actionview (= 7.2.2.1)
activesupport (= 7.2.2.1)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4, < 3.2)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actiontext (7.2.2.1)
actionpack (= 7.2.2.1)
activerecord (= 7.2.2.1)
activestorage (= 7.2.2.1)
activesupport (= 7.2.2.1)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.2.2.1)
activesupport (= 7.2.2.1)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (7.2.2.1)
activesupport (= 7.2.2.1)
globalid (>= 0.3.6)
activemodel (7.2.2.1)
activesupport (= 7.2.2.1)
activerecord (7.2.2.1)
activemodel (= 7.2.2.1)
activesupport (= 7.2.2.1)
timeout (>= 0.4.0)
activestorage (7.2.2.1)
actionpack (= 7.2.2.1)
activejob (= 7.2.2.1)
activerecord (= 7.2.2.1)
activesupport (= 7.2.2.1)
marcel (~> 1.0)
activesupport (7.2.2.1)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
arkency-command_bus (0.4.1)
concurrent-ruby
base64 (0.2.0)
benchmark (0.4.0)
bigdecimal (3.1.9)
builder (3.3.0)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
crass (1.0.6)
date (3.4.1)
drb (2.2.1)
erubi (1.13.1)
globalid (1.2.1)
activesupport (>= 6.1)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
io-console (0.8.0)
irb (1.14.3)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
logger (1.6.4)
loofah (2.24.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mail (2.8.1)
mini_mime (>= 0.1.1)
net-imap
net-pop
net-smtp
marcel (1.0.4)
mini_mime (1.1.5)
minitest (5.25.4)
net-imap (0.5.4)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.2)
timeout
net-smtp (0.5.0)
net-protocol
nio4r (2.7.4)
nokogiri (1.18.1-aarch64-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.1-aarch64-linux-musl)
racc (~> 1.4)
nokogiri (1.18.1-arm-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.1-arm-linux-musl)
racc (~> 1.4)
nokogiri (1.18.1-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.1-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.18.1-x86_64-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.1-x86_64-linux-musl)
racc (~> 1.4)
psych (5.2.2)
date
stringio
racc (1.8.1)
rack (3.1.8)
rack-session (2.0.0)
rack (>= 3.0.0)
rack-test (2.2.0)
rack (>= 1.3)
rackup (2.2.1)
rack (>= 3)
rails (7.2.2.1)
actioncable (= 7.2.2.1)
actionmailbox (= 7.2.2.1)
actionmailer (= 7.2.2.1)
actionpack (= 7.2.2.1)
actiontext (= 7.2.2.1)
actionview (= 7.2.2.1)
activejob (= 7.2.2.1)
activemodel (= 7.2.2.1)
activerecord (= 7.2.2.1)
activestorage (= 7.2.2.1)
activesupport (= 7.2.2.1)
bundler (>= 1.15.0)
railties (= 7.2.2.1)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.2)
loofah (~> 2.21)
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
railties (7.2.2.1)
actionpack (= 7.2.2.1)
activesupport (= 7.2.2.1)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rake (13.2.1)
rdoc (6.10.0)
psych (>= 4.0.0)
reline (0.6.0)
io-console (~> 0.5)
securerandom (0.4.1)
stringio (3.1.2)
thor (1.3.2)
timeout (0.4.3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
useragent (0.16.11)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
zeitwerk (2.7.1)

PLATFORMS
aarch64-linux
aarch64-linux-gnu
aarch64-linux-musl
arm-linux-gnu
arm-linux-musl
arm64-darwin
x86_64-darwin
x86_64-linux
x86_64-linux-gnu
x86_64-linux-musl

DEPENDENCIES
aggregate_root!
rails (~> 7.2.2, >= 7.2.2.1)
rails_event_store!
rails_event_store_active_record!
ruby_event_store!
ruby_event_store-active_record!
ruby_event_store-browser!

BUNDLED WITH
2.5.23
6 changes: 6 additions & 0 deletions rails_event_store/spec/dummy_7_2/Rakefile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions rails_event_store/spec/dummy_7_2/bin/rails
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env ruby
APP_PATH = File.expand_path("../config/application", __dir__)
require_relative "../config/boot"
require "rails/commands"
42 changes: 42 additions & 0 deletions rails_event_store/spec/dummy_7_2/config/application.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
require_relative "boot"

require "rails"
# Pick the frameworks you want:
require "active_model/railtie"
# require "active_job/railtie"
# require "active_record/railtie"
# require "active_storage/engine"
require "action_controller/railtie"
# require "action_mailer/railtie"
# require "action_mailbox/engine"
# require "action_text/engine"
require "action_view/railtie"
# require "action_cable/engine"
require "rails/test_unit/railtie"

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

module Dummy72
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.2

# Please, add to the `ignore` list any other `lib` subdirectories that do
# not contain `.rb` files, or that should not be reloaded or eager loaded.
# Common ones are `templates`, `generators`, or `middleware`, for example.
config.autoload_lib(ignore: %w[assets tasks])

# 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")

# Don't generate system test files.
config.generators.system_tests = nil
end
end
3 changes: 3 additions & 0 deletions rails_event_store/spec/dummy_7_2/config/boot.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)

require "bundler/setup" # Set up gems listed in the Gemfile.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
L8SLqv3Pudy+oahd8KxXTvrbuzfeDJ5BRjRD8GptQAeQXz1vU1VLwUlvS3Rv3Xr1nLGYEQMZNZoV1kxfA6xVCn3pUxp/4Bna6I6+xPOQJoMZCFYYnbKi5RjlHwph6iMe4tuAaBQdpG9R0xlIyEsQcuwpFYC0V9FWD9CLC+IxZt4qIh6Q+Uv/Tx5d9RXth3utOlNT11QSNbS1WdfIqCkHzX9rSZ7ADJyhH9pjj9gOS0+oi8UdnuQ0mM651XjtrL7+gqKcQBN1uVJ4QAeOIHhtOniDBrYRZcVmAJI65Od+KflGtkGdk0aaq92Y6ZcM/7Mcms+oWTHn3JUxJs9r7szne3nbYovZcsl6wipLwnHUl5SX4hoa3MpKYSrXL7039tDh/2AsZsGPOWfpnXU5JS6Y9D5I2FQZ--Jzaouos3g5gl8gS5--QvIsS/Z/i8VfXGqlWNmUww==
5 changes: 5 additions & 0 deletions rails_event_store/spec/dummy_7_2/config/environment.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Load the Rails application.
require_relative "application"

# Initialize the Rails application.
Rails.application.initialize!
Loading

0 comments on commit 0ef9eef

Please sign in to comment.