diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a904559..671cdbb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,24 +14,16 @@ jobs: fail-fast: false matrix: include: - - ruby: "2.5.5" - gemfile: Gemfile.5.2.sqlite3 - - ruby: "2.7.7" - gemfile: Gemfile.5.2.sqlite3 - - ruby: "3.0.5" - gemfile: Gemfile.6.0.sqlite3 - - ruby: "3.0.5" + - ruby: "2.7.8" gemfile: Gemfile.6.1.sqlite3 - - ruby: "3.0.5" - gemfile: Gemfile.7.0.sqlite3 - - ruby: "3.1.3" - gemfile: Gemfile.7.0.sqlite3 - - ruby: "3.2.0" - gemfile: Gemfile.7.0.sqlite3 - - ruby: "3.2.0" + - ruby: "3.0.7" gemfile: Gemfile.7.1.sqlite3 - - ruby: "3.2.0" + - ruby: "3.1.6" gemfile: Gemfile.7.2.sqlite3 + - ruby: "3.2.6" + gemfile: Gemfile.7.2.sqlite3 + - ruby: "3.3.6" + gemfile: Gemfile.8.0.sqlite3 env: BUNDLE_GEMFILE: ${{ matrix.gemfile }} @@ -65,8 +57,8 @@ jobs: fail-fast: false matrix: include: - - ruby: "2.7.7" - gemfile: Gemfile.5.2.mysql2 + - ruby: "3.2.6" + gemfile: Gemfile.7.2.mysql2 env: BUNDLE_GEMFILE: ${{ matrix.gemfile }} @@ -104,21 +96,11 @@ jobs: fail-fast: false matrix: include: - - ruby: "2.5.5" - gemfile: Gemfile.5.2.pg - - ruby: "2.7.7" - gemfile: Gemfile.5.2.pg - - ruby: "3.0.5" + - ruby: "3.0.7" gemfile: Gemfile.6.1.pg - - ruby: "3.0.5" - gemfile: Gemfile.7.0.pg - - ruby: "3.1.3" - gemfile: Gemfile.7.0.pg - - ruby: "3.2.0" - gemfile: Gemfile.7.0.pg - - ruby: "3.2.0" + - ruby: "3.2.6" gemfile: Gemfile.7.1.pg - - ruby: "3.2.0" + - ruby: "3.2.6" gemfile: Gemfile.7.2.pg env: BUNDLE_GEMFILE: ${{ matrix.gemfile }} diff --git a/Gemfile.5.2.mysql2.lock b/Gemfile.5.2.mysql2.lock deleted file mode 100644 index e27068a..0000000 --- a/Gemfile.5.2.mysql2.lock +++ /dev/null @@ -1,59 +0,0 @@ -PATH - remote: . - specs: - active_type (2.5.1) - activerecord (>= 3.2) - -GEM - remote: https://rubygems.org/ - specs: - activemodel (5.1.7) - activesupport (= 5.1.7) - activerecord (5.1.7) - activemodel (= 5.1.7) - activesupport (= 5.1.7) - arel (~> 8.0) - activesupport (5.1.7) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - arel (8.0.0) - concurrent-ruby (1.1.7) - diff-lcs (1.4.4) - gemika (0.5.0) - i18n (1.8.5) - concurrent-ruby (~> 1.0) - minitest (5.14.2) - mysql2 (0.5.3) - rake (13.0.1) - rspec (3.10.0) - rspec-core (~> 3.10.0) - rspec-expectations (~> 3.10.0) - rspec-mocks (~> 3.10.0) - rspec-core (3.10.0) - rspec-support (~> 3.10.0) - rspec-expectations (3.10.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-mocks (3.10.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-support (3.10.0) - thread_safe (0.3.6) - tzinfo (1.2.8) - thread_safe (~> 0.1) - -PLATFORMS - ruby - -DEPENDENCIES - active_type! - activerecord (~> 5.1.0) - gemika - mysql2 - rake - rspec (~> 3.4) - -BUNDLED WITH - 2.2.27 diff --git a/Gemfile.5.2.pg b/Gemfile.5.2.pg deleted file mode 100644 index add0dc5..0000000 --- a/Gemfile.5.2.pg +++ /dev/null @@ -1,9 +0,0 @@ -source 'https://rubygems.org' - -gem 'activerecord', '~>5.1.0' -gem 'rspec', '~>3.4' -gem 'pg' -gem 'rake' -gem 'gemika' - -gem 'active_type', :path => '.' diff --git a/Gemfile.5.2.pg.lock b/Gemfile.5.2.pg.lock deleted file mode 100644 index d69a2df..0000000 --- a/Gemfile.5.2.pg.lock +++ /dev/null @@ -1,59 +0,0 @@ -PATH - remote: . - specs: - active_type (2.5.1) - activerecord (>= 3.2) - -GEM - remote: https://rubygems.org/ - specs: - activemodel (5.1.7) - activesupport (= 5.1.7) - activerecord (5.1.7) - activemodel (= 5.1.7) - activesupport (= 5.1.7) - arel (~> 8.0) - activesupport (5.1.7) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - arel (8.0.0) - concurrent-ruby (1.1.7) - diff-lcs (1.4.4) - gemika (0.6.0) - i18n (1.8.5) - concurrent-ruby (~> 1.0) - minitest (5.14.2) - pg (1.2.3) - rake (13.0.1) - rspec (3.10.0) - rspec-core (~> 3.10.0) - rspec-expectations (~> 3.10.0) - rspec-mocks (~> 3.10.0) - rspec-core (3.10.0) - rspec-support (~> 3.10.0) - rspec-expectations (3.10.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-mocks (3.10.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-support (3.10.0) - thread_safe (0.3.6) - tzinfo (1.2.8) - thread_safe (~> 0.1) - -PLATFORMS - ruby - -DEPENDENCIES - active_type! - activerecord (~> 5.1.0) - gemika - pg - rake - rspec (~> 3.4) - -BUNDLED WITH - 2.2.27 diff --git a/Gemfile.5.2.sqlite3 b/Gemfile.5.2.sqlite3 deleted file mode 100644 index 6b6f3e0..0000000 --- a/Gemfile.5.2.sqlite3 +++ /dev/null @@ -1,9 +0,0 @@ -source 'https://rubygems.org' - -gem 'activerecord', '~>5.1.0' -gem 'rspec', '~> 3.4' -gem 'sqlite3' -gem 'rake' -gem 'gemika' - -gem 'active_type', :path => '.' diff --git a/Gemfile.5.2.sqlite3.lock b/Gemfile.5.2.sqlite3.lock deleted file mode 100644 index e8bc0c0..0000000 --- a/Gemfile.5.2.sqlite3.lock +++ /dev/null @@ -1,59 +0,0 @@ -PATH - remote: . - specs: - active_type (2.5.1) - activerecord (>= 3.2) - -GEM - remote: https://rubygems.org/ - specs: - activemodel (5.1.7) - activesupport (= 5.1.7) - activerecord (5.1.7) - activemodel (= 5.1.7) - activesupport (= 5.1.7) - arel (~> 8.0) - activesupport (5.1.7) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - arel (8.0.0) - concurrent-ruby (1.1.7) - diff-lcs (1.4.4) - gemika (0.5.0) - i18n (1.8.5) - concurrent-ruby (~> 1.0) - minitest (5.14.2) - rake (13.0.1) - rspec (3.10.0) - rspec-core (~> 3.10.0) - rspec-expectations (~> 3.10.0) - rspec-mocks (~> 3.10.0) - rspec-core (3.10.0) - rspec-support (~> 3.10.0) - rspec-expectations (3.10.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-mocks (3.10.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-support (3.10.0) - sqlite3 (1.4.2) - thread_safe (0.3.6) - tzinfo (1.2.8) - thread_safe (~> 0.1) - -PLATFORMS - ruby - -DEPENDENCIES - active_type! - activerecord (~> 5.1.0) - gemika - rake - rspec (~> 3.4) - sqlite3 - -BUNDLED WITH - 2.2.27 diff --git a/Gemfile.6.0.sqlite3 b/Gemfile.6.0.sqlite3 deleted file mode 100644 index 9aa0eb3..0000000 --- a/Gemfile.6.0.sqlite3 +++ /dev/null @@ -1,9 +0,0 @@ -source 'https://rubygems.org' - -gem 'activerecord', '~>6.0.0' -gem 'rspec', '~>3.4' -gem 'sqlite3' -gem 'rake' -gem 'gemika' - -gem 'active_type', :path => '.' diff --git a/Gemfile.6.0.sqlite3.lock b/Gemfile.6.0.sqlite3.lock deleted file mode 100644 index 027d0a5..0000000 --- a/Gemfile.6.0.sqlite3.lock +++ /dev/null @@ -1,59 +0,0 @@ -PATH - remote: . - specs: - active_type (2.5.1) - activerecord (>= 3.2) - -GEM - remote: https://rubygems.org/ - specs: - activemodel (6.0.3.4) - activesupport (= 6.0.3.4) - activerecord (6.0.3.4) - activemodel (= 6.0.3.4) - activesupport (= 6.0.3.4) - activesupport (6.0.3.4) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 0.7, < 2) - minitest (~> 5.1) - tzinfo (~> 1.1) - zeitwerk (~> 2.2, >= 2.2.2) - concurrent-ruby (1.1.7) - diff-lcs (1.4.4) - gemika (0.6.0) - i18n (1.8.5) - concurrent-ruby (~> 1.0) - minitest (5.14.2) - rake (13.0.1) - rspec (3.10.0) - rspec-core (~> 3.10.0) - rspec-expectations (~> 3.10.0) - rspec-mocks (~> 3.10.0) - rspec-core (3.10.0) - rspec-support (~> 3.10.0) - rspec-expectations (3.10.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-mocks (3.10.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-support (3.10.0) - sqlite3 (1.4.2) - thread_safe (0.3.6) - tzinfo (1.2.8) - thread_safe (~> 0.1) - zeitwerk (2.4.1) - -PLATFORMS - ruby - -DEPENDENCIES - active_type! - activerecord (~> 6.0.0) - gemika - rake - rspec (~> 3.4) - sqlite3 - -BUNDLED WITH - 2.2.27 diff --git a/Gemfile.6.1.pg.lock b/Gemfile.6.1.pg.lock index 6b6cd84..3a5167c 100644 --- a/Gemfile.6.1.pg.lock +++ b/Gemfile.6.1.pg.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - active_type (2.5.1) - activerecord (>= 3.2) + active_type (2.6.0) + activerecord (>= 6.1) GEM remote: https://rubygems.org/ diff --git a/Gemfile.6.1.sqlite3.lock b/Gemfile.6.1.sqlite3.lock index 56a8639..e728a92 100644 --- a/Gemfile.6.1.sqlite3.lock +++ b/Gemfile.6.1.sqlite3.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - active_type (2.5.1) - activerecord (>= 3.2) + active_type (2.6.0) + activerecord (>= 6.1) GEM remote: https://rubygems.org/ diff --git a/Gemfile.7.0.pg b/Gemfile.7.0.pg deleted file mode 100644 index e59b8f8..0000000 --- a/Gemfile.7.0.pg +++ /dev/null @@ -1,9 +0,0 @@ -source 'https://rubygems.org' - -gem 'activerecord', '~>7.0.3' -gem 'rspec', '~>3.4' -gem 'pg' -gem 'rake' -gem 'gemika' - -gem 'active_type', :path => '.' diff --git a/Gemfile.7.0.pg.lock b/Gemfile.7.0.pg.lock deleted file mode 100644 index e8ec323..0000000 --- a/Gemfile.7.0.pg.lock +++ /dev/null @@ -1,56 +0,0 @@ -PATH - remote: . - specs: - active_type (2.5.1) - activerecord (>= 3.2) - -GEM - remote: https://rubygems.org/ - specs: - 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) - activesupport (7.0.4.2) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) - concurrent-ruby (1.2.0) - diff-lcs (1.5.0) - gemika (0.8.1) - i18n (1.12.0) - concurrent-ruby (~> 1.0) - minitest (5.17.0) - pg (1.4.5) - rake (13.0.6) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - 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-support (3.12.0) - tzinfo (2.0.5) - concurrent-ruby (~> 1.0) - -PLATFORMS - ruby - -DEPENDENCIES - active_type! - activerecord (~> 7.0.3) - gemika - pg - rake - rspec (~> 3.4) - -BUNDLED WITH - 2.4.5 diff --git a/Gemfile.7.0.sqlite3.lock b/Gemfile.7.0.sqlite3.lock deleted file mode 100644 index d04e530..0000000 --- a/Gemfile.7.0.sqlite3.lock +++ /dev/null @@ -1,58 +0,0 @@ -PATH - remote: . - specs: - active_type (2.5.1) - activerecord (>= 3.2) - -GEM - remote: https://rubygems.org/ - specs: - activemodel (7.0.4.3) - activesupport (= 7.0.4.3) - activerecord (7.0.4.3) - activemodel (= 7.0.4.3) - activesupport (= 7.0.4.3) - activesupport (7.0.4.3) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) - concurrent-ruby (1.2.2) - diff-lcs (1.5.0) - gemika (0.8.1) - i18n (1.13.0) - concurrent-ruby (~> 1.0) - mini_portile2 (2.8.1) - minitest (5.18.0) - rake (13.0.6) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - 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-support (3.12.0) - sqlite3 (1.6.0) - mini_portile2 (~> 2.8.0) - tzinfo (2.0.6) - concurrent-ruby (~> 1.0) - -PLATFORMS - ruby - -DEPENDENCIES - active_type! - activerecord (~> 7.0.3) - gemika - rake - rspec (~> 3.4) - sqlite3 - -BUNDLED WITH - 2.4.5 diff --git a/Gemfile.7.1.pg.lock b/Gemfile.7.1.pg.lock index cc6eedb..92df49b 100644 --- a/Gemfile.7.1.pg.lock +++ b/Gemfile.7.1.pg.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - active_type (2.5.1) - activerecord (>= 3.2) + active_type (2.6.0) + activerecord (>= 6.1) GEM remote: https://rubygems.org/ diff --git a/Gemfile.7.1.sqlite3.lock b/Gemfile.7.1.sqlite3.lock index 75d6863..d76b464 100644 --- a/Gemfile.7.1.sqlite3.lock +++ b/Gemfile.7.1.sqlite3.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - active_type (2.5.1) - activerecord (>= 3.2) + active_type (2.6.0) + activerecord (>= 6.1) GEM remote: https://rubygems.org/ diff --git a/Gemfile.5.2.mysql2 b/Gemfile.7.2.mysql2 similarity index 80% rename from Gemfile.5.2.mysql2 rename to Gemfile.7.2.mysql2 index ea31488..d093f28 100644 --- a/Gemfile.5.2.mysql2 +++ b/Gemfile.7.2.mysql2 @@ -1,6 +1,6 @@ source 'https://rubygems.org' -gem 'activerecord', '~>5.1.0' +gem 'activerecord', '~>7.2.0' gem 'rspec', '~>3.4' gem 'mysql2' gem 'rake' diff --git a/Gemfile.7.2.mysql2.lock b/Gemfile.7.2.mysql2.lock new file mode 100644 index 0000000..0d08ae1 --- /dev/null +++ b/Gemfile.7.2.mysql2.lock @@ -0,0 +1,73 @@ +PATH + remote: . + specs: + active_type (2.6.0) + activerecord (>= 6.1) + +GEM + remote: https://rubygems.org/ + specs: + 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) + 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) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.8) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + diff-lcs (1.5.1) + drb (2.2.1) + gemika (0.8.3) + i18n (1.14.6) + concurrent-ruby (~> 1.0) + logger (1.6.4) + minitest (5.25.4) + mysql2 (0.5.6) + rake (13.2.1) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.2) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.2) + securerandom (0.4.1) + timeout (0.4.3) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + +PLATFORMS + ruby + x86_64-linux + +DEPENDENCIES + active_type! + activerecord (~> 7.2.0) + gemika + mysql2 + rake + rspec (~> 3.4) + +BUNDLED WITH + 2.6.1 diff --git a/Gemfile.7.2.pg.lock b/Gemfile.7.2.pg.lock index 9a62115..2e2fa30 100644 --- a/Gemfile.7.2.pg.lock +++ b/Gemfile.7.2.pg.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - active_type (2.5.1) - activerecord (>= 3.2) + active_type (2.6.0) + activerecord (>= 6.1) GEM remote: https://rubygems.org/ diff --git a/Gemfile.7.2.sqlite3.lock b/Gemfile.7.2.sqlite3.lock index fd80aef..76251df 100644 --- a/Gemfile.7.2.sqlite3.lock +++ b/Gemfile.7.2.sqlite3.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - active_type (2.5.1) - activerecord (>= 3.2) + active_type (2.6.0) + activerecord (>= 6.1) GEM remote: https://rubygems.org/ diff --git a/Gemfile.7.0.sqlite3 b/Gemfile.8.0.sqlite3 similarity index 80% rename from Gemfile.7.0.sqlite3 rename to Gemfile.8.0.sqlite3 index a48447a..9496663 100644 --- a/Gemfile.7.0.sqlite3 +++ b/Gemfile.8.0.sqlite3 @@ -1,6 +1,6 @@ source 'https://rubygems.org' -gem 'activerecord', '~>7.0.3' +gem 'activerecord', '~>8.0.0' gem 'rspec', '~>3.4' gem 'sqlite3' gem 'rake' diff --git a/Gemfile.8.0.sqlite3.lock b/Gemfile.8.0.sqlite3.lock new file mode 100644 index 0000000..7f23d0d --- /dev/null +++ b/Gemfile.8.0.sqlite3.lock @@ -0,0 +1,84 @@ +PATH + remote: . + specs: + active_type (2.6.0) + activerecord (>= 6.1) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (8.0.1) + activesupport (= 8.0.1) + activerecord (8.0.1) + activemodel (= 8.0.1) + activesupport (= 8.0.1) + timeout (>= 0.4.0) + activesupport (8.0.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) + uri (>= 0.13.1) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.8) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + diff-lcs (1.5.1) + drb (2.2.1) + gemika (0.8.3) + i18n (1.14.6) + concurrent-ruby (~> 1.0) + logger (1.6.4) + minitest (5.25.4) + rake (13.2.1) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.2) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.2) + securerandom (0.4.1) + sqlite3 (2.4.1-aarch64-linux-gnu) + sqlite3 (2.4.1-arm-linux-gnu) + sqlite3 (2.4.1-arm64-darwin) + sqlite3 (2.4.1-x86-linux-gnu) + sqlite3 (2.4.1-x86_64-darwin) + sqlite3 (2.4.1-x86_64-linux-gnu) + timeout (0.4.3) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + uri (1.0.2) + +PLATFORMS + aarch64-linux + arm-linux + arm64-darwin + x86-linux + x86_64-darwin + x86_64-linux + +DEPENDENCIES + active_type! + activerecord (~> 8.0.0) + gemika + rake + rspec (~> 3.4) + sqlite3 + +BUNDLED WITH + 2.6.1 diff --git a/README.md b/README.md index 04a9051..56fbd08 100644 --- a/README.md +++ b/README.md @@ -434,14 +434,14 @@ Now, if you load `credentials`, you will automatically receive records of type ` Supported Rails versions ------------------------ -ActiveType is tested against ActiveRecord 5.2, 6.0, 6.1, and 7.0. +ActiveType is tested against ActiveRecord 6.1, 7.1, 7.2, 8.0. Later versions might work, earlier will not. Supported Ruby versions ------------------------ -ActiveType is tested against 2.5, 2.7, 3.0, and 3.1. +ActiveType is tested against Ruby 2.7+. Installation diff --git a/active_type.gemspec b/active_type.gemspec index 5f482d7..143e662 100644 --- a/active_type.gemspec +++ b/active_type.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |s| s.add_development_dependency "bundler", ">= 1.5" s.add_development_dependency "rake" - s.add_runtime_dependency('activerecord', '>= 3.2') + s.add_runtime_dependency('activerecord', '>= 6.1') - s.required_ruby_version = '>= 2.5.0' + s.required_ruby_version = '>= 2.7.0' end diff --git a/lib/active_type/version.rb b/lib/active_type/version.rb index 33fb0f9..4ca3666 100644 --- a/lib/active_type/version.rb +++ b/lib/active_type/version.rb @@ -1,3 +1,3 @@ module ActiveType - VERSION = '2.5.1' + VERSION = '2.6.0' end