value is an arbitrary object and may not implement #== with string argument
value is an arbitrary object and may not implement #== with string argument

On ruby 2.2 the changed line can emit a warning along the lines of

Comparable#== will no more rescue exceptions of #<=> in the next release.

One case where this happens is when value is an instance of Time

Temikus/fog-core,SpryBTS/fog-core,higanworks/fog-core,mdarby/fog-core,fog/fog-core