junoser 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3dc178f13e5d960a688a8246e88068c5da0fe925ff9998dfcc6a0f460445a620
4
- data.tar.gz: 36bafb4fe6f644735f0adb9122419700f4201c6eac16611883a3927835378d29
3
+ metadata.gz: aad8f66767a6bbd785c15d36e318d8ba367ccb6736d3fb8059f181b3abfde8fe
4
+ data.tar.gz: 0e146503ef7ce0cdb38b06af0ed0a3424267a08f012523d999f74e9ff182d3fa
5
5
  SHA512:
6
- metadata.gz: 6fc4cb1deea2bb59544756012f4195e38d23d64c03fc2b29686702a774861ce7724659e8e9509db5080dfdb7b51a782e6713a597ffd4275fc91e2ab639428f04
7
- data.tar.gz: d9ca197755fd6fe55a82f8bc5a27e7a315a2cb32de6e016fd74ffd088b298f0ce11b0fab164eda5108be7d5772ed87c02ad5720960e2eda7dc3f9b57efca068b
6
+ metadata.gz: 13654e7095a17dae55a8b93d3b3f51b8d384f2559e4e8f9261828260e3bc85a89e007b7e01bcff9e5a33850b04a0188c0d4304f4b27eb3a60d6e5b0b34490e71
7
+ data.tar.gz: 153e61af2f23d28918e887db0396cd1886177ff95a90ad38a01ccbdb0ebefd1b6e4f06f4d2d9dd16412363796e9a2c7e3dc6234f93f84e6a8d5c08edf4c3d0db
data/.gitignore CHANGED
@@ -6,3 +6,6 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+
10
+ .idea
11
+ .ignore
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.3.6] - 2019-08-25
2
+
3
+ ### Fixed
4
+
5
+ * Support "groups"
6
+
7
+
1
8
  ## [0.3.5] - 2019-08-15
2
9
 
3
10
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- junoser (0.3.5)
4
+ junoser (0.3.6)
5
5
  parslet
6
6
 
7
7
  GEM
@@ -27,4 +27,4 @@ DEPENDENCIES
27
27
  test-unit
28
28
 
29
29
  BUNDLED WITH
30
- 2.0.2
30
+ 2.0.1
@@ -330,11 +330,7 @@ module Junoser
330
330
  c(
331
331
  a(str("rcsid"), arg),
332
332
  a(str("version"), arg),
333
- b(str("groups"),
334
- s(
335
- any
336
- )
337
- ),
333
+ a(str("groups"), arg, configuration),
338
334
  b(str("system"),
339
335
  juniper_system
340
336
  ),
data/lib/junoser/ruler.rb CHANGED
@@ -44,6 +44,8 @@ module Junoser
44
44
  def process_reserved_element(str)
45
45
  str.gsub! /"\$\S+"/, 'arg'
46
46
 
47
+ str.gsub! /"groups" \(\s*s\(\s*any\s*\)\s*\)/, 'a("groups", arg, configuration)'
48
+
47
49
  %w[as-number confederation-as metric-value limit-threshold filename filter-name class-name classifier-name link-subscription per-traffic-class-bandwidth template-name].each do |key|
48
50
  str.gsub! %["#{key}" arg], 'arg'
49
51
  end
@@ -1,3 +1,3 @@
1
1
  module Junoser
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: junoser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shintaro Kojima
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-15 00:00:00.000000000 Z
11
+ date: 2019-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parslet