Skip to content

Commit

Permalink
Adjust adapter gem versions to required versions in Rails
Browse files Browse the repository at this point in the history
It was impossible to run tests on Travis CI due too lose requirements
on gem versions. Bundler was loading version too new for specific
Rails version.
  • Loading branch information
barthez committed Jul 27, 2018
1 parent 89eefa2 commit c41754a
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ end
group :test do
gem 'rake', '~> 10.0'
gem 'rspec', '~> 2.14.0'
gem 'pg', '>= 0.15.1'
gem 'pg', '~> 1.0.0'
gem 'sqlite3', '>= 1.3.7'
end
8 changes: 4 additions & 4 deletions gemfiles/activerecord_3.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
source "http://rubygems.org"

gem "activerecord", "~> 3.2.0"
gem "mysql", "~> 2.9.1"
gem "mysql2", "~> 0.3.11"
gem 'mysql', '~> 2.8'
gem 'mysql2', '~> 0.3.10'

group :development do
gem "appraisal"
Expand All @@ -14,8 +14,8 @@ end
group :test do
gem "rake", "~> 10.0"
gem "rspec", "~> 2.14.0"
gem "pg", ">= 0.15.1"
gem "sqlite3", ">= 1.3.7"
gem 'pg', '~> 0.11'
gem "sqlite3", "~> 1.3.5"
end

gemspec :path => "../"
8 changes: 4 additions & 4 deletions gemfiles/activerecord_4.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
source "http://rubygems.org"

gem "activerecord", "~> 4.0.0"
gem "mysql", "~> 2.9.1"
gem "mysql2", "~> 0.3.11"
gem 'mysql', '~> 2.9'
gem 'mysql2', '~> 0.3.10'

group :development do
gem "appraisal"
Expand All @@ -14,8 +14,8 @@ end
group :test do
gem "rake", "~> 10.0"
gem "rspec", "~> 2.14.0"
gem "pg", ">= 0.15.1"
gem "sqlite3", ">= 1.3.7"
gem 'pg', '~> 0.11'
gem "sqlite3", "~> 1.3.6"
end

gemspec :path => "../"
8 changes: 4 additions & 4 deletions gemfiles/activerecord_4.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
source "http://rubygems.org"

gem "activerecord", "~> 4.2.0"
gem "mysql", "~> 2.9.1"
gem "mysql2", "~> 0.3.11"
gem 'mysql', '~> 2.9'
gem 'mysql2', '>= 0.3.13', '< 0.5'

group :development do
gem "appraisal"
Expand All @@ -14,8 +14,8 @@ end
group :test do
gem "rake", "~> 10.0"
gem "rspec", "~> 2.14.0"
gem "pg", ">= 0.15.1"
gem "sqlite3", ">= 1.3.7"
gem 'pg', '~> 0.15'
gem "sqlite3", "~> 1.3.6"
end

gemspec :path => "../"
4 changes: 2 additions & 2 deletions gemfiles/activerecord_5.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ end
group :test do
gem "rake", "~> 10.0"
gem "rspec", "~> 2.14.0"
gem "pg", ">= 0.15.1"
gem "sqlite3", ">= 1.3.7"
gem "pg", ">= 0.18", "< 2.0"
gem "sqlite3", "~> 1.3.6"
end

gemspec :path => "../"
4 changes: 2 additions & 2 deletions gemfiles/activerecord_5.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ end
group :test do
gem "rake", "~> 10.0"
gem "rspec", "~> 2.14.0"
gem "pg", ">= 0.15.1"
gem "sqlite3", ">= 1.3.7"
gem "pg", ">= 0.18", "< 2.0"
gem "sqlite3", "~> 1.3.6"
end

gemspec :path => "../"
6 changes: 3 additions & 3 deletions gemfiles/activerecord_edge.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "http://rubygems.org"

gem "arel", :github => "rails/arel"
gem "activerecord", :github => "rails/rails"
gem "mysql2", "~> 0.3.11"
gem "mysql2", "~> 0.4.4"

group :development do
gem "appraisal"
Expand All @@ -14,8 +14,8 @@ end
group :test do
gem "rake", "~> 10.0"
gem "rspec", "~> 2.14.0"
gem "pg", ">= 0.15.1"
gem "sqlite3", ">= 1.3.7"
gem "pg", ">= 0.18", "< 2.0"
gem "sqlite3", "~> 1.3.6"
end

gemspec :path => "../"

0 comments on commit c41754a

Please sign in to comment.