Latest commit 7cddd94 Mar 14, 2016 @dimko dimko Use `Array()` instead of `[].flatten` in `middleware#conditions_as_re…
…gexp`

```
require 'benchmark/ips'
conditions = %w[a long time ago in a galaxy far far away]

Benchmark.ips do |x|
  x.report('[].flatten') { [conditions].flatten }
  x.report('Array()')    { Array(conditions) }
  x.compare!
end

# Warming up --------------------------------------
#           [].flatten    49.491k i/100ms
#              Array()   157.466k i/100ms
# Calculating -------------------------------------
#           [].flatten    672.181k (± 6.2%) i/s -      3.365M
#              Array()      8.815M (± 9.5%) i/s -     43.776M

# Comparison:
#              Array():  8814545.4 i/s
#           [].flatten:   672180.8 i/s - 13.11x slower
```