Skip to content

Commit 9f4d92e

Browse files
committed
Fix contract invocation and ruby version support.
1 parent 8b8b2b4 commit 9f4d92e

File tree

15 files changed

+144
-464
lines changed

15 files changed

+144
-464
lines changed

.github/workflows/rspec.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/cache@v4
1212
with:
1313
path: vendor/bundle
14-
key: ${{ runner.os }}-3.2.1-event_source-gems-${{ hashFiles('**/Gemfile.lock') }}-${{ hashFiles('**/Gemfile' ) }}
14+
key: ${{ runner.os }}-3.2.1-event_source-gems-${{ hashFiles('**/event_source.gemspec') }}-${{ hashFiles('**/Gemfile' ) }}
1515
- name: bundle install
1616
run: |
1717
bundle config path vendor/bundle
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
ruby_version: ['2.7.5', '3.0.5', '3.1.4', '3.2.2']
25+
ruby_version: ['2.7.5', '3.0.5', '3.1.4', '3.2.2', '3.3.8', '3.4.4']
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v2
@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/cache@v4
4040
with:
4141
path: vendor/bundle
42-
key: ${{ runner.os }}-${{matrix.ruby_version}}-event_source-gems-${{ hashFiles('**/Gemfile.lock') }}-${{ hashFiles('**/Gemfile' ) }}
42+
key: ${{ runner.os }}-${{matrix.ruby_version}}-event_source-gems-${{ hashFiles('**/event_source.gemspec') }}-${{ hashFiles('**/Gemfile' ) }}
4343
- name: bundle install
4444
run: |
4545
bundle config path vendor/bundle
@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
fail-fast: false
5353
matrix:
54-
ruby_version: ['2.7.5', '3.0.5', '3.1.4', '3.2.2']
54+
ruby_version: ['2.7.5', '3.0.5', '3.1.4', '3.2.2', '3.3.8', '3.4.4']
5555
runs-on: ubuntu-latest
5656
steps:
5757
- uses: actions/checkout@v2
@@ -68,7 +68,7 @@ jobs:
6868
uses: actions/cache@v4
6969
with:
7070
path: vendor/bundle
71-
key: ${{ runner.os }}-${{matrix.ruby_version}}-event_source-gems-${{ hashFiles('**/Gemfile.lock') }}-${{ hashFiles('**/Gemfile' ) }}
71+
key: ${{ runner.os }}-${{matrix.ruby_version}}-event_source-gems-${{ hashFiles('**/event_source.gemspec') }}-${{ hashFiles('**/Gemfile' ) }}
7272
- name: bundle install
7373
run: |
7474
bundle config path vendor/bundle

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ group :development, :test do
1414
gem 'yard'
1515
gem 'rubocop-git'
1616
gem 'aws-sdk-sns'
17+
gem 'webmock'
18+
gem 'rack'
19+
gem 'sinatra', '>= 2', '< 4'
1720
end

0 commit comments

Comments
 (0)