Skip to content

Commit

Permalink
Update to 52
Browse files Browse the repository at this point in the history
  • Loading branch information
magec committed Apr 9, 2024
1 parent b10e50f commit e967a6b
Show file tree
Hide file tree
Showing 13 changed files with 139 additions and 380 deletions.
11 changes: 1 addition & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
references:

ruby_image: &ruby_image
circleci/ruby:2.3.3
circleci/ruby:2.7.7

mysql_container_config: &mysql_container_config
docker:
Expand All @@ -18,13 +18,6 @@ references:
docker:
- image: *ruby_image

install_bundler: &install_bundler
run:
name: Install Bundler
command: |
gem install bundler -v 1.14.6
gem cleanup bundler
install_gems: &install_gems
run:
name: Install Gems
Expand All @@ -48,15 +41,13 @@ jobs:
- DB_PORT=3306
steps:
- checkout
- *install_bundler
- *install_gems
- *appraisal_install
- *appraisal_rspec
test_on_sqlite:
<<: *sqlite_container_config
steps:
- checkout
- *install_bundler
- *install_gems
- *appraisal_install
- *appraisal_rspec
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.3
2.7.7
16 changes: 3 additions & 13 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
appraise 'activerecord-41' do
gem 'activerecord', '~> 4.1.0'
gem 'mysql2', '0.3.20' if ENV['CONFIG_MYSQL']
end

appraise 'activerecord-42' do
gem 'activerecord', '~> 4.2.0'
gem 'mysql2', '~> 0.4.0' if ENV['CONFIG_MYSQL']
end

appraise 'activerecord-50' do
gem 'activerecord', '~> 5.0.0'
gem 'mysql2', '~> 0.5.0' if ENV['CONFIG_MYSQL']
gem 'mysql2' if ENV['CONFIG_MYSQL']
end

appraise 'activerecord-51' do
gem 'activerecord', '~> 5.1.0'
gem 'mysql2', '~> 0.5.0' if ENV['CONFIG_MYSQL']
gem 'mysql2' if ENV['CONFIG_MYSQL']
end

appraise 'activerecord-52' do
gem 'activerecord', '~> 5.2.0'
gem 'mysql2', '~> 0.5.0' if ENV['CONFIG_MYSQL']
gem 'mysql2' if ENV['CONFIG_MYSQL']
end
8 changes: 0 additions & 8 deletions gemfiles/activerecord_41.gemfile

This file was deleted.

118 changes: 0 additions & 118 deletions gemfiles/activerecord_41.gemfile.lock

This file was deleted.

8 changes: 0 additions & 8 deletions gemfiles/activerecord_42.gemfile

This file was deleted.

116 changes: 0 additions & 116 deletions gemfiles/activerecord_42.gemfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion gemfiles/activerecord_50.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source "http://rubygems.org"

gem "activerecord", "~> 5.0.0"
gem "mysql2", "~> 0.5.0"
gem "mysql2"

gemspec path: "../"
Loading

0 comments on commit e967a6b

Please sign in to comment.