rack-cgi 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/lib/rack/cgi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abbb68069b6f6b2b25f3600219e24c2581567c87
|
4
|
+
data.tar.gz: e32d089ae548fa8085cd0e159d63a54017e5c3ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5787013cbea30cdf45bacc2fffd9dd0dff6079a64a3e647ca143d5d84dc6043296771616a3bbc4bc53d56243f7ccefc6d72aeb3dd23ea685aa54a70d9dde504
|
7
|
+
data.tar.gz: 36de911759cd2c3a4a5ae8f68cf72e5293f43c31e3d2a26aaef3290c39f98da295a789b33707ee8404115a8d09cb83d7beb0cf7fda955c72019d12e375a3a6bf
|
data/README.md
CHANGED
@@ -42,16 +42,16 @@ You can special multiple rules, in follow format:
|
|
42
42
|
|
43
43
|
use Rack::CGI, match1 => deal1, match2 => deal2, match3 => deal3 ...
|
44
44
|
|
45
|
-
`match` can
|
46
|
-
Rack::CGI::Executable
|
47
|
-
Regexp will try to match
|
45
|
+
`match` can be Rack::CGI::Executable or Regexp.
|
46
|
+
Rack::CGI::Executable match all script that is executable.
|
47
|
+
Regexp will try to match script full path.
|
48
48
|
|
49
49
|
If none rules match, Rack::CGI will do nothing. Such as if you spacial Rack::CGI::Executable => "",
|
50
|
-
and your file
|
50
|
+
and your file is not executable, Rack::CGI will not tell you file cannot executable, but just skiped.
|
51
51
|
|
52
|
-
`deal` can be `nil`, ""
|
53
|
-
If you special `nil`, nothing will happened.
|
54
|
-
If you special ""
|
52
|
+
`deal` can be `nil`, `""`, `path_to_application`.
|
53
|
+
If you special `nil`, nothing will happened, as if not matched.
|
54
|
+
If you special `""`, script will be launched directly. Ensure script is executable.
|
55
55
|
If you special `path_to_application`, application will be launched with script name.
|
56
56
|
|
57
57
|
TODO
|
data/lib/rack/cgi/version.rb
CHANGED