alexa_hue 1.1.7 → 1.1.8

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
  SHA1:
3
- metadata.gz: 784df0bfbebcdb1ff90254c9ba4fce65c24e5624
4
- data.tar.gz: 18a51c50963f3ad3d33ed9c06d03a6f2aa54e88f
3
+ metadata.gz: 5b81dca95a4ed67e57f04de4bee4de9ae59603d1
4
+ data.tar.gz: 76ea44efc50e65ab7f93c1daefc13ca2871851f0
5
5
  SHA512:
6
- metadata.gz: 14114cedbb0a0a6cce732eba94c6d763ce04501b18246e0e9f85995c6cdaf201d2de072f371a0e67f3a728ba57cb5eb74926488d0344bfb4fe628b244941b1a2
7
- data.tar.gz: c802175dbac938054a3f802384fd38535c0e9ffee9163617aeeb3d6b0db188cffa403dbae22c4dc63e53b109b100b8bef544209157c0c19fe2736c23d482320f
6
+ metadata.gz: 959f7b76db699568bfce0035736ab97e07b9afc8219e4781a3596963ea187d0561c1c96f9c50f972ddf7a942b0287ae700dcad7f1f3d7a52813d69dfde2c22c9
7
+ data.tar.gz: a0b74296d1c190c7ea5ade6fcf5256ab849fca21ff9cae78ca7b1e49b58df7511430ffc393ca7cd51d2edc4b08a812871a4324cf27ffa2a2cd1f7faaa0cdadd0
@@ -1,4 +1,4 @@
1
1
  module Hue
2
- VERSION = "1.1.7"
2
+ VERSION = "1.1.8"
3
3
  end
4
4
 
data/lib/alexa_hue.rb CHANGED
@@ -22,7 +22,7 @@ module Hue
22
22
  helpers do
23
23
  def switch
24
24
  begin
25
- @switch = Hue::VoiceParser.new
25
+ @switch ||= Hue::VoiceParser.new
26
26
  rescue RuntimeError
27
27
  halt AlexaObjects::Response.new(spoken_response: "Hello. Before using Hue lighting, you'll need to give me access to your Hue bridge. Please press the link button on your bridge and launch the skill again within ten seconds.").to_json
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alexa_hue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Lucas