lib/junoser/ruler.rb in junoser-0.4.7 vs lib/junoser/ruler.rb in junoser-0.5.0
- old
+ new
@@ -232,11 +232,11 @@
str.gsub!(/^(\s*)"teardown" (\(.*?as\(:oneline\)\s*\)\s*\))/m) do
"#{$1}\"teardown\" arg #{$2},\n#{$1}\"teardown\""
end
# Fix .xsd: faster interface speed support
- str.gsub! '"40g" | "oc3"', '"40g" | "100g" | "200g" | "400g" | "800g" | "oc3"'
- str.gsub! '"100G"', '"100G" | "200G" | "400G" | "800G"'
+ str.gsub! '"400g" | "oc', '"400g" | "800g" | "oc'
+ str.gsub! '"400G"', '"400G" | "800G"'
str
end
def format(str, offset = OFFSET)