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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e976d2a6d1ab56351ef47fbae89e84a1c08c98ed
4
- data.tar.gz: 2f8d52787abf6aee8dd809e3f61ac2395c0c8225
3
+ metadata.gz: 4810ca8dfe37b1505d61beea5e8aa8f8e137013b
4
+ data.tar.gz: 1c177ace9f4e0cc2505ac8d6be82343e28d57427
5
5
  SHA512:
6
- metadata.gz: 49dd808c6baabd1d07a15e355e6367a272af8ef40c2469b3db1475a648e52ae5a4ef59c17395903825ac4ca42ee247e07c126bddda40804d0c0201d6592200ba
7
- data.tar.gz: 2123ea65a1c2f246ab93c0c81532bc774de9669540bb312c7e3ec0a71b34e67dd6bca51b9faeb8fb3cd97575b4b2651248b691628fbac9cd6d716e69333d28d4
6
+ metadata.gz: ccd04baff9a72f792f5984bda2cd0776ae19e9b0fce5ca360587d71f8744b449466b69f892f6cd673af5aa130373f3679ce6f48f56e7c8f78dd7c3d245a1f679
7
+ data.tar.gz: c7fbc49592c4ab23cdfe4cae415044e33c3590392bf72ebf823583d6199077094d818211c00d994f1e0daa97d39fed0e0969910dbb9a253ce7278744a7649db2
@@ -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
@@ -1,3 +1,3 @@
1
1
  module LIFX
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
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.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Chen (chendo)