lifx_toys 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/lifx_toys/http_api.rb +2 -3
- data/lib/lifx_toys/version.rb +1 -1
- metadata +1 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c038c4caa934ea7b44ef3025d046b5bc48168bc
|
4
|
+
data.tar.gz: de8871517e7b634e09184e5e4b7324ffea3c6abf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baf5b2e3328cfd1393faf58fa551e1540a81a060b9dac131d16937b174645f4b4f47521e1519d21fab1fb0fa3fe5f8595bdcd1592543442b5cbb8ccd907151e6
|
7
|
+
data.tar.gz: 2d7a6f82db6bb3faa7e03ae217a9feff1380c09e4d7d3ab36eec63ab0e3945d67dc98d6e41f57222cb1e46da7e9a41c175bf49ff6bf3fb0e8ccacc47a5539736
|
data/.gitignore
CHANGED
data/lib/lifx_toys/http_api.rb
CHANGED
@@ -44,8 +44,7 @@ module LifxToys
|
|
44
44
|
headers: authorization_headers)
|
45
45
|
end
|
46
46
|
|
47
|
-
def breathe(selector, color, options
|
48
|
-
# from_color: current_bulb_color,
|
47
|
+
def breathe(selector, color, options = {
|
49
48
|
period: 1.0,
|
50
49
|
cycles: 1.0,
|
51
50
|
persist: false,
|
@@ -58,7 +57,7 @@ module LifxToys
|
|
58
57
|
}))
|
59
58
|
end
|
60
59
|
|
61
|
-
def pulse(selector, color, options
|
60
|
+
def pulse(selector, color, options = {
|
62
61
|
# from_color: current_bulb_color,
|
63
62
|
period: 1.0,
|
64
63
|
cycles: 1.0,
|
data/lib/lifx_toys/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lifx_toys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lucas Parry
|
@@ -143,4 +143,3 @@ signing_key:
|
|
143
143
|
specification_version: 4
|
144
144
|
summary: Lucas's LIFX toys
|
145
145
|
test_files: []
|
146
|
-
has_rdoc:
|