From 5b7a03550a06f43fab17f7d1c1a833c5438caf11 Mon Sep 17 00:00:00 2001 From: "Marcos G. Zimmermann" Date: Tue, 21 Jan 2025 07:22:49 -0300 Subject: [PATCH] feat: add rails 7.2 and 8.0 support --- .github/workflows/ruby.yml | 28 +++++- CHANGELOG.md | 1 + Gemfile | 2 +- Gemfile.lock | 4 +- bin/setup | 10 ++- ci/Gemfile.rails-5.2 | 2 +- ci/Gemfile.rails-5.2.lock | 4 +- ci/Gemfile.rails-6.0 | 2 +- ci/Gemfile.rails-6.0.lock | 4 +- ci/Gemfile.rails-6.1 | 2 +- ci/Gemfile.rails-6.1.lock | 4 +- ci/Gemfile.rails-7.0 | 2 +- ci/Gemfile.rails-7.0.lock | 4 +- ci/Gemfile.rails-7.1 | 2 +- ci/Gemfile.rails-7.1.lock | 4 +- ci/Gemfile.rails-7.2 | 10 +++ ci/Gemfile.rails-7.2.lock | 175 ++++++++++++++++++++++++++++++++++++ ci/Gemfile.rails-8.0 | 10 +++ ci/Gemfile.rails-8.0.lock | 176 +++++++++++++++++++++++++++++++++++++ esse-active_record.gemspec | 2 +- mise.toml | 2 + 21 files changed, 426 insertions(+), 24 deletions(-) create mode 100644 ci/Gemfile.rails-7.2 create mode 100644 ci/Gemfile.rails-7.2.lock create mode 100644 ci/Gemfile.rails-8.0 create mode 100644 ci/Gemfile.rails-8.0.lock create mode 100644 mise.toml diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 85b4ce9..27eaa61 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -20,7 +20,7 @@ jobs: bundler-cache: true - name: Run linter run: bundle exec rubocop - ruby-2: + ruby-2-7: runs-on: ubuntu-latest strategy: fail-fast: false @@ -42,7 +42,7 @@ jobs: bundler-cache: true - name: Run tests run: bundle exec rspec - ruby-3: + ruby-3-0: runs-on: ubuntu-latest strategy: fail-fast: false @@ -51,7 +51,6 @@ jobs: - "3.0" - "3.1" - "3.2" - - "3.3" gemfile: - ci/Gemfile.rails-6.0 - ci/Gemfile.rails-6.1 @@ -68,3 +67,26 @@ jobs: bundler-cache: true - name: Run tests run: bundle exec rspec + ruby-3-2: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ruby: + - "3.2" + - "3.3" + - "3.4" + gemfile: + - ci/Gemfile.rails-7.2 + - ci/Gemfile.rails-8.0 + name: "ruby-${{ matrix.ruby }}/${{ matrix.gemfile }} specs" + env: + BUNDLE_GEMFILE: ${{ matrix.gemfile }} + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - name: Run tests + run: bundle exec rspec diff --git a/CHANGELOG.md b/CHANGELOG.md index 6466583..ee08cd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## 0.3.9 - 2025-01-21 * Move hooks to a separate gem, [esse-hooks](https://github.com/marcosgz/esse-hooks) +* Add rails 8 support ## 0.3.8 - 2024-08-08 * Add `connect_with:` option to the collection definition. diff --git a/Gemfile b/Gemfile index ccb8b58..d7352ea 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } gem 'esse', '~> 0.3.4' gem 'sqlite3', '~> 1.7.3' gem 'activerecord', '~> 5.2' -gem 'esse-rspec', '~> 0.0.6' +gem 'esse-rspec' gem 'elasticsearch', '~> 7.17', '>= 7.17.10' # Specify your gem's dependencies in esse-active_record.gemspec diff --git a/Gemfile.lock b/Gemfile.lock index bd8ae75..78ec11c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,7 @@ PATH remote: . specs: esse-active_record (0.3.9) - activerecord (>= 4.2, < 8) + activerecord (>= 4.2) esse (>= 0.3.0) esse-hooks @@ -147,7 +147,7 @@ DEPENDENCIES elasticsearch (~> 7.17, >= 7.17.10) esse (~> 0.3.4) esse-active_record! - esse-rspec (~> 0.0.6) + esse-rspec pry rake rspec diff --git a/bin/setup b/bin/setup index 1ffbc59..3ce2893 100755 --- a/bin/setup +++ b/bin/setup @@ -3,5 +3,11 @@ set -euo pipefail IFS=$'\n\t' set -vx -bundle install -find ci -type f \( -iname "Gemfile.*" ! -iname "*.lock" \) -exec bundle install --gemfile {} \; +mise exec ruby@2.7.7 -- bundle install +mise exec ruby@2.7.7 -- bundle install --gemfile ci/Gemfile.rails-7.1 +mise exec ruby@2.7.7 -- bundle install --gemfile ci/Gemfile.rails-7.0 +mise exec ruby@2.7.7 -- bundle install --gemfile ci/Gemfile.rails-6.0 +mise exec ruby@2.7.7 -- bundle install --gemfile ci/Gemfile.rails-6.1 +mise exec ruby@2.7.7 -- bundle install --gemfile ci/Gemfile.rails-5.2 +mise exec ruby@3.2.2 -- bundle install --gemfile ci/Gemfile.rails-8.0 +mise exec ruby@3.2.2 -- bundle install --gemfile ci/Gemfile.rails-7.2 diff --git a/ci/Gemfile.rails-5.2 b/ci/Gemfile.rails-5.2 index 8752437..7dc5193 100644 --- a/ci/Gemfile.rails-5.2 +++ b/ci/Gemfile.rails-5.2 @@ -4,7 +4,7 @@ source "https://rubygems.org" gem 'sqlite3', '~> 1.3.6' gem 'activerecord', '~> 5.2' -gem 'esse-rspec', '~> 0.0.6' +gem 'esse-rspec' gem 'elasticsearch', '~> 7.17', '>= 7.17.10' gemspec path: ".." diff --git a/ci/Gemfile.rails-5.2.lock b/ci/Gemfile.rails-5.2.lock index a31d075..77e7dfa 100644 --- a/ci/Gemfile.rails-5.2.lock +++ b/ci/Gemfile.rails-5.2.lock @@ -2,7 +2,7 @@ PATH remote: .. specs: esse-active_record (0.3.9) - activerecord (>= 4.2, < 8) + activerecord (>= 4.2) esse (>= 0.3.0) esse-hooks @@ -146,7 +146,7 @@ DEPENDENCIES dotenv elasticsearch (~> 7.17, >= 7.17.10) esse-active_record! - esse-rspec (~> 0.0.6) + esse-rspec pry rake rspec diff --git a/ci/Gemfile.rails-6.0 b/ci/Gemfile.rails-6.0 index 2f56edf..643e1d0 100644 --- a/ci/Gemfile.rails-6.0 +++ b/ci/Gemfile.rails-6.0 @@ -4,7 +4,7 @@ source "https://rubygems.org" gem 'sqlite3' gem 'activerecord', '~> 6.0' -gem 'esse-rspec', '~> 0.0.6' +gem 'esse-rspec' gem 'elasticsearch', '~> 7.17', '>= 7.17.10' gemspec path: ".." diff --git a/ci/Gemfile.rails-6.0.lock b/ci/Gemfile.rails-6.0.lock index 0ce6ded..bded6b8 100644 --- a/ci/Gemfile.rails-6.0.lock +++ b/ci/Gemfile.rails-6.0.lock @@ -2,7 +2,7 @@ PATH remote: .. specs: esse-active_record (0.3.9) - activerecord (>= 4.2, < 8) + activerecord (>= 4.2) esse (>= 0.3.0) esse-hooks @@ -147,7 +147,7 @@ DEPENDENCIES dotenv elasticsearch (~> 7.17, >= 7.17.10) esse-active_record! - esse-rspec (~> 0.0.6) + esse-rspec pry rake rspec diff --git a/ci/Gemfile.rails-6.1 b/ci/Gemfile.rails-6.1 index f361544..dcf1bc9 100644 --- a/ci/Gemfile.rails-6.1 +++ b/ci/Gemfile.rails-6.1 @@ -4,7 +4,7 @@ source "https://rubygems.org" gem 'sqlite3' gem 'activerecord', '~> 6.1' -gem 'esse-rspec', '~> 0.0.6' +gem 'esse-rspec' gem 'elasticsearch', '~> 7.17', '>= 7.17.10' gemspec path: ".." diff --git a/ci/Gemfile.rails-6.1.lock b/ci/Gemfile.rails-6.1.lock index d03acaa..a856ded 100644 --- a/ci/Gemfile.rails-6.1.lock +++ b/ci/Gemfile.rails-6.1.lock @@ -2,7 +2,7 @@ PATH remote: .. specs: esse-active_record (0.3.9) - activerecord (>= 4.2, < 8) + activerecord (>= 4.2) esse (>= 0.3.0) esse-hooks @@ -147,7 +147,7 @@ DEPENDENCIES dotenv elasticsearch (~> 7.17, >= 7.17.10) esse-active_record! - esse-rspec (~> 0.0.6) + esse-rspec pry rake rspec diff --git a/ci/Gemfile.rails-7.0 b/ci/Gemfile.rails-7.0 index 2f56edf..643e1d0 100644 --- a/ci/Gemfile.rails-7.0 +++ b/ci/Gemfile.rails-7.0 @@ -4,7 +4,7 @@ source "https://rubygems.org" gem 'sqlite3' gem 'activerecord', '~> 6.0' -gem 'esse-rspec', '~> 0.0.6' +gem 'esse-rspec' gem 'elasticsearch', '~> 7.17', '>= 7.17.10' gemspec path: ".." diff --git a/ci/Gemfile.rails-7.0.lock b/ci/Gemfile.rails-7.0.lock index 0ce6ded..bded6b8 100644 --- a/ci/Gemfile.rails-7.0.lock +++ b/ci/Gemfile.rails-7.0.lock @@ -2,7 +2,7 @@ PATH remote: .. specs: esse-active_record (0.3.9) - activerecord (>= 4.2, < 8) + activerecord (>= 4.2) esse (>= 0.3.0) esse-hooks @@ -147,7 +147,7 @@ DEPENDENCIES dotenv elasticsearch (~> 7.17, >= 7.17.10) esse-active_record! - esse-rspec (~> 0.0.6) + esse-rspec pry rake rspec diff --git a/ci/Gemfile.rails-7.1 b/ci/Gemfile.rails-7.1 index 55043a5..5d97063 100644 --- a/ci/Gemfile.rails-7.1 +++ b/ci/Gemfile.rails-7.1 @@ -4,7 +4,7 @@ source "https://rubygems.org" gem 'sqlite3' gem 'activerecord', '~> 7.1' -gem 'esse-rspec', '~> 0.0.6' +gem 'esse-rspec' gem 'elasticsearch', '~> 7.17', '>= 7.17.10' gemspec path: ".." diff --git a/ci/Gemfile.rails-7.1.lock b/ci/Gemfile.rails-7.1.lock index 65010c7..a528a91 100644 --- a/ci/Gemfile.rails-7.1.lock +++ b/ci/Gemfile.rails-7.1.lock @@ -2,7 +2,7 @@ PATH remote: .. specs: esse-active_record (0.3.9) - activerecord (>= 4.2, < 8) + activerecord (>= 4.2) esse (>= 0.3.0) esse-hooks @@ -155,7 +155,7 @@ DEPENDENCIES dotenv elasticsearch (~> 7.17, >= 7.17.10) esse-active_record! - esse-rspec (~> 0.0.6) + esse-rspec pry rake rspec diff --git a/ci/Gemfile.rails-7.2 b/ci/Gemfile.rails-7.2 new file mode 100644 index 0000000..b4ec0f3 --- /dev/null +++ b/ci/Gemfile.rails-7.2 @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +gem 'sqlite3' +gem 'activerecord', '~> 7.2' +gem 'esse-rspec' +gem 'elasticsearch', '~> 7.17', '>= 7.17.10' + +gemspec path: ".." diff --git a/ci/Gemfile.rails-7.2.lock b/ci/Gemfile.rails-7.2.lock new file mode 100644 index 0000000..e7834af --- /dev/null +++ b/ci/Gemfile.rails-7.2.lock @@ -0,0 +1,175 @@ +PATH + remote: .. + specs: + esse-active_record (0.3.9) + activerecord (>= 4.2) + esse (>= 0.3.0) + esse-hooks + +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) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + ast (2.4.2) + awesome_print (1.9.2) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.9) + coderay (1.1.3) + concurrent-ruby (1.3.5) + connection_pool (2.5.0) + crack (1.0.0) + bigdecimal + rexml + diff-lcs (1.5.1) + dotenv (3.1.7) + drb (2.2.1) + elasticsearch (7.17.11) + elasticsearch-api (= 7.17.11) + elasticsearch-transport (= 7.17.11) + elasticsearch-api (7.17.11) + multi_json + elasticsearch-transport (7.17.11) + base64 + faraday (>= 1, < 3) + multi_json + esse (0.3.5) + multi_json + thor (>= 0.19) + esse-hooks (0.0.1) + esse (>= 0.3.0) + esse-rspec (0.0.6) + esse (>= 0.2.4) + rspec (>= 3) + faraday (2.12.2) + faraday-net_http (>= 2.0, < 3.5) + json + logger + faraday-net_http (3.4.0) + net-http (>= 0.5.0) + hashdiff (1.1.2) + i18n (1.14.7) + concurrent-ruby (~> 1.0) + json (2.9.1) + language_server-protocol (3.17.0.3) + lint_roller (1.1.0) + logger (1.6.5) + method_source (1.1.0) + minitest (5.25.4) + multi_json (1.15.0) + net-http (0.6.0) + uri + parallel (1.26.3) + parser (3.3.7.0) + ast (~> 2.4.1) + racc + pry (0.15.2) + coderay (~> 1.1) + method_source (~> 1.0) + public_suffix (6.0.1) + racc (1.8.1) + rainbow (3.1.1) + rake (13.2.1) + regexp_parser (2.10.0) + rexml (3.4.0) + 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) + rubocop (1.70.0) + json (~> 2.3) + language_server-protocol (>= 3.17.0) + parallel (~> 1.10) + parser (>= 3.3.0.2) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.36.2, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.37.0) + parser (>= 3.3.1.0) + rubocop-performance (1.23.1) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) + rubocop-rspec (3.4.0) + rubocop (~> 1.61) + ruby-progressbar (1.13.0) + securerandom (0.4.1) + sqlite3 (2.5.0-x86_64-linux-gnu) + standard (1.44.0) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.70.0) + standard-custom (~> 1.0.0) + standard-performance (~> 1.6) + standard-custom (1.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.50) + standard-performance (1.6.0) + lint_roller (~> 1.1) + rubocop-performance (~> 1.23.0) + thor (1.3.2) + timeout (0.4.3) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (3.1.4) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) + uri (1.0.2) + webmock (3.24.0) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.37) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + activerecord (~> 7.2) + awesome_print + dotenv + elasticsearch (~> 7.17, >= 7.17.10) + esse-active_record! + esse-rspec + pry + rake + rspec + rubocop + rubocop-performance + rubocop-rspec + sqlite3 + standard + webmock + yard + +BUNDLED WITH + 2.3.26 diff --git a/ci/Gemfile.rails-8.0 b/ci/Gemfile.rails-8.0 new file mode 100644 index 0000000..a518f65 --- /dev/null +++ b/ci/Gemfile.rails-8.0 @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +gem 'sqlite3' +gem 'activerecord', '~> 8.0' +gem 'esse-rspec' +gem 'elasticsearch', '~> 7.17', '>= 7.17.10' + +gemspec path: ".." diff --git a/ci/Gemfile.rails-8.0.lock b/ci/Gemfile.rails-8.0.lock new file mode 100644 index 0000000..86e3bbf --- /dev/null +++ b/ci/Gemfile.rails-8.0.lock @@ -0,0 +1,176 @@ +PATH + remote: .. + specs: + esse-active_record (0.3.9) + activerecord (>= 4.2) + esse (>= 0.3.0) + esse-hooks + +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) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + ast (2.4.2) + awesome_print (1.9.2) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.9) + coderay (1.1.3) + concurrent-ruby (1.3.5) + connection_pool (2.5.0) + crack (1.0.0) + bigdecimal + rexml + diff-lcs (1.5.1) + dotenv (3.1.7) + drb (2.2.1) + elasticsearch (7.17.11) + elasticsearch-api (= 7.17.11) + elasticsearch-transport (= 7.17.11) + elasticsearch-api (7.17.11) + multi_json + elasticsearch-transport (7.17.11) + base64 + faraday (>= 1, < 3) + multi_json + esse (0.3.5) + multi_json + thor (>= 0.19) + esse-hooks (0.0.1) + esse (>= 0.3.0) + esse-rspec (0.0.6) + esse (>= 0.2.4) + rspec (>= 3) + faraday (2.12.2) + faraday-net_http (>= 2.0, < 3.5) + json + logger + faraday-net_http (3.4.0) + net-http (>= 0.5.0) + hashdiff (1.1.2) + i18n (1.14.7) + concurrent-ruby (~> 1.0) + json (2.9.1) + language_server-protocol (3.17.0.3) + lint_roller (1.1.0) + logger (1.6.5) + method_source (1.1.0) + minitest (5.25.4) + multi_json (1.15.0) + net-http (0.6.0) + uri + parallel (1.26.3) + parser (3.3.7.0) + ast (~> 2.4.1) + racc + pry (0.15.2) + coderay (~> 1.1) + method_source (~> 1.0) + public_suffix (6.0.1) + racc (1.8.1) + rainbow (3.1.1) + rake (13.2.1) + regexp_parser (2.10.0) + rexml (3.4.0) + 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) + rubocop (1.70.0) + json (~> 2.3) + language_server-protocol (>= 3.17.0) + parallel (~> 1.10) + parser (>= 3.3.0.2) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.36.2, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.37.0) + parser (>= 3.3.1.0) + rubocop-performance (1.23.1) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) + rubocop-rspec (3.4.0) + rubocop (~> 1.61) + ruby-progressbar (1.13.0) + securerandom (0.4.1) + sqlite3 (2.5.0-x86_64-linux-gnu) + standard (1.44.0) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.70.0) + standard-custom (~> 1.0.0) + standard-performance (~> 1.6) + standard-custom (1.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.50) + standard-performance (1.6.0) + lint_roller (~> 1.1) + rubocop-performance (~> 1.23.0) + thor (1.3.2) + timeout (0.4.3) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (3.1.4) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) + uri (1.0.2) + webmock (3.24.0) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.37) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + activerecord (~> 8.0) + awesome_print + dotenv + elasticsearch (~> 7.17, >= 7.17.10) + esse-active_record! + esse-rspec + pry + rake + rspec + rubocop + rubocop-performance + rubocop-rspec + sqlite3 + standard + webmock + yard + +BUNDLED WITH + 2.3.26 diff --git a/esse-active_record.gemspec b/esse-active_record.gemspec index b996942..1bd382d 100644 --- a/esse-active_record.gemspec +++ b/esse-active_record.gemspec @@ -31,7 +31,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'esse', '>= 0.3.0' spec.add_dependency 'esse-hooks', '>= 0.0.0' - spec.add_dependency 'activerecord', '>= 4.2', '< 8' + spec.add_dependency 'activerecord', '>= 4.2' spec.add_development_dependency 'awesome_print' spec.add_development_dependency 'dotenv' spec.add_development_dependency 'pry' diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..35e5bcc --- /dev/null +++ b/mise.toml @@ -0,0 +1,2 @@ +[tools] +ruby = "2.7.7"