Skip to content

Commit

Permalink
CI: Add a Rails 6 gemfile (allenwq#60)
Browse files Browse the repository at this point in the history
* Add a Rails 6 gemfile

See allenwq#50

* CI: Expect there to be a Bundler

* CI: Use a matrix to describe builds

  - this is to be able to say Rails 6 does not run on 2.4

* README: Drop note about versions of Rails
  • Loading branch information
olleolleolle authored Mar 1, 2020
1 parent 23cf64d commit 8a7f81e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
/spec/rails_app/log/*
/.ruby-version
/.idea/
/gemfiles/*gemfile.lock
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
language: ruby

rvm:
- 2.4
- 2.5
- 2.6
gemfile:
- gemfiles/rails_5_2.gemfile
- gemfiles/rails_5_1.gemfile
before_install: gem install bundler
- gemfiles/rails_6_0.gemfile

jobs:
exclude:
- rvm: 2.4
gemfile: gemfiles/rails_6_0.gemfile

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Letting [Devise](https://github.com/plataformatec/devise) support multiple email

## Getting Started

Add this line to your application's `Gemfile`, _devise-multi_email_ has been tested with Devise 4.0 and rails 4.2:
Add this line to your application's `Gemfile`:

```ruby
gem 'devise-multi_email'
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/rails_6_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gem "rails", ">= 6.0.2.1", "< 6.1"

gemspec path: "../"

0 comments on commit 8a7f81e

Please sign in to comment.