language: ruby
script: "bundle exec rspec"
rvm:
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - ruby-head
  - jruby-19mode # JRuby in 1.9 mode
  - rbx-19mode
env:
  - "RAILS_VERSION=3.1.0"
  - "RAILS_VERSION=3.2.0"
  - "RAILS_VERSION=4.0.0.pre"
  - "RAILS_VERSION=master"
matrix:
  allow_failures:
    - env: "RAILS_VERSION=master"
    - rvm: ruby-head
  exclude:
    - rvm: 1.9.2
      env: "RAILS_VERSION=4.0.0.pre"
    - rvm: 1.9.2
      env: "RAILS_VERSION=master"

language: ruby
script: "bundle exec rspec"
rvm:
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - ruby-head
  - jruby-19mode # JRuby in 1.9 mode
  - rbx-19mode
env:
  - "RAILS_VERSION=3.1.0"
  - "RAILS_VERSION=3.2.0"
  - "RAILS_VERSION=4.0.0"
  - "RAILS_VERSION=master"
matrix:
  allow_failures:
    - env: "RAILS_VERSION=master"
    - rvm: ruby-head
  exclude:
    - rvm: 1.9.2
      env: "RAILS_VERSION=master"

Test against rails 4.0.0, not 4.0.0.pre
Test against rails 4.0.0, not 4.0.0.pre
