lifx 0.4.1 → 0.4.2
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/lib/lifx/light_target.rb +10 -0
- data/lib/lifx/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4810ca8dfe37b1505d61beea5e8aa8f8e137013b
|
|
4
|
+
data.tar.gz: 1c177ace9f4e0cc2505ac8d6be82343e28d57427
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ccd04baff9a72f792f5984bda2cd0776ae19e9b0fce5ca360587d71f8744b449466b69f892f6cd673af5aa130373f3679ce6f48f56e7c8f78dd7c3d245a1f679
|
|
7
|
+
data.tar.gz: c7fbc49592c4ab23cdfe4cae415044e33c3590392bf72ebf823583d6199077094d818211c00d994f1e0daa97d39fed0e0969910dbb9a253ce7278744a7649db2
|
data/lib/lifx/light_target.rb
CHANGED
|
@@ -46,6 +46,8 @@ module LIFX
|
|
|
46
46
|
# @param transient: [Boolean] If false, the light will remain at the color the waveform is at when it ends
|
|
47
47
|
# @param period: [Integer] Number of seconds a cycle. Must be above 1.0 (?)
|
|
48
48
|
# @param stream: [Integer] Unused
|
|
49
|
+
# @api private
|
|
50
|
+
# @note Marked as private pending bug fixes in firmware
|
|
49
51
|
def pulse(color, cycles: 1,
|
|
50
52
|
duty_cycle: 0.5,
|
|
51
53
|
transient: true,
|
|
@@ -65,6 +67,8 @@ module LIFX
|
|
|
65
67
|
# @param transient: [Boolean] If false, the light will remain at the color the waveform is at when it ends
|
|
66
68
|
# @param period: [Integer] Number of seconds a cycle. Must be above 1.0 (?)
|
|
67
69
|
# @param stream: [Integer] Unused
|
|
70
|
+
# @api private
|
|
71
|
+
# @note Marked as private pending bug fixes in firmware
|
|
68
72
|
def sine(color, cycles: 1,
|
|
69
73
|
period: 1.0,
|
|
70
74
|
transient: true,
|
|
@@ -83,6 +87,8 @@ module LIFX
|
|
|
83
87
|
# @param transient: [Boolean] If false, the light will remain at the color the waveform is at when it ends
|
|
84
88
|
# @param period: [Integer] Number of seconds a cycle. Must be above 1.0 (?)
|
|
85
89
|
# @param stream: [Integer] Unused
|
|
90
|
+
# @api private
|
|
91
|
+
# @note Marked as private pending bug fixes in firmware
|
|
86
92
|
def half_sine(color, cycles: 1,
|
|
87
93
|
period: 1.0,
|
|
88
94
|
transient: true,
|
|
@@ -100,6 +106,8 @@ module LIFX
|
|
|
100
106
|
# @param transient: [Boolean] If false, the light will remain at the color the waveform is at when it ends
|
|
101
107
|
# @param period: [Integer] Number of seconds a cycle. Must be above 1.0 (?)
|
|
102
108
|
# @param stream: [Integer] Unused
|
|
109
|
+
# @api private
|
|
110
|
+
# @note Marked as private pending bug fixes in firmware
|
|
103
111
|
def triangle(color, cycles: 1,
|
|
104
112
|
period: 1.0,
|
|
105
113
|
transient: true,
|
|
@@ -117,6 +125,8 @@ module LIFX
|
|
|
117
125
|
# @param transient: [Boolean] If false, the light will remain at the color the waveform is at when it ends
|
|
118
126
|
# @param period: [Integer] Number of seconds a cycle. Must be above 1.0 (?)
|
|
119
127
|
# @param stream: [Integer] Unused
|
|
128
|
+
# @api private
|
|
129
|
+
# @note Marked as private pending bug fixes in firmware
|
|
120
130
|
def saw(color, cycles: 1,
|
|
121
131
|
period: 1.0,
|
|
122
132
|
transient: true,
|
data/lib/lifx/version.rb
CHANGED