mperham/dalli — Issue #165: incrementing a Float
Author: fguillen
Created: 2012-01-30 15:04:59+00:00
State: open

I don't know if it is really a bug, or is just something not supported.

When I try to `increment` a Float value with another Float value I have this error:

Unexpected exception in Dalli: NoMethodError: undefined method `>>' for 25.583744049072266:Float
This is a bug in Dalli, please enter an issue in Github if it does not already exist.
/var/app/ofw/shared/bundle/ruby-1.9.2-p180@sp_offerwall/ruby/1.9.1/gems/dalli-1.1.4/lib/dalli/server.rb:410:in `split'
/var/app/ofw/shared/bundle/ruby-1.9.2-p180@sp_offerwall/ruby/1.9.1/gems/dalli-1.1.4/lib/dalli/server.rb:207:in `incr'
/var/app/ofw/shared/bundle/ruby-1.9.2-p180@sp_offerwall/ruby/1.9.1/gems/dalli-1.1.4/lib/dalli/server.rb:46:in `request'
/var/app/ofw/shared/bundle/ruby-1.9.2-p180@sp_offerwall/ruby/1.9.1/gems/dalli-1.1.4/lib/dalli/options.rb:18:in `block in request'
/var/app/ofw/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/var/app/ofw/shared/bundle/ruby-1.9.2-p180@sp_offerwall/ruby/1.9.1/gems/dalli-1.1.4/lib/dalli/options.rb:17:in `request'
/var/app/ofw/shared/bundle/ruby-1.9.2-p180@sp_offerwall/ruby/1.9.1/gems/dalli-1.1.4/lib/dalli/client.rb:264:in `perform'
/var/app/ofw/shared/bundle/ruby-1.9.2-p180@sp_offerwall/ruby/1.9.1/gems/dalli-1.1.4/lib/dalli/client.rb:198:in `incr'