diff --git a/.travis.yml b/.travis.yml index 635d8f8..f1cb119 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ rvm: # - rbx-3 gemfile: + - gemfiles/active_record_52.gemfile - gemfiles/active_record_51.gemfile - gemfiles/active_record_50.gemfile - gemfiles/active_record_42.gemfile diff --git a/Rakefile b/Rakefile index 49db774..c53a74c 100644 --- a/Rakefile +++ b/Rakefile @@ -17,6 +17,7 @@ task default: "test:all" namespace :test do mappers = %w( active_record_edge + active_record_52 active_record_51 active_record_50 active_record_42 diff --git a/gemfiles/active_record_52.gemfile b/gemfiles/active_record_52.gemfile new file mode 100644 index 0000000..28262dc --- /dev/null +++ b/gemfiles/active_record_52.gemfile @@ -0,0 +1,24 @@ +source 'https://rubygems.org' + +gem 'railties', '~> 5.1.0' +gem 'activerecord', '~> 5.1.0', require: 'active_record' +gem 'actionview', '~> 5.1.0', require: 'action_view' + +platforms :ruby do + gem 'sqlite3', require: false + gem 'pg', require: false + gem 'mysql2', require: false +end +platforms :jruby do + gem 'activerecord-jdbcsqlite3-adapter', require: false + gem 'activerecord-jdbcpostgresql-adapter', require: false + gem 'activerecord-jdbcmysql-adapter', require: false +end +platforms :rbx do + gem 'rubysl', '~> 2.0' + gem 'racc' + gem 'minitest' + gem 'rubinius-developer_tools' +end + +gemspec path: '../'