Skip to content

Commit

Permalink
ruby_event_store-active_record on AR matrix
Browse files Browse the repository at this point in the history
While detaching this gem from Rails, the ActiveRecord version matrix was
lost in testing. This commit brings it back, directly.
  • Loading branch information
mostlyobvious committed May 22, 2024
1 parent c5ff492 commit 95e0510
Show file tree
Hide file tree
Showing 10 changed files with 378 additions and 8 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ruby_event_store-active_record_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,18 @@ jobs:
bundle_gemfile: Gemfile
database_url: sqlite3:db.sqlite3
data_type: binary
- ruby_version: ruby-3.3
bundle_gemfile: Gemfile.activerecord_7_0
database_url: sqlite3:db.sqlite3
data_type: binary
- ruby_version: ruby-3.3
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
Expand Down
1 change: 1 addition & 0 deletions ruby_event_store-active_record/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ eval_gemfile "../support/bundler/Gemfile.database"
gem "ruby_event_store", path: ".."

gem "childprocess"
gem "activerecord", "~> 7.1.3"
12 changes: 12 additions & 0 deletions ruby_event_store-active_record/Gemfile.activerecord_6_0
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 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"
102 changes: 102 additions & 0 deletions ruby_event_store-active_record/Gemfile.activerecord_6_0.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
PATH
remote: ..
specs:
ruby_event_store (2.14.0)
concurrent-ruby (~> 1.0, >= 1.1.6)

PATH
remote: .
specs:
ruby_event_store-active_record (2.14.0)
activerecord (>= 6.0)
ruby_event_store (= 2.14.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 (4.1.0)
concurrent-ruby (1.2.3)
diff-lcs (1.5.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
minitest (5.20.0)
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.1.0)
ast (~> 2.4.1)
racc
pg (1.5.6)
racc (1.7.3)
rake (13.0.6)
regexp_parser (2.9.0)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
sorbet-runtime (0.5.11370)
sqlite3 (1.7.0-arm64-darwin)
sqlite3 (1.7.0-x86_64-darwin)
sqlite3 (1.7.0-x86_64-linux)
thread_safe (0.3.6)
tzinfo (1.2.11)
thread_safe (~> 0.1)
unparser (0.6.13)
diff-lcs (~> 1.3)
parser (>= 3.3.0)
zeitwerk (2.6.14)

PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
x86_64-darwin-22
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.3
12 changes: 12 additions & 0 deletions ruby_event_store-active_record/Gemfile.activerecord_6_1
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 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.1.6"
101 changes: 101 additions & 0 deletions ruby_event_store-active_record/Gemfile.activerecord_6_1.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
PATH
remote: ..
specs:
ruby_event_store (2.14.0)
concurrent-ruby (~> 1.0, >= 1.1.6)

PATH
remote: .
specs:
ruby_event_store-active_record (2.14.0)
activerecord (>= 6.0)
ruby_event_store (= 2.14.0)

GEM
remote: https://rubygems.org/
specs:
activemodel (6.1.7.7)
activesupport (= 6.1.7.7)
activerecord (6.1.7.7)
activemodel (= 6.1.7.7)
activesupport (= 6.1.7.7)
activesupport (6.1.7.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
ast (2.4.2)
childprocess (4.1.0)
concurrent-ruby (1.2.3)
diff-lcs (1.5.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
minitest (5.20.0)
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.1.0)
ast (~> 2.4.1)
racc
pg (1.5.6)
racc (1.7.3)
rake (13.0.6)
regexp_parser (2.9.0)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
sorbet-runtime (0.5.11370)
sqlite3 (1.7.0-arm64-darwin)
sqlite3 (1.7.0-x86_64-darwin)
sqlite3 (1.7.0-x86_64-linux)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unparser (0.6.13)
diff-lcs (~> 1.3)
parser (>= 3.3.0)
zeitwerk (2.6.14)

PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
x86_64-darwin-22
x86_64-linux

DEPENDENCIES
activerecord (~> 6.1.6)
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.3
12 changes: 12 additions & 0 deletions ruby_event_store-active_record/Gemfile.activerecord_7_0
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 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", "~> 7.0.7"
99 changes: 99 additions & 0 deletions ruby_event_store-active_record/Gemfile.activerecord_7_0.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
PATH
remote: ..
specs:
ruby_event_store (2.14.0)
concurrent-ruby (~> 1.0, >= 1.1.6)

PATH
remote: .
specs:
ruby_event_store-active_record (2.14.0)
activerecord (>= 6.0)
ruby_event_store (= 2.14.0)

GEM
remote: https://rubygems.org/
specs:
activemodel (7.0.8.3)
activesupport (= 7.0.8.3)
activerecord (7.0.8.3)
activemodel (= 7.0.8.3)
activesupport (= 7.0.8.3)
activesupport (7.0.8.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
ast (2.4.2)
childprocess (4.1.0)
concurrent-ruby (1.2.3)
diff-lcs (1.5.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
minitest (5.20.0)
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.1.0)
ast (~> 2.4.1)
racc
pg (1.5.6)
racc (1.7.3)
rake (13.0.6)
regexp_parser (2.9.0)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
sorbet-runtime (0.5.11370)
sqlite3 (1.7.0-arm64-darwin)
sqlite3 (1.7.0-x86_64-darwin)
sqlite3 (1.7.0-x86_64-linux)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unparser (0.6.13)
diff-lcs (~> 1.3)
parser (>= 3.3.0)

PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
x86_64-darwin-22
x86_64-linux

DEPENDENCIES
activerecord (~> 7.0.7)
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.3
Loading

0 comments on commit 95e0510

Please sign in to comment.