lib/mixed_gauge/routing.rb in mixed_gauge-0.1.1 vs lib/mixed_gauge/routing.rb in mixed_gauge-0.1.2
- old
+ new
@@ -15,9 +15,9 @@
end
# @param [String] key
# @return [Integer]
def hash_f(key)
- Digest::MD5.hexdigest(key).to_i(16)
+ MixedGauge.config.hash_proc.call(key)
end
end
end