rsmp 0.16.9 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/config/tlc.yaml +0 -3
- data/lib/rsmp/proxy.rb +4 -2
- data/lib/rsmp/tlc/traffic_controller.rb +2 -2
- data/lib/rsmp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dace397e058229e79387d0b4b4f2a1f7289f2b6c0cbd2816836de542d39c764d
|
4
|
+
data.tar.gz: 2b04dd58a9567875dcc231555fe2a1a03b63b0c02473b0afefdf534225e1cfc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f290c20af069c92cfc1e4b6aabe2b73cc1f9c1e89556dc6be5dab000beafa670aebaf9b28dc103b65e456b25ef20313701fdce8f6ba22637f8f415e15e0a5c9f
|
7
|
+
data.tar.gz: 34362a7e9ab6f52d0f26fc1fb267d22115d281ae7dfcd2d651186febe8677ef1a87161e661b769120dc91057bb406e75cecb4bf882e35e057e2fbbb6264818ff
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rsmp (0.
|
4
|
+
rsmp (0.17.1)
|
5
5
|
async (~> 1.30.3)
|
6
6
|
async-io (~> 1.33.0)
|
7
7
|
colorize (~> 0.8.1)
|
@@ -27,7 +27,7 @@ GEM
|
|
27
27
|
builder (3.2.4)
|
28
28
|
childprocess (4.1.0)
|
29
29
|
colorize (0.8.1)
|
30
|
-
console (1.
|
30
|
+
console (1.16.2)
|
31
31
|
fiber-local
|
32
32
|
contracts (0.17)
|
33
33
|
cucumber (7.1.0)
|
@@ -68,7 +68,7 @@ GEM
|
|
68
68
|
ffi (1.15.5-x64-mingw32)
|
69
69
|
fiber-local (1.0.0)
|
70
70
|
hana (1.3.7)
|
71
|
-
json_schemer (0.2.
|
71
|
+
json_schemer (0.2.24)
|
72
72
|
ecma-re-validator (~> 0.3)
|
73
73
|
hana (~> 1.3)
|
74
74
|
regexp_parser (~> 2.0)
|
@@ -77,9 +77,9 @@ GEM
|
|
77
77
|
mime-types-data (~> 3.2015)
|
78
78
|
mime-types-data (3.2022.0105)
|
79
79
|
multi_test (0.1.2)
|
80
|
-
nio4r (2.5.
|
80
|
+
nio4r (2.5.9)
|
81
81
|
rake (13.0.6)
|
82
|
-
regexp_parser (2.
|
82
|
+
regexp_parser (2.7.0)
|
83
83
|
rsmp_schema (0.4.0)
|
84
84
|
json_schemer (~> 0.2.21)
|
85
85
|
thor (~> 1.2.1)
|
@@ -100,7 +100,7 @@ GEM
|
|
100
100
|
ffi (~> 1.1)
|
101
101
|
thor (1.2.1)
|
102
102
|
timecop (0.9.5)
|
103
|
-
timers (4.3.
|
103
|
+
timers (4.3.5)
|
104
104
|
uri_template (0.7.0)
|
105
105
|
|
106
106
|
PLATFORMS
|
data/config/tlc.yaml
CHANGED
data/lib/rsmp/proxy.rb
CHANGED
@@ -648,8 +648,10 @@ module RSMP
|
|
648
648
|
message.attributes['xNId'] = (main && main.xNId) ? main.xNId : ''
|
649
649
|
end
|
650
650
|
|
651
|
-
#
|
652
|
-
|
651
|
+
# Use Gem class to check version requirement
|
652
|
+
# Requirement must be a string like '1.1', '>=1.0.3' or '<2.1.4',
|
653
|
+
# or list of strings, like ['<=1.4','<1.5']
|
654
|
+
def self.version_meets_requirement? version, requirement
|
653
655
|
Gem::Requirement.new(requirement).satisfied_by?(Gem::Version.new(version))
|
654
656
|
end
|
655
657
|
|
@@ -796,7 +796,7 @@ module RSMP
|
|
796
796
|
end
|
797
797
|
|
798
798
|
def handle_s0091 status_code, status_name=nil, options={}
|
799
|
-
if Proxy.
|
799
|
+
if Proxy.version_meets_requirement? options[:sxl_version], '>=1.1'
|
800
800
|
case status_name
|
801
801
|
when 'user'
|
802
802
|
TrafficControllerSite.make_status 0
|
@@ -812,7 +812,7 @@ module RSMP
|
|
812
812
|
end
|
813
813
|
|
814
814
|
def handle_s0092 status_code, status_name=nil, options={}
|
815
|
-
if Proxy.
|
815
|
+
if Proxy.version_meets_requirement? options[:sxl_version], '>=1.1'
|
816
816
|
case status_name
|
817
817
|
when 'user'
|
818
818
|
TrafficControllerSite.make_status 0
|
data/lib/rsmp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsmp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emil Tin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|