Skip to content

Commit

Permalink
Test with rack 2 and 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ahx committed Nov 16, 2023
1 parent e383db9 commit d759400
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ jobs:
with:
ruby-version: '3.1'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rake
- run: BUNDLE_GEMFILE=Gemfile bundle exec rake
- run: BUNDLE_GEMFILE=Gemfile.rack2 bundle exec rake
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

source 'https://rubygems.org'

# Specify your gem's dependencies in openapi_first.gemspec
gemspec

gem 'rack', '>= 3.0.0'

group :test, :development do
gem 'bundler'
gem 'rack-test'
Expand Down
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ PLATFORMS
DEPENDENCIES
bundler
openapi_first!
rack (>= 3.0.0)
rack-test
rake
rspec
Expand Down
15 changes: 15 additions & 0 deletions Gemfile.rack2
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# frozen_string_literal: true

source 'https://rubygems.org'

gemspec

gem 'rack', '< 3.0.0'

group :test, :development do
gem 'bundler'
gem 'rack-test'
gem 'rake'
gem 'rspec'
gem 'rubocop'
end
97 changes: 97 additions & 0 deletions Gemfile.rack2.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
PATH
remote: .
specs:
openapi_first (1.0.0.beta6)
json_refs (~> 0.1, >= 0.1.7)
json_schemer (~> 2.0.0)
multi_json (~> 1.15)
mustermann-contrib (~> 3.0.0)
openapi_parameters (>= 0.3.2, < 2.0)
rack (>= 2.2, < 4.0)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
diff-lcs (1.5.0)
hana (1.3.7)
hansi (0.2.1)
json (2.6.3)
json_refs (0.1.8)
hana
json_schemer (2.0.0)
hana (~> 1.3)
regexp_parser (~> 2.0)
simpleidn (~> 0.2)
language_server-protocol (3.17.0.3)
multi_json (1.15.0)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
mustermann-contrib (3.0.0)
hansi (~> 0.2.0)
mustermann (= 3.0.0)
openapi_parameters (0.3.2)
rack (>= 2.2)
zeitwerk (~> 2.6)
parallel (1.23.0)
parser (3.2.2.4)
ast (~> 2.4.1)
racc
racc (1.7.3)
rack (2.2.8)
rack-test (2.1.0)
rack (>= 1.3)
rainbow (3.1.1)
rake (13.1.0)
regexp_parser (2.8.2)
rexml (3.2.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubocop (1.57.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.4)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
simpleidn (0.2.1)
unf (~> 0.1.4)
unf (0.1.4)
unf_ext
unf_ext (0.0.9.1)
unicode-display_width (2.5.0)
zeitwerk (2.6.12)

PLATFORMS
arm64-darwin-21

DEPENDENCIES
bundler
openapi_first!
rack (< 3.0.0)
rack-test
rake
rspec
rubocop

BUNDLED WITH
2.3.10

0 comments on commit d759400

Please sign in to comment.