lib/junoser/ruler.rb in junoser-0.2.0 vs lib/junoser/ruler.rb in junoser-0.2.1
- old
+ new
@@ -37,10 +37,10 @@
end
def process_reserved_element(str)
str.gsub! /"\$\S+"/, 'arg'
- %w[as-number confederation-as metric-value limit-threshold filename filter-name class-name classifier-name link-subscription per-traffic-class-bandwidth].each do |key|
+ %w[as-number confederation-as metric-value limit-threshold filename filter-name class-name classifier-name link-subscription per-traffic-class-bandwidth template-name].each do |key|
str.gsub! %["#{key}" arg], 'arg'
end
str.gsub! '"equal-literal"', '"="'
str.gsub! '"plus-literal"', '"+"'