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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e961aef3afa051d666e6d6058ebd148d78195424ee3651c61a415193dd792dc3
4
- data.tar.gz: 26d18eea5934f3c9dfdfc2e2be189dc67d2ab63b60c2aaa73bba1d74a8b8fc6e
3
+ metadata.gz: 4706c4eb47c5cb6f0745812c3d71fa6705eb0b89983f81ff5920e1ae8278ea3c
4
+ data.tar.gz: ea36d55e8640514bfced3e4cb19ec15c262c9947cd24c7ebbce638295136e22a
5
5
  SHA512:
6
- metadata.gz: 9dfdd4bde34dd55362e68f8c7f7b4399d0142040a47667c72e68b79396c1d3125e451fa06329b1e4aed01fc6ab182b647c13ef636fce79caa78e27e61eb70a08
7
- data.tar.gz: cbe15d94b545f50e41d72abd443e161472586a5f712db1ff338d03b9ca4bcc60ead4141b72702b904b67980d0bc35ded658f7301310145fb2d2e21d123f92750
6
+ metadata.gz: 8a850ec31386fb7c9b08b25c0f7ccaf483303d03080fabfa63a5b33da7b472f6743b1a03b7817d0da4e0d1a3379f122e3218fe796260234e6812a2b824f3577f
7
+ data.tar.gz: 929a547cf62f6865e02b4de1b865739f8d42bdb95f19a12930b5135feb39bdec9ca59d4ad24dd1eb1ebe022fe20d554bd27eed3d1df95dd996a71b4f732f2a28
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- light_me_up (0.2.6)
5
- optimist
4
+ light_me_up (0.2.8)
5
+ optimist (~> 3.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
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 }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LightMeUp
4
- VERSION = "0.2.7"
4
+ VERSION = "0.2.8"
5
5
  end
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.7
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: