Skip to content

Commit 23ae45c

Browse files
committed
Migrate to GitHub Actions and revamp tested versions
1 parent 1bd9897 commit 23ae45c

File tree

8 files changed

+36
-69
lines changed

8 files changed

+36
-69
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
ruby: ['2.7', '3.0', '3.1']
11+
rails: ['6.1', '7.0', 'edge']
12+
env:
13+
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.rails }}.gemfile
14+
name: Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}
15+
steps:
16+
- name: Check out code
17+
uses: actions/checkout@v2
18+
- name: Set up Ruby ${{ matrix.ruby }}
19+
uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: ${{ matrix.ruby }}
22+
bundler-cache: true
23+
- name: Ruby Tests
24+
run: bundle exec rake

.travis.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

activerecord-session_store.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Gem::Specification.new do |s|
1919
s.extra_rdoc_files = %w( README.md )
2020
s.rdoc_options.concat ['--main', 'README.md']
2121

22-
s.add_dependency('activerecord', '>= 5.2.4.1')
23-
s.add_dependency('actionpack', '>= 5.2.4.1')
24-
s.add_dependency('railties', '>= 5.2.4.1')
22+
s.add_dependency('activerecord', '>= 6.1')
23+
s.add_dependency('actionpack', '>= 6.1')
24+
s.add_dependency('railties', '>= 6.1')
2525
s.add_dependency('rack', '>= 2.0.8', '< 3')
2626
s.add_dependency('multi_json', '~> 1.11', '>= 1.11.2')
2727

gemfiles/rails_5_2.gemfile

Lines changed: 0 additions & 7 deletions
This file was deleted.
File renamed without changes.

gemfiles/rails_6_0.gemfile

Lines changed: 0 additions & 7 deletions
This file was deleted.

gemfiles/rails_7.0.gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source "https://rubygems.org"
2+
3+
gem "actionpack", github: "rails/rails", branch: "7-0-stable"
4+
gem "activerecord", github: "rails/rails", branch: "7-0-stable"
5+
gem "railties", github: "rails/rails", branch: "7-0-stable"
6+
7+
gemspec :path => "../"

gemfiles/rails_edge.gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ git "https://github.com/rails/rails.git", :branch => "main" do
66
gem "railties"
77
end
88

9-
gem "rack", :git => "https://github.com/rack/rack.git", :branch => "master"
9+
gem "rack", :git => "https://github.com/rack/rack.git", :branch => "main"
10+
gem "rack-session", :git => "https://github.com/rack/rack-session.git", :branch => "main"
1011

1112
gemspec :path => "../"

0 commit comments

Comments
 (0)