junoser 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: deb6a3419a73f2f6172eee7ac53e50c47b69388b
4
- data.tar.gz: 40ef615d8c0dc2415c646c17671fcf3a5192761e
3
+ metadata.gz: b0ad65838e180e1d1d604e24e6778a64769d20f7
4
+ data.tar.gz: 490a82d437ef85aa3d491e99304c128695584649
5
5
  SHA512:
6
- metadata.gz: 9da9d4a942c98cd0cb6ad59f865ca4024d22c439dc9115d1eddd63b730fb8978ab41b0c1110d0892f311e4c912297d80c125ab8d78006af5ddd50fbcb8d787d6
7
- data.tar.gz: c295b36c6629206c778e54e78f1b98d369f524f45f8d9393c75de102c152ea94a1092f15300fdf03b1f1edadf2adb1c615d3a581b15f4dabbbc87b5f5a27b3eb
6
+ metadata.gz: 1158c04d561b57ed319ad29201a5cccc96751c6a1594adae4d834ec3045df82dd8b10d2e19622e394dc0f94487bf6f366f510e09175ca21077b9143098a2ca5b
7
+ data.tar.gz: a13fb62da4901c2783d782e44422868628be632c045b05e564a2cc243e13b8ca5ba1ea5956221a10fbacf9c5e740c02fed43917b57b04cad8da4fce2f6e6ad16
@@ -30330,7 +30330,9 @@ rule(:juniper_system) do
30330
30330
  "root-login" arg,
30331
30331
  c(
30332
30332
  "tcp-forwarding",
30333
- "no-tcp-forwarding"
30333
+ "no-tcp-forwarding",
30334
+ "no-passwords",
30335
+ "no-public-keys"
30334
30336
  ),
30335
30337
  "protocol-version" arg,
30336
30338
  "max-sessions-per-connection" arg,
@@ -30360,7 +30362,8 @@ rule(:juniper_system) do
30360
30362
  )
30361
30363
  ),
30362
30364
  "connection-limit" arg,
30363
- "rate-limit" arg
30365
+ "rate-limit" arg,
30366
+ "authentication-order" any
30364
30367
  )
30365
30368
  ),
30366
30369
  "telnet" (
@@ -30136,7 +30136,9 @@ module Junoser
30136
30136
  a(str("root-login"), arg),
30137
30137
  c(
30138
30138
  str("tcp-forwarding"),
30139
- str("no-tcp-forwarding")
30139
+ str("no-tcp-forwarding"),
30140
+ str("no-passwords"),
30141
+ str("no-public-keys")
30140
30142
  ),
30141
30143
  a(str("protocol-version"), arg),
30142
30144
  a(str("max-sessions-per-connection"), arg),
@@ -30166,7 +30168,8 @@ module Junoser
30166
30168
  )
30167
30169
  ),
30168
30170
  a(str("connection-limit"), arg),
30169
- a(str("rate-limit"), arg)
30171
+ a(str("rate-limit"), arg),
30172
+ a(str("authentication-order"), any)
30170
30173
  )
30171
30174
  ),
30172
30175
  b(str("telnet"),
@@ -40,6 +40,10 @@ module Junoser
40
40
  str.to_s.gsub("\n", ' ')
41
41
  end
42
42
 
43
+ rule(oneline: sequence(:strs)) do
44
+ strs.join(' ')
45
+ end
46
+
43
47
 
44
48
  def self.remove_slash_asterisk(array)
45
49
  open = array.index("arg(/*)\n")
@@ -1,3 +1,3 @@
1
1
  module Junoser
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shintaro Kojima
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-15 00:00:00.000000000 Z
11
+ date: 2016-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parslet