Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add matrix build for rails versions up to 6 #14

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ jobs:
strategy:
matrix:
ruby-version: ['2.4', '2.5']
rails-version: ['4', '5', '6']
exclude:
- ruby-version: 2.4
rails-version: 6
fail-fast: false
env:
BUNDLER_GEMFILE: ${{ github.workspace }}/Gemfile.rails${{ matrix.rails-version }}
steps:
- uses: actions/checkout@v2
- name: Install cURL Headers
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ test/dummy/log/*.log
test/dummy/tmp/
test/dummy/.sass-cache
.env
Gemfile.lock
Gemfile*.lock
4 changes: 4 additions & 0 deletions Gemfile.rails4
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"
gemspec

gem 'rails', '~> 4.0'
4 changes: 4 additions & 0 deletions Gemfile.rails5
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"
gemspec

gem 'rails', '~> 5.0'
4 changes: 4 additions & 0 deletions Gemfile.rails6
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"
gemspec

gem 'rails', '~> 6.0'
4 changes: 4 additions & 0 deletions Gemfile.rails7
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"
gemspec

gem 'rails', '~> 7.0'
2 changes: 1 addition & 1 deletion resumable_upload.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.test_files = Dir["test/**/*"]

s.add_dependency "rails", "~> 4.0"
s.add_dependency "rails", ">=4", "<7"
s.add_dependency "fog", "~> 1.36"
s.add_dependency "dotenv"

Expand Down