light_me_up 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/bin/light-me-up +2 -0
- data/lib/light_me_up/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4706c4eb47c5cb6f0745812c3d71fa6705eb0b89983f81ff5920e1ae8278ea3c
|
4
|
+
data.tar.gz: ea36d55e8640514bfced3e4cb19ec15c262c9947cd24c7ebbce638295136e22a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a850ec31386fb7c9b08b25c0f7ccaf483303d03080fabfa63a5b33da7b472f6743b1a03b7817d0da4e0d1a3379f122e3218fe796260234e6812a2b824f3577f
|
7
|
+
data.tar.gz: 929a547cf62f6865e02b4de1b865739f8d42bdb95f19a12930b5135feb39bdec9ca59d4ad24dd1eb1ebe022fe20d554bd27eed3d1df95dd996a71b4f732f2a28
|
data/Gemfile.lock
CHANGED
data/bin/light-me-up
CHANGED
@@ -17,6 +17,7 @@ temperature_help = format(
|
|
17
17
|
|
18
18
|
options = Optimist.options do
|
19
19
|
banner "Usage: #{$PROGRAM_NAME} [options]"
|
20
|
+
version "light-me-up #{LightMeUp::VERSION}"
|
20
21
|
|
21
22
|
opt :toggle, "Toggle whether the lights are on or off", short: "T"
|
22
23
|
opt :on, "Turn the light on"
|
@@ -25,6 +26,7 @@ options = Optimist.options do
|
|
25
26
|
opt :defaults, "Set to default values"
|
26
27
|
opt :brightness, brightness_help, type: :integer
|
27
28
|
opt :temperature, temperature_help, type: :integer
|
29
|
+
opt :version, "Print version number and exit"
|
28
30
|
end
|
29
31
|
|
30
32
|
options = options.select { |_k, v| v }
|
data/lib/light_me_up/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: light_me_up
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter McCracken
|
@@ -14,16 +14,16 @@ dependencies:
|
|
14
14
|
name: optimist
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
26
|
+
version: '3.0'
|
27
27
|
description: Provides the ability to turn on and off, and adjust brightness and temperature,
|
28
28
|
on a key light.
|
29
29
|
email:
|