php-server 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,6 +41,8 @@ module PHPServer
41
41
  if /mswin|bccwin|mingw/ =~ RUBY_PLATFORM
42
42
  meta["SystemRoot"] = ENV["SystemRoot"]
43
43
  end
44
+ meta["HTTP_SERVER_PORT"] = meta["SERVER_PORT"]
45
+ meta["REQUEST_URI"] = meta["REQUEST_URI"].gsub /^https?:\/\/[^\/]+/, ''
44
46
  ENV.update(meta)
45
47
 
46
48
  cgi_in = IO::popen(@phpcmd, "r+b")
@@ -1,4 +1,4 @@
1
1
  module PHPServer
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: php-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: