Replace flat_map with map + flatten for Ruby 1.8.7
Version 0.1.0