Skip to content

Commit fb5b6af

Browse files
authored
[ruby] Cleanup references to Unicorn and Passenger (#10059)
Most Unicorn and Passenger variants have been removed but there were still some references.
1 parent 0ca8dd3 commit fb5b6af

File tree

5 files changed

+1
-82
lines changed

5 files changed

+1
-82
lines changed

frameworks/Ruby/rack-sequel/hello_world.rb

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,7 @@ def respond(content_type, body)
130130
]
131131
end
132132

133-
if defined?(Unicorn)
134-
def headers(content_type, body)
135-
{
136-
CONTENT_TYPE => content_type,
137-
SERVER => SERVER_STRING,
138-
CONTENT_LENGTH => body.bytesize.to_s
139-
}
140-
end
141-
elsif defined?(Puma)
133+
if defined?(Puma)
142134
def headers(content_type, _)
143135
{
144136
CONTENT_TYPE => content_type,

frameworks/Ruby/roda-sequel/Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
source "https://rubygems.org"
22

3-
gem 'base64' # required by passenger on Ruby 3.4
43
gem "erubi", "~> 1.12"
54
gem "json", "~> 2.8"
65
gem "sequel", "~> 5.67"

frameworks/Ruby/roda-sequel/Gemfile.lock

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
base64 (0.2.0)
54
bigdecimal (3.1.9)
65
erubi (1.13.1)
76
iodine (0.7.58)
@@ -27,7 +26,6 @@ PLATFORMS
2726
x86_64-linux
2827

2928
DEPENDENCIES
30-
base64
3129
erubi (~> 1.12)
3230
iodine (~> 0.7)
3331
json (~> 2.8)

frameworks/Ruby/sinatra/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ The tests will be run with:
1414

1515
* [Ruby 3.4](http://www.ruby-lang.org)
1616
* [Puma 6](http://puma.io)
17-
* [Passenger 6](https://www.phusionpassenger.com)
18-
* [Unicorn 6](https://bogomips.org/unicorn/)
1917
* [Sinatra 4](http://www.sinatrarb.com)
2018
* [ActiveRecord 7](https://github.com/rails/rails/tree/master/activerecord)
2119
* [MySQL 5.5](https://www.mysql.com)

frameworks/Ruby/sinatra/config.toml

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -34,71 +34,3 @@ orm = "Full"
3434
platform = "Rack"
3535
webserver = "Puma"
3636
versus = "rack-puma-mri"
37-
38-
[postgres-passenger-mri]
39-
urls.plaintext = "/plaintext"
40-
urls.json = "/json"
41-
urls.db = "/db"
42-
urls.query = "/queries?queries="
43-
urls.update = "/updates?queries="
44-
urls.fortune = "/fortunes"
45-
approach = "Realistic"
46-
classification = "Micro"
47-
database = "Postgres"
48-
database_os = "Linux"
49-
os = "Linux"
50-
orm = "Full"
51-
platform = "Rack"
52-
webserver = "Passenger"
53-
versus = "rack-postgres-passenger-mri"
54-
55-
[postgres-unicorn-mri]
56-
urls.plaintext = "/plaintext"
57-
urls.json = "/json"
58-
urls.db = "/db"
59-
urls.query = "/queries?queries="
60-
urls.update = "/updates?queries="
61-
urls.fortune = "/fortunes"
62-
approach = "Realistic"
63-
classification = "Micro"
64-
database = "Postgres"
65-
database_os = "Linux"
66-
os = "Linux"
67-
orm = "Full"
68-
platform = "Rack"
69-
webserver = "Unicorn"
70-
versus = "rack-postgres-unicorn-mri"
71-
72-
[passenger-mri]
73-
urls.plaintext = "/plaintext"
74-
urls.json = "/json"
75-
urls.db = "/db"
76-
urls.query = "/queries?queries="
77-
urls.update = "/updates?queries="
78-
urls.fortune = "/fortunes"
79-
approach = "Realistic"
80-
classification = "Micro"
81-
database = "MySQL"
82-
database_os = "Linux"
83-
os = "Linux"
84-
orm = "Full"
85-
platform = "Rack"
86-
webserver = "Passenger"
87-
versus = "rack-passenger-mri"
88-
89-
[unicorn-mri]
90-
urls.plaintext = "/plaintext"
91-
urls.json = "/json"
92-
urls.db = "/db"
93-
urls.query = "/queries?queries="
94-
urls.update = "/updates?queries="
95-
urls.fortune = "/fortunes"
96-
approach = "Realistic"
97-
classification = "Micro"
98-
database = "MySQL"
99-
database_os = "Linux"
100-
os = "Linux"
101-
orm = "Full"
102-
platform = "Rack"
103-
webserver = "Unicorn"
104-
versus = "rack-unicorn-mri"

0 commit comments

Comments
 (0)