vici 5.3.5 → 5.4.0

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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/vici.rb +6 -0
  3. metadata +11 -13
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7d4149ba55a75ff783bae4ae8e1663c0b8ef3889
4
+ data.tar.gz: 97014967bf5220f007973ad53964814730017d59
5
+ SHA512:
6
+ metadata.gz: 9215dece79830660a57003471aa8d9b5bc6ae448054927f3a0bb5307a24bd7143c3a2a31abca236e3aa510642756f2ca082250835ecccb25b382e6e84dde453d
7
+ data.tar.gz: 14103c48212e490ac5fda392e0d1e5c7a3cd8e305af0d3215883721fd1abd4444871bc2d656e9daec2874f53517e1fc426aeb7b530aefbe47adcf24e49dc0fad
data/lib/vici.rb CHANGED
@@ -504,6 +504,12 @@ module Vici
504
504
  "control-log", &block))
505
505
  end
506
506
 
507
+ ##
508
+ # Redirect an IKE_SA.
509
+ def redirect(options)
510
+ check_success(@transp.request("redirect", Message.new(options)))
511
+ end
512
+
507
513
  ##
508
514
  # Install a shunt/route policy.
509
515
  def install(policy)
metadata CHANGED
@@ -1,20 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vici
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.5
5
- prerelease:
4
+ version: 5.4.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Martin Willi
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2016-01-22 00:00:00.000000000 Z
11
+ date: 2016-07-08 00:00:00.000000000 Z
13
12
  dependencies: []
14
- description: ! "\n The strongSwan VICI protocol allows external application to
15
- monitor,\n configure and control the IKE daemon charon. This ruby gem provides
16
- a\n native client side implementation of the VICI protocol, well suited to\n
17
- \ script automated tasks in a relaible way.\n "
13
+ description: "\n The strongSwan VICI protocol allows external application to monitor,\n
14
+ \ configure and control the IKE daemon charon. This ruby gem provides a\n native
15
+ client side implementation of the VICI protocol, well suited to\n script automated
16
+ tasks in a relaible way.\n "
18
17
  email:
19
18
  - martin@strongswan.org
20
19
  executables: []
@@ -25,26 +24,25 @@ files:
25
24
  homepage: https://wiki.strongswan.org/projects/strongswan/wiki/Vici
26
25
  licenses:
27
26
  - MIT
27
+ metadata: {}
28
28
  post_install_message:
29
29
  rdoc_options: []
30
30
  require_paths:
31
31
  - lib
32
32
  required_ruby_version: !ruby/object:Gem::Requirement
33
- none: false
34
33
  requirements:
35
- - - ! '>='
34
+ - - ">="
36
35
  - !ruby/object:Gem::Version
37
36
  version: '0'
38
37
  required_rubygems_version: !ruby/object:Gem::Requirement
39
- none: false
40
38
  requirements:
41
- - - ! '>='
39
+ - - ">="
42
40
  - !ruby/object:Gem::Version
43
41
  version: '0'
44
42
  requirements: []
45
43
  rubyforge_project:
46
- rubygems_version: 1.8.23
44
+ rubygems_version: 2.4.5.1
47
45
  signing_key:
48
- specification_version: 3
46
+ specification_version: 4
49
47
  summary: Native ruby interface for strongSwan VICI
50
48
  test_files: []