sinatra 2.2.4 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of sinatra might be problematic. Click here for more details.

@@ -1,3 +0,0 @@
1
- Rainbows! do
2
- use :EventMachine
3
- end
data/examples/rainbows.rb DELETED
@@ -1,20 +0,0 @@
1
- require 'rainbows'
2
-
3
- module Rack
4
- module Handler
5
- class Rainbows
6
- def self.run(app, **options)
7
- rainbows_options = {
8
- listeners: ["#{options[:Host]}:#{options[:Port]}"],
9
- worker_processes: 1,
10
- timeout: 30,
11
- config_file: ::File.expand_path('rainbows.conf', __dir__),
12
- }
13
-
14
- ::Rainbows::HttpServer.new(app, rainbows_options).start.join
15
- end
16
- end
17
-
18
- register :rainbows, ::Rack::Handler::Rainbows
19
- end
20
- end