From 60a17180d6e95702aae93bd29489bfa6090f22bf Mon Sep 17 00:00:00 2001 From: Simon Mathieu Date: Mon, 30 Oct 2023 17:03:18 -0700 Subject: [PATCH] Add required gemfiles --- gemfiles/activerecord-7.1/Gemfile.base | 4 ++++ gemfiles/activerecord-7.1/Gemfile.mysql2 | 10 ++++++++++ gemfiles/activerecord-7.1/Gemfile.postgresql | 10 ++++++++++ gemfiles/activerecord-7.1/Gemfile.sqlite3 | 10 ++++++++++ 4 files changed, 34 insertions(+) create mode 100644 gemfiles/activerecord-7.1/Gemfile.base create mode 100644 gemfiles/activerecord-7.1/Gemfile.mysql2 create mode 100644 gemfiles/activerecord-7.1/Gemfile.postgresql create mode 100644 gemfiles/activerecord-7.1/Gemfile.sqlite3 diff --git a/gemfiles/activerecord-7.1/Gemfile.base b/gemfiles/activerecord-7.1/Gemfile.base new file mode 100644 index 0000000..8d5ea3b --- /dev/null +++ b/gemfiles/activerecord-7.1/Gemfile.base @@ -0,0 +1,4 @@ +base_gemfile = File.expand_path('../../Gemfile.base', __FILE__) +eval File.read(base_gemfile) + +gem "activerecord", ">= 7.1", "< 7.2" diff --git a/gemfiles/activerecord-7.1/Gemfile.mysql2 b/gemfiles/activerecord-7.1/Gemfile.mysql2 new file mode 100644 index 0000000..832c90b --- /dev/null +++ b/gemfiles/activerecord-7.1/Gemfile.mysql2 @@ -0,0 +1,10 @@ +base_gemfile = File.expand_path('../Gemfile.base', __FILE__) +eval File.read(base_gemfile), binding, base_gemfile + +platform :ruby do + gem "mysql2" +end + +platform :jruby do + gem 'activerecord-jdbcmysql-adapter' +end diff --git a/gemfiles/activerecord-7.1/Gemfile.postgresql b/gemfiles/activerecord-7.1/Gemfile.postgresql new file mode 100644 index 0000000..1716cd8 --- /dev/null +++ b/gemfiles/activerecord-7.1/Gemfile.postgresql @@ -0,0 +1,10 @@ +base_gemfile = File.expand_path('../Gemfile.base', __FILE__) +eval File.read(base_gemfile), binding, base_gemfile + +platform :ruby do + gem "pg" +end + +platform :jruby do + gem 'activerecord-jdbcpostgresql-adapter' +end diff --git a/gemfiles/activerecord-7.1/Gemfile.sqlite3 b/gemfiles/activerecord-7.1/Gemfile.sqlite3 new file mode 100644 index 0000000..3d85216 --- /dev/null +++ b/gemfiles/activerecord-7.1/Gemfile.sqlite3 @@ -0,0 +1,10 @@ +base_gemfile = File.expand_path('../Gemfile.base', __FILE__) +eval File.read(base_gemfile), binding, base_gemfile + +platform :ruby do + gem "sqlite3" +end + +platform :jruby do + gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2' +end