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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 307544974137a94b2ed8954f085853a8d0a722e373718bd7895a6fde38fde48b
4
- data.tar.gz: e2c3b96a6e5746afb0d9be7c203f323ae0cc86a33c3d04d30667b9737d4dc005
3
+ metadata.gz: 63ea746fd2258d224352f369e729d31255f258ef8878caf74464e4beb8be9fc3
4
+ data.tar.gz: 401efddda4a1412e2ca7e0998a1146b76b80cab8e8bb92308d09bc9e8c6affa1
5
5
  SHA512:
6
- metadata.gz: 0c8e1ed87bc53a3b9a16b33ee2572053db8de3e32ba84e2be1d9588b403b484f0471a24bffab35f01977772aa976f38678440a87d8456141d7f074c320dd7fd5
7
- data.tar.gz: e070d44e95fd5752498f2830bef66145d27fe5aa2986d3dbcaf9e0aae834900f7be094cb5be85f9b82850d7c5970c4f639bd223f7f1b7c69122008258accfb77
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.encode(cmd)}"
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
@@ -1,3 +1,3 @@
1
1
  module SamsungWamApi
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
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.1.2
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: 2020-04-06 00:00:00.000000000 Z
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.0.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: []