cpee-handlerwrapper-opcua 0.8 → 0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cpee-handlerwrapper-opcua.gemspec +1 -1
- data/lib/cpee-handlerwrapper-opcua.rb +8 -8
- 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: 45892a917fa7408b0affa430242c2131704c1a85e368e982e25be3d7afd6e948
|
4
|
+
data.tar.gz: 7444e8a0822ecacf7d34cb943c61dcab1790aee0e19abcf144fb1fc66e9732aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc6959575c5efb7221cae89c86881cc2e19eabd6eefd246858219c481365d5c53e4c9746658517c8c300a7620ef44707312b05e766338eb1929eff9279550830
|
7
|
+
data.tar.gz: 472c4b95f4a0daa1446bdf290a3f18ddac991a156ba9e8eea40d5e563c862d035bb4c19ed13c0a94fcaa7f8657497b7a73b9088b5d239213bdd85fc1c282a71d
|
@@ -74,14 +74,14 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
74
74
|
if s.respond_to?(:mimetype)
|
75
75
|
params << Riddl::Parameter::Complex.new(s.name.to_s,v.mimetype,v.value)
|
76
76
|
else
|
77
|
-
if s.name.to_s =~ /^
|
78
|
-
params << Riddl::Parameter::Simple.new(s.name.to_s.sub(/^
|
79
|
-
elsif s.name.to_s =~ /^
|
80
|
-
params << Riddl::Parameter::Simple.new(s.name.to_s.sub(/^
|
81
|
-
elsif s.name.to_s =~ /^
|
82
|
-
params << Riddl::Header.new(s.name.to_s.sub(/^
|
83
|
-
elsif s.name.to_s =~ /^
|
84
|
-
params << Riddl::Parameter::Complex.new(s.name.to_s.sub(/^
|
77
|
+
if s.name.to_s =~ /^_Q_/
|
78
|
+
params << Riddl::Parameter::Simple.new(s.name.to_s.sub(/^_Q_/,''),CPEE::ValueHelper::generate(s.value),:query)
|
79
|
+
elsif s.name.to_s =~ /^_B_/
|
80
|
+
params << Riddl::Parameter::Simple.new(s.name.to_s.sub(/^_B_/,''),CPEE::ValueHelper::generate(s.value),:body)
|
81
|
+
elsif s.name.to_s =~ /^_H_/
|
82
|
+
params << Riddl::Header.new(s.name.to_s.sub(/^_H_/,''),CPEE::ValueHelper::generate(s.value))
|
83
|
+
elsif s.name.to_s =~ /^_C_/
|
84
|
+
params << Riddl::Parameter::Complex.new(s.name.to_s.sub(/^_C_/,''),*CPEE::ValueHelper::generate(s.value).split(';',2))
|
85
85
|
else
|
86
86
|
params << Riddl::Parameter::Simple.new(s.name.to_s,CPEE::ValueHelper::generate(s.value))
|
87
87
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cpee-handlerwrapper-opcua
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.9'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
8
8
|
autorequire:
|
9
9
|
bindir: tools
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cpee
|