lib-tl1-huawei 0.1.2 → 0.1.3
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a6d37fb1d73149dca4c0ff31456c38b628e3238e5b1e1ee04e19449cd5d0d1aa
|
|
4
|
+
data.tar.gz: eebe2f5a83ce741581dfc1ca30cf9e863799af133f122fa7f37d1a434ef682fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 10f134192e068041fa8107113849d01dc0f98113409f2cde4aa8c37b25643dcd8ad0ef05da9c3f5cdf014ca2d04693e5b207e8aa49398d46f1c565a98a716410
|
|
7
|
+
data.tar.gz: 59b2ad2576410cf6abc7804ab33f940b1e96e9b14b2620163c9ca24b138cb3c8e94116c5cf65e0d2eb8fd744c1a26a60f5f57ccbc9ef75e5ff50a7a7eeb102c5
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require 'lib/tl1'
|
|
4
4
|
require_relative 'response'
|
|
5
|
+
require_relative 'exception'
|
|
5
6
|
|
|
6
7
|
module Lib
|
|
7
8
|
module TL1
|
|
@@ -31,6 +32,7 @@ module Lib
|
|
|
31
32
|
text_block: message.text_block
|
|
32
33
|
)
|
|
33
34
|
end
|
|
35
|
+
raise Lib::TL1::Huawei::StandardError.new(self.endesc, self.error_number) unless self.error_number.to_i == 0
|
|
34
36
|
end
|
|
35
37
|
|
|
36
38
|
def to_h
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lib-tl1-huawei
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Piotr Wojcieszonek
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lib-tl1
|
|
@@ -44,6 +44,7 @@ files:
|
|
|
44
44
|
- Rakefile
|
|
45
45
|
- lib/lib/tl1/huawei.rb
|
|
46
46
|
- lib/lib/tl1/huawei/message.rb
|
|
47
|
+
- lib/lib/tl1/huawei/message/exception.rb
|
|
47
48
|
- lib/lib/tl1/huawei/message/input.rb
|
|
48
49
|
- lib/lib/tl1/huawei/message/login.rb
|
|
49
50
|
- lib/lib/tl1/huawei/message/logout.rb
|