Commit 3ed70e682a0935e67a47a0a18e2b866d6e270c38

Authored by Andrew Kane
1 parent 46bc92bd

Added more Active Record tests

.travis.yml
1 1 language: ruby
2 2 rvm:
3   - - 1.9.3
4   - - 2.0.0
  3 + - 2.1
5 4 services:
6 5 - elasticsearch
7 6 - mongodb
... ... @@ -16,6 +15,9 @@ notifications:
16 15 on_failure: change
17 16 gemfile:
18 17 - Gemfile
  18 + - gemfiles/activerecord40.gemfile
  19 + - gemfiles/activerecord32.gemfile
  20 + - gemfiles/activerecord31.gemfile
19 21 - gemfiles/mongoid2.gemfile
20 22 - gemfiles/mongoid3.gemfile
21 23 - gemfiles/mongoid4.gemfile
... ...
Gemfile
... ... @@ -4,6 +4,4 @@ source 'https://rubygems.org'
4 4 gemspec
5 5  
6 6 gem "sqlite3"
7   -gem "activerecord", ">= 3.1"
8   -# gem "activerecord", "~> 3.2.0"
9   -# gem "activerecord", "~> 3.1.0"
  7 +gem "activerecord", "~> 4.1.0"
... ...
gemfiles/activerecord31.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", "~> 3.1.0"
... ...
gemfiles/activerecord32.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", "~> 3.2.0"
... ...
gemfiles/activerecord40.gemfile 0 โ†’ 100644
... ... @@ -0,0 +1,8 @@
  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", "~> 4.0.0"
  8 +gem "activejob_backport"
... ...