Skip to content

Commit

Permalink
Support Rails 7.0 (#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
enomotodev authored Dec 29, 2021
1 parent 6d7780e commit 5b1a5e1
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ matrix:
- rvm: 2.7.0
gemfile: gemfiles/rails_6_0_mongoid_7.gemfile
env: DEVISE_TOKEN_AUTH_ORM=mongoid
- rvm: 3.0.0
gemfile: gemfiles/rails_7_0.gemfile
- rvm: 3.0.0
gemfile: gemfiles/rails_7_0_mongoid_7.gemfile
env: DEVISE_TOKEN_AUTH_ORM=mongoid
- name: Code Climate Test Coverage
rvm: 2.5.6
env:
Expand Down
2 changes: 1 addition & 1 deletion devise_token_auth.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |s|

s.required_ruby_version = ">= 2.3.0"

s.add_dependency 'rails', '>= 4.2.0', '< 6.2'
s.add_dependency 'rails', '>= 4.2.0', '< 7.1'
s.add_dependency 'devise', '> 3.5.2', '< 5'
s.add_dependency 'bcrypt', '~> 3.0'

Expand Down
46 changes: 46 additions & 0 deletions gemfiles/rails_7_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "omniauth", "~> 1.9"
gem "rails", "~> 7.0"
gem "sqlite3", "~> 1.4.1"
gem "mysql2"
gem "pg"

group :development, :test do
gem "attr_encrypted"
gem "figaro"
gem "omniauth-facebook"
gem "omniauth-github"
gem "omniauth-google-oauth2"
gem 'omniauth-apple'
gem "rack-cors", require: "rack/cors"
gem "thor"
gem "database_cleaner"
gem "factory_bot_rails"
gem "faker"
gem "fuzz_ball"
gem "guard"
gem "guard-minitest"
gem "minitest"
gem "minitest-focus"
gem "minitest-rails"
gem "minitest-reporters"
gem "mocha", ">= 1.5"
gem "pry", "< 0.13"
gem "pry-byebug"
gem "pry-remote"
gem "rubocop", require: false
end

group :test do
gem "rails-controller-testing"
gem "simplecov", "~> 0.10", "< 0.18", require: false
end

group :development do
gem "github_changelog_generator"
end

gemspec path: "../"
45 changes: 45 additions & 0 deletions gemfiles/rails_7_0_mongoid_7.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "omniauth", "~> 1.9"
gem "rails", "~> 7.0"
gem "mongoid", "~> 7.0"
gem "mongoid-locker", "~> 1.0"

group :development, :test do
gem "attr_encrypted"
gem "figaro"
gem "omniauth-facebook"
gem "omniauth-github"
gem "omniauth-google-oauth2"
gem "omniauth-apple"
gem "rack-cors"
gem "thor"
gem "database_cleaner-mongoid"
gem "factory_bot_rails"
gem "faker"
gem "fuzz_ball"
gem "guard"
gem "guard-minitest"
gem "minitest"
gem "minitest-focus"
gem "minitest-rails"
gem "minitest-reporters"
gem "mocha", ">= 1.5"
gem "pry"
gem "pry-byebug"
gem "pry-remote"
gem "rubocop", require: false
end

group :test do
gem "rails-controller-testing"
gem "simplecov", "~> 0.10", "< 0.18", require: false
end

group :development do
gem "github_changelog_generator"
end

gemspec path: "../"

0 comments on commit 5b1a5e1

Please sign in to comment.