Skip to content

Commit

Permalink
Updated Appraisals gemfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
a-figueiredo-campos committed Feb 3, 2023
1 parent 8eca96e commit 45bd0ab
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
6 changes: 4 additions & 2 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# frozen_string_literal: true

appraise 'rails-6' do
gem 'rails', '>= 6.0', '< 7'
gem 'rails', '>= 6', '< 7'
gem 'railties', '>= 6', '< 7'
end

appraise 'rails-7' do
gem 'rails', '>= 7.0'
gem 'rails', '>= 7'
gem 'railties', '>= 7'
end
3 changes: 2 additions & 1 deletion gemfiles/rails_6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
source "https://rubygems.org"

gem "rdoc"
gem "rails", ">= 6.0", "< 7"
gem "rails", ">= 6", "< 7"
gem "railties", ">= 6", "< 7"

group :test do
gem "sqlite3"
Expand Down
3 changes: 2 additions & 1 deletion gemfiles/rails_6.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ DEPENDENCIES
factory_bot_rails
faker
mocha
rails (>= 6.0, < 7)
rails (>= 6, < 7)
railties (>= 6, < 7)
rake
rdoc
rspec-rails
Expand Down
3 changes: 2 additions & 1 deletion gemfiles/rails_7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
source "https://rubygems.org"

gem "rdoc"
gem "rails", ">= 7.0"
gem "rails", ">= 7"
gem "railties", ">= 7"

group :test do
gem "sqlite3"
Expand Down
3 changes: 2 additions & 1 deletion gemfiles/rails_7.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ DEPENDENCIES
factory_bot_rails
faker
mocha
rails (>= 7.0)
rails (>= 7)
railties (>= 7)
rake
rdoc
rspec-rails
Expand Down
2 changes: 1 addition & 1 deletion spec/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.0].define(version: 2015_05_15_173554) do
ActiveRecord::Schema.define(version: 2015_05_15_173554) do
create_table "survey_answers", force: :cascade do |t|
t.integer "attempt_id"
t.integer "question_id"
Expand Down
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
DatabaseCleaner.clean_with(:truncation)
end

config.after(:all) do |example|
config.after(:all) do
DatabaseCleaner.clean
end
end

0 comments on commit 45bd0ab

Please sign in to comment.