sobrinho/range_sentence_parser — pull request #1 by abernardes (2013-01-17 17:12:20+00:00)
Title: Throw correct error if #parse! is called with an invalid sentence.

Before:
```
>> require 'range_sentence_parser'
=> true
>> RangeSentenceParser.parse!("foo")
NameError: uninitialized constant RangeSentenceParser::InvalidSentenceError
from /Users/bernardes/.rvm/gems/ruby-1.9.3-p194/gems/range_sentence_parser-0.0.2/lib/range_sentence_parser.rb:45:in `parse!'
from /Users/bernardes/.rvm/gems/ruby-1.9.3-p194/gems/range_sentence_parser-0.0.2/lib/range_sentence_parser.rb:15:in `parse!'
from (irb):2
from /Users/bernardes/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `

'
```

After:

```
>> require 'lib/range_sentence_parser'
=> true
>> RangeSentenceParser.parse!("foo")
RangeSentenceParser::InvalidSentenceError: RangeSentenceParser::InvalidSentenceError
from /Users/bernardes/projetos/nohup/range_sentence_parser/lib/range_sentence_parser.rb:46:in `parse!'
from /Users/bernardes/projetos/nohup/range_sentence_parser/lib/range_sentence_parser.rb:16:in `parse!'
from (irb):2
from /Users/bernardes/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `

'
```