Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enable Rails 6 migrations * Update Ruby versions and remove rbx * Remove support for Devise 4.0 to 4.5. Minimum supported Devise version is 4.6 * Update Gemfile to use latest versions when possible. Add newer Ruby versions to travis config * Use latest bundler 2.0.1 * Drop Rails 4.2 support * Up required rubygems version to 2.5.0 * Update minimum required versions for Ruby, Devise, Bundler, Actionmailer * Update devise version in gemspec * Standardize devise version (4.6) across all Gemfiles
- Loading branch information
Showing
26 changed files
with
648 additions
and
1,285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,42 @@ | ||
language: ruby | ||
before_install: | ||
- gem update --system | ||
- gem install bundler | ||
sudo: false | ||
cache: bundler | ||
rvm: | ||
- 2.2.9 | ||
- 2.3.6 | ||
- 2.4.3 | ||
- 2.5.0 | ||
- rbx | ||
- jruby-9.1.16.0 | ||
- 2.2.10 | ||
- 2.3.8 | ||
- 2.4.5 | ||
- 2.5.3 | ||
- 2.6.1 | ||
- ruby-head | ||
- jruby-9.2.6.0 | ||
jdk: | ||
- openjdk7 | ||
- openjdk11 | ||
script: bundle exec rake test | ||
env: | ||
matrix: | ||
- DEVISE_ORM=active_record | ||
- DEVISE_ORM=mongoid | ||
gemfile: | ||
- Gemfile | ||
- gemfiles/Gemfile.devise-4.0 | ||
- gemfiles/Gemfile.devise-4.1 | ||
- gemfiles/Gemfile.devise-4.4 | ||
- gemfiles/Gemfile.rails-4.2 | ||
- gemfiles/Gemfile.rails-5.0 | ||
- gemfiles/Gemfile.rails-5.1 | ||
- gemfiles/Gemfile.rails-5.2 | ||
- gemfiles/Gemfile.rails-master | ||
install: "travis_retry bundle install" | ||
services: | ||
- mongodb | ||
matrix: | ||
exclude: | ||
- rvm: 2.1.10 | ||
gemfile: Gemfile | ||
- rvm: 2.4.3 | ||
gemfile: gemfiles/Gemfile.devise-4.0 | ||
- rvm: 2.4.3 | ||
gemfile: gemfiles/Gemfile.devise-4.1 | ||
- rvm: 2.5.0 | ||
gemfile: gemfiles/Gemfile.devise-4.0 | ||
- rvm: 2.5.0 | ||
gemfile: gemfiles/Gemfile.devise-4.1 | ||
include: | ||
- rvm: 2.5.0 | ||
- rvm: 2.2.10 | ||
gemfile: gemfiles/Gemfile.rails-master | ||
env: DEVISE_ORM=active_record | ||
- rvm: 2.5.0 | ||
- rvm: 2.3.8 | ||
gemfile: gemfiles/Gemfile.rails-master | ||
- rvm: 2.4.5 | ||
gemfile: gemfiles/Gemfile.rails-master | ||
env: DEVISE_ORM=mongoid | ||
allow_failures: | ||
- rvm: rbx | ||
- rvm: jruby-9.1.16.0 | ||
gemfile: Gemfile | ||
- rvm: jruby-9.2.6.0 | ||
- rvm: ruby-head | ||
- gemfile: gemfiles/Gemfile.rails-master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
source 'https://rubygems.org' | ||
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | ||
|
||
gemspec | ||
|
||
group :test do | ||
platforms :jruby do | ||
gem 'activerecord-jdbcsqlite3-adapter', '>= 5.0.pre1' | ||
gem 'activerecord-jdbcsqlite3-adapter', '~> 52.1' | ||
end | ||
|
||
platforms :ruby do | ||
gem "sqlite3", "~> 1.3.4" | ||
gem 'sqlite3', '~> 1.3.6' | ||
end | ||
|
||
gem 'devise', '~> 4.0' | ||
gem 'activerecord', '~> 5.1.0' | ||
gem 'actionmailer', '~> 5.1.0' | ||
gem "mongoid" | ||
# gem "mongoid", :github => "mongoid/mongoid", :branch => "master" | ||
gem "capybara" | ||
#gem "launchy", "~> 2.4.3" | ||
gem 'actionmailer', '~> 5.2.2' | ||
gem 'activerecord', '~> 5.2.2' | ||
gem 'capybara' | ||
gem 'devise', '~> 4.6' | ||
gem 'mocha' | ||
gem 'mongoid' # gem 'mongoid', github: 'mongoid/mongoid', branch: 'master' | ||
gem 'nokogiri' | ||
gem 'rspec-rails' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.