From af2d657939e2614046781068968c5014090a6c48 Mon Sep 17 00:00:00 2001 From: Szymon Fiedler Date: Thu, 2 Jan 2025 21:40:17 +0100 Subject: [PATCH] Rails 6.0 reached EOL 2023-06-01 Removing leftovers, making room for Rails 7.2 testing. --- .github/workflows/rails_event_store_test.yml | 2 - .../ruby_event_store-active_record_test.yml | 4 - .../ruby_event_store-flipper_test.yml | 2 - .../ruby_event_store-outbox_test.yml | 3 - .../ruby_event_store-protobuf_test.yml | 3 - .../Gemfile.activesupport_6_0 | 12 - .../Gemfile.activesupport_6_0.lock | 92 ------- .../ruby_event_store-outbox/Gemfile.rails_6_0 | 12 - .../Gemfile.rails_6_0.lock | 231 ---------------- .../Gemfile.rails_6_0 | 15 -- .../Gemfile.rails_6_0.lock | 242 ----------------- rails_event_store/Gemfile.rails_6_0 | 15 -- rails_event_store/Gemfile.rails_6_0.lock | 246 ------------------ rails_event_store/spec/dummy_6_0/Gemfile | 12 - rails_event_store/spec/dummy_6_0/Gemfile.lock | 204 --------------- rails_event_store/spec/dummy_6_0/Rakefile | 8 - rails_event_store/spec/dummy_6_0/bin/rails | 4 - .../spec/dummy_6_0/config/application.rb | 34 --- .../spec/dummy_6_0/config/boot.rb | 5 - .../spec/dummy_6_0/config/credentials.yml.enc | 1 - .../spec/dummy_6_0/config/environment.rb | 7 - .../config/environments/development.rb | 40 --- .../config/environments/production.rb | 91 ------- .../dummy_6_0/config/environments/test.rb | 38 --- .../application_controller_renderer.rb | 10 - .../initializers/backtrace_silencers.rb | 9 - .../initializers/content_security_policy.rb | 27 -- .../config/initializers/cookies_serializer.rb | 7 - .../initializers/filter_parameter_logging.rb | 6 - .../config/initializers/inflections.rb | 18 -- .../config/initializers/mime_types.rb | 6 - .../config/initializers/wrap_parameters.rb | 9 - .../spec/dummy_6_0/config/locales/en.yml | 33 --- .../spec/dummy_6_0/config/master.key | 1 - .../spec/dummy_6_0/config/routes.rb | 5 - .../spec/dummy_6_0/config/spring.rb | 3 - .../spec/dummy_6_0/test/test_helper.rb | 12 - ...event_id_index_migration_generator_spec.rb | 5 - ...ey_on_event_id_migration_generator_spec.rb | 11 +- .../spec/rails_migration_generator_spec.rb | 13 +- .../Gemfile.activerecord_6_0 | 12 - .../Gemfile.activerecord_6_0.lock | 100 ------- ...event_id_index_migration_generator_spec.rb | 8 - ...ey_on_event_id_migration_generator_spec.rb | 14 +- .../spec/migration_generator_spec.rb | 16 +- 45 files changed, 16 insertions(+), 1632 deletions(-) delete mode 100644 contrib/ruby_event_store-flipper/Gemfile.activesupport_6_0 delete mode 100644 contrib/ruby_event_store-flipper/Gemfile.activesupport_6_0.lock delete mode 100644 contrib/ruby_event_store-outbox/Gemfile.rails_6_0 delete mode 100644 contrib/ruby_event_store-outbox/Gemfile.rails_6_0.lock delete mode 100644 contrib/ruby_event_store-protobuf/Gemfile.rails_6_0 delete mode 100644 contrib/ruby_event_store-protobuf/Gemfile.rails_6_0.lock delete mode 100644 rails_event_store/Gemfile.rails_6_0 delete mode 100644 rails_event_store/Gemfile.rails_6_0.lock delete mode 100644 rails_event_store/spec/dummy_6_0/Gemfile delete mode 100644 rails_event_store/spec/dummy_6_0/Gemfile.lock delete mode 100644 rails_event_store/spec/dummy_6_0/Rakefile delete mode 100755 rails_event_store/spec/dummy_6_0/bin/rails delete mode 100644 rails_event_store/spec/dummy_6_0/config/application.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/boot.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/credentials.yml.enc delete mode 100644 rails_event_store/spec/dummy_6_0/config/environment.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/environments/development.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/environments/production.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/environments/test.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/initializers/application_controller_renderer.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/initializers/backtrace_silencers.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/initializers/content_security_policy.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/initializers/cookies_serializer.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/initializers/filter_parameter_logging.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/initializers/inflections.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/initializers/mime_types.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/initializers/wrap_parameters.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/locales/en.yml delete mode 100644 rails_event_store/spec/dummy_6_0/config/master.key delete mode 100644 rails_event_store/spec/dummy_6_0/config/routes.rb delete mode 100644 rails_event_store/spec/dummy_6_0/config/spring.rb delete mode 100644 rails_event_store/spec/dummy_6_0/test/test_helper.rb delete mode 100644 ruby_event_store-active_record/Gemfile.activerecord_6_0 delete mode 100644 ruby_event_store-active_record/Gemfile.activerecord_6_0.lock diff --git a/.github/workflows/rails_event_store_test.yml b/.github/workflows/rails_event_store_test.yml index 1bd30d7682..21d9ea2511 100644 --- a/.github/workflows/rails_event_store_test.yml +++ b/.github/workflows/rails_event_store_test.yml @@ -53,8 +53,6 @@ jobs: bundle_gemfile: Gemfile.rails_7_0 - ruby_version: ruby-3.3 bundle_gemfile: Gemfile.rails_6_1 - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.rails_6_0 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/ruby_event_store-active_record_test.yml b/.github/workflows/ruby_event_store-active_record_test.yml index cb0a24314d..8f2f53f464 100644 --- a/.github/workflows/ruby_event_store-active_record_test.yml +++ b/.github/workflows/ruby_event_store-active_record_test.yml @@ -98,10 +98,6 @@ jobs: bundle_gemfile: Gemfile.activerecord_6_1 database_url: sqlite3:db.sqlite3 data_type: binary - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.activerecord_6_0 - database_url: sqlite3:db.sqlite3 - data_type: binary - ruby_version: ruby-3.3 bundle_gemfile: Gemfile database_url: postgres://postgres:secret@localhost:10015/rails_event_store diff --git a/.github/workflows/ruby_event_store-flipper_test.yml b/.github/workflows/ruby_event_store-flipper_test.yml index 4409a1525e..0993cd158e 100644 --- a/.github/workflows/ruby_event_store-flipper_test.yml +++ b/.github/workflows/ruby_event_store-flipper_test.yml @@ -43,8 +43,6 @@ jobs: bundle_gemfile: Gemfile.activesupport_7_0 - ruby_version: ruby-3.3 bundle_gemfile: Gemfile.activesupport_6_1 - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.activesupport_6_0 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/ruby_event_store-outbox_test.yml b/.github/workflows/ruby_event_store-outbox_test.yml index 4bc2ea2c2f..dc58f1555b 100644 --- a/.github/workflows/ruby_event_store-outbox_test.yml +++ b/.github/workflows/ruby_event_store-outbox_test.yml @@ -66,9 +66,6 @@ jobs: - ruby_version: ruby-3.3 bundle_gemfile: Gemfile.rails_6_1 database_url: sqlite3:db.sqlite3 - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.rails_6_0 - database_url: sqlite3:db.sqlite3 - ruby_version: ruby-3.3 bundle_gemfile: Gemfile.sidekiq_6_5 database_url: sqlite3:db.sqlite3 diff --git a/.github/workflows/ruby_event_store-protobuf_test.yml b/.github/workflows/ruby_event_store-protobuf_test.yml index 8f2ef6dd06..69fa02f4e3 100644 --- a/.github/workflows/ruby_event_store-protobuf_test.yml +++ b/.github/workflows/ruby_event_store-protobuf_test.yml @@ -46,9 +46,6 @@ jobs: - ruby_version: ruby-3.2 bundle_gemfile: Gemfile.rails_6_1 database_url: sqlite3:db.sqlite3 - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile.rails_6_0 - database_url: sqlite3:db.sqlite3 steps: - uses: actions/checkout@v4 with: diff --git a/contrib/ruby_event_store-flipper/Gemfile.activesupport_6_0 b/contrib/ruby_event_store-flipper/Gemfile.activesupport_6_0 deleted file mode 100644 index abb50adff9..0000000000 --- a/contrib/ruby_event_store-flipper/Gemfile.activesupport_6_0 +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -source "https://rubygems.org" -gemspec - -eval_gemfile "../../support/bundler/Gemfile.shared" -gem "ruby_event_store", path: "../.." -gem "ruby_event_store-rspec", path: "../.." - -gem "flipper", "~> 0.19" -gem "byebug" -gem "activesupport", "~> 6.0.5" diff --git a/contrib/ruby_event_store-flipper/Gemfile.activesupport_6_0.lock b/contrib/ruby_event_store-flipper/Gemfile.activesupport_6_0.lock deleted file mode 100644 index a7c80ceee8..0000000000 --- a/contrib/ruby_event_store-flipper/Gemfile.activesupport_6_0.lock +++ /dev/null @@ -1,92 +0,0 @@ -PATH - remote: ../.. - specs: - ruby_event_store (2.15.0) - concurrent-ruby (~> 1.0, >= 1.1.6) - ruby_event_store-rspec (2.15.0) - rspec (~> 3.0) - -PATH - remote: . - specs: - ruby_event_store-flipper (0.2.1) - ruby_event_store (>= 1.0.0) - -GEM - remote: https://rubygems.org/ - specs: - 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) - ast (2.4.2) - byebug (11.1.3) - concurrent-ruby (1.3.3) - diff-lcs (1.5.1) - flipper (0.28.3) - concurrent-ruby (< 2) - i18n (1.14.5) - concurrent-ruby (~> 1.0) - minitest (5.23.1) - mutant (0.12.0) - diff-lcs (~> 1.3) - parser (~> 3.3.0) - regexp_parser (~> 2.9.0) - sorbet-runtime (~> 0.5.0) - unparser (~> 0.6.9) - mutant-minitest (0.12.0) - minitest (~> 5.11) - mutant (= 0.12.0) - mutant-rspec (0.12.0) - mutant (= 0.12.0) - rspec-core (>= 3.8.0, < 4.0.0) - parser (3.3.3.0) - ast (~> 2.4.1) - racc - racc (1.8.0) - rake (13.2.1) - regexp_parser (2.9.2) - rspec (3.13.0) - rspec-core (~> 3.13.0) - rspec-expectations (~> 3.13.0) - rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) - rspec-support (~> 3.13.0) - rspec-expectations (3.13.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-support (3.13.1) - sorbet-runtime (0.5.11429) - thread_safe (0.3.6) - tzinfo (1.2.11) - thread_safe (~> 0.1) - unparser (0.6.14) - diff-lcs (~> 1.3) - parser (>= 3.3.0) - zeitwerk (2.6.15) - -PLATFORMS - arm64-darwin - x86_64-darwin - x86_64-linux - -DEPENDENCIES - activesupport (~> 6.0.5) - byebug - flipper (~> 0.19) - mutant (= 0.12.0) - mutant-minitest (= 0.12.0) - mutant-rspec (= 0.12.0) - rake (>= 10.0) - rspec (~> 3.6) - ruby_event_store! - ruby_event_store-flipper! - ruby_event_store-rspec! - -BUNDLED WITH - 2.5.15 diff --git a/contrib/ruby_event_store-outbox/Gemfile.rails_6_0 b/contrib/ruby_event_store-outbox/Gemfile.rails_6_0 deleted file mode 100644 index fd89c6787b..0000000000 --- a/contrib/ruby_event_store-outbox/Gemfile.rails_6_0 +++ /dev/null @@ -1,12 +0,0 @@ -source "https://rubygems.org" -gemspec - -eval_gemfile "../../support/bundler/Gemfile.shared" -eval_gemfile "../../support/bundler/Gemfile.database" - -gem "ruby_event_store", path: "../.." - -gem "sidekiq", "~> 7.2" -gem "influxdb", "~> 0.8.1", require: false -gem "childprocess" -gem "rails", "~> 6.0.6" diff --git a/contrib/ruby_event_store-outbox/Gemfile.rails_6_0.lock b/contrib/ruby_event_store-outbox/Gemfile.rails_6_0.lock deleted file mode 100644 index 45b5fad441..0000000000 --- a/contrib/ruby_event_store-outbox/Gemfile.rails_6_0.lock +++ /dev/null @@ -1,231 +0,0 @@ -PATH - remote: ../.. - specs: - ruby_event_store (2.15.0) - concurrent-ruby (~> 1.0, >= 1.1.6) - -PATH - remote: . - specs: - ruby_event_store-outbox (0.0.28) - activerecord (>= 6.0) - ruby_event_store (>= 1.0.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) - ast (2.4.2) - builder (3.3.0) - childprocess (5.0.0) - concurrent-ruby (1.3.3) - connection_pool (2.4.1) - crass (1.0.6) - date (3.3.4) - diff-lcs (1.5.1) - erubi (1.12.0) - globalid (1.1.0) - activesupport (>= 5.0) - i18n (1.14.5) - concurrent-ruby (~> 1.0) - influxdb (0.8.1) - loofah (2.22.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) - method_source (1.1.0) - mini_mime (1.1.5) - minitest (5.23.1) - mutant (0.12.0) - diff-lcs (~> 1.3) - parser (~> 3.3.0) - regexp_parser (~> 2.9.0) - sorbet-runtime (~> 0.5.0) - unparser (~> 0.6.9) - mutant-minitest (0.12.0) - minitest (~> 5.11) - mutant (= 0.12.0) - mutant-rspec (0.12.0) - mutant (= 0.12.0) - rspec-core (>= 3.8.0, < 4.0.0) - mysql2 (0.5.6) - net-imap (0.4.12) - 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.3) - nokogiri (1.16.5-arm64-darwin) - racc (~> 1.4) - nokogiri (1.16.5-x86_64-darwin) - racc (~> 1.4) - nokogiri (1.16.5-x86_64-linux) - racc (~> 1.4) - parser (3.3.3.0) - ast (~> 2.4.1) - racc - pg (1.5.6) - racc (1.8.0) - rack (2.2.9) - rack-test (2.1.0) - 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.2.0) - activesupport (>= 5.0.0) - minitest - nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) - loofah (~> 2.21) - nokogiri (~> 1.14) - 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.2.1) - redis-client (0.22.2) - connection_pool - regexp_parser (2.9.2) - rspec (3.13.0) - rspec-core (~> 3.13.0) - rspec-expectations (~> 3.13.0) - rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) - rspec-support (~> 3.13.0) - rspec-expectations (3.13.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-support (3.13.1) - sidekiq (7.2.4) - concurrent-ruby (< 2) - connection_pool (>= 2.3.0) - rack (>= 2.2.4) - redis-client (>= 0.19.0) - sorbet-runtime (0.5.11429) - sprockets (4.2.1) - 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.7.3-arm64-darwin) - sqlite3 (1.7.3-x86_64-darwin) - sqlite3 (1.7.3-x86_64-linux) - thor (1.3.1) - thread_safe (0.3.6) - timeout (0.4.1) - tzinfo (1.2.11) - thread_safe (~> 0.1) - unparser (0.6.14) - diff-lcs (~> 1.3) - parser (>= 3.3.0) - websocket-driver (0.7.6) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - zeitwerk (2.6.15) - -PLATFORMS - arm64-darwin - x86_64-darwin - x86_64-linux - -DEPENDENCIES - childprocess - influxdb (~> 0.8.1) - mutant (= 0.12.0) - mutant-minitest (= 0.12.0) - mutant-rspec (= 0.12.0) - mysql2 (~> 0.5.6) - pg (~> 1.5.6) - rails (~> 6.0.6) - rake (>= 10.0) - rspec (~> 3.6) - ruby_event_store! - ruby_event_store-outbox! - sidekiq (~> 7.2) - sqlite3 (~> 1.7) - -BUNDLED WITH - 2.5.15 diff --git a/contrib/ruby_event_store-protobuf/Gemfile.rails_6_0 b/contrib/ruby_event_store-protobuf/Gemfile.rails_6_0 deleted file mode 100644 index 5226304c53..0000000000 --- a/contrib/ruby_event_store-protobuf/Gemfile.rails_6_0 +++ /dev/null @@ -1,15 +0,0 @@ -source "https://rubygems.org" -gemspec - -eval_gemfile "../../support/bundler/Gemfile.shared" - -gem "ruby_event_store", path: "../.." -gem "aggregate_root", path: "../.." -gem "rails_event_store", path: "../.." -gem "ruby_event_store-active_record", path: "../.." -gem "rails_event_store_active_record", path: "../.." -gem "ruby_event_store-browser", path: "../.." - -gem "protobuf_nested_struct" -gem "google-protobuf", "~> 3.24" -gem "rails", "~> 6.0.6" diff --git a/contrib/ruby_event_store-protobuf/Gemfile.rails_6_0.lock b/contrib/ruby_event_store-protobuf/Gemfile.rails_6_0.lock deleted file mode 100644 index 80b26dc0e3..0000000000 --- a/contrib/ruby_event_store-protobuf/Gemfile.rails_6_0.lock +++ /dev/null @@ -1,242 +0,0 @@ -PATH - remote: ../.. - specs: - aggregate_root (2.15.0) - ruby_event_store (= 2.15.0) - 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) - rails_event_store_active_record (2.15.0) - ruby_event_store-active_record (= 2.15.0) - ruby_event_store (2.15.0) - concurrent-ruby (~> 1.0, >= 1.1.6) - ruby_event_store-active_record (2.15.0) - activerecord (>= 6.0) - ruby_event_store (= 2.15.0) - ruby_event_store-browser (2.15.0) - rack - ruby_event_store (= 2.15.0) - -PATH - remote: . - specs: - ruby_event_store-protobuf (1.0.0) - ruby_event_store (>= 2.0.0, < 3.0.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) - arkency-command_bus (0.4.1) - concurrent-ruby - ast (2.4.2) - builder (3.3.0) - concurrent-ruby (1.3.3) - crass (1.0.6) - date (3.3.4) - diff-lcs (1.5.1) - erubi (1.12.0) - globalid (1.1.0) - activesupport (>= 5.0) - google-protobuf (3.25.2-arm64-darwin) - google-protobuf (3.25.2-x86_64-darwin) - google-protobuf (3.25.2-x86_64-linux) - i18n (1.14.5) - concurrent-ruby (~> 1.0) - loofah (2.22.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) - method_source (1.1.0) - mini_mime (1.1.5) - minitest (5.23.1) - mutant (0.12.0) - diff-lcs (~> 1.3) - parser (~> 3.3.0) - regexp_parser (~> 2.9.0) - sorbet-runtime (~> 0.5.0) - unparser (~> 0.6.9) - mutant-minitest (0.12.0) - minitest (~> 5.11) - mutant (= 0.12.0) - mutant-rspec (0.12.0) - mutant (= 0.12.0) - rspec-core (>= 3.8.0, < 4.0.0) - net-imap (0.4.12) - 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.3) - nokogiri (1.16.5-arm64-darwin) - racc (~> 1.4) - nokogiri (1.16.5-x86_64-darwin) - racc (~> 1.4) - nokogiri (1.16.5-x86_64-linux) - racc (~> 1.4) - parser (3.3.3.0) - ast (~> 2.4.1) - racc - protobuf_nested_struct (1.1.0) - google-protobuf - racc (1.8.0) - rack (2.2.9) - rack-test (2.1.0) - 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.2.0) - activesupport (>= 5.0.0) - minitest - nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) - loofah (~> 2.21) - nokogiri (~> 1.14) - 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.2.1) - regexp_parser (2.9.2) - rspec (3.13.0) - rspec-core (~> 3.13.0) - rspec-expectations (~> 3.13.0) - rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) - rspec-support (~> 3.13.0) - rspec-expectations (3.13.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-support (3.13.1) - sorbet-runtime (0.5.11429) - sprockets (4.2.1) - concurrent-ruby (~> 1.0) - rack (>= 2.2.4, < 4) - sprockets-rails (3.4.2) - actionpack (>= 5.2) - activesupport (>= 5.2) - sprockets (>= 3.0.0) - thor (1.3.1) - thread_safe (0.3.6) - timeout (0.4.1) - tzinfo (1.2.11) - thread_safe (~> 0.1) - unparser (0.6.14) - diff-lcs (~> 1.3) - parser (>= 3.3.0) - websocket-driver (0.7.6) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - zeitwerk (2.6.15) - -PLATFORMS - arm64-darwin - x86_64-darwin - x86_64-linux - -DEPENDENCIES - aggregate_root! - google-protobuf (~> 3.24) - mutant (= 0.12.0) - mutant-minitest (= 0.12.0) - mutant-rspec (= 0.12.0) - protobuf_nested_struct - rails (~> 6.0.6) - rails_event_store! - rails_event_store_active_record! - rake (>= 10.0) - rspec (~> 3.6) - ruby_event_store! - ruby_event_store-active_record! - ruby_event_store-browser! - ruby_event_store-protobuf! - -BUNDLED WITH - 2.5.15 diff --git a/rails_event_store/Gemfile.rails_6_0 b/rails_event_store/Gemfile.rails_6_0 deleted file mode 100644 index 1811a6f455..0000000000 --- a/rails_event_store/Gemfile.rails_6_0 +++ /dev/null @@ -1,15 +0,0 @@ -source "https://rubygems.org" -gemspec - -eval_gemfile "../support/bundler/Gemfile.shared" - -gem "ruby_event_store", path: ".." -gem "ruby_event_store-browser", path: ".." -gem "ruby_event_store-active_record", path: ".." -gem "rails_event_store_active_record", path: ".." -gem "aggregate_root", path: ".." - -gem "sidekiq" -gem "rack-test" -gem "rails", "~> 6.0.6" -gem "sqlite3", "~> 1.7" diff --git a/rails_event_store/Gemfile.rails_6_0.lock b/rails_event_store/Gemfile.rails_6_0.lock deleted file mode 100644 index 2e82efac48..0000000000 --- a/rails_event_store/Gemfile.rails_6_0.lock +++ /dev/null @@ -1,246 +0,0 @@ -PATH - remote: .. - specs: - aggregate_root (2.15.0) - ruby_event_store (= 2.15.0) - rails_event_store_active_record (2.15.0) - ruby_event_store-active_record (= 2.15.0) - ruby_event_store (2.15.0) - concurrent-ruby (~> 1.0, >= 1.1.6) - ruby_event_store-active_record (2.15.0) - activerecord (>= 6.0) - ruby_event_store (= 2.15.0) - ruby_event_store-browser (2.15.0) - rack - ruby_event_store (= 2.15.0) - -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 (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) - arkency-command_bus (0.4.1) - concurrent-ruby - ast (2.4.2) - builder (3.3.0) - concurrent-ruby (1.3.3) - connection_pool (2.4.1) - crass (1.0.6) - date (3.3.4) - diff-lcs (1.5.1) - erubi (1.12.0) - globalid (1.1.0) - activesupport (>= 5.0) - i18n (1.14.5) - concurrent-ruby (~> 1.0) - loofah (2.22.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) - method_source (1.1.0) - mini_mime (1.1.5) - minitest (5.23.1) - mutant (0.12.0) - diff-lcs (~> 1.3) - parser (~> 3.3.0) - regexp_parser (~> 2.9.0) - sorbet-runtime (~> 0.5.0) - unparser (~> 0.6.9) - mutant-minitest (0.12.0) - minitest (~> 5.11) - mutant (= 0.12.0) - mutant-rspec (0.12.0) - mutant (= 0.12.0) - rspec-core (>= 3.8.0, < 4.0.0) - net-imap (0.4.12) - 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.3) - nokogiri (1.16.5-arm64-darwin) - racc (~> 1.4) - nokogiri (1.16.5-x86_64-darwin) - racc (~> 1.4) - nokogiri (1.16.5-x86_64-linux) - racc (~> 1.4) - parser (3.3.3.0) - ast (~> 2.4.1) - racc - racc (1.8.0) - rack (2.2.9) - rack-test (2.1.0) - 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.2.0) - activesupport (>= 5.0.0) - minitest - nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) - loofah (~> 2.21) - nokogiri (~> 1.14) - 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.2.1) - redis-client (0.22.2) - connection_pool - regexp_parser (2.9.2) - rspec (3.13.0) - rspec-core (~> 3.13.0) - rspec-expectations (~> 3.13.0) - rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) - rspec-support (~> 3.13.0) - rspec-expectations (3.13.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-support (3.13.1) - sidekiq (7.2.4) - concurrent-ruby (< 2) - connection_pool (>= 2.3.0) - rack (>= 2.2.4) - redis-client (>= 0.19.0) - sorbet-runtime (0.5.11429) - sprockets (4.2.1) - 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.7.3-arm64-darwin) - sqlite3 (1.7.3-x86_64-darwin) - sqlite3 (1.7.3-x86_64-linux) - thor (1.3.1) - thread_safe (0.3.6) - timeout (0.4.1) - tzinfo (1.2.11) - thread_safe (~> 0.1) - unparser (0.6.14) - diff-lcs (~> 1.3) - parser (>= 3.3.0) - websocket-driver (0.7.6) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - zeitwerk (2.6.15) - -PLATFORMS - arm64-darwin - x86_64-darwin - x86_64-linux - -DEPENDENCIES - aggregate_root! - mutant (= 0.12.0) - mutant-minitest (= 0.12.0) - mutant-rspec (= 0.12.0) - rack-test - rails (~> 6.0.6) - rails_event_store! - rails_event_store_active_record! - rake (>= 10.0) - rspec (~> 3.6) - ruby_event_store! - ruby_event_store-active_record! - ruby_event_store-browser! - sidekiq - sqlite3 (~> 1.7) - -BUNDLED WITH - 2.5.15 diff --git a/rails_event_store/spec/dummy_6_0/Gemfile b/rails_event_store/spec/dummy_6_0/Gemfile deleted file mode 100644 index 78f6dcba99..0000000000 --- a/rails_event_store/spec/dummy_6_0/Gemfile +++ /dev/null @@ -1,12 +0,0 @@ -# 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", "~> 6.0.6" \ No newline at end of file diff --git a/rails_event_store/spec/dummy_6_0/Gemfile.lock b/rails_event_store/spec/dummy_6_0/Gemfile.lock deleted file mode 100644 index 75c8058bfe..0000000000 --- a/rails_event_store/spec/dummy_6_0/Gemfile.lock +++ /dev/null @@ -1,204 +0,0 @@ -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 (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) - arkency-command_bus (0.4.1) - concurrent-ruby - builder (3.3.0) - concurrent-ruby (1.3.3) - crass (1.0.6) - date (3.3.4) - erubi (1.12.0) - globalid (1.1.0) - activesupport (>= 5.0) - i18n (1.14.5) - concurrent-ruby (~> 1.0) - loofah (2.22.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) - method_source (1.1.0) - mini_mime (1.1.5) - minitest (5.23.1) - net-imap (0.4.12) - 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.3) - nokogiri (1.16.5-arm64-darwin) - racc (~> 1.4) - nokogiri (1.16.5-x86_64-darwin) - racc (~> 1.4) - nokogiri (1.16.5-x86_64-linux) - racc (~> 1.4) - racc (1.8.0) - rack (2.2.9) - rack-test (2.1.0) - 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.2.0) - activesupport (>= 5.0.0) - minitest - nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) - loofah (~> 2.21) - nokogiri (~> 1.14) - 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.2.1) - sprockets (4.2.1) - concurrent-ruby (~> 1.0) - rack (>= 2.2.4, < 4) - sprockets-rails (3.4.2) - actionpack (>= 5.2) - activesupport (>= 5.2) - sprockets (>= 3.0.0) - thor (1.3.1) - thread_safe (0.3.6) - timeout (0.4.1) - tzinfo (1.2.11) - thread_safe (~> 0.1) - websocket-driver (0.7.6) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - zeitwerk (2.6.15) - -PLATFORMS - arm64-darwin - x86_64-darwin - x86_64-linux - -DEPENDENCIES - aggregate_root! - rails (~> 6.0.6) - rails_event_store! - rails_event_store_active_record! - ruby_event_store! - ruby_event_store-active_record! - ruby_event_store-browser! - -BUNDLED WITH - 2.5.15 diff --git a/rails_event_store/spec/dummy_6_0/Rakefile b/rails_event_store/spec/dummy_6_0/Rakefile deleted file mode 100644 index d2a78aa258..0000000000 --- a/rails_event_store/spec/dummy_6_0/Rakefile +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -# 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/rails_event_store/spec/dummy_6_0/bin/rails b/rails_event_store/spec/dummy_6_0/bin/rails deleted file mode 100755 index 0fabe01c2b..0000000000 --- a/rails_event_store/spec/dummy_6_0/bin/rails +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env ruby -APP_PATH = File.expand_path('../config/application', __dir__) -require_relative '../config/boot' -require 'rails/commands' \ No newline at end of file diff --git a/rails_event_store/spec/dummy_6_0/config/application.rb b/rails_event_store/spec/dummy_6_0/config/application.rb deleted file mode 100644 index 333131bdd4..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/application.rb +++ /dev/null @@ -1,34 +0,0 @@ -# frozen_string_literal: true - -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 "sprockets/railtie" -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 Dummy - 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/rails_event_store/spec/dummy_6_0/config/boot.rb b/rails_event_store/spec/dummy_6_0/config/boot.rb deleted file mode 100644 index c2241d7074..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/boot.rb +++ /dev/null @@ -1,5 +0,0 @@ -# frozen_string_literal: true - -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) - -require "bundler/setup" # Set up gems listed in the Gemfile. diff --git a/rails_event_store/spec/dummy_6_0/config/credentials.yml.enc b/rails_event_store/spec/dummy_6_0/config/credentials.yml.enc deleted file mode 100644 index 90129ff62e..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/credentials.yml.enc +++ /dev/null @@ -1 +0,0 @@ -MyigZIj5MuL2+DoMN0w2H6PB1d9S+/mkDMOCmDblxrim0ir7EpOVVlj3+2zMvoFcDYgdDsx7aS0ONSNz2khgaeggbn8oC9yf8nWuUOWbd6v73bGCK0XwRlRWLVLRAZoKCd1lLBgiYBYor7FbyqdcBPOjPxJyayvgvXk/1z1bbN2g0OjgsJT1UPpClT1G7m4iruQgl1NGoO8jjM4wUpFdfhFoIj7todNQExsadHTNYhVLCdMvrVjxmrP6N8X8fQJmHzzouGi/Ige83i43azkxO4M6ESMeDRz4quROUFK+uCmAgK1HC+AEoLAKhc9sl1V5jpDppZOGXpP4KKN/JXE7Ks1CHgQgsfQkCfnBx82cE4jKOKDs/D1JduMtqYUn3CVK7SXnobjiTJHfskFrZI8FKeXCUnow3btC5jnC--0fqeDMboprceNre5--jDVDX+McgGrrhUXYtUiUTw== \ No newline at end of file diff --git a/rails_event_store/spec/dummy_6_0/config/environment.rb b/rails_event_store/spec/dummy_6_0/config/environment.rb deleted file mode 100644 index 7df99e89c6..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/environment.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -# Load the Rails application. -require_relative "application" - -# Initialize the Rails application. -Rails.application.initialize! diff --git a/rails_event_store/spec/dummy_6_0/config/environments/development.rb b/rails_event_store/spec/dummy_6_0/config/environments/development.rb deleted file mode 100644 index b30eed62a5..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/environments/development.rb +++ /dev/null @@ -1,40 +0,0 @@ -# frozen_string_literal: true - -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 - - # Print deprecation notices to the Rails logger. - config.active_support.deprecation = :log - - # 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/rails_event_store/spec/dummy_6_0/config/environments/production.rb b/rails_event_store/spec/dummy_6_0/config/environments/production.rb deleted file mode 100644 index fef3ae1771..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/environments/production.rb +++ /dev/null @@ -1,91 +0,0 @@ -# frozen_string_literal: true - -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? - - # 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 - - # 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_production" - - # 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 - - # 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/rails_event_store/spec/dummy_6_0/config/environments/test.rb b/rails_event_store/spec/dummy_6_0/config/environments/test.rb deleted file mode 100644 index 75f1c8b77f..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/environments/test.rb +++ /dev/null @@ -1,38 +0,0 @@ -# frozen_string_literal: true - -# 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 - - # 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 - - # 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/rails_event_store/spec/dummy_6_0/config/initializers/application_controller_renderer.rb b/rails_event_store/spec/dummy_6_0/config/initializers/application_controller_renderer.rb deleted file mode 100644 index 6d56e43900..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/initializers/application_controller_renderer.rb +++ /dev/null @@ -1,10 +0,0 @@ -# frozen_string_literal: true - -# 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/rails_event_store/spec/dummy_6_0/config/initializers/backtrace_silencers.rb b/rails_event_store/spec/dummy_6_0/config/initializers/backtrace_silencers.rb deleted file mode 100644 index 4b63f2893d..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/initializers/backtrace_silencers.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -# 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/rails_event_store/spec/dummy_6_0/config/initializers/content_security_policy.rb b/rails_event_store/spec/dummy_6_0/config/initializers/content_security_policy.rb deleted file mode 100644 index e3c9649655..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/initializers/content_security_policy.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -# 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 - -# # 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) } - -# 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/rails_event_store/spec/dummy_6_0/config/initializers/cookies_serializer.rb b/rails_event_store/spec/dummy_6_0/config/initializers/cookies_serializer.rb deleted file mode 100644 index ee8dff9c99..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/initializers/cookies_serializer.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -# 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/rails_event_store/spec/dummy_6_0/config/initializers/filter_parameter_logging.rb b/rails_event_store/spec/dummy_6_0/config/initializers/filter_parameter_logging.rb deleted file mode 100644 index 7a4f47b4c2..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/initializers/filter_parameter_logging.rb +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -# 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/rails_event_store/spec/dummy_6_0/config/initializers/inflections.rb b/rails_event_store/spec/dummy_6_0/config/initializers/inflections.rb deleted file mode 100644 index dc84742212..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/initializers/inflections.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -# 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/rails_event_store/spec/dummy_6_0/config/initializers/mime_types.rb b/rails_event_store/spec/dummy_6_0/config/initializers/mime_types.rb deleted file mode 100644 index be6fedc535..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/initializers/mime_types.rb +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -# 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/rails_event_store/spec/dummy_6_0/config/initializers/wrap_parameters.rb b/rails_event_store/spec/dummy_6_0/config/initializers/wrap_parameters.rb deleted file mode 100644 index 8266df3a8a..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/initializers/wrap_parameters.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -# 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) { wrap_parameters format: [:json] } diff --git a/rails_event_store/spec/dummy_6_0/config/locales/en.yml b/rails_event_store/spec/dummy_6_0/config/locales/en.yml deleted file mode 100644 index cf9b342d0a..0000000000 --- a/rails_event_store/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/rails_event_store/spec/dummy_6_0/config/master.key b/rails_event_store/spec/dummy_6_0/config/master.key deleted file mode 100644 index 2b8982b42a..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/master.key +++ /dev/null @@ -1 +0,0 @@ -5d37463fc584cdec85cd4bde5d704af1 \ No newline at end of file diff --git a/rails_event_store/spec/dummy_6_0/config/routes.rb b/rails_event_store/spec/dummy_6_0/config/routes.rb deleted file mode 100644 index cefb14fb52..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/routes.rb +++ /dev/null @@ -1,5 +0,0 @@ -# frozen_string_literal: true - -Rails.application.routes.draw do - # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html -end diff --git a/rails_event_store/spec/dummy_6_0/config/spring.rb b/rails_event_store/spec/dummy_6_0/config/spring.rb deleted file mode 100644 index 77c64c9bc0..0000000000 --- a/rails_event_store/spec/dummy_6_0/config/spring.rb +++ /dev/null @@ -1,3 +0,0 @@ -# frozen_string_literal: true - -Spring.watch(".ruby-version", ".rbenv-vars", "tmp/restart.txt", "tmp/caching-dev.txt") diff --git a/rails_event_store/spec/dummy_6_0/test/test_helper.rb b/rails_event_store/spec/dummy_6_0/test/test_helper.rb deleted file mode 100644 index 4d2e6796ae..0000000000 --- a/rails_event_store/spec/dummy_6_0/test/test_helper.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -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) - - # Add more helper methods to be used by all tests here... -end diff --git a/rails_event_store/spec/rails_event_id_index_migration_generator_spec.rb b/rails_event_store/spec/rails_event_id_index_migration_generator_spec.rb index d30655f042..989f19f788 100644 --- a/rails_event_store/spec/rails_event_id_index_migration_generator_spec.rb +++ b/rails_event_store/spec/rails_event_id_index_migration_generator_spec.rb @@ -28,11 +28,6 @@ module RailsEventStore expect(subject).to include("ActiveRecord::Migration[#{::ActiveRecord::Migration.current_version}]") end - it "uses particular migration version for rails 6.0" do - skip unless ENV["BUNDLE_GEMFILE"].include?("rails_6_0") - expect(subject).to include("ActiveRecord::Migration[6.0]") - end - it "uses particular migration version for rails 6.1" do skip unless ENV["BUNDLE_GEMFILE"].include?("rails_6_1") expect(subject).to include("ActiveRecord::Migration[6.1]") diff --git a/rails_event_store/spec/rails_foreign_key_on_event_id_migration_generator_spec.rb b/rails_event_store/spec/rails_foreign_key_on_event_id_migration_generator_spec.rb index 8983da17d3..532a486caf 100644 --- a/rails_event_store/spec/rails_foreign_key_on_event_id_migration_generator_spec.rb +++ b/rails_event_store/spec/rails_foreign_key_on_event_id_migration_generator_spec.rb @@ -28,11 +28,6 @@ module RailsEventStore expect(subject).to include("ActiveRecord::Migration[#{::ActiveRecord::Migration.current_version}]") end - it "uses particular migration version for rails 6.0" do - skip unless ENV["BUNDLE_GEMFILE"].include?("rails_6_0") - expect(subject).to include("ActiveRecord::Migration[6.0]") - end - it "uses particular migration version for rails 6.1" do skip unless ENV["BUNDLE_GEMFILE"].include?("rails_6_1") expect(subject).to include("ActiveRecord::Migration[6.1]") @@ -80,11 +75,13 @@ def generate_migration end def second_step_migration_exists?(dir) - File.exist?("#{dir}/db/migrate/20160809222223_validate_add_foreign_key_on_event_id_to_event_store_events_in_streams.rb") + File.exist?( + "#{dir}/db/migrate/20160809222223_validate_add_foreign_key_on_event_id_to_event_store_events_in_streams.rb", + ) end def generated_files_count(dir) - Dir[File.join(dir, 'db/migrate', '*')].length + Dir[File.join(dir, "db/migrate", "*")].length end end end diff --git a/rails_event_store/spec/rails_migration_generator_spec.rb b/rails_event_store/spec/rails_migration_generator_spec.rb index e9f130ea4b..225e9b8cd3 100644 --- a/rails_event_store/spec/rails_migration_generator_spec.rb +++ b/rails_event_store/spec/rails_migration_generator_spec.rb @@ -28,11 +28,6 @@ module RailsEventStore expect(subject).to include("ActiveRecord::Migration[#{::ActiveRecord::Migration.current_version}]") end - it "uses particular migration version for rails 6.0" do - skip unless ENV["BUNDLE_GEMFILE"].include?("rails_6_0") - expect(subject).to include("ActiveRecord::Migration[6.0]") - end - it "uses particular migration version for rails 6.1" do skip unless ENV["BUNDLE_GEMFILE"].include?("rails_6_1") expect(subject).to include("ActiveRecord::Migration[6.1]") @@ -44,7 +39,7 @@ module RailsEventStore subject do RubyEventStore::ActiveRecord::RailsMigrationGenerator.start( ["--data-type=#{data_type}"], - destination_root: @dir + destination_root: @dir, ) File.read("#{@dir}/db/migrate/20160809222222_create_event_store_events.rb") end @@ -74,7 +69,7 @@ module RailsEventStore subject do RubyEventStore::ActiveRecord::RailsMigrationGenerator.start( ["--data-type=#{data_type}"], - destination_root: @dir + destination_root: @dir, ) File.read("#{@dir}/db/migrate/20160809222222_create_event_store_events.rb") end @@ -106,7 +101,7 @@ module RailsEventStore subject do RubyEventStore::ActiveRecord::RailsMigrationGenerator.start( ["--data-type=#{data_type}"], - destination_root: @dir + destination_root: @dir, ) File.read("#{@dir}/db/migrate/20160809222222_create_event_store_events.rb") end @@ -145,7 +140,7 @@ module RailsEventStore it "raises an error" do expect { RubyEventStore::ActiveRecord::RailsMigrationGenerator.new([], data_type: data_type) }.to raise_error( RubyEventStore::ActiveRecord::RailsMigrationGenerator::Error, - "Invalid value for --data-type option. Supported for options are: binary." + "Invalid value for --data-type option. Supported for options are: binary.", ) end end diff --git a/ruby_event_store-active_record/Gemfile.activerecord_6_0 b/ruby_event_store-active_record/Gemfile.activerecord_6_0 deleted file mode 100644 index 7db3add281..0000000000 --- a/ruby_event_store-active_record/Gemfile.activerecord_6_0 +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -source "https://rubygems.org" -gemspec name: "ruby_event_store-active_record" - -eval_gemfile "../support/bundler/Gemfile.shared" -eval_gemfile "../support/bundler/Gemfile.database" - -gem "ruby_event_store", path: ".." - -gem "childprocess" -gem "activerecord", "~> 6.0.5" diff --git a/ruby_event_store-active_record/Gemfile.activerecord_6_0.lock b/ruby_event_store-active_record/Gemfile.activerecord_6_0.lock deleted file mode 100644 index 15ce13fca1..0000000000 --- a/ruby_event_store-active_record/Gemfile.activerecord_6_0.lock +++ /dev/null @@ -1,100 +0,0 @@ -PATH - remote: .. - specs: - ruby_event_store (2.15.0) - concurrent-ruby (~> 1.0, >= 1.1.6) - -PATH - remote: . - specs: - ruby_event_store-active_record (2.15.0) - activerecord (>= 6.0) - ruby_event_store (= 2.15.0) - -GEM - remote: https://rubygems.org/ - specs: - 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) - 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) - ast (2.4.2) - childprocess (5.0.0) - concurrent-ruby (1.3.3) - diff-lcs (1.5.1) - i18n (1.14.5) - concurrent-ruby (~> 1.0) - minitest (5.23.1) - mutant (0.12.0) - diff-lcs (~> 1.3) - parser (~> 3.3.0) - regexp_parser (~> 2.9.0) - sorbet-runtime (~> 0.5.0) - unparser (~> 0.6.9) - mutant-minitest (0.12.0) - minitest (~> 5.11) - mutant (= 0.12.0) - mutant-rspec (0.12.0) - mutant (= 0.12.0) - rspec-core (>= 3.8.0, < 4.0.0) - mysql2 (0.5.6) - parser (3.3.3.0) - ast (~> 2.4.1) - racc - pg (1.5.6) - racc (1.8.0) - rake (13.2.1) - regexp_parser (2.9.2) - rspec (3.13.0) - rspec-core (~> 3.13.0) - rspec-expectations (~> 3.13.0) - rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) - rspec-support (~> 3.13.0) - rspec-expectations (3.13.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-support (3.13.1) - sorbet-runtime (0.5.11429) - sqlite3 (1.7.3-arm64-darwin) - sqlite3 (1.7.3-x86_64-darwin) - sqlite3 (1.7.3-x86_64-linux) - thread_safe (0.3.6) - tzinfo (1.2.11) - thread_safe (~> 0.1) - unparser (0.6.14) - diff-lcs (~> 1.3) - parser (>= 3.3.0) - zeitwerk (2.6.15) - -PLATFORMS - arm64-darwin - x86_64-darwin - x86_64-linux - -DEPENDENCIES - activerecord (~> 6.0.5) - childprocess - mutant (= 0.12.0) - mutant-minitest (= 0.12.0) - mutant-rspec (= 0.12.0) - mysql2 (~> 0.5.6) - pg (~> 1.5.6) - rake (>= 10.0) - rspec (~> 3.6) - ruby_event_store! - ruby_event_store-active_record! - sqlite3 (~> 1.7) - -BUNDLED WITH - 2.5.15 diff --git a/ruby_event_store-active_record/spec/event_id_index_migration_generator_spec.rb b/ruby_event_store-active_record/spec/event_id_index_migration_generator_spec.rb index 5dbf392e8c..4ac846e4a5 100644 --- a/ruby_event_store-active_record/spec/event_id_index_migration_generator_spec.rb +++ b/ruby_event_store-active_record/spec/event_id_index_migration_generator_spec.rb @@ -38,14 +38,6 @@ module ActiveRecord expect(read_migration(@dir)).to include("ActiveRecord::Migration[#{::ActiveRecord::Migration.current_version}]") end - specify "uses particular migration version for rails 6.0" do - skip unless ENV["BUNDLE_GEMFILE"]&.include?("rails_6_0") - - migration_generator(@dir) - - expect(read_migration(@dir)).to include("ActiveRecord::Migration[6.0]") - end - specify "uses particular migration version for rails 6.1" do skip unless ENV["BUNDLE_GEMFILE"]&.include?("rails_6_1") diff --git a/ruby_event_store-active_record/spec/foreign_key_on_event_id_migration_generator_spec.rb b/ruby_event_store-active_record/spec/foreign_key_on_event_id_migration_generator_spec.rb index b990852685..35ba85c582 100644 --- a/ruby_event_store-active_record/spec/foreign_key_on_event_id_migration_generator_spec.rb +++ b/ruby_event_store-active_record/spec/foreign_key_on_event_id_migration_generator_spec.rb @@ -30,15 +30,9 @@ module ActiveRecord specify "uses particular migration version" do migration_generator(adapter, @dir) - expect(read_migration(@dir)).to include("ActiveRecord::Migration[#{::ActiveRecord::Migration.current_version}]") - end - - specify "uses particular migration version for rails 6.0" do - skip unless ENV["BUNDLE_GEMFILE"]&.include?("rails_6_0") - - migration_generator(adapter, @dir) - - expect(read_migration(@dir)).to include("ActiveRecord::Migration[6.0]") + expect(read_migration(@dir)).to include( + "ActiveRecord::Migration[#{::ActiveRecord::Migration.current_version}]", + ) end specify "uses particular migration version for rails 6.1" do @@ -87,7 +81,7 @@ def second_step_migration_exists?(dir) end def generated_files_count(dir) - Dir[File.join(dir, '**', '*')].length + Dir[File.join(dir, "**", "*")].length end end end diff --git a/ruby_event_store-active_record/spec/migration_generator_spec.rb b/ruby_event_store-active_record/spec/migration_generator_spec.rb index a799f68bb1..2aba6d4117 100644 --- a/ruby_event_store-active_record/spec/migration_generator_spec.rb +++ b/ruby_event_store-active_record/spec/migration_generator_spec.rb @@ -38,14 +38,6 @@ module ActiveRecord expect(read_migration(@dir)).to include("ActiveRecord::Migration[#{::ActiveRecord::Migration.current_version}]") end - specify "uses particular migration version for rails 6.0" do - skip unless ENV["BUNDLE_GEMFILE"]&.include?("rails_6_0") - - migration_generator(@dir) - - expect(read_migration(@dir)).to include("ActiveRecord::Migration[6.0]") - end - specify "uses particular migration version for rails 6.1" do skip unless ENV["BUNDLE_GEMFILE"]&.include?("rails_6_1") @@ -64,21 +56,21 @@ module ActiveRecord specify "throws on attempt to create migration with json data type for SQLite adapter" do expect { migration_generator(@dir, "json", "SQLite") }.to raise_error( InvalidDataTypeForAdapter, - "SQLite doesn't support \"json\". Supported types are: binary." + "SQLite doesn't support \"json\". Supported types are: binary.", ) end specify "throws on attempt to create migration with jsonb data type for SQLite adapter" do expect { migration_generator(@dir, "jsonb", "SQLite") }.to raise_error( InvalidDataTypeForAdapter, - "SQLite doesn't support \"jsonb\". Supported types are: binary." + "SQLite doesn't support \"jsonb\". Supported types are: binary.", ) end specify "throws on attempt to create migration with jsonb data type for MySQL adapter" do expect { migration_generator(@dir, "jsonb", "MySQL2") }.to raise_error( InvalidDataTypeForAdapter, - "MySQL doesn't support \"jsonb\". Supported types are: binary, json." + "MySQL doesn't support \"jsonb\". Supported types are: binary, json.", ) end @@ -120,7 +112,7 @@ module ActiveRecord specify "raises error when data type is not supported" do expect { migration_generator(@dir, "invalid") }.to raise_error( InvalidDataTypeForAdapter, - "SQLite doesn't support \"invalid\". Supported types are: binary." + "SQLite doesn't support \"invalid\". Supported types are: binary.", ) end