philips_hue 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rubygems'
4
+ require 'philips_hue'
5
+
6
+ hue = PhilipsHue::Bridge.new("lightsapp", "home.mathgaming.tv")
7
+
8
+ # print the status of a light
9
+ puts hue.lights.first
@@ -1,3 +1,3 @@
1
1
  module PhilipsHue
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/philips_hue.rb CHANGED
@@ -1,6 +1,5 @@
1
- require 'httparty'
2
1
  require 'digest/md5'
3
- require 'json'
2
+ require 'httparty'
4
3
 
5
4
  require 'philips_hue/version'
6
5
  require 'philips_hue/bridge'
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.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -43,6 +43,7 @@ files:
43
43
  - bin/example_script.rb
44
44
  - bin/flash.rb
45
45
  - bin/sandbox.rb
46
+ - bin/test_script.rb
46
47
  - README.md
47
48
  homepage: https://github.com/dmerrick/lights_app
48
49
  licenses: []