Skip to content

Commit

Permalink
Add AR4.1 version for travic-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hirocaster committed Aug 29, 2015
1 parent 1473b7a commit bf4e439
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
language: ruby
install: bundle install --jobs=3 --retry=3
rvm:
- 2.2.3
- 2.1.7
- 2.0.0-p647
before_install: gem install bundler -v 1.10.6
gemfile:
- Gemfile
- ar41.gemfile
services:
- mysql
script:
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
source "https://rubygems.org"

gem "activerecord", ">= 4.2.0"

# Specify your gem's dependencies in active_record_sharding.gemspec
gemspec
2 changes: 0 additions & 2 deletions activerecord-sharding.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = ">= 2.0"

spec.add_dependency "activerecord", ">= 4.1.0"

spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
Expand Down
6 changes: 6 additions & 0 deletions ar41.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source "https://rubygems.org"

gem "activerecord", ">= 4.1.0", "< 4.2.0"

# Specify your gem's dependencies in active_record_sharding.gemspec
gemspec

0 comments on commit bf4e439

Please sign in to comment.