Skip to content

Commit

Permalink
Setup appraisal
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysiek1507 committed Apr 5, 2018
1 parent 3b39c1a commit e16e3f7
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ rvm:
- 2.4.2
- 2.5.0

gemfile:
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile

env:
global:
- RAILS_ENV=test
Expand Down
8 changes: 8 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{ name: '5-0', version: '5.0.7' },
{ name: '5-1', version: '5.1.6' },
].each do |rails|
appraise "rails-#{rails[:name]}" do
gem "rails", "~> #{rails[:version]}"
end
end
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ GEM
addressable (2.5.1)
public_suffix (~> 2.0, >= 2.0.2)
ansi (1.5.0)
appraisal (2.2.0)
bundler
rake
thor (>= 0.14.0)
arel (8.0.0)
attr_encrypted (3.0.3)
encryptor (~> 3.0.0)
Expand Down Expand Up @@ -273,6 +277,7 @@ PLATFORMS
ruby

DEPENDENCIES
appraisal
attr_encrypted
codeclimate-test-reporter
devise_token_auth!
Expand Down
1 change: 1 addition & 0 deletions devise_token_auth.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Gem::Specification.new do |s|
s.add_dependency "rails", "< 6"
s.add_dependency "devise", "> 3.5.2", "< 4.5"

s.add_development_dependency 'appraisal'
s.add_development_dependency "sqlite3", "~> 1.3"
s.add_development_dependency 'pg'
s.add_development_dependency 'mysql2'
Expand Down
37 changes: 37 additions & 0 deletions gemfiles/rails_5_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 5.0.7"

group :development, :test do
gem "attr_encrypted"
gem "figaro", git: "https://github.com/laserlemon/figaro"
gem "omniauth-facebook", git: "https://github.com/mkdynamic/omniauth-facebook"
gem "omniauth-github", git: "https://github.com/intridea/omniauth-github"
gem "omniauth-google-oauth2", git: "https://github.com/zquestz/omniauth-google-oauth2"
gem "rack-cors", require: "rack/cors"
gem "thor"
gem "faker"
gem "fuzz_ball"
gem "guard"
gem "guard-minitest"
gem "minitest"
gem "minitest-focus"
gem "minitest-rails"
gem "minitest-reporters"
gem "mocha"
gem "pry"
gem "pry-remote"
end

group :test do
gem "codeclimate-test-reporter", require: nil
gem "rails-controller-testing"
end

group :development do
gem "github_changelog_generator"
end

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

source "https://rubygems.org"

gem "rails", "~> 5.1.6"

group :development, :test do
gem "attr_encrypted"
gem "figaro", git: "https://github.com/laserlemon/figaro"
gem "omniauth-facebook", git: "https://github.com/mkdynamic/omniauth-facebook"
gem "omniauth-github", git: "https://github.com/intridea/omniauth-github"
gem "omniauth-google-oauth2", git: "https://github.com/zquestz/omniauth-google-oauth2"
gem "rack-cors", require: "rack/cors"
gem "thor"
gem "faker"
gem "fuzz_ball"
gem "guard"
gem "guard-minitest"
gem "minitest"
gem "minitest-focus"
gem "minitest-rails"
gem "minitest-reporters"
gem "mocha"
gem "pry"
gem "pry-remote"
end

group :test do
gem "codeclimate-test-reporter", require: nil
gem "rails-controller-testing"
end

group :development do
gem "github_changelog_generator"
end

gemspec path: "../"

0 comments on commit e16e3f7

Please sign in to comment.