Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Commit

Permalink
Add support for Rails 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
erikaxel committed Aug 31, 2019
1 parent f56deb9 commit 4e4e081
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ gemfile:
- gemfiles/rails_5.0.7.gemfile
- gemfiles/rails_5.1.6.gemfile
- gemfiles/rails_5.2.1.gemfile
- gemfiles/rails_6.0.0.gemfile
before_script:
- cp spec/dummy/config/database.yml{.sample,}
- bundle exec rake db:create db:schema:load db:test:prepare --Rakefile spec/dummy/Rakefile
Expand Down
5 changes: 5 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ appraise "rails_5.2.1" do
gem "rails", "5.2.1"
gem "pg", "~> 1.0"
end

appraise "rails_6.0.0" do
gem "rails", "6.0.0"
gem "pg", "~> 1.0"
end
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Currently this gem uses [virtus](https://github.com/solnic/virtus) so you can pa

## Dependencies

* Rails 4.x, 5.x
* Rails 4.x, 5.x, 6.x
* Virtus

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

source "https://rubygems.org"

gem "pry"
gem "appraisal"
gem "rails", "6.0.0"
gem "pg", "~> 1.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion storext.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.test_files = Dir["test/**/*"]

s.add_dependency "virtus"
s.add_dependency "activerecord", [">= 4.0", "< 6.0"]
s.add_dependency "activerecord", [">= 4.0", "< 6.1"]

s.add_development_dependency "pg"
s.add_development_dependency "rspec"
Expand Down

0 comments on commit 4e4e081

Please sign in to comment.