back port this gem to RSpec-1 / Ruby 1.8.x