samsung_wam_api 0.1.2 → 0.2.2
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 +2 -2
- data/lib/samsung_wam_api/version.rb +1 -1
- data/samsung_wam_api.gemspec +1 -0
- metadata +20 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bef250d23ca657562cd0d274ea449f26c870fb066421212acb6223217fe7f5d
|
4
|
+
data.tar.gz: 22a480c7412a98abcf696ca931573fd3dfbad3c3d2d3c69dd2b80fb676684ce4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b324e8f1f5d12a57eb48a3eda8cfff43e6bc733d8a4e4d665b5123d87cacdc2adc4ca225c552808ef7d82658ec8a95f56e855cd03e60e5293f156a59a77b9898
|
7
|
+
data.tar.gz: a0bdec1f3ae7ab58225459f399f3dcf9089d8ccd77cae5e30d44e9831ee4b975b0cc19627382acfebf4f4837ae87ee5d92b932ea22ecb6bb36aeedd391121b12
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'uri'
|
2
2
|
require 'net/http'
|
3
|
-
require 'active_support
|
3
|
+
require 'active_support'
|
4
4
|
require 'logger'
|
5
5
|
require 'timeout'
|
6
6
|
|
@@ -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
|
data/samsung_wam_api.gemspec
CHANGED
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.2
|
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
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: libxml-ruby
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
111
125
|
description: Gem provides Ruby Samsung WAM API wrapper
|
112
126
|
email:
|
113
127
|
- mhulan@redhat.com
|
@@ -143,7 +157,7 @@ homepage: https://github.com/ares/samsung_wam_api
|
|
143
157
|
licenses:
|
144
158
|
- MIT
|
145
159
|
metadata: {}
|
146
|
-
post_install_message:
|
160
|
+
post_install_message:
|
147
161
|
rdoc_options: []
|
148
162
|
require_paths:
|
149
163
|
- lib
|
@@ -158,8 +172,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
172
|
- !ruby/object:Gem::Version
|
159
173
|
version: '0'
|
160
174
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
162
|
-
signing_key:
|
175
|
+
rubygems_version: 3.3.15
|
176
|
+
signing_key:
|
163
177
|
specification_version: 4
|
164
178
|
summary: Gem provides Ruby Samsung WAM API wrapper
|
165
179
|
test_files: []
|