gemspec file cahnge to support actionpack version >=3