philips_hue 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- philips_hue (0.1.7)
4
+ philips_hue (0.1.8)
5
5
  httparty (>= 0.10.0)
6
6
  json (>= 1.6)
7
7
 
@@ -176,6 +176,11 @@ module PhilipsHue
176
176
  :bri => 255
177
177
  }
178
178
 
179
+ # blink instead if the color is not going to change
180
+ if xy == original["xy"] && original["colormode"] == "xy"
181
+ flash_state["alert"] = "select"
182
+ end
183
+
179
184
  # blink repeatedly if crazymode flag is set
180
185
  # (works best for delay >2 seconds)
181
186
  flash_state["alert"] = "lselect" if crazymode
@@ -1,3 +1,3 @@
1
1
  module PhilipsHue
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: philips_hue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: