lib/httpx/plugins/cookies/cookie.rb in httpx-0.15.1 vs lib/httpx/plugins/cookies/cookie.rb in httpx-0.15.2

- old
+ new

@@ -41,11 +41,10 @@ def <=>(other) # RFC 6265 5.4 # Precedence: 1. longer path 2. older creation (@name <=> other.name).nonzero? || (other.path.length <=> @path.length).nonzero? || - (@created_at <=> other.created_at).nonzero? || - @value <=> other.value + (@created_at <=> other.created_at).nonzero? end class << self def new(cookie, *args) return cookie if cookie.is_a?(self)