junoser 0.2.13 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Rakefile +5 -3
- data/example/vmx-17.2R1.13.rb +94962 -0
- data/lib/junoser/parser.rb +87922 -31833
- data/lib/junoser/ruler.rb +62 -58
- data/lib/junoser/version.rb +1 -1
- data/lib/junoser/xsd/base.rb +4 -0
- data/lib/junoser/xsd/element.rb +7 -2
- data/lib/junoser/xsd/enumeration.rb +5 -1
- data/lib/junoser/xsd/parsable.rb +1 -1
- data/lib/junoser/xsd/restriction.rb +5 -1
- data/lib/junoser/xsd/simple_type.rb +28 -0
- data/lib/junoser/xsd/union.rb +24 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bbbf4cbf8b352da5a17d9ad7892d3fa06841ec9
|
4
|
+
data.tar.gz: fc30976c13fd9d3d4f87369f4494b4e0561d353c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 594422e8d706bed8b741216bdb2628a004505ebcd5fd277695877e63e5230e2ecd5898f0f47fe12491a5473042a017bda7029940f57352d03b53fe08d34dde7f
|
7
|
+
data.tar.gz: 63d495c8afc1fbd706039429b1f603bfa9644e8976556677926aebfbe99d560be83bacdb1670da27ef15a20df804c2bf290e8b2e35ab1ef7a044f30aa9902116
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -4,9 +4,9 @@ require 'nokogiri'
|
|
4
4
|
require 'pathname'
|
5
5
|
require 'rake/testtask'
|
6
6
|
|
7
|
-
xsd_path = File.
|
8
|
-
rule_path = File.
|
9
|
-
parser_path = File.
|
7
|
+
xsd_path = File.join(__dir__, 'tmp/junos-system-17.2.xsd')
|
8
|
+
rule_path = File.join(__dir__, 'tmp/rule.rb')
|
9
|
+
parser_path = File.join(__dir__, 'lib/junoser/parser.rb')
|
10
10
|
|
11
11
|
def open_files(input, output, &block)
|
12
12
|
i = open(input)
|
@@ -39,6 +39,8 @@ end
|
|
39
39
|
|
40
40
|
|
41
41
|
Rake::TestTask.new do |t|
|
42
|
+
t.libs << 'test'
|
43
|
+
|
42
44
|
t.verbose = true
|
43
45
|
t.warning = false
|
44
46
|
end
|