lib/gitlab/headers/total.rb in gitlab-4.20.1 vs lib/gitlab/headers/total.rb in gitlab-5.0.0

- old
+ new

@@ -5,10 +5,10 @@ # Parses total header. # # @private class Total HEADER_TOTAL = 'x-total' - TOTAL_REGEX = /^\d+$/.freeze + TOTAL_REGEX = /^\d+$/ attr_accessor :total def initialize(headers) header_total = headers[HEADER_TOTAL]