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

Require rack/chunked for versions < 3.1.0 #1467

Open
wants to merge 5 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: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ if RUBY_PLATFORM == 'java'
else
gem 'activerecord-jdbcsqlite3-adapter', "~> #{rails.tr('.', '')}.0"
end
elsif RUBY_VERSION < '3.0'
gem 'sqlite3', '~> 1.4.4'
elsif frameworks_versions['rails'] =~ /^(4|5)/
gem 'sqlite3', '~> 1.3.6'
elsif RUBY_VERSION < '2.7'
gem 'sqlite3', '~> 1.4.4'
else
gem 'sqlite3'
gem 'sqlite3', '~> 2.0'
end

# sneakers main only supports >=2.5.0
Expand Down
2 changes: 1 addition & 1 deletion spec/support/mock_intake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

require 'json'
require 'timeout'
require 'rack/chunked'
require 'rack/chunked' if ::Rack.release < '3.1.0'

class MockIntake
def initialize
Expand Down
Loading