huebot 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hue/client.rb +1 -1
- data/lib/huebot/version.rb +1 -1
- data/lib/huebot.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 267bb3cc14e143785af2250a762b365f513bb18a3630b68edf10d3df3748de2a
|
4
|
+
data.tar.gz: 7afa69b3aa54a936deebbcea75b409f2411fa5482554b22cd29aff088ce351b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 442d3fb05c7f1e6610437ff5fc2f92d25694e2e9342ff9b16217ba80b7982538d48f807304e487fd583385864e9f4cf86491e33d2c66ba663b22449867ba780c
|
7
|
+
data.tar.gz: '01908c65fb9c472271904973e313bc080eb96d91b557ef2e8bb3902a5ea054f7fb71b3b37bf6f51f356bf742c5ab32a336e4c013059a0a537dc3a538955dfc97'
|
data/lib/hue/client.rb
CHANGED
@@ -34,7 +34,7 @@ module Hue
|
|
34
34
|
# Patched by Jordan Hollinger to remove use of "curb" gem
|
35
35
|
# TODO handle redirects? That's what curb was used for.
|
36
36
|
def bridges
|
37
|
-
req = Net::HTTP::Get.new(URI("https://
|
37
|
+
req = Net::HTTP::Get.new(URI(ENV["HUE_DISCOVERY_API"] || "https://discovery.meethue.com/"))
|
38
38
|
resp = Net::HTTP.start req.uri.host, req.uri.port, {use_ssl: true} do |http|
|
39
39
|
http.request req
|
40
40
|
end
|
data/lib/huebot/version.rb
CHANGED
data/lib/huebot.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: huebot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Hollinger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Declare and run YAML programs for Philips Hue devices
|
14
14
|
email: jordan.hollinger@gmail.com
|
@@ -56,8 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '0'
|
58
58
|
requirements: []
|
59
|
-
|
60
|
-
rubygems_version: 2.7.6.2
|
59
|
+
rubygems_version: 3.0.3.1
|
61
60
|
signing_key:
|
62
61
|
specification_version: 4
|
63
62
|
summary: Orchestration for Hue devices
|