diff --git a/.ruby-version b/.ruby-version index c043eea..a603bb5 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.2.1 +2.7.5 diff --git a/Gemfile b/Gemfile index 435addb..caa189b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source "https://rubygems.org" -gem "activerecord", "~> 4.1.0" +gem "activerecord", "~> 6.1" gem "rake" -gem "rspec", "~> 3.1" +gem "rspec", "~> 3.11" gem "sqlite3" diff --git a/Gemfile.lock b/Gemfile.lock index ec84887..9f5fc3a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,48 +1,49 @@ GEM remote: https://rubygems.org/ specs: - activemodel (4.1.6) - activesupport (= 4.1.6) - builder (~> 3.1) - activerecord (4.1.6) - activemodel (= 4.1.6) - activesupport (= 4.1.6) - arel (~> 5.0.0) - activesupport (4.1.6) - i18n (~> 0.6, >= 0.6.9) - json (~> 1.7, >= 1.7.7) - minitest (~> 5.1) - thread_safe (~> 0.1) - tzinfo (~> 1.1) - arel (5.0.1.20140414130214) - builder (3.2.2) - diff-lcs (1.2.5) - i18n (0.6.11) - json (1.8.1) - minitest (5.4.2) - rake (10.3.2) - rspec (3.1.0) - rspec-core (~> 3.1.0) - rspec-expectations (~> 3.1.0) - rspec-mocks (~> 3.1.0) - rspec-core (3.1.4) - rspec-support (~> 3.1.0) - rspec-expectations (3.1.2) + activemodel (6.1.4.6) + activesupport (= 6.1.4.6) + activerecord (6.1.4.6) + activemodel (= 6.1.4.6) + activesupport (= 6.1.4.6) + activesupport (6.1.4.6) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + zeitwerk (~> 2.3) + concurrent-ruby (1.1.9) + diff-lcs (1.5.0) + i18n (1.10.0) + concurrent-ruby (~> 1.0) + minitest (5.15.0) + rake (13.0.6) + rspec (3.11.0) + rspec-core (~> 3.11.0) + rspec-expectations (~> 3.11.0) + rspec-mocks (~> 3.11.0) + rspec-core (3.11.0) + rspec-support (~> 3.11.0) + rspec-expectations (3.11.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.1.0) - rspec-mocks (3.1.2) - rspec-support (~> 3.1.0) - rspec-support (3.1.1) - sqlite3 (1.3.9) - thread_safe (0.3.4) - tzinfo (1.2.2) - thread_safe (~> 0.1) + rspec-support (~> 3.11.0) + rspec-mocks (3.11.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.11.0) + rspec-support (3.11.0) + sqlite3 (1.4.2) + tzinfo (2.0.4) + concurrent-ruby (~> 1.0) + zeitwerk (2.5.4) PLATFORMS ruby DEPENDENCIES - activerecord (~> 4.1.0) + activerecord (~> 6.1) rake - rspec (~> 3.1) + rspec (~> 3.11) sqlite3 + +BUNDLED WITH + 2.2.30 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c44eead..e90288d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -9,7 +9,7 @@ database: File.join(PROJECT_ROOT, "test.db") ) -class CreateSchema < ActiveRecord::Migration +class CreateSchema < ActiveRecord::Migration[6.1] def self.up create_table :people, force: true do |table| table.string :first_name