rackup 0.2.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/handler.rb +3 -0
- data/lib/rack/server.rb +3 -0
- data/lib/rackup/handler/cgi.rb +3 -0
- data/lib/rackup/handler/webrick.rb +4 -0
- data/lib/rackup/handler.rb +3 -0
- data/lib/rackup/lobster.rb +3 -0
- data/lib/rackup/server.rb +3 -0
- data/lib/rackup/version.rb +3 -20
- data/lib/rackup.rb +4 -1
- data/license.md +79 -0
- data/readme.md +31 -0
- data/security.md +3 -0
- metadata +21 -18
- data/LICENSE.md +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c58b0cded0e6edaba53fc8bd56f6b86b362feb6c96933ad81ee31f618015adcb
|
4
|
+
data.tar.gz: e5bf647ba5b1108790c63ed32dd9684f948fa7d6347359bf70ad39497ac5e144
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9b36c45895e8e373d4308b4893e4cb93d2db3cf0e9fa24043f773eac0c4e735eecceba460591caa78bf99ff7271b98e14e161aa590658a3801e7007f6cbb807
|
7
|
+
data.tar.gz: 32b1b2c2768b0f5cf1b45b1f5b8e75742318c6a172c4af7d8e64990739d0754823534091520b677026630fd96a7395ee275f414fdfef52c8b5ab6413725f1fb7
|
data/lib/rack/handler.rb
CHANGED
data/lib/rack/server.rb
CHANGED
data/lib/rackup/handler/cgi.rb
CHANGED
data/lib/rackup/handler.rb
CHANGED
data/lib/rackup/lobster.rb
CHANGED
data/lib/rackup/server.rb
CHANGED
data/lib/rackup/version.rb
CHANGED
@@ -1,25 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
# of this software and associated documentation files (the "Software"), to deal
|
7
|
-
# in the Software without restriction, including without limitation the rights
|
8
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
# copies of the Software, and to permit persons to whom the Software is
|
10
|
-
# furnished to do so, subject to the following conditions:
|
11
|
-
#
|
12
|
-
# The above copyright notice and this permission notice shall be included in
|
13
|
-
# all copies or substantial portions of the Software.
|
14
|
-
#
|
15
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
# THE SOFTWARE.
|
3
|
+
# Released under the MIT License.
|
4
|
+
# Copyright, 2022-2023, by Samuel Williams.
|
22
5
|
|
23
6
|
module Rackup
|
24
|
-
VERSION = "0.
|
7
|
+
VERSION = "2.0.0"
|
25
8
|
end
|
data/lib/rackup.rb
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
# Released under the MIT License.
|
4
|
+
# Copyright, 2022-2023, by Samuel Williams.
|
5
|
+
|
3
6
|
require_relative 'rackup/handler'
|
4
7
|
require_relative 'rackup/server'
|
5
8
|
require_relative 'rackup/version'
|
6
9
|
|
7
10
|
require_relative 'rackup/handler/webrick'
|
8
|
-
require_relative 'rackup/handler/cgi'
|
11
|
+
require_relative 'rackup/handler/cgi'
|
data/license.md
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# MIT License
|
2
|
+
|
3
|
+
Copyright, 2007-2009, by Leah Neukirchen.
|
4
|
+
Copyright, 2008, by Marc-André Cournoyer.
|
5
|
+
Copyright, 2009, by Aaron Pfeifer.
|
6
|
+
Copyright, 2009, by Graham Batty.
|
7
|
+
Copyright, 2009-2010, by Michael Fellinger.
|
8
|
+
Copyright, 2009, by Genki Takiuchi.
|
9
|
+
Copyright, 2009, by Joshua Peek.
|
10
|
+
Copyright, 2009, by Yehuda Katz + Carl Lerche.
|
11
|
+
Copyright, 2009, by Carl Lerche.
|
12
|
+
Copyright, 2010, by Julik Tarkhanov.
|
13
|
+
Copyright, 2010-2016, by James Tucker.
|
14
|
+
Copyright, 2010, by Timur Batyrshin.
|
15
|
+
Copyright, 2010, by Loren Segal.
|
16
|
+
Copyright, 2010, by Andrew Bortz.
|
17
|
+
Copyright, 2010, by John Barnette.
|
18
|
+
Copyright, 2010, by John Sumsion.
|
19
|
+
Copyright, 2010, by Graham.
|
20
|
+
Copyright, 2011-2018, by Aaron Patterson.
|
21
|
+
Copyright, 2011, by Konstantin Haase.
|
22
|
+
Copyright, 2011, by Blake Mizerany.
|
23
|
+
Copyright, 2011, by Tsutomu Kuroda.
|
24
|
+
Copyright, 2012, by Jean Boussier.
|
25
|
+
Copyright, 2012, by Trevor Wennblom.
|
26
|
+
Copyright, 2012, by Anurag Priyam.
|
27
|
+
Copyright, 2012, by Hrvoje Šimić.
|
28
|
+
Copyright, 2013, by Uchio KONDO.
|
29
|
+
Copyright, 2013, by Tim Moore.
|
30
|
+
Copyright, 2013, by Postmodern.
|
31
|
+
Copyright, 2013, by Bas Vodde.
|
32
|
+
Copyright, 2013, by Joe Fiorini.
|
33
|
+
Copyright, 2014, by Wyatt Pan.
|
34
|
+
Copyright, 2014, by Lenny Marks.
|
35
|
+
Copyright, 2014, by Igor Bochkariov.
|
36
|
+
Copyright, 2014, by Max Cantor.
|
37
|
+
Copyright, 2014, by David Celis.
|
38
|
+
Copyright, 2014, by Rafael Mendonça França.
|
39
|
+
Copyright, 2014, by Jeremy Kemper.
|
40
|
+
Copyright, 2014, by Richard Schneeman.
|
41
|
+
Copyright, 2015, by Peter Wilmott.
|
42
|
+
Copyright, 2015, by Sean McGivern.
|
43
|
+
Copyright, 2015, by Tadashi Saito.
|
44
|
+
Copyright, 2015, by deepj.
|
45
|
+
Copyright, 2015, by Zachary Scott.
|
46
|
+
Copyright, 2016, by Sophie Deziel.
|
47
|
+
Copyright, 2016, by Kazuya Hotta.
|
48
|
+
Copyright, 2017, by Ryunosuke Sato.
|
49
|
+
Copyright, 2017-2023, by Samuel Williams.
|
50
|
+
Copyright, 2018, by Dillon Welch.
|
51
|
+
Copyright, 2018, by Yoshiyuki Hirano.
|
52
|
+
Copyright, 2018, by Nick LaMuro.
|
53
|
+
Copyright, 2019, by Rafael França.
|
54
|
+
Copyright, 2019, by Krzysztof Rybka.
|
55
|
+
Copyright, 2019, by Misaki Shioi.
|
56
|
+
Copyright, 2020-2022, by Jeremy Evans.
|
57
|
+
Copyright, 2021, by Katsuhiko YOSHIDA.
|
58
|
+
Copyright, 2021, by KS.
|
59
|
+
Copyright, 2021, by Stephen Paul Weber.
|
60
|
+
Copyright, 2022, by Akira Matsuda.
|
61
|
+
Copyright, 2022, by Andrew Hoglund.
|
62
|
+
|
63
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
64
|
+
of this software and associated documentation files (the "Software"), to deal
|
65
|
+
in the Software without restriction, including without limitation the rights
|
66
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
67
|
+
copies of the Software, and to permit persons to whom the Software is
|
68
|
+
furnished to do so, subject to the following conditions:
|
69
|
+
|
70
|
+
The above copyright notice and this permission notice shall be included in all
|
71
|
+
copies or substantial portions of the Software.
|
72
|
+
|
73
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
74
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
75
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
76
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
77
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
78
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
79
|
+
SOFTWARE.
|
data/readme.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# Rackup
|
2
|
+
|
3
|
+
`rackup` provides a command line interface for running a Rack-compatible application.
|
4
|
+
|
5
|
+
[![Development Status](https://github.com/rack/rackup/workflows/Test/badge.svg)](https://github.com/rack/rackup/actions?workflow=Test)
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
``` bash
|
10
|
+
$ gem install rackup
|
11
|
+
```
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
In a directory with your `config.ru` simply run the command:
|
16
|
+
|
17
|
+
``` bash
|
18
|
+
$ rackup
|
19
|
+
```
|
20
|
+
|
21
|
+
Your application should now be available locally, typically `http://localhost:9292`.
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
We welcome contributions to this project.
|
26
|
+
|
27
|
+
1. Fork it.
|
28
|
+
2. Create your feature branch (`git checkout -b my-new-feature`).
|
29
|
+
3. Commit your changes (`git commit -am 'Add some feature'`).
|
30
|
+
4. Push to the branch (`git push origin my-new-feature`).
|
31
|
+
5. Create new Pull Request.
|
data/security.md
ADDED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rackup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Samuel Williams
|
8
|
+
- Jeremy Evans
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rack
|
@@ -16,14 +17,14 @@ dependencies:
|
|
16
17
|
requirements:
|
17
18
|
- - ">="
|
18
19
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3
|
20
|
+
version: '3'
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
25
|
- - ">="
|
25
26
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3
|
27
|
+
version: '3'
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: webrick
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,33 +40,33 @@ dependencies:
|
|
39
40
|
- !ruby/object:Gem::Version
|
40
41
|
version: '0'
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
43
|
+
name: bundler
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
|
-
- - "
|
46
|
+
- - ">="
|
46
47
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
48
|
+
version: '0'
|
48
49
|
type: :development
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
|
-
- - "
|
53
|
+
- - ">="
|
53
54
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
55
|
+
version: '0'
|
55
56
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: minitest
|
57
|
+
name: minitest
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
|
-
- - "
|
60
|
+
- - "~>"
|
60
61
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
+
version: '5.0'
|
62
63
|
type: :development
|
63
64
|
prerelease: false
|
64
65
|
version_requirements: !ruby/object:Gem::Requirement
|
65
66
|
requirements:
|
66
|
-
- - "
|
67
|
+
- - "~>"
|
67
68
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
+
version: '5.0'
|
69
70
|
- !ruby/object:Gem::Dependency
|
70
71
|
name: minitest-global_expectations
|
71
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +82,7 @@ dependencies:
|
|
81
82
|
- !ruby/object:Gem::Version
|
82
83
|
version: '0'
|
83
84
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
85
|
+
name: minitest-sprint
|
85
86
|
requirement: !ruby/object:Gem::Requirement
|
86
87
|
requirements:
|
87
88
|
- - ">="
|
@@ -115,7 +116,6 @@ executables:
|
|
115
116
|
extensions: []
|
116
117
|
extra_rdoc_files: []
|
117
118
|
files:
|
118
|
-
- LICENSE.md
|
119
119
|
- bin/rackup
|
120
120
|
- lib/rack/handler.rb
|
121
121
|
- lib/rack/server.rb
|
@@ -126,6 +126,9 @@ files:
|
|
126
126
|
- lib/rackup/lobster.rb
|
127
127
|
- lib/rackup/server.rb
|
128
128
|
- lib/rackup/version.rb
|
129
|
+
- license.md
|
130
|
+
- readme.md
|
131
|
+
- security.md
|
129
132
|
homepage: https://github.com/rack/rackup
|
130
133
|
licenses:
|
131
134
|
- MIT
|
@@ -145,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
148
|
- !ruby/object:Gem::Version
|
146
149
|
version: '0'
|
147
150
|
requirements: []
|
148
|
-
rubygems_version: 3.
|
151
|
+
rubygems_version: 3.4.1
|
149
152
|
signing_key:
|
150
153
|
specification_version: 4
|
151
154
|
summary: A general server command for Rack applications.
|
data/LICENSE.md
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Released under the MIT license.
|
2
|
-
|
3
|
-
Copyright, 2007-2021, by [Leah Neukirchen](https://leahneukirchen.org).
|
4
|
-
Copyright, 2022, by [Samuel G. D. Williams](https://www.codeotaku.com).
|
5
|
-
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
8
|
-
in the Software without restriction, including without limitation the rights
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
11
|
-
furnished to do so, subject to the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be included in
|
14
|
-
all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22
|
-
THE SOFTWARE.
|