import_remotecontrol 0.3.5 → 0.3.6
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 +9 -9
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTJkMDdmMTMzYmMyNmZmMTNlMzM0MWUyN2IxMGY4ZjEzYzk5YzgyYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjdjMzM5ZDBlZmVmYmYxZWU1YzBmMDJjNWQwNjk1MjA1ZTg4NTRlYw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjViNjY5ZTI5YmViNzJiZDBjYjU3MzZmYjIwOTRmY2YwZGMxYjYxNTI2OGZj
|
10
|
+
YjVjNjhiNzY2NmY4OTY4YzdlOGZlZjg2N2NlNTZhZmIzNTRkYWY2ZTFhYjFj
|
11
|
+
MDY5NzQ4NDg5MjRkODg2MzFmMDI0MWFjZGM3YTBjYmUxZWE0Njk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGE1YTk1MmUyYzM2ODY2YzY3NDE4Yjk0M2JjNTEzOWY4N2FiZDZhYzRiMTMx
|
14
|
+
YWQxNzgxNTg0ZTg3ZDQzZGQ3Y2ExMzZiYjczZGU3NDNlZjE4MGNhMGU0YjYx
|
15
|
+
MDVlMGFmOGYzMTVmOWVlZDJkYTE2NDUzZWU1ZDJjZjgzYzEwNzY=
|
data/lib/get_code_list.rb
CHANGED
@@ -182,15 +182,15 @@ module GetCodeList
|
|
182
182
|
end
|
183
183
|
end
|
184
184
|
|
185
|
-
#
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
185
|
+
#sharp的协议处理
|
186
|
+
def self.sharp(prtotoname,code)
|
187
|
+
begin
|
188
|
+
codes = code.split(":")
|
189
|
+
ret = "#{prtotoname}:#{codes[0]}:#{codes[1]}:#{codes[2]}:#{codes[0]}:#{radix_minus_one_complement(codes[1])}:#{radix_minus_one_complement_only_last_4(codes[2])}:#{codes[0]}:#{codes[1]}:#{codes[2]}"
|
190
|
+
rescue => err
|
191
|
+
raise RuntimeError, get_error_msg("Protocol Error, Error msg : #{err.to_s}",{METHOD_NAME => "Rac"})
|
192
|
+
end
|
193
|
+
end
|
194
194
|
|
195
195
|
#panasonic的协议处理
|
196
196
|
def self.panasonic(prtotoname,code)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zql
|
@@ -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:
|