migration to filter module(on the way)
header filter implementation
body filter implementation
Merge pull request #63 from cubicdaiya/feature/filter

header and body filter implementations
Directive name changed
Add Nginx::Request# some method considering compatibillity with mod_mruby
Add ngx_http_mruby_connection.{c,h} considering compatibility with mod_mruby
Add ngx_http_mruby_server.{c,h} considering compatibility with mod_mruby
Add Nginx::Connection#remote_port
Add comments about ngx_http_core_variables
Support passing nginx conf var between mruby code and nginx conf

- config

        location /check {
            set $fuga "100";
            mruby_set_code $hoge 'Nginx::Var.new.fuga.to_i * 2';
            mruby_content_handler_code '
              Nginx.rputs "fuga => #{Nginx::Var.new.fuga}"
              Nginx.rputs "fuga => #{Nginx::Request.new.var.fuga}"
              Nginx.rputs "hoge => #{Nginx::Var.new.hoge}"
              Nginx.rputs "hoge => #{Nginx::Request.new.var.hoge}"
            ';
        }

- result

$ curl http://127.0.0.1:8000/check
fuga => 100fuga => 100hoge => 200hoge => 200
Top level mrb_run regs should be mrb_top_self(state->mrb)
Bug fix
Update mruby
ngx_mruby can write nginx build in variable and request variable

Add Nginx::Var#set "nginx internal var", "string val"

- config

        location /check {
            set $fuga "100";
            mruby_set_code $hoge 'Nginx::Var.new.fuga.to_i * 2';
            mruby_content_handler_code '
              r = Nginx::Request.new
              Nginx.rputs "fuga => #{r.var.fuga} "
              Nginx.rputs "hoge => #{r.var.hoge} "
              r.var.set "fuga", r.var.hoge.to_i * 2
              Nginx.rputs "fuga => #{r.var.fuga} "

            ';
        }

- result

$ curl http://127.0.0.1:8000/check
fuga => 100 hoge => 200 fuga => 400
Add MIT LICENSE file
Add LEGAL file
Add INSTALL file