lib/gitlab/headers/page_links.rb in gitlab-4.20.1 vs lib/gitlab/headers/page_links.rb in gitlab-5.0.0
- old
+ new
@@ -6,10 +6,10 @@
#
# @private
class PageLinks
HEADER_LINK = 'Link'
DELIM_LINKS = ','
- LINK_REGEX = /<([^>]+)>; rel="([^"]+)"/.freeze
+ LINK_REGEX = /<([^>]+)>; rel="([^"]+)"/
METAS = %w[last next first prev].freeze
attr_accessor(*METAS)
def initialize(headers)