junoser 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/Rakefile +14 -3
- data/example/vmx-17.2R1.13.rb +42342 -37231
- data/example/vsrx-18.3R1.9.rb +65984 -0
- data/lib/junoser/js_ruler.rb +3 -1
- data/lib/junoser/parser.rb +20994 -15910
- data/lib/junoser/version.rb +1 -1
- metadata +3 -2
data/lib/junoser/js_ruler.rb
CHANGED
@@ -16,7 +16,9 @@ module Junoser
|
|
16
16
|
|
17
17
|
def rule
|
18
18
|
str = @rule.read
|
19
|
-
str = str.split(/\n/).map {|l|
|
19
|
+
str = str.split(/\n/).map {|l|
|
20
|
+
format(process_line(l)) unless l =~ /^ *#/ # Skip additional comment lines
|
21
|
+
}.compact.join("\n")
|
20
22
|
finalize(str)
|
21
23
|
end
|
22
24
|
|