Skip to content

Commit

Permalink
[ruby/sinatra] Upgrade Sinatra to v4
Browse files Browse the repository at this point in the history
Also upgrade passenger and the ruby version for passenger.
  • Loading branch information
p8 committed Oct 21, 2024
1 parent f12751f commit 8a6e575
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion frameworks/Ruby/sinatra-sequel/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ gem 'oj'
gem 'passenger', '~> 6.0', :platforms=>[:ruby, :mswin], :require=>false
gem 'puma', '~> 6.4', :require=>false
gem 'sequel', '~> 5.0'
gem 'sinatra', '~> 3.0', :require=>'sinatra/base'
gem 'sinatra', '~> 4.0', :require=>'sinatra/base'
gem 'unicorn', '~> 6.1', :platforms=>[:ruby, :mswin], :require=>false

group :mysql do
Expand Down
6 changes: 3 additions & 3 deletions frameworks/Ruby/sinatra-sequel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ comparing a variety of web platforms.

The tests will be run with:

* [Ruby 3.3](http://www.ruby-lang.org)
* [Ruby 3.4](http://www.ruby-lang.org)
* [JRuby 9.4](http://jruby.org)
* [Puma 6](http://puma.io)
* [Passenger 5](https://www.phusionpassenger.com)
* [Passenger 6](https://www.phusionpassenger.com)
* [Unicorn 5](https://bogomips.org/unicorn/)
* [Sinatra 3](http://www.sinatrarb.com)
* [Sinatra 4](http://www.sinatrarb.com)
* [Sequel 5](http://sequel.jeremyevans.net)
* [Slim 3](http://slim-lang.com)
* [MySQL 5.5](https://www.mysql.com)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.3
FROM ruby:3.4-rc

ENV RUBY_YJIT_ENABLE=1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.3
FROM ruby:3.4-rc

ENV RUBY_YJIT_ENABLE=1

Expand Down
2 changes: 1 addition & 1 deletion frameworks/Ruby/sinatra/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ gem 'activerecord', '~> 7.1', require: 'active_record'
gem 'oj'
gem 'passenger', '~> 6.0', platforms: [:ruby, :mswin], require: false
gem 'puma', '~> 6.4', require: false
gem 'sinatra', '~> 3.0', require: 'sinatra/base'
gem 'sinatra', '~> 4.0', require: 'sinatra/base'
gem 'unicorn', '~> 6.1', platforms: [:ruby, :mswin], require: false

group :mysql do
Expand Down
2 changes: 1 addition & 1 deletion frameworks/Ruby/sinatra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The tests will be run with:
* [Puma 6](http://puma.io)
* [Passenger 6](https://www.phusionpassenger.com)
* [Unicorn 6](https://bogomips.org/unicorn/)
* [Sinatra 3](http://www.sinatrarb.com)
* [Sinatra 4](http://www.sinatrarb.com)
* [ActiveRecord 7](https://github.com/rails/rails/tree/master/activerecord)
* [MySQL 5.5](https://www.mysql.com)
* [Postgres 9.3](https://www.postgresql.org)
Expand Down
2 changes: 1 addition & 1 deletion frameworks/Ruby/sinatra/sinatra-passenger-mri.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.3
FROM ruby:3.4-rc

ENV RUBY_YJIT_ENABLE=1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.3
FROM ruby:3.4-rc

ENV RUBY_YJIT_ENABLE=1

Expand Down

0 comments on commit 8a6e575

Please sign in to comment.