tickle icon indicating copy to clipboard operation
tickle copied to clipboard

Natural language parser for recurring events

Results 6 tickle issues
Sort by recently updated
recently updated
newest added

The Numerizer bug is still there. Someone needs to do a pull request.

``` irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'tickle' => true irb(main):003:0> Tickle.parse('day') NameError: uninitialized constant Module::Numerizer from C:/Ruby192/lib/ruby/gems/1.9.1/gems/tickle-0.1.7/lib/tickle/tickle.rb:198:in `normalize' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/tickle-0.1.7/lib/tickle/tickle.rb:188:in `block in post_tokenize' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/tickle-0.1.7/lib/tickle/tickle.rb:187:in `each' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/tickle-0.1.7/lib/tickle/tickle.rb:187:in...

> Tickle.parse('2 day', {:start => '30-11-2010'.to_date, :now => '30-11-2010'.to_date, :next_only => true}) ArgumentError: argument out of range from /Users/timurv/.rvm/gems/ree-1.8.7-2010.02@turn2live/gems/tickle-0.1.7/lib/tickle.rb:80:in `local' from /Users/timurv/.rvm/gems/ree-1.8.7-2010.02@turn2live/gems/tickle-0.1.7/lib/tickle.rb:80:in `bump' from /Users/timurv/.rvm/gems/ree-1.8.7-2010.02@turn2live/gems/tickle-0.1.7/lib/tickle/handler.rb:42:in `guess_number_and_unit' from /Users/timurv/.rvm/gems/ree-1.8.7-2010.02@turn2live/gems/tickle-0.1.7/lib/tickle/handler.rb:14:in `guess' from...

Trying this example from the docs... Tickle.parse('beginning of the week') I get the following error: ree-1.8.7-2010.02 > Tickle.parse('beginning of the week') NoMethodError: undefined method `' for :special:Symbol from /Users/jcasimir/.rvm/gems/ree-1.8.7-2010.02@rails2/gems/tickle-0.1.7/lib/tickle.rb:139:in`sort' from...

ree-1.8.7-2010.02 > t = {:next => Date.today} => {:next=>Tue, 02 Nov 2010} ree-1.8.7-2010.02 > 3.times do ree-1.8.7-2010.02 > t = Tickle.parse('Wednesday', :start => t[:next], :now => t[:next]) ree-1.8.7-2010.02 ?> puts...

Memorial day is implemented as the '4th Monday of May', which is not correct. May of 2011 has 5 Mondays... so in 2011 it's the '5th Monday in May'... John