import_remotecontrol 0.3.0 → 0.3.1
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 +8 -8
- data/lib/get_code_list.rb +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YTUwZTliMzc3YjQ3NzA0MWJhZjlmMzI5YmM2NmY4NzM5YTBjMGU1Nw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
OWFkNWM0NmE3YjAzNTBkNzI4YjFlYjM0Nzk0NzA1OGMzMDNkMmNiYw==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZmI0NWFjNGI3NDRiNzAxNmM3ZGM5ZGI3MWNlMTgzNzBiMTNjODdmYmQ2MWQw
|
|
10
|
+
MjMzMjc4ZWNlYTIwYjk1OTVkZWNiMTJkYTZkMzAwOWY3OTc4ZGIwNTdiMjEx
|
|
11
|
+
NzEwZjI3MTRlYmU2NDA0MzEzOTUwYjM4NjAxMDYxZmEyY2IzNTI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MmNiZDc2Y2JlMTJjMDNjYWZhYzhjYWUyOGQ0YmQ4NjU5NWU3MTBiZjJjMzZl
|
|
14
|
+
MGFiMThlMWU2ZDhkMDU3NmI1NDcyYzUwYzljNGZhYjk0MGFjNGNkNTM2NDRj
|
|
15
|
+
OGY0ZjI1MjU4MjBjOWIxZTRlMjc2ZTFkMmQ3NWI0MzQxZjAyMWI=
|
data/lib/get_code_list.rb
CHANGED
|
@@ -111,6 +111,7 @@ module GetCodeList
|
|
|
111
111
|
codes = code.split(":")
|
|
112
112
|
ret = "#{prtotoname}:#{codes[0]}:#{codes[1]}:#{codes[2]}:"
|
|
113
113
|
ret = ret +radix_minus_one_complement(codes[2].to_s)
|
|
114
|
+
logger.info ret
|
|
114
115
|
rescue => err
|
|
115
116
|
raise RuntimeError, get_error_msg("Protocol Error, Error msg : #{err.to_s}",{METHOD_NAME => "changHongExtNec"})
|
|
116
117
|
end
|
|
@@ -122,6 +123,7 @@ module GetCodeList
|
|
|
122
123
|
codes = code.split(":")
|
|
123
124
|
ret = "#{prtotoname}:#{codes[0]}:#{codes[0]}:#{codes[1]}:"
|
|
124
125
|
ret = ret +radix_minus_one_complement(codes[2].to_s)
|
|
126
|
+
logger.info ret
|
|
125
127
|
rescue => err
|
|
126
128
|
raise RuntimeError, get_error_msg("Protocol Error, Error msg : #{err.to_s}",{METHOD_NAME => "chuangWeiCutNec"})
|
|
127
129
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: import_remotecontrol
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- zql
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-04-
|
|
11
|
+
date: 2013-04-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: only use import remote control code
|
|
14
14
|
email: hahazhouqunli@gmail.com
|
|
@@ -43,3 +43,4 @@ signing_key:
|
|
|
43
43
|
specification_version: 4
|
|
44
44
|
summary: only use import remote control code
|
|
45
45
|
test_files: []
|
|
46
|
+
has_rdoc:
|