lifx 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/README.md +3 -1
- data/lib/lifx/version.rb +1 -1
- metadata +1 -3
- data/bin/lifx-console +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 328ec4e4baf7ab42dc06ee0b0c7b7ae751eb58cb
|
|
4
|
+
data.tar.gz: adbb24f3dbf7e2c3bfd02d28d19d1f7272c1ae68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1db446d2f25add2a0d822c727f3ed0ef9a4c273b937bf09e8b3018728396535892e0ac4b756740b44db1b8de2e2592b41846e875f500323069e05878483961ce
|
|
7
|
+
data.tar.gz: 377409d24f13ff4600d7505b11e58ba6afde843c7df135b3c3bebe3d95a8d8b17606f7fe41dc4a80fd6a90d71cbec318574a4a450a7fabde896da3cf712fecf2
|
data/.yardopts
CHANGED
data/README.md
CHANGED
|
@@ -61,7 +61,9 @@ client.flush # Wait until all the packets have bee
|
|
|
61
61
|
|
|
62
62
|
## Documentation
|
|
63
63
|
|
|
64
|
-
Documentation is available at http://rubydoc.info/
|
|
64
|
+
Documentation is available at http://rubydoc.info/github/lifx/lifx-gem/master/frames. Please note that undocumented classes/methods and classes/methods marked private are not intended for public use.
|
|
65
|
+
|
|
66
|
+
LIFX uses the `HSBK` colour representation. `HSB` stands for [hue, saturation, brightness](http://en.wikipedia.org/wiki/HSV_color_space), and `K` refers to [kelvin](http://en.wikipedia.org/wiki/Color_temperature).
|
|
65
67
|
|
|
66
68
|
## Examples
|
|
67
69
|
|
data/lib/lifx/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lifx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jack Chen (chendo)
|
|
@@ -112,7 +112,6 @@ description: A Ruby gem that allows easy interaction with LIFX devices.
|
|
|
112
112
|
email:
|
|
113
113
|
- chendo@lifx.co
|
|
114
114
|
executables:
|
|
115
|
-
- lifx-console
|
|
116
115
|
- lifx-snoop
|
|
117
116
|
extensions: []
|
|
118
117
|
extra_rdoc_files: []
|
|
@@ -123,7 +122,6 @@ files:
|
|
|
123
122
|
- LICENSE.txt
|
|
124
123
|
- README.md
|
|
125
124
|
- Rakefile
|
|
126
|
-
- bin/lifx-console
|
|
127
125
|
- bin/lifx-snoop
|
|
128
126
|
- examples/auto-off/Gemfile
|
|
129
127
|
- examples/auto-off/auto-off.rb
|
data/bin/lifx-console
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# LIFX Console
|
|
3
|
-
$LOAD_PATH << File.join(File.dirname(__FILE__), "..", "lib")
|
|
4
|
-
require 'lifx'
|
|
5
|
-
require 'rubygems'
|
|
6
|
-
begin
|
|
7
|
-
require 'pry'
|
|
8
|
-
rescue LoadError
|
|
9
|
-
$stderr.puts("You must have pry installed to use lifx-console. gem install pry")
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
c = LIFX::Client.lan
|
|
13
|
-
c.discover!
|
|
14
|
-
c.extend(LIFX::Colors)
|
|
15
|
-
c.pry
|