Commit ee868462 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

version bump to 1.2.6, minor change to the enterprise backwards compatibility handler

parent 091b77f7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ module FnordMetric::Enterprise
      next
    end

    if m = cmd.match(/^SAMPLE (.*)(delta|mean)-([0-9]+) ([0-9]+)$/)
    if m = cmd.match(/^SAMPLE (.*)(delta|mean|sum)-([0-9]+) ([0-9]+)$/)
      gauge_type = m[2].to_sym
      gauge_tick = m[3].to_i
      gauge_key = :"#{m[1]}#{gauge_type}-#{gauge_tick}"
@@ -29,7 +29,7 @@ module FnordMetric::Enterprise

    case gauge_type

      when :delta
      when :delta, :sum
        incr gauge, op_value

      when :mean
+1 −1
Original line number Diff line number Diff line
module FnordMetric
  VERSION = "1.2.5"
  VERSION = "1.2.6"
end