feat(middleware): block Ruby user-agent

Closes #502
还没弄清楚谁干的

Sent from my iPhone

> On Nov 12, 2014, at 7:22 PM, Yiyu He <notifications@github.com> wrote:
> 
> In middleware/block.js:
> 
> > + * MIT Licensed
> > + *
> > + * Authors:
> > + *   fengmk2 <fengmk2@gmail.com> (http://fengmk2.github.com)
> > + */
> > +
> > +'use strict';
> > +
> > +/**
> > + * Module dependencies.
> > + */
> > +
> > +module.exports = function () {
> > +  return function* block(next) {
> > +    var ua = String(this.get('user-agent')).toLowerCase();
> > +    if (ua === 'ruby') {
> 爬来干嘛...
> 
> —
> Reply to this email directly or view it on GitHub.
>