junoser 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/Rakefile +9 -0
- data/example/vsrx-12.1.x47.rb +610 -492
- data/exe/junoser +4 -3
- data/junoser.gemspec +2 -1
- data/lib/junoser/cli.rb +5 -8
- data/lib/junoser/display/set.rb +10 -4
- data/lib/junoser/display/structure.rb +4 -5
- data/lib/junoser/input.rb +34 -0
- data/lib/junoser/parser.rb +625 -513
- data/lib/junoser/ruler.rb +17 -4
- data/lib/junoser/transformer.rb +15 -1
- data/lib/junoser/version.rb +1 -1
- data/lib/junoser/xsd/base.rb +1 -1
- metadata +18 -4
- data/lib/junoser/display/base.rb +0 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9c221f14ae96fa75f0cb0cef9eca2b74e3ab9cc
|
4
|
+
data.tar.gz: 9ce5519b55e8b50cc19a9b0bcf7ed695b67041dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56ed9aae415fc5d7b924fb2ffd9a49a48e2236f3d7b68d276b91b4694a568fadf0f547bf57e63ec99e7a976493eede87af7be5f96028bf3c226a550f22a814f0
|
7
|
+
data.tar.gz: e31f213acb6846bac6d0747f491426fa4e5c38a3a4243e3e7d93b3bcc1fa6fded76cece689e231fb023dbb5c90c0dec1604b70856aeefe5c4c052c5a2cd653ca
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -2,6 +2,7 @@ require 'bundler/gem_tasks'
|
|
2
2
|
require 'junoser/development'
|
3
3
|
require 'nokogiri'
|
4
4
|
require 'pathname'
|
5
|
+
require 'rake/testtask'
|
5
6
|
|
6
7
|
xsd_path = File.expand_path('../tmp/junos-system.xsd', Pathname.new(__FILE__).realpath)
|
7
8
|
rule_path = File.expand_path('../tmp/rule.rb', Pathname.new(__FILE__).realpath)
|
@@ -35,3 +36,11 @@ namespace :build do
|
|
35
36
|
end
|
36
37
|
end
|
37
38
|
end
|
39
|
+
|
40
|
+
|
41
|
+
Rake::TestTask.new do |t|
|
42
|
+
t.verbose = true
|
43
|
+
end
|
44
|
+
|
45
|
+
desc 'Run tests'
|
46
|
+
task default: :test
|