Skip to content

Commit

Permalink
Merge pull request #84 from chamnap/rails_6_1
Browse files Browse the repository at this point in the history
Support Rails 6.1
  • Loading branch information
erichmachado authored Feb 12, 2022
2 parents ff8fd1f + 78e861a commit fdcb259
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ gemfile:
- gemfiles/rails_5.1.0.gemfile
- gemfiles/rails_5.2.0.gemfile
- gemfiles/rails_6.0.0.gemfile
- gemfiles/rails_6.1.0.gemfile
rvm:
- 2.2
- 2.3
Expand All @@ -26,6 +27,12 @@ jobs:
- gemfile: gemfiles/rails_5.2.0.gemfile
rvm: 2.2
exclude:
- gemfile: gemfiles/rails_6.1.0.gemfile
rvm: 2.4
- gemfile: gemfiles/rails_6.1.0.gemfile
rvm: 2.3
- gemfile: gemfiles/rails_6.1.0.gemfile
rvm: 2.2
- gemfile: gemfiles/rails_6.0.0.gemfile
rvm: 2.2
- gemfile: gemfiles/rails_6.0.0.gemfile
Expand Down
2 changes: 1 addition & 1 deletion Appraisals
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

%w[6.0.0].each do |rails_version|
%w[6.0.0 6.1.0].each do |rails_version|
appraise "rails_#{rails_version}" do
gem 'rails', "~> #{rails_version}"
end
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ If you use a different authentication system that does not set a `current_user`

### Ruby and Rails

Starburst [works](https://secure.travis-ci.org/starburstgem/starburst) on Rails 4.2, 5.0, 5.1, 5.2, and 6.0. It should work with the same Ruby runtime versions supported by each framework version.
Starburst [works](https://secure.travis-ci.org/starburstgem/starburst) on Rails 4.2, 5.0, 5.1, 5.2, 6.0, and 6.1. It should work with the same Ruby runtime versions supported by each framework version.

## Installation

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

source "https://rubygems.org"

gem "rails", "~> 6.1.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion starburst.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
'--quiet'
]

spec.add_runtime_dependency 'rails', '>= 4.2.0', '< 6.1'
spec.add_runtime_dependency 'rails', '>= 4.2.0', '< 6.2'

spec.add_development_dependency 'appraisal', '~> 2'
spec.add_development_dependency 'byebug', '>= 10.0.2', '< 12'
Expand Down

0 comments on commit fdcb259

Please sign in to comment.