opensips-mi 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzI1MTJhNjhmOGRmNTc2OGExN2JmZDcwMjI0YjFlODM2OGQ3M2UzYg==
4
+ MWFhOGFlYTdhZTU4N2I1MDdjYzVkNDU4ZWE3MWM1MzgwOTJmNGYzMw==
5
5
  data.tar.gz: !binary |-
6
- OWMzMmJkYjc4ZTA2YmRjMjZmMDY5YTJmZGQ5Zjk3OWVkMzY3NTA5Nw==
6
+ ZjE5MWRkYmQ5MThiNGM4ZjdkY2QxYWMyYmMwMzc4ZjA4YjRjMDIyOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MWIxZWYyZjRlNDAxZjBiMjg2YjFkM2M5ZmIzOGE2N2E1YzJlNjUwNjQ2Y2Y3
10
- NzcyN2I1OTBiNGJlOTdjZWFhYWJjNTBhZjVkYjY1OTM5ZGU0Njk5YzMyMDVi
11
- OTc1Yzk4YmZmODJmNTg0NDE2ZGRjYThhODE4ZmUyYmYzNGNhYjE=
9
+ MDU0ODY2NGUwYTA4Y2RjM2M1NmJlMWRhNjJjZDcyMzgwNWM3OTdmMzZlOTcw
10
+ ODU3M2JiY2IwYTNkYjk2ODlmNDYwOWVhYWMzYWI3NDdjZTVjNDFjMzM5MTFm
11
+ YWM1NzMwYjkyZDUzMTY4NWQyYzM3Y2YzN2YzYzYwMGJjYWQzNjM=
12
12
  data.tar.gz: !binary |-
13
- YzVjNzQ2OGU1MWU0MzQ4MWE4YmMyMTIxNmM5ZjNmNGRjMDI4NmUxNjBmNzM1
14
- MjhkNWNkNjA1NmI2OWM3ZTI3NTJlMWIzNGQ5Nzk2ZWM5ZDIxMDc5ZDQ3MjBh
15
- ODRmMWIzMGZkM2M4ZGRlNjFkNGM3OTU5ZmZmNmJmMDM4ZDg1ZGY=
13
+ Yzc5NWMzYjYwZjQ1NzJiMzA1NDYzMzU4OGU4ODQ5ODUyZGFkNmE0Y2Y0MGQ4
14
+ Y2Q1MDRlZWMyZmQ4YmFiZTkyM2ZlZTc3NjdmOGU3NjZiOTE3MmMyZTczYTM4
15
+ NDdhNWFjNmNlNmY4OWI3NmZjNjFjNWZlNTBlZWI3MWFmZWEzYzM=
@@ -128,7 +128,7 @@ module Opensips
128
128
  def dr_gws_hash
129
129
  Hash[
130
130
  @rawdata.map do |gw|
131
- if /\AID::\s+(?<id>[^\s]+)\s+IP=(?<ip>[^:]+):(?<port>\d+)\s+Enabled=(?<status>yes|no)/ =~ gw
131
+ if /\AID::\s+(?<id>[^\s]+)\s+IP=(?<ip>[^:\s]+):?(?<port>\d+)?\s+Enabled=(?<status>yes|no)/ =~ gw
132
132
  [id, {
133
133
  enabled: status.eql?('yes'),
134
134
  ipaddr: ip,
@@ -1,5 +1,5 @@
1
1
  module Opensips
2
2
  module MI
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opensips-mi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stas Kobzar
@@ -111,3 +111,4 @@ test_files:
111
111
  - test/test_command.rb
112
112
  - test/test_response.rb
113
113
  - test/test_transport.rb
114
+ has_rdoc: