samsung_wam_api 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/samsung_wam_api/device.rb +1 -1
- data/lib/samsung_wam_api/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63ea746fd2258d224352f369e729d31255f258ef8878caf74464e4beb8be9fc3
|
4
|
+
data.tar.gz: 401efddda4a1412e2ca7e0998a1146b76b80cab8e8bb92308d09bc9e8c6affa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25889fe78ba311c6d705caafbb05671911df43f693ae10ac4a5bd8e7b88f94d0cbe3d4112174ffba095971b4763fa7794a335c90a5bc1bcfd9367717dc9f6219
|
7
|
+
data.tar.gz: a5d8e63ef6ba19996732683a8b2b664bff282ac3451a971d56379f628fff743add29422f783cccee553522ec5dff638c7da11bf2f8cd905b6cd5a06f73f5c8a1
|
@@ -113,7 +113,7 @@ module SamsungWamApi
|
|
113
113
|
|
114
114
|
def command!(cmd, endpoint = nil)
|
115
115
|
endpoint ||= @endpoint
|
116
|
-
query = "http://#{@ip}:#{@port}/#{endpoint}?cmd=#{URI.
|
116
|
+
query = "http://#{@ip}:#{@port}/#{endpoint}?cmd=#{URI::Parser.new.escape(cmd)}"
|
117
117
|
@logger.debug { "Firing query '#{URI.decode(query)}'" }
|
118
118
|
|
119
119
|
# if we e.g. request to power on device which is already on, we never receive a response, therefore we use configurable timeout
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: samsung_wam_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marek Hulan
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -143,7 +143,7 @@ homepage: https://github.com/ares/samsung_wam_api
|
|
143
143
|
licenses:
|
144
144
|
- MIT
|
145
145
|
metadata: {}
|
146
|
-
post_install_message:
|
146
|
+
post_install_message:
|
147
147
|
rdoc_options: []
|
148
148
|
require_paths:
|
149
149
|
- lib
|
@@ -158,8 +158,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
162
|
-
signing_key:
|
161
|
+
rubygems_version: 3.3.15
|
162
|
+
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Gem provides Ruby Samsung WAM API wrapper
|
165
165
|
test_files: []
|