Skip to content

Commit

Permalink
Rails 4.0 ✨
Browse files Browse the repository at this point in the history
Test against released Rails 4.0 and Rails 4.1 dev; use Rails 4.0 by
default in development.
  • Loading branch information
haines committed Jul 7, 2013
1 parent bbb7af3 commit 78e1af4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=3.1"
- "RAILS_VERSION=3.0"
- "RAILS_VERSION=4.1"

matrix:
allow_failures:
- env: "RAILS_VERSION=4.0"
- env: "RAILS_VERSION=4.1"
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ end

platforms :jruby do
gem "minitest", ">= 3.0"
gem "activerecord-jdbcsqlite3-adapter"
gem "activerecord-jdbcsqlite3-adapter", ">= 1.3.0.beta2"
end

version = ENV["RAILS_VERSION"] || "3.2"
version = ENV["RAILS_VERSION"] || "4.0"

eval_gemfile File.expand_path("../gemfiles/#{version}.gemfile", __FILE__)
2 changes: 1 addition & 1 deletion gemfiles/4.0.gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
gem "rails", github: "rails/rails", branch: "4-0-0"
gem "rails", "~> 4.0.0"
gem "mongoid", github: "mongoid/mongoid"
gem "devise", github: "plataformatec/devise"
2 changes: 2 additions & 0 deletions gemfiles/4.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
gem "rails", github: "rails/rails"
gem "devise", github: "plataformatec/devise"

0 comments on commit 78e1af4

Please sign in to comment.