light_me_up 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/light_me_up/api_client.rb +2 -2
- data/lib/light_me_up/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c0265f93a138b0f04533c48e8ee0db2ad960b0d9940d84030e40209af938bd9
|
4
|
+
data.tar.gz: 57293c8bff4f7a51e1abdd959645dad756c7b2dc02b6d096211081620bdbe33e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad82872d763c4971ed34fd6eee722534de858ac2a98137ecef3625a5b516c118455c9f71c81350dc8e1d5ca69711ab9a6e32190781d1ce9c1e9c2fac3015814d
|
7
|
+
data.tar.gz: ace52c60a228ef88631d6abc0f85b01df21b241b975d3c4fc277982810531147d4ed26691c988caa254ab0ac854c51b839030ee28c66e4ea57d7fe9c6896bd6a
|
@@ -5,8 +5,8 @@ module LightMeUp
|
|
5
5
|
class ApiClient
|
6
6
|
DEFAULT_PORT = 9123
|
7
7
|
LIGHTS_PATH = "/elgato/lights"
|
8
|
-
OPEN_TIMEOUT =
|
9
|
-
READ_TIMEOUT =
|
8
|
+
OPEN_TIMEOUT = 2 # seconds
|
9
|
+
READ_TIMEOUT = 2 # seconds
|
10
10
|
|
11
11
|
def initialize(ip_address:, port: DEFAULT_PORT)
|
12
12
|
raise Error, "No ip_address specified." unless ip_address && ip_address != ""
|
data/lib/light_me_up/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: light_me_up
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter McCracken
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Provides the ability to turn on and off, and adjust brightness and temperature,
|
14
14
|
on a key light.
|