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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/lib/rack/cgi/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 059050551df5f02320df3b37a3513246e254af95
4
- data.tar.gz: 0efcde5ae0c51973ea098cb018249d52a2805f3a
3
+ metadata.gz: abbb68069b6f6b2b25f3600219e24c2581567c87
4
+ data.tar.gz: e32d089ae548fa8085cd0e159d63a54017e5c3ea
5
5
  SHA512:
6
- metadata.gz: ba2aaaa079530a457a40fc77ecc6b1f0de26fcf4de507e96dfa75ab103f9ccb36baf92d25836b99777d3b31549fbe72b830a765991e950ec545542b74d023fa1
7
- data.tar.gz: a380283e865155a2bcfb8f5a280ca66cbd3d2f8a04df3cd8ef66cc04ead569a4a2a59f8d5cbf885798a1364473f0912f02e747ab190880ff86d604a747f2f8de
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 not Rack::CGI::Executable or Regexp.
46
- Rack::CGI::Executable means script file with '+x' property.
47
- Regexp will try to match scriptname.
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 do not have a '+x' property, Rack::CGI will not tell you file cannot executable, but just skiped.
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`, "", `path_to_application`.
53
- If you special `nil`, nothing will happened.
54
- If you special "", script will be runned directly.
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
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Cgi
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-cgi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chizhong Jin