lib/junoser/js_ruler.rb in junoser-0.3.8 vs lib/junoser/js_ruler.rb in junoser-0.3.9

- old
+ new

@@ -163,9 +163,15 @@ end def process_reserved_word(str) # ieee-802.3ad -> 802.3ad str.gsub! 'ieee-802.3ad', '802.3ad' + + # "policy | Define a policy context from this zone" -> "from-zone | Define a policy context from this zone" + str.gsub! 'policy | Define a policy context from this zone', 'from-zone | Define a policy context from this zone' + # "to-zone-name | Destination zone" -> "to-zone | Destination zone" + str.gsub! 'to-zone-name | Destination zone', 'to-zone | Destination zone' + fix_route_filter(str) str end