* original from pull request #31
…4.0.x, 4.1.x * simplify required modules for tests to avoid version-specific breakage because of internal Rails refactoring * Gemfile has notes on dependencies - it's not automatic * mintiest pegged down for Rails 3.2.x to avoid assert_dom_equal issue * if rails_autolink/helpers included before action_view/helpers, it was obscuring helper methods
Fixes #34 Some inputs could make the Regexp engine in Ruby to take up a lot of CPU time in order to check for a match of the email string. This change adds a test to guard against an example of such an input and changes the email regexp so that all the tests pass and so that no excessive CPU usage occurs.
…llow this to be used with Rails 4+