Commit 6e8e2f80d14f658108462ac7d9c94e7aeb695e22

Authored by Andrew Kane
1 parent 89bccb24

Updated tests to ActiveRecord 5.1

.travis.yml
... ... @@ -15,6 +15,7 @@ notifications:
15 15 on_failure: change
16 16 gemfile:
17 17 - Gemfile
  18 + - test/gemfiles/activerecord50.gemfile
18 19 - test/gemfiles/activerecord42.gemfile
19 20 - test/gemfiles/mongoid5.gemfile
20 21 - test/gemfiles/mongoid6.gemfile
... ...
Gemfile
... ... @@ -4,7 +4,7 @@ source "https://rubygems.org"
4 4 gemspec
5 5  
6 6 gem "sqlite3"
7   -gem "activerecord", "~> 5.0.0"
  7 +gem "activerecord", "~> 5.1.0"
8 8 gem "gemoji-parser"
9 9 gem "typhoeus"
10 10 gem "activejob"
... ...
test/gemfiles/activerecord50.gemfile 0 → 100644
... ... @@ -0,0 +1,7 @@
  1 +source 'https://rubygems.org'
  2 +
  3 +# Specify your gem's dependencies in searchkick.gemspec
  4 +gemspec path: "../../"
  5 +
  6 +gem "sqlite3"
  7 +gem "activerecord", "~> 5.0.0"
... ...
test/gemfiles/activerecord51.gemfile
... ... @@ -1,7 +0,0 @@
1   -source 'https://rubygems.org'
2   -
3   -# Specify your gem's dependencies in searchkick.gemspec
4   -gemspec path: "../../"
5   -
6   -gem "sqlite3"
7   -gem "activerecord", "~> 5.1.0.beta1"