Commit b3b19c810016c7f12c25986fd9fd21ee36d4311a

Authored by Andrew Kane
1 parent 990e1b42

Updated tests to ActiveRecord 5.1

.travis.yml
... ... @@ -4,11 +4,8 @@ rvm:
4 4 - jruby-9.1.5.0
5 5 gemfile:
6 6 - Gemfile
7   - - test/gemfiles/activerecord32.gemfile
8   - - test/gemfiles/activerecord40.gemfile
9   - - test/gemfiles/activerecord41.gemfile
  7 + - test/gemfiles/activerecord50.gemfile
10 8 - test/gemfiles/activerecord42.gemfile
11   - - test/gemfiles/activerecord51.gemfile
12 9 sudo: false
13 10 script: RUBYOPT=W0 bundle exec rake test
14 11 before_install:
... ... @@ -27,4 +24,4 @@ matrix:
27 24 - rvm: jruby-9.1.5.0
28 25 gemfile: Gemfile
29 26 - rvm: jruby-9.1.5.0
30   - gemfile: test/gemfiles/activerecord51.gemfile
  27 + gemfile: test/gemfiles/activerecord50.gemfile
... ...
Gemfile
... ... @@ -3,4 +3,4 @@ source "https://rubygems.org"
3 3 # Specify your gem's dependencies in groupdate.gemspec
4 4 gemspec
5 5  
6   -gem "activerecord", "~> 5.0.0"
  6 +gem "activerecord", "~> 5.1.0"
... ...
test/gemfiles/activerecord50.gemfile 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +source 'https://rubygems.org'
  2 +
  3 +# Specify your gem's dependencies in groupdate.gemspec
  4 +gemspec path: "../../"
  5 +
  6 +gem "activerecord", "~> 5.0.0"
... ...
test/gemfiles/activerecord51.gemfile
... ... @@ -1,6 +0,0 @@
1   -source 'https://rubygems.org'
2   -
3   -# Specify your gem's dependencies in groupdate.gemspec
4   -gemspec path: "../../"
5   -
6   -gem "activerecord", "~> 5.1.0.beta1"