Skip to content

Commit

Permalink
open up to AR 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ronen committed Jun 14, 2018
1 parent 0853586 commit 08e3b5c
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ gemfile:
- gemfiles/activerecord-5.1/Gemfile.mysql2
- gemfiles/activerecord-5.1/Gemfile.postgresql
- gemfiles/activerecord-5.1/Gemfile.sqlite3
- gemfiles/activerecord-5.2/Gemfile.mysql2
- gemfiles/activerecord-5.2/Gemfile.postgresql
- gemfiles/activerecord-5.2/Gemfile.sqlite3
env: POSTGRESQL_DB_USER=postgres MYSQL_DB_USER=travis
addons:
postgresql: '9.4'
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ SchemaPlus::Columns is tested on:
* ruby **2.3.1** with activerecord **4.2**, using **mysql2**, **sqlite3** or **postgresql**
* ruby **2.3.1** with activerecord **5.0**, using **mysql2**, **sqlite3** or **postgresql**
* ruby **2.3.1** with activerecord **5.1**, using **mysql2**, **sqlite3** or **postgresql**
* ruby **2.3.1** with activerecord **5.2**, using **mysql2**, **sqlite3** or **postgresql**

<!-- SCHEMA_DEV: MATRIX - end -->

Expand Down
3 changes: 3 additions & 0 deletions gemfiles/activerecord-5.2/Gemfile.base
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
eval File.read File.expand_path('../../Gemfile.base', __FILE__)

gem "activerecord", ">= 5.2.0.beta0", "< 5.3"
10 changes: 10 additions & 0 deletions gemfiles/activerecord-5.2/Gemfile.mysql2
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "pathname"
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)

platform :ruby do
gem "mysql2"
end

platform :jruby do
gem 'activerecord-jdbcmysql-adapter'
end
10 changes: 10 additions & 0 deletions gemfiles/activerecord-5.2/Gemfile.postgresql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "pathname"
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)

platform :ruby do
gem "pg"
end

platform :jruby do
gem 'activerecord-jdbcpostgresql-adapter'
end
10 changes: 10 additions & 0 deletions gemfiles/activerecord-5.2/Gemfile.sqlite3
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "pathname"
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)

platform :ruby do
gem "sqlite3"
end

platform :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
end
1 change: 1 addition & 0 deletions schema_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ activerecord:
- 4.2
- 5.0
- 5.1
- 5.2
db:
- mysql2
- sqlite3
Expand Down
2 changes: 1 addition & 1 deletion schema_plus_columns.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]

gem.add_dependency "activerecord", ">= 4.2", "< 5.2"
gem.add_dependency "activerecord", ">= 4.2", "< 5.3"
gem.add_dependency "schema_plus_core"
gem.add_dependency "schema_plus_indexes", "~> 0.2"
gem.add_dependency "its-it", "~> 1.2"
Expand Down

0 comments on commit 08e3b5c

Please sign in to comment.